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

i/o on Par0



Hello,

I want to use the par0 port to monitor the levels (0 - 5v) of 8 relay 
outputs (actually, I'm counting pulses). To do this I intend to

1. Use manual mode par0. If I switched things like dma off am I right in 
assuming I can monitor my relays just by reading the relevant register 
bits for par0 input?

2. Uses an amended gpio driver to read the levels of the data pins of 
par0 on every timer interrupt.

Is this ok?

I'm a complete beginner in parallel port programming so I may have 
missed something.

Thanks.

Bob Hibberdine