www.geehy.com Page 318
Field
Name
R/W
Description
3
EOSEQIEN
R/W
End of Conversion Sequence Interrupt Enable
0: Disable
1: Enable
4
OVRIEN
R/W
Overrun Interrupt Enable
0: Disable
1: Enable
6:5
Reserved
7
AWDIEN
R/W
Analog Watchdog Interrupt Enable
0: Disable
1: Enable
31:8
Reserved
Note: These bits can be rewritten only when STARTCEN=0.
ADC control register (ADC_CTRL)
Offset address: 0x08
Reset value: 0x0000 0000
Field
Name
R/W
Description
0
ADCEN
R/S
ADC Enable
This bit is set to 1 by software and cleared by hardware.
0: ADC is disabled
1: ADC is enabled
Note: ADCEN bit can be set by software only when all bits of ADC_CTRL
register are 0.
1
ADCD
R/S
ADC Disable
This bit is set to 1 by software and cleared by hardware.
0: Invalid
1: Disable ADC, and enter power-off mode
Note: ADCD bit can be set by software only when ADCEN=1 and
STARTCEN=0
.
2
STARTCEN
R/S
ADC Start Conversion Enable
This bit is set to 1 by software and cleared by hardware.
0: ADC conversion is disabled
1: Start ADC conversion
Note: STARTCEN bit can be set by software only when ADCEN=1 and
ADCD=0.
3
Reserved
4
STOPCEN
R/S
ADC Stop Conversion Enable
This bit is set to 1 by software and cleared by hardware.
0: Invalid
1: Stop ADC conversion
Note: This bit can be set by software only when STARTCEN=1 and
ADCD=0.
30:5
Reserved