tmp88fw45afg TOSHIBA Semiconductor CORPORATION, tmp88fw45afg Datasheet - Page 229

no-image

tmp88fw45afg

Manufacturer Part Number
tmp88fw45afg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
18.3
18.3.1
18.3.2
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 interrupt
(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).
ADCCRA<ADRS>
ADCDRL<ADBF>
ADCDRH status
ADCDRL<EOCF>
INTADC interrupt request
ADCDRH
ADCDRL
In this mode, AD conversion is started by setting ADCCRA<ADRS> to “1” after setting ADCCRA<AMD> to
“11” (Repeat mode).
(ADCDRH, ADCDRL) and at the same time ADCDRL<EOCF> is set to 1, the AD conversion finished interrupt
(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.
Function
After setting ADCCRA<AMD> to “01” (software start mode), set ADCCRA<ADRS> to “1”. AD conversion
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 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
Software Start Mode
Repeat Mode
Indeterminate
AD conversion start
Figure 18-2 Software Start Mode
Conversion result
read
1st conversion result
Conversion result
read
Page 215
AD conversion start
2nd conversion result
Conversion result
read
Conversion result
read
EOCF cleared by reading
conversion result
TMP88FW45AFG

Related parts for tmp88fw45afg