參數(shù)資料
型號: ST6228CN3
廠商: 意法半導(dǎo)體
英文描述: CB 5C 5#16S PIN RECP WALL
中文描述: 8位單片機與微控制器/ D轉(zhuǎn)換器,自動重加載定時器,UART的秘書長辦公室,安全復(fù)位和28引腳封裝
文件頁數(shù): 35/84頁
文件大?。?/td> 561K
代理商: ST6228CN3
35/84
35
ST62T28C/E28C
I/O PORTS
(Cont’d)
4.1.1 Operating Modes
Each pinmay be individually programmed asinput
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 12 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 withoutan
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 12. 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描述
ST6228CN6 ER 5C 5#16S PIN RECP WALL
ST6391 8-BIT HCMOS MCUs FOR TV FREQUENCY SYNTHESIS WITH OSD
ST6392B1 8-BIT HCMOS MCUs FOR TV FREQUENCY SYNTHESIS WITH OSD
ST6393B1 8-BIT HCMOS MCUs FOR TV FREQUENCY SYNTHESIS WITH OSD
ST6395B1 8-BIT HCMOS MCUs FOR TV FREQUENCY SYNTHESIS WITH OSD
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST6228CN3/XXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
ST6228CN6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT MCUs WITH A/D CONVERTER, AUTO-RELOAD TIMER, UART, OSG, SAFE RESET AND 28-PIN PACKAGE
ST6228CN6/XXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
ST622X 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8/16-Bit Micros
ST622XC-KIT 制造商:未知廠家 制造商全稱:未知廠家 功能描述:STARTER KIT DATASHEET FOR ST620X. ST621X AND ST622X