ml670100 Oki Semiconductor, ml670100 Datasheet - Page 152

no-image

ml670100

Manufacturer Part Number
ml670100
Description
Ml670100 Is A High-performance 32-bit Microcontroller
Manufacturer
Oki Semiconductor
Datasheet
10.2.3
10-8
The AD Status Register (ADST) is an 8-bit read/write register that indicates the completion of
a conversion operation.
After a system reset, this register contains 0x00.
Bit Descriptions
ADERQ
This flag indicates the completion of a conversion operation. A "1" indicates completion of the
specified number of conversions and updates to the result registers.
To clear this flag, write "1" to it. Writing "0" produces no change.
If the CONT bit in AD Control Register H (ADHCON) is "0," the analog-to-digital converter
sets this bit to "1" after four conversions for the scan modes and after one for select mode.
If the CONT bit is "1," the analog-to-digital converter sets this bit to "1" after the last
conversion in each set (channel 3 or 7) for the scan modes and after each conversion for select
mode.
The next Table gives the additional clock cycles required for the first conversion after writing
"1" to the ADRUN bit in AD Control Register H (ADHCON). If the ADTM setting is 2'b01, for
example, a scan of four input channels takes 1118 clock cycles.
AD Status Register (ADST)
7
0
(267 + 50) + (267 * 3) = 1118
ADTM Setting
00
01
10
11
6
0
A "0" indicates a reserved bit. Always write "0" to it.
Writing "1" produces unreliable operation.
5
Figure 10.4 : AD Status Register (ADST)
0
4
0
Additional Cycles for
First Conversion
67
50
25
12
3
0
2
0
1
0
ADERQ
0
0
1
Conversion not complete
Conversion complete

Related parts for ml670100