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

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

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


From: Weddington, Eric
Subject: RE: [avr-libc-dev] XMEGA: are SP, EEAR 16-bit registers?
Date: Sat, 29 Mar 2008 08:47:05 -0600

 

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of Dmitry K.
> Sent: Saturday, March 29, 2008 12:03 AM
> To: address@hidden
> Subject: [avr-libc-dev] XMEGA: are SP, EEAR 16-bit registers?
> 
> 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.
> 

Dmitry,

Anatoly and I made sure that the 16-bit registers are accessed
correctly. You can see this with the GCC patch that I sent to you.

The SP is the only one that I am unsure of, and I will check into it,
but it will have to be on Monday.

Eric




reply via email to

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