tmp88ch40img TOSHIBA Semiconductor CORPORATION, tmp88ch40img Datasheet - Page 133

no-image

tmp88ch40img

Manufacturer Part Number
tmp88ch40img
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
14.3 Function
14.3.1 Software Start Mode
14.3.2 Repeat Mode
ADCCRA<ADRS>
ADCDRL<ADBF>
ADCDRH status
ADCDRL<EOCF>
INTADC interrupt request
ADCDRH
ADCDRL
sion of the voltage at the analog input pin specified by ADCCRA<SAIN> is thereby started.
(ADCDRH, ADCDRL) and at the same time ADCDRL<EOCF> is set to 1, the AD conversion finished inter-
rupt (INTADC) is generated.
(Restart) during AD conversion. Before setting ADCCRA<ADRS> newly again, check ADCDRL<EOCF> to
see that the conversion is completed or wait until the interrupt signal (INTADC) is generated (e.g., interrupt
handling routine).
edly. In this mode, AD conversion is started by setting ADCCRA<ADRS> to “1” after setting ADC-
CRA<AMD> to “11” (Repeat mode).
(ADCDRH, ADCDRL) and at the same time ADCDRL<EOCF> is set to 1, the AD conversion finished inter-
rupt (INTADC) is generated.
conversion, set ADCCRA<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 ADCCRA<AMD> to “01” (software start mode), set ADCCRA<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 ADCCRA<ADRS> newly again
AD conversion of the voltage at the analog input pin specified by ADCCRA<SAIN> is performed repeat-
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 14-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
TMP88CH40IMG

Related parts for tmp88ch40img