tmp88cs43fg TOSHIBA Semiconductor CORPORATION, tmp88cs43fg Datasheet - Page 196

no-image

tmp88cs43fg

Manufacturer Part Number
tmp88cs43fg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
16. 10-bit AD Converter (ADC)
16.2 Register configuration
16.2 Register configuration
AD Converter Control Register 1
ADCCRA
(0026H)
The AD converter consists of the following four registers:
Note 1: Select analog input channel during AD converter stops (ADCDRL<ADBF> = "0").
Note 2: When the analog input channel is all use disabling, the ADCCRA<AINDS> should be set to "1".
Note 3: During conversion, Do not perform port output instruction to maintain a precision for all of the pins because analog input
Note 4: The ADCCRA<ADRS> is automatically cleared to "0" after starting conversion.
Note 5: Do not set ADCCRA<ADRS> newly again during AD conversion. Before setting ADCCRA<ADRS> newly again, check
Note 6: After STOP mode is started, AD converter control register1 (ADCCRA) is all initialized and no data can be written in this
Note 7: After RESET, ADCCRA<SAIN> is initialized Reserved setting. Therfore, set the appropriate analog input channel to ADC-
Note 8: After ADCCRA is set to 00H, AD conversion can not be started for four cycles. Thus, four NOPs must be inserted before
1. AD converter control register 1 (ADCCRA)
2. AD converter control register 2 (ADCCRB)
3. AD converted value register 1 (ADCDRH)
4. AD converted value register 2 (ADCDRL)
port use as general input port. And for port near to analog input, Do not input intense signaling of change.
ADCDRL<EOCF> to see that the conversion is completed or wait until the interrupt signal (INTADC) is generated (e.g.,
interrupt handling routine).
register. Therfore, to use AD converter again, set the ADCCRA newly after returning to NORMAL mode.
CRA<SAIN> when use AD converter.
setting the ADCCRA<ADRS>.
form AD conversion and controls the AD converter as it starts operating.
resistor network).
ADRS
This register selects the analog channels and operation mode (Software start or repeat) in which to per-
This register selects the AD conversion time and controls the connection of the DA converter (Ladder
This register used to store the digital value after being converted by the AD converter.
This register monitors the operating status of the AD converter.
AINDS
ADRS
7
AMD
SAIN
AD conversion start
AD operating mode
Analog input control
Analog input channel select
6
AMD
5
AINDS
4
0:
1:
00:
01:
10:
11:
0:
1:
0000:
0001:
0010:
0011:
0100:
0101:
0110:
0111:
1000:
1001:
1010:
1011:
1100:
1101:
1110:
1111:
Page 186
3
AD conversion start
AD operation disable
Software start mode
Reserved
Repeat mode
Analog input enable
Analog input disable
AIN0
AIN1
AIN2
AIN3
AIN4
AIN5
AIN6
AIN7
AIN8
AIN9
AIN10
AIN11
AIN12
AIN13
AIN14
AIN15
-
2
SAIN
1
0
(Initial value: 0001 0000)
TMP88CS43FG
R/W

Related parts for tmp88cs43fg