tmp88ps42ng TOSHIBA Semiconductor CORPORATION, tmp88ps42ng Datasheet - Page 197

no-image

tmp88ps42ng

Manufacturer Part Number
tmp88ps42ng
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
16.3 Function
16.3.1 Software Start Mode
16.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 16-2 Software Start Mode
Conversion result
read
1st conversion result
Conversion result
read
Page 187
AD conversion start
2nd conversion result
Conversion result
read
Conversion result
read
EOCF cleared by reading
conversion result
TMP88PS42NG

Related parts for tmp88ps42ng