Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PPS on Amiga serial port?



On Sat, May 17, 2008 at 08:53:32PM +0200, Frank Wille wrote:
> John Klos wrote:
> 
> > Does anyone know if PPS is supported on Amiga serial ports?
> 
> Hardware-wise it should be supported. AFAIK the DCD line is used for it?
> I'm not sure if and where PPS support is implemented in NetBSD, though.

Ere you get fancy ideas:  We don't have any hardware DCD interupt,
we poll in the vertical blank interupt for that (see below). So
the clock resolution of the PPS signal is the 16.666ms or 20ms vertical
blank interupt.

From sys/arch/amiga/dev/ser.c:
/*
 * This interrupt is periodically invoked in the vertical blank
 * interrupt.  It's used to keep track of the modem control lines
 * and (new with the fast_int code) to move accumulated data
 * up into the tty layer.
 */
void
sermint(int unit)


Regards,
        -is


Home | Main Index | Thread Index | Old Index