SAM3U ADC12B

Analog-to-Digital-Converter 12bits (ADC12B) User Interface

Registers

Register Mapping
Address Register Name Access Reset
0x400A8000 Control Register ADC12B_CR write-only -
0x400A8004 Mode Register ADC12B_MR read-write 0x00000000
0x400A8010 Channel Enable Register ADC12B_CHER write-only -
0x400A8014 Channel Disable Register ADC12B_CHDR write-only -
0x400A8018 Channel Status Register ADC12B_CHSR read-only 0x00000000
0x400A801C Status Register ADC12B_SR read-only 0x000C0000
0x400A8020 Last Converted Data Register ADC12B_LCDR read-only 0x00000000
0x400A8024 Interrupt Enable Register ADC12B_IER write-only -
0x400A8028 Interrupt Disable Register ADC12B_IDR write-only -
0x400A802C Interrupt Mask Register ADC12B_IMR read-only 0x00000000
0x400A8030 Channel Data Register ADC12B_CDR[8] read-only 0x0
0x400A8064 Analog Control Register ADC12B_ACR read-write 0x00000000
0x400A8068 Extended Mode Register ADC12B_EMR read-write 0x00000000
0x400A8100 Receive Pointer Register ADC12B_RPR read-write 0x00000000
0x400A8104 Receive Counter Register ADC12B_RCR read-write 0x00000000
0x400A8110 Receive Next Pointer Register ADC12B_RNPR read-write 0x00000000
0x400A8114 Receive Next Counter Register ADC12B_RNCR read-write 0x00000000
0x400A8120 Transfer Control Register ADC12B_PTCR write-only 0x00000000
0x400A8124 Transfer Status Register ADC12B_PTSR read-only 0x00000000

Register Fields

ADC12B Control Register

Name: ADC12B_CR

Access: write-only

Address: 0x400A8000

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - - - START SWRST

ADC12B Mode Register

Name: ADC12B_MR

Access: read-write

Address: 0x400A8004

31 30 29 28 27 26 25 24
- - - - SHTIM
23 22 21 20 19 18 17 16
STARTUP
15 14 13 12 11 10 9 8
PRESCAL
7 6 5 4 3 2 1 0
- - SLEEP LOWRES TRGSEL TRGEN

ADC12B Channel Enable Register

Name: ADC12B_CHER

Access: write-only

Address: 0x400A8010

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
CH7 CH6 CH5 CH4 CH3 CH2 CH1 CH0

ADC12B Channel Disable Register

Name: ADC12B_CHDR

Access: write-only

Address: 0x400A8014

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
CH7 CH6 CH5 CH4 CH3 CH2 CH1 CH0

ADC12B Channel Status Register

Name: ADC12B_CHSR

Access: read-only

Address: 0x400A8018

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
CH7 CH6 CH5 CH4 CH3 CH2 CH1 CH0

ADC12B Status Register

Name: ADC12B_SR

Access: read-only

Address: 0x400A801C

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

ADC12B Last Converted Data Register

Name: ADC12B_LCDR

Access: read-only

Address: 0x400A8020

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - LDATA
7 6 5 4 3 2 1 0
LDATA

ADC12B Interrupt Enable Register

Name: ADC12B_IER

Access: write-only

Address: 0x400A8024

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

ADC12B Interrupt Disable Register

Name: ADC12B_IDR

Access: write-only

Address: 0x400A8028

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

ADC12B Interrupt Mask Register

Name: ADC12B_IMR

Access: read-only

Address: 0x400A802C

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

ADC12B Channel Data Register

Name: ADC12B_CDR[0:7]

Access: read-only

Address: 0x400A8030

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - DATA
7 6 5 4 3 2 1 0
DATA

ADC12B Analog Control Register

Name: ADC12B_ACR

Access: read-write

Address: 0x400A8064

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - OFFSET DIFF
15 14 13 12 11 10 9 8
- - - - - - IBCTL
7 6 5 4 3 2 1 0
- - - - - - GAIN

ADC12B Extended Mode Register

Name: ADC12B_EMR

Access: read-write

Address: 0x400A8068

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
OFF_MODE_STARTUP_TIME
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - - - - OFFMODES

ADC12B Receive Pointer Register

Name: ADC12B_RPR

Access: read-write

Address: 0x400A8100

31 30 29 28 27 26 25 24
RXPTR
23 22 21 20 19 18 17 16
RXPTR
15 14 13 12 11 10 9 8
RXPTR
7 6 5 4 3 2 1 0
RXPTR

ADC12B Receive Counter Register

Name: ADC12B_RCR

Access: read-write

Address: 0x400A8104

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
RXCTR
7 6 5 4 3 2 1 0
RXCTR

ADC12B Receive Next Pointer Register

Name: ADC12B_RNPR

Access: read-write

Address: 0x400A8110

31 30 29 28 27 26 25 24
RXNPTR
23 22 21 20 19 18 17 16
RXNPTR
15 14 13 12 11 10 9 8
RXNPTR
7 6 5 4 3 2 1 0
RXNPTR

ADC12B Receive Next Counter Register

Name: ADC12B_RNCR

Access: read-write

Address: 0x400A8114

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
RXNCTR
7 6 5 4 3 2 1 0
RXNCTR

ADC12B Transfer Control Register

Name: ADC12B_PTCR

Access: write-only

Address: 0x400A8120

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - TXTDIS TXTEN
7 6 5 4 3 2 1 0
- - - - - - RXTDIS RXTEN

ADC12B Transfer Status Register

Name: ADC12B_PTSR

Access: read-only

Address: 0x400A8124

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - TXTEN
7 6 5 4 3 2 1 0
- - - - - - - RXTEN