tmp86c408idmg TOSHIBA Semiconductor CORPORATION, tmp86c408idmg Datasheet - Page 132

no-image

tmp86c408idmg

Manufacturer Part Number
tmp86c408idmg
Description
Cmos 8-bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
12.1 Configuration
12. 8-Bit AD Converter (ADC)
12.2 Control
AD Converter Control Register 1
ADCCR1
(000EH)
The AD converter consists of the following four registers:
Note 1: Select analog input when AD converter stops (ADCDR2<ADBF> = “0”).
Note 2: When the analog input is all use disabling, the ADCCR1<AINDS> should be set to “1”.
Note 3: During conversion, do not perform output instruction to maintain a precision for all of the pins. And port near to analog
Note 4: The ADRS is automatically cleared to “0” after starting conversion.
Note 5: Do not set ADCCR1<ADRS> newly again during AD conversion. Before setting ADCCR1<ADRS> newly again, check
Note 6: After STOP or SLOW/SLEEP mode are started, AD converter control register 1 (ADCCR1) is all initialized and no data
Note 7: Always set bit 5 in ADCCR1 to “1” and set bit 6 in ADCCR1 to “0”.
1. AD converter control register 1 (ADCCR1)
2. AD converter control register 2 (ADCCR2)
3. AD converted value register (ADCDR1)
4. AD converted value register (ADCDR2)
ADRS
AINDS
SAIN
input, do not input intense signaling of change.
ADCDR2<EOCF> to see that the conversion is completed or wait until the interrupt signal (INTADC) is generated (e.g.,
interrupt handling routine).
can be written in this register. Therefore, to use AD converter again, set the ADCCR1 newly after returning to NORMAL1
or NORMAL2 mode.
ADRS
verter as it starts operating.
resistor network).
7
This register selects the analog channels in which to perform AD conversion and controls the AD con-
This register selects the AD conversion time and controls the connection of the DA converter (ladder
This register is used to store the digital value after being converted by the AD converter.
This register monitors the operating status of the AD converter.
AD conversion start
Analog input control
Analog input channel select
"0"
6
"1"
5
AINDS
4
0:
1:
0:
1:
0000:
0001:
0010:
0011:
0100:
0101:
0110:
0111:
1000:
1001:
1010:
1011:
1100:
1101:
1110:
1111:
3
Page 122
Start
Analog input enable
Analog input disable
AIN0
AIN1
AIN2
AIN3
AIN4
AIN5
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
2
SAIN
1
0
(Initial value: 0001 0000)
TMP86C408IDMG
R/W

Related parts for tmp86c408idmg