tmp88cs43fg TOSHIBA Semiconductor CORPORATION, tmp88cs43fg Datasheet - Page 201

no-image

tmp88cs43fg

Manufacturer Part Number
tmp88cs43fg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
Example :After selecting the conversion time 15.6 μs at 20 MHz and the analog input channel AIN4 pin, perform AD con-
16.4 STOP mode during AD Conversion
pended and the AD converter is initialized (ADCCRA and ADCCRB are initialized to initial value). Also, the con-
version result is indeterminate. (Conversion results up to the previous operation are cleared, so be sure to read the
conversion results before entering standby mode (STOP mode).) When restored from standby mode (STOP mode),
AD conversion is not automatically restarted, so it is necessary to restart AD conversion. Note that since the analog
reference voltage is automatically disconnected, there is no possibility of current flowing into the analog reference
voltage.
When standby mode (STOP mode) is entered forcibly during AD conversion, the AD convert operation is sus-
version once. After checking EOCF, read the converted value, store the lower 2 bits in address 0009EH and store
the upper 8 bits in address 0009FH in RAM. The operation mode is software start mode.
SLOOP :
: (port setting)
:
LD
LD
SET
TEST
JRS
LD
LD
LD
LD
:
:
(ADCCRA) , 00100100B
(ADCCRB) , 00011000B
(ADCCRA) . 7
(ADCDRB) . 5
T, SLOOP
A , (ADCDRL)
(9EH) , A
A , (ADCDRH)
(9FH), A
Page 191
;Set port register approrriately before setting AD
converter registers.
(Refer to section I/O port in details)
; Select Software start mode, Analog input enable,
and AIN4
;Select conversion time(312/fc) and operation
mode
; ADRS = 1(AD conversion start)
; EOCF= 1 ?
; Read result data
; Read result data
TMP88CS43FG

Related parts for tmp88cs43fg