参数资料
型号: ST62P62CN1/XXX
厂商: STMICROELECTRONICS
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO16
封装: PLASTIC, SSOP-16
文件页数: 29/75页
文件大小: 1753K
代理商: ST62P62CN1/XXX
35/75
ST6252C ST6262B ST6262C
I/O PORTS (Cont’d)
4.1.1 Operating Modes
Each pin may be individually programmed as input
or output with various configurations.
This is achieved by writing the relevant bit in the
Data (DR), Data Direction (DDR) and Option reg-
isters (OR). Table 11 illustrates the various port
configurations which can be selected by user soft-
ware.
4.1.1.1 Input Options
Pull-up, High Impedance Option. All input lines
can be individually programmed with or without an
internal pull-up by programming the OR and DR
registers accordingly. If the pull-up option is not
selected, the input pin will be in the high-imped-
ance state.
4.1.1.2 Interrupt Options
All input lines can be individually connected by
software to the interrupt system by programming
the OR and DR registers accordingly. The inter-
rupt trigger modes (falling edge, rising edge and
low level) can be configured by software as de-
scribed in the Interrupt Chapter for each port.
4.1.1.3 Analog Input Options
Some pins can be configured as analog inputs by
programming the OR and DR registers according-
ly. These analog inputs are connected to the on-
chip 8-bit Analog to Digital Converter. ONLY ONE
pin should be programmed as an analog input at
any time, since by selecting more than one input
simultaneously their pins will be effectively short-
ed.
Table 11. I/O Port Option Selection
Note: X = Don’t care
DDR
OR
DR
Mode
Option
0
Input
With pull-up, no interrupt
0
1
Input
No pull-up, no interrupt
0
1
0
Input
With pull-up and with interrupt
0
1
Input
Analog input (when available)
1
0
X
Output
Open-drain output (20mA sink when available)
1
X
Output
Push-pull output (20mA sink when available)
相关PDF资料
PDF描述
ST6252CN1/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO16
ST72101G1M3/XXX 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PDSO28
ST72213G1M6/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO28
ST72213G1B3/XXX 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PDIP32
ST72213G1B1/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP32
相关代理商/技术参数
参数描述
ST62P62CN6/MMMTR 制造商:STMicroelectronics 功能描述:
ST62P62CN6/MTFTR 制造商:STMicroelectronics 功能描述:
ST62P65CM6/MRYTR 制造商:STMicroelectronics 功能描述:
ST62P65CM6/RAL/TR 制造商:STMicroelectronics 功能描述:
ST62P65CM6/RAP/TR 制造商:STMicroelectronics 功能描述: