BAT32G1x9 user manual | Chapter 15 A/D converter
505 / 1149
Rev.1.02
15.2.15 A/D Charge and Discharge Control Register (ADNDIS).
This register is used to control
the charge and discharge action and time of the A/D converter.
Read and write ADNDIS
registers via 8-bit memory manipulation instructions.
After generating a reset signal, the value of this register changes to "00H".
Figure15-18 A/D Charge and Discharge Control Register (ADNDIS).
Reset value: 00HW
7
6
5
4
3
2
1
0
ADNDIS
0
0
0
ADNDIS4
ADNDIS3
ADNDIS2
ADNDIS1
ADNDIS0
ADNDIS[4]
Charge and discharge control
1’b0
discharge
1’b1
charge
ADNDIS[3:0]
Charge and discharge time
4’b0000
No charge or discharge is
performed
4’b0010
2 ADCLKs
4’b0011
3 ADCLKs
4’b0100
4 ADCLKs
4’b0101
5 ADCLKs
4’b0110
6 ADCLKs
……
……
4’b1111
15 ADCLKs
Note: It is forbidden to set the charge-discharge time to 1 ADCLK, that is, ADNDIS [3:0] =
4'b0001