14. 12-bit ADC
A96G140/A96G148/A96A148 User’s manual
156
ADCDRL (A/D Converter Data Low Register): 9EH
7
6
5
4
3
2
1
0
ADDM3
ADDL7
ADDM2
ADDL6
ADDM1
ADDL5
ADDM0
ADDL4
ADDL3
ADDL2
ADDL1
ADDL0
R
R
R
R
R-
R
R
R
Initial value: xxH
ADDM[3:0]
MSB align, A/D Converter Low Data (4-bit)
ADDL[7:0]
LSB align, A/D Converter Low Data (8-bit)
ADCCRH (A/D Converter High Register): 9DH
7
6
5
4
3
2
1
0
ADCIFR
IREF
TRIG2
TRIG1
TRIG0
ALIGN
CKSEL1
CKSEL0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value: 01H
ADCIFR
When ADC interrupt occurs, this bit
becomes ‘1’. For clearing bit, write
‘0’ to this bit or auto clear by INT_ACK signal. Writing “1” has no effect.
0
ADC Interrupt no generation
1
ADC Interrupt generation
IREF
Select internal voltage reference.
0
External input signal source select
1
Test only
TRIG[2:0]
A/D Trigger Signal Selection
TRIG2
TRIG1
TRIG0
Description
0
0
0
ADST
0
0
1
Timer 1 A match signal
0
1
0
Timer 3 A match signal
0
1
1
EXTINT0~7
1
0
0
EXTINT8
1
0
1
Not used
Other Values
Not used
ALIGN
A/D Converter data align selection.
0
MSB align (ADCDRH[7:0], ADCDRL[7:4])
1
LSB align (ADCRDH[3:0], ADCDRL[7:0])
CKSEL[1:0]
A/D Converter Clock selection
CKSEL1
CKSEL0
Description
0
0
fx/1
0
1
fx/2
1
0
fx/4
1
1
fx/8
NOTES:
1.
fx : system clock
2.
ADC clock should use below 8MHz