ISD91200 Series Technical Reference Manual
Release Date: Sep 16, 2019
- 460 -
Revision 2.4
SAR ADC Status Register (
SARADC_STATUS
)
Register
Offset
R/W Description
Reset Value
SARADC_ST
ATUS
SA0x40 R/W SAR ADC status Register
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
VALID[15:8]
15
14
13
12
11
10
9
8
VALID[7:0]
7
6
5
4
3
2
1
0
CHANNEL
BUSY
ADCMPF1
ADCMPF0
ADEF
Bits
Description
[31:24]
Reserved
Reserved.
[23:8]
VALID
Data Valid Flag (Read Only)
It is a mirror of VALID bit in DATx.
[7:4]
CHANNEL
Current Conversion Channel (Read Only)
This field reflects the current conversion channel when BUSY = 1. When BUSY = 0, it
shows the number of the next converted channel.
[3]
BUSY
BUSY/IDLE (Read Only)
0 = A/D converter is in idle state.
1 = A/D converter is busy at conversion.
This bit is mirror of as SWTRG bit in CTL.
[2]
ADCMPF1
Compare Flag
When the selected channel A/D conversion result meets setting condition in
SARADC_CMP1 then this bit is set to 1. And it is cleared by writing 1 to self.
0 = Conversion result in DAT register does not meet CMP1 register.
1 = Conversion result in DAT register meets CMP1 register.
[1]
ADCMPF0
Compare Flag
When the selected channel A/D conversion result meets setting condition in
SARADC_CMP0 then this bit is set to 1. And it is cleared by writing 1 to self.
0 = Conversion result in DAT register does not meet CMP0 register.
1 = Conversion result in DAT register meets CMP0 register.
[0]
ADEF
A/D Conversion End Flag
A status flag that indicates the end of A/D conversion.
ADEF is set to 1 at these two conditions:
1. When A/D conversion ends in Single mode.
2. When A/D conversion ends on all specified channels in Scan mode.
Note:
This bit can be cleared by writing ‘1’ to it.