參數資料
型號: ST6242BQ1/XXX
廠商: STMICROELECTRONICS
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
封裝: PLASTIC, QFP-64
文件頁數: 26/69頁
文件大?。?/td> 1846K
代理商: ST6242BQ1/XXX
Obsolete
Product(s)
- Obsolete
Product(s)
Obsolete
Product(s)
- Obsolete
Product(s)
32/69
ST62T42B/E42B
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 13 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 13. 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)
32
相關PDF資料
PDF描述
ST6246BB6/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP56
ST6260BB6 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP20
ST6294B8/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP28
ST62T94B8 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PDIP28
ST62E85BG1 8-BIT, UVPROM, 8 MHz, MICROCONTROLLER, CQFP80
相關代理商/技術參數
參數描述
ST6242BQ6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT OTP/EPROM MCU WITH LCD DRIVER, EEPROM AND A/D CONVERTER
ST6242BQ6/XXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
ST6242-P/QFP 功能描述:插座和適配器 ST62 P/QFP Adaptor RoHS:否 制造商:Silicon Labs 產品:Adapter 用于:EM35x
ST6242Q1/XX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
ST6242Q6/XX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller