參數(shù)資料
型號: ST6242B
英文描述: 8-BIT MICROCONTROLLER ( MCU ) WITH OTP. ROM. FASTROM. EPROM. LCD DRIVER. EEPROM. A/D CONVERTER AND 64 PINS
中文描述: 8位微控制器(MCU)的與檢察官辦公室。光盤。 FASTROM。存儲器。液晶顯示驅(qū)動程序。 EEPROM中。的A / D轉(zhuǎn)換器和64個
文件頁數(shù): 34/74頁
文件大?。?/td> 733K
代理商: ST6242B
34/74
ST62T46B/E46B
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 10
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 10. I/O Port Option Selection
Note:
X = Don’t care
DDR
0
0
0
0
1
1
OR
0
0
1
1
0
1
DR
0
1
0
1
X
X
Mode
Input
Input
Input
Input
Output
Output
Option
With pull-up, no interrupt
No pull-up, no interrupt
With pull-up and with interrupt
Analog input (when available)
Open-drain output (20mA sink when available)
Push-pull output (20mA sink when available)
相關(guān)PDF資料
PDF描述
ST62E45BG1 8-BIT MICROCONTROLLER
ST62T40BQ6 8-BIT MICROCONTROLLER
ST62T42BQ6 8-BIT MICROCONTROLLER ( MCU ) WITH OTP. ROM. FASTROM. EPROM. LCD DRIVER. EEPROM. A/D CONVERTER AND 64 PINS
ST624XB-DBE REAL TIME EMULATION DEVELOPMENT TOOLS FOR ST6 MCU FAMILY
ST6263C 8-BIT MICROCONTROLLER ( MCU ) WITH OTP. ROM. FASTROM. EPROM. A/D CONVERTER. SAFE RESET. AUTO-RELOAD TIMER. EEPROM AND SPI
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST6242B-EMU2 功能描述:仿真器/模擬器 ST62 Emulator Board RoHS:否 制造商:Blackhawk 產(chǎn)品:System Trace Emulators 工具用于評估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2
ST6242BQ1 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT OTP/EPROM MCU WITH LCD DRIVER, EEPROM AND A/D CONVERTER
ST6242BQ1/XXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
ST6242BQ6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT OTP/EPROM MCU WITH LCD DRIVER, EEPROM AND A/D CONVERTER
ST6242BQ6/XXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller