avr-libc-dev
[Top][All Lists]
Advanced

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

[avr-libc-dev] XMEGA: are SP, EEAR 16-bit registers?


From: Dmitry K.
Subject: [avr-libc-dev] XMEGA: are SP, EEAR 16-bit registers?
Date: Sat, 29 Mar 2008 16:02:48 +1000
User-agent: KMail/1.5

Hi.

The common X-less AVR has a set of 16-bit registers
(those have 16-bit atomic access). This registers are
listed implicitly, for example, with ATmega48p they
are: TCNT1, OCR1A/B, ICR1, TCNT2, ...

But the 'ATxmega A manual' says (page 9):
... each 16-bit register has an 8-bit register for
temporary storing the high byte...

Is it true with SP? If so it is needed to verify all
sources: low byte must read first, high byte must
write first.

Thanks,
Dmitry.





reply via email to

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