![Geehy SEMICONDUCTOR APM32F030x4x6x8xC Скачать руководство пользователя страница 318](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f030x4x6x8xc/apm32f030x4x6x8xc_user-manual_573629318.webp)
www.geehy.com Page 317
24.5
Register Functional Description
ADC state register
Offset address: 0x00
Reset value: 0x0000 0000
Field
Name
R/W
Description
0
ADCRDYFLG RC_W1
ADC Ready Flag
0: ADC not ready
1: ADC has been ready to start conversion
1
EOSMPFLG
RC_W1
End of Sampling Flag
This bit is set to 1 by hardware and cleared by software
0: Not in the phase of end of sampling
1: Reach the condition for end of sampling phase
2
EOCFLG
RC_W1
End of Conversion Flag
This bit is set to 1 by hardware and cleared by software
0: Conversion does not end
1: Conversion ends
3
EOSEQFLG
RC_W1
End of Sequence Flag
This bit is set to 1 by hardware and cleared by software
0: Sequence conversion not completed
1: Sequence conversion completed
4
OVREFLG
RC_W1
ADC Overrun Event Flag
This bit is set to 1 by hardware and cleared by software
0: No overrun event
1: Overrun event occurred
6:5
Reserved
7
AWDFLG
RC_W1
Analog Watchdog Flag
This bit is set to 1 by hardware and cleared by software, indicating
whether an analog watchdog event occurs.
0: Not occur
1: Occurred
31:8
Reserved
ADC interrupt enable register (ADC_IEN)
Offset address: 0x04
Reset value: 0x0000 0000
Field
Name
R/W
Description
0
ADCRDYIEN R/W
ADC Ready Interrupt Enable
0: Disable
1: Enable
1
EOSMPIEN
R/W
End of Sampling Flag Interrupt Enable
0: Disable
1: Enable
2
EOCIEN
R/W
End of Conversion Interrupt Enable
0: Disable
1: Enable