avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Bit-wise structure and unions


From: kitts
Subject: Re: [avr-gcc-list] Bit-wise structure and unions
Date: Wed, 22 Nov 2006 23:14:21 +0530
User-agent: KMail/1.9.5

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]