tmp86c847iug TOSHIBA Semiconductor CORPORATION, tmp86c847iug Datasheet - Page 143

no-image

tmp86c847iug

Manufacturer Part Number
tmp86c847iug
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
Example :After selecting the conversion time 19.5 µs at 16 MHz and the analog input channel AIN3 pin, perform AD con-
12.4 STOP/SLOW Modes during AD Conversion
is suspended and the AD converter is initialized (ADCCR1 and ADCCR2 are initialized to initial value). Also, the
conversion 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 or SLOW mode).) When restored from standby mode
(STOP or SLOW 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 or SLOW mode) is entered forcibly during AD conversion, the AD convert operation
version once. After checking EOCF, read the converted value, store the lower 2 bits in address 009EH and store
the upper 8 bits in address 009FH in RAM. The operation mode is software start mode.
SLOOP :
: (port setting)
:
LD
LD
SET
TEST
JRS
LD
LD
LD
LD
:
:
(ADCCR1) , 00100011B
(ADCCR2) , 11011000B
(ADCCR1) . 7
(ADCDR2) . 5
T, SLOOP
A , (ADCDR2)
(9EH) , A
A , (ADCDR1)
(9FH), A
Page 135
;Set port register appropriately before setting AD
converter registers.
(Refer to section I/O port in details)
; Select AIN3
;Select conversion time(312/fc) and operation
mode
; ADRS = 1(AD conversion start)
; EOCF= 1 ?
; Read result data
; Read result data
TMP86C847IUG

Related parts for tmp86c847iug