ST7MDT2-EPB2/US STMicroelectronics, ST7MDT2-EPB2/US Datasheet - Page 99

no-image

ST7MDT2-EPB2/US

Manufacturer Part Number
ST7MDT2-EPB2/US
Description
BOARD PROGRAMMING SGL POS ST7
Manufacturer
STMicroelectronics
Type
MCUr
Datasheets

Specifications of ST7MDT2-EPB2/US

Contents
Programmer Board
For Use With/related Products
ST72311, ST72124, ST72314, ST72334
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
8-BIT A/D CONVERTER (ADC) (Cont’d)
14.6.6 Register Description
CONTROL/STATUS REGISTER (CSR)
Read /Write
Reset Value: 0000 0000 (00h)
Bit 7 = COCO Conversion Complete
This bit is set by hardware. It is cleared by soft-
ware reading the result in the DR register or writing
to the CSR register.
0: Conversion is not complete
1: Conversion can be read from the DR register
Bit 6 = Reserved. must always be cleared.
Bit 5 = ADON A/D Converter On
This bit is set and cleared by software.
0: A/D converter is switched off
1: A/D converter is switched on
Bit 4 = Reserved. must always be cleared.
Bits 3:0 = CH[3:0] Channel Selection
These bits are set and cleared by software. They
select the analog input to convert.
*Note: The number of pins AND the channel selec-
tion varies according to the device. Refer to the de-
vice pinout.
COCO
7
Channel Pin*
0
AIN10
AIN11
AIN12
AIN13
AIN14
AIN15
AIN0
AIN1
AIN2
AIN3
AIN4
AIN5
AIN6
AIN7
AIN8
AIN9
ADON
0
CH3
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
CH3
CH2
CH2
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
CH1
CH1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
CH0
CH0
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
DATA REGISTER (DR)
Read Only
Reset Value: 0000 0000 (00h)
Bits 7:0 = D[7:0] Analog Converted Value
This register contains the converted analog value
in the range 00h to FFh.
Note: Reading this register reset the COCO flag.
D7
7
ST72334J/N, ST72314J/N, ST72124J
D6
D5
D4
D3
D2
D1
99/153
D0
0

Related parts for ST7MDT2-EPB2/US