tmp86c809ng TOSHIBA Semiconductor CORPORATION, tmp86c809ng Datasheet - Page 135

no-image

tmp86c809ng

Manufacturer Part Number
tmp86c809ng
Description
8 Bit Microcontroller Tlcs-870/c Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
12.3 Function
12.3.1 Software Start Mode
12.3.2 Repeat Mode
ADCCR1<ADRS>
ADCDR2<ADBF>
ADCDR1 status
ADCDR2<EOCF>
INTADC interrupt request
ADCDR1
ADCDR2
sion of the voltage at the analog input pin specified by ADCCR1<SAIN> is thereby started.
(ADCDR1, ADCDR2) and at the same time ADCDR2<EOCF> is set to 1, the AD conversion finished inter-
rupt (INTADC) is generated.
(Restart) during AD conversion. Before setting ADRS newly again, check ADCDR2<EOCF> to see that the
conversion is completed or wait until the interrupt signal (INTADC) is generated (e.g., interrupt handling rou-
tine).
In this mode, AD conversion is started by setting ADCCR1<ADRS> to “1” after setting ADCCR1<AMD> to
“11” (Repeat mode).
(ADCDR1, ADCDR2) and at the same time ADCDR2<EOCF> is set to 1, the AD conversion finished inter-
rupt (INTADC) is generated.
conversion, set ADCCR1<AMD> to “00” (Disable mode) by writing 0s. The AD convert operation is stopped
immediately. The converted value at this time is not stored in the AD converted value register.
After setting ADCCR1<AMD> to “01” (software start mode), set ADCCR1<ADRS> to “1”. AD conver-
After completion of the AD conversion, the conversion result is stored in AD converted value registers
ADRS is automatically cleared after AD conversion has started. Do not set ADCCR1<ADRS> newly again
AD conversion of the voltage at the analog input pin specified by ADCCR1<SAIN> is performed repeatedly.
After completion of the AD conversion, the conversion result is stored in AD converted value registers
In repeat mode, each time one AD conversion is completed, the next AD conversion is started. To stop AD
Indeterminate
AD conversion start
Figure 12-2 Software Start Mode
Conversion result
read
1st conversion result
Conversion result
read
Page 125
AD conversion start
2nd conversion result
Conversion result
read
Conversion result
read
EOCF cleared by reading
conversion result
TMP86C809NG

Related parts for tmp86c809ng