www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/19/02:40:46

Date: Mon, 19 Mar 2001 09:37:09 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: interrupt driven serial port porblem...
In-Reply-To: <993e3k$25sq$1@news.kabelfoon.nl>
Message-ID: <Pine.SUN.3.91.1010319093652.21558H-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 18 Mar 2001, NoDuck!!!! wrote:

> I'm trying to create a pulse counter using the serial port. The idea is to
> count the number of interrupts created by the serial port on the pins DTR,
> RTS,CTS, DTR, DSR or  RI. between two timer-ticks.
> 
> I'm really stuck please help me guys!

What appears to be the problem, exactly?  It sounds like hooking the
COM1 interrupt with a function which just increments a bunch of
counters would be all you need.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019