ST7263-EMU2 STMicroelectronics, ST7263-EMU2 Datasheet - Page 86

no-image

ST7263-EMU2

Manufacturer Part Number
ST7263-EMU2
Description
MCU, MPU & DSP Development Tools ST7 Emulator Board
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST7263-EMU2

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
ST7263
8-BIT A/D CONVERTER (ADC) (Cont’d)
5.8.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.
Note: A typical 30 µs delay time is necessary for
the ADC to stabilize when the ADON bit is set.
Bit 4 = Reserved. Forced by hardware to 0.
Bit 3 = Reserved. Must always be cleared.
Bits 2:0: CH[2:0] Channel Selection
These bits are set and cleared by software. They
select the analog input to convert.
86/109
COCO
7
-
ADON
0
-
CH2
CH1
CH0
0
Table 21. Channel Selection
*IMPORTANT NOTE: The number of pins AND
the channel selection vary according to the device.
REFER TO THE DEVICE PINOUT).
DATA REGISTER (DR)
Read Only
Reset Value: 0000 0000 (00h)
Bit 7:0 = AD[7:0] Analog Converted Value
This register contains the converted analog value
in the range 00h to FFh.
Reading this register resets the COCO flag.
AD7
7
AIN0
AIN1
AIN2
AIN3
AIN4
AIN5
AIN6
AIN7
Pin*
AD6
AD5
CH2
AD4
0
0
0
0
1
1
1
1
AD3
CH1
0
0
1
1
0
0
1
1
AD2
AD1
CH0
0
1
0
1
0
1
0
1
AD0
0

Related parts for ST7263-EMU2