![Cmsemicon BAT32G1 9 Series Скачать руководство пользователя страница 504](http://html1.mh-extra.com/html/cmsemicon/bat32g1-9-series/bat32g1-9-series_user-manual_2627609504.webp)
BAT32G1x9 user manual | Chapter 15 A/D converter
504 / 1149
Rev.1.02
15.2.14 A/D status register (ADFLG).
This register represents the status of the A/D
converter.
Read the ADFLG
registers via the 8-bit memory operation instructions.
After generating a reset signal, the value of this register changes to "00H".
Figure15-17 A/D Status Register (ADFLG).
Reset value: 00H R
7
6
5
4
3
2
1
0
ADFLG
0
0
0
ADFLG4
ADFLG3
ADFLG2
ADFLG1
ADFLG0
ADFLG4
A/D
transition status
0
The A/D conversion does not end in single conversion mode
1
In single-stroke conversion mode, the conversion ends (zero is automatically cleared after 2
ADCLKs).
The ADFLG4 remains at 1'b0 in continuous conversion mode
ADFLG3
A/D
transition status
0
1 ADCLK before the end of the non-A/D conversion
1
1 ADCLK before the end of A/D conversion (1 ADCLK is automatically cleared after 1
ADCLK).
ADFLG2
A/D transition status
0
2 ADCLKs before the end of non-A/D conversion
1
2 ADCLKs before the end of A/D conversion (automatic zeroing after 1 ADCLK).
ADFLG1
A/D transition status
0
Non-sequential comparison period
1
Compare the periods one by one
ADFLG0
A/D transition status
0
During non-A/D sampling
1
A/D sampling period