Rainbow Electronics AT91CAP9S250A User Manual

Page 945

Advertising
background image

945

6264A–CAP–21-May-07

AT91CAP9S500A/AT91CAP9S250A

If the ADC_CDR is not read before further incoming data is converted, the corresponding Over-
run Error (OVRE) flag is set in the Status Register (ADC_SR).

In the same way, new data converted when DRDY is high sets the bit GOVRE (General Overrun
Error) in ADC_SR.

The OVRE and GOVRE flags are automatically cleared when ADC_SR is read.

Figure 46-3. GOVRE and OVREx Flag Behavior

Warning: If the corresponding channel is disabled during a conversion or if it is disabled and
then reenabled during a conversion, its associated data and

its

corresponding EOC and OVRE

flags in ADC_SR are unpredictable.

EOC0

GOVRE

CH0

(ADC_CHSR)

(ADC_SR)

(ADC_SR)

ADTRG

EOC1

CH1

(ADC_CHSR)

(ADC_SR)

OVRE0

(ADC_SR)

Undefined Data

Data A

Data B

ADC_LCDR

Undefined Data

Data A

ADC_CDR0

Undefined Data

Data B

ADC_CDR1

Data C

Data C

Conversion

Conversion

Read ADC_SR

DRDY

(ADC_SR)

Read ADC_CDR1

Read ADC_CDR0

Conversion

Advertising