Atmel Xplained Pro Evaluation Kit ATSAM4E-XPRO ATSAM4E-XPRO Scheda Tecnica

Codici prodotto
ATSAM4E-XPRO
Pagina di 1506
1347
SAM4E [DATASHEET]
Atmel-11157D-ATARM-SAM4E16-SAM4E8-Datasheet_12-Jun-14
Figure 45-4.
EOCx and DRDY Flag Behavior 
If the AFEC_CDR is not read before further incoming data is converted, the corresponding Overrun Error (OVREx)
flag is set in the Overrun Status Register (AFEC_OVER).
Likewise, new data converted when DRDY is high sets the GOVRE bit (General Overrun Error) in AFEC_ISR. 
The OVREx flag is automatically cleared when AFEC_OVER is read, and GOVRE flag is automatically cleared
when AFEC_ISR is read.
Read the AFEC_CDR
with ADC_CSELR.CSEL = x
EOCx
DRDY
Read the AFEC_LCDR
CHx
(AFEC_CHSR)
(AFEC_ISR)
(AFEC_ISR)
Write the AFEC_CR
   with START = 1
Write the AFEC_CR
   with START = 1