参数资料
型号: ST72311N4T6/XXX
厂商: STMICROELECTRONICS
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
封装: PLASTIC, TQFP-64
文件页数: 70/92页
文件大小: 624K
代理商: ST72311N4T6/XXX
72/92
ST72311
8-BIT A/D CONVERTER (ADC) (Cont’d)
4.6.4 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 typically 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.
Table 20. Channel Selection
*IMPORTANT NOTE: The number of pins AND
the channel selection varies according to the de-
vice. 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 reset the COCO flag.
Table 21. ADC Register Map
70
COCO
-
ADON
0
-
CH2
CH1
CH0
Pin*
CH2
CH1
CH0
AIN0
0
AIN1
0
1
AIN2
0
1
0
AIN3
0
1
AIN4
1
0
AIN5
1
0
1
AIN6
1
0
AIN7
1
70
AD7
AD6
AD5
AD4
AD3
AD2
AD1
AD0
Address
(Hex.)
Register
Name
765
4
3
21
0
70
Reset Value
DR
AD7
0
AD6
0
AD5
0
AD4
0
AD3
0
AD2
0
AD1
0
AD0
0
71
Reset Value
CSR
COCO
0
-
0
ADON
0
-
0
CH2
0
CH1
0
CH0
0
72
相关PDF资料
PDF描述
ST72311J2B6/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP42
ST72311N2T3/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
ST72321BAR7T6 MICROCONTROLLER, QFP64
ST72321BR7T3 MICROCONTROLLER, QFP64
ST72321M9T3/XXX 8-BIT, MROM, MICROCONTROLLER, PQFP80
相关代理商/技术参数
参数描述
ST72311N5B6 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
ST72311N6B6 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
ST72311R 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8-BIT MCU WITH NESTED INTERRUPTS, EEPROM, ADC, 16-BIT TIMERS, 8-BIT PWM ART, SPI, SCI, CAN INTERFACES
ST72311R4Q6 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
ST72311R5Q6 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller