tmp86fh46bng TOSHIBA Semiconductor CORPORATION, tmp86fh46bng Datasheet - Page 153

no-image

tmp86fh46bng

Manufacturer Part Number
tmp86fh46bng
Description
8 Bit Microcontroller Tlcs-870/c Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP86FH46BNG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Example :After selecting the conversion time 19.5 μs at 16 MHz and the analog input channel AIN3 pin, perform AD
12.4
tion is suspended and the AD converter is initialized (ADCCR1 and ADCCR2 are initialized to initial value). Al-
so, 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 stand-
by mode (STOP or SLOW mode), AD conversion is not automatically restarted, so it is necessary to restart AD con-
version. Note that since the analog reference voltage is automatically disconnected, there is no possibility of cur-
rent flowing into the analog reference voltage.
When standby mode (STOP or SLOW mode) is entered forcibly during AD conversion, the AD convert opera-
conversion 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 :
STOP/SLOW Modes during AD Conversion
: (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
TMP86FH46BNG

Related parts for tmp86fh46bng