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

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

[avr-libc-dev] [bug #28574] Xmega D ADC struct missing registers


From: Anitha Boyapati
Subject: [avr-libc-dev] [bug #28574] Xmega D ADC struct missing registers
Date: Tue, 06 Apr 2010 07:42:11 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9

Follow-up Comment #6, bug #28574 (project avr-libc):

1. I am referring to doc8135.pdf from atmel website (XMEGA D4 preliminary).
ADC overview (section 23) says, ADC has one channel only. Where exactly/else
can we find out that XMEGA D4 has 4 ADC channels similar to that of XMEGA A4?



2. Assuming that D4 is similar to that of A4 in ADC structure and channels, I
find that 2 more modifications are necessary other than the proposed 0x12-0x17
changes to ADC_t structure.

Firstly, 0x07 appears to be specified as TEMP register in A4 datasheet while
it is termed as reserved in *ALL* xmega headers (just not limited to D4).

#iox16d4.h
    register8_t reserved_0x07;

Secondly, offsets are required for other channels (1,2,3).
ADC_CH_t CH1;  /* ADC Channel 1 */
ADC_CH_t CH2;  /* ADC Channel 2 */
ADC_CH_t CH3;  /* ADC Channel 3 */



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?28574>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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