On Wednesday 22 November 2006 05:57 IST, David Kelly wrote:
> Some MCU families (believe HC12 is one) have a separate register for  
> reading the port's actual input/external value, and another for  
> reading output latches containing the value last written. A bitfield  
> works fine on the output latch register.

Is this not how it is with the AVR as well? We write into the PORTx register 
but read pin states from the PINx registers.
-- 
Cheers!
kitts


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to