6 adc status register – Rainbow Electronics AT91CAP9S250A User Manual

Page 954

Advertising
background image

954

6264A–CAP–21-May-07

AT91CAP9S500A/AT91CAP9S250A

46.6.6

ADC Status Register

Register Name:

ADC_SR

Access Type:

Read-only

• EOCx: End of Conversion x

0 = Corresponding analog channel is disabled, or the conversion is not finished.

1 = Corresponding analog channel is enabled and conversion is complete.

• OVREx: Overrun Error x

0 = No overrun error on the corresponding channel since the last read of ADC_SR.

1 = There has been an overrun error on the corresponding channel since the last read of ADC_SR.

• DRDY: Data Ready

0 = No data has been converted since the last read of ADC_LCDR.

1 = At least one data has been converted and is available in ADC_LCDR.

• GOVRE: General Overrun Error

0 = No General Overrun Error occurred since the last read of ADC_SR.

1 = At least one General Overrun Error has occurred since the last read of ADC_SR.

• ENDRX: End of RX Buffer

0 = The Receive Counter Register has not reached 0 since the last write in ADC_RCR or ADC_RNCR.

1 = The Receive Counter Register has reached 0 since the last write in ADC_RCR or ADC_RNCR.

• RXBUFF: RX Buffer Full

0 = ADC_RCR or ADC_RNCR have a value other than 0.

1 = Both ADC_RCR and ADC_RNCR have a value of 0.

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

RXBUFF

ENDRX

GOVRE

DRDY

15

14

13

12

11

10

9

8

OVRE7

OVRE6

OVRE5

OVRE4

OVRE3

OVRE2

OVRE1

OVRE0

7

6

5

4

3

2

1

0

EOC7

EOC6

EOC5

EOC4

EOC3

EOC2

EOC1

EOC0

Advertising