參數(shù)資料
型號(hào): HMS81004E
廠商: Hynix Semiconductor Inc.
元件分類: 8位微控制器
英文描述: HYNIX SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
中文描述: Hynix半導(dǎo)體公司的8位單芯片微控制器
文件頁數(shù): 33/77頁
文件大?。?/td> 1112K
代理商: HMS81004E
HMS81004E/08E/16E/24E/32E
30
JUNE 2001 Ver 1.00
9. I/O PORTS
The HMS81004E/08E/16E/24E/32E has 24 I/O ports
which are PORT0(8 I/O), PORT1 (8 I/O), PORT2 (8 I/O).
Pull-up resistor of each port can be selectable by program.
Each port contains data direction register which controls I/
O and data register which stores port data.
9.1 R0 Ports
R0 is an 8-bit CMOS bidirectional I/O port (address
0C0
H
). Each I/O pin can independently used as an input or
an output through the R0DD register (address 0C1
H
).
R0 has internal pull-ups that is independently connected or
disconnected by R0PC. The control registers for R0 are
shown below.
(1) R0 I/O Data Direction Register (R0DD)
R0 I/O Data Direction Register (R0DD) is 8-bit register,
and can assign input state or output state to each bit. If
R0DD is “1”, port R0 is in the output state, and if “0”, it is
in the input state. R0DD is write-only register. Since
R0DD is initialized as “00h” in reset state, the whole port
R0 becomes input state.
(2) R0 Data Register (R0)
R0 data register (R0) is 8-bit register to store data of port
R0. When set as the output state by R0DD, and data is writ-
ten in R0, data is outputted into R0 pin. When set as the in-
put state, input state of pin is read. The initial value of R0
is unknown in reset state.
(3) R0 Open drain Assign Register (R0ODC)
R0 Open Drain Assign Register (R0ODC) is 8bit register,
and can assign R0 port as open drain output port each bit,
if corresponding port is selected as output. If R0ODC is
selected as “1”, port R0 is open drain output, and if select-
ed as, “0” it is push-pull output. R0ODC is write-only reg-
ister and initialized as “00h” in reset state.
(4) R0 Pull-up Control Register (R0PC)
R0 Pull-up Control Register (R0PC) is 8-bit register and
can control pull-up on or off each bit, if corresponding port
is selected as input. If R0PC is selected as “1”, pull-up ia
disabled and if selected as “0”, it is enabled. R0PC is write-
only register and initialized as “00h” in reset state. The
pull-up is automatically disabled, if corresponding port is
selected as output.
9.2 R1 Ports
R1 is an 8-bit CMOS bidirectional I/O port (address
0C2
H
). Each I/O pin can independently used as an input or
an output through the R1DD register (address 0C3
H
).
R1 has internal pull-ups that is independently connected or
disconnected by register R1PC. The control registers for
R1 are shown below.
R0 Data Register (R/W)
R0
ADDRESS : 0C0
RESET VALUE : Undefined
R07 R06 R05 R04 R03 R02 R01 R00
Port Direction
0: Input
1: Output
R0 Direction Register (W)
R0DD
ADDRESS : 0C1
RESET VALUE : 00
H
Pull-up select
1: Without pull-up
0: With pull-up
R0 Pull-up Control Register (W)
R0PC
ADDRESS :0F8
RESET VALUE : 00
H
Open drain select
0: Push-pull
1: Open drain
R0 Open drain Assign Register (W)
R0ODC
ADDRESS :0E4
RESET VALUE : 00
H
相關(guān)PDF資料
PDF描述
HMS81008E HYNIX SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS81016E HYNIX SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS81024E HYNIX SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS81032E HYNIX SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS81C43XX CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER FOR TELEVISION
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HMS81008 制造商:未知廠家 制造商全稱:未知廠家 功能描述:REMOTE CONTROLLER
HMS81008E 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYNIX SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS81016 制造商:未知廠家 制造商全稱:未知廠家 功能描述:REMOTE CONTROLLER
HMS81016E 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYNIX SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS81020ET 制造商:未知廠家 制造商全稱:未知廠家 功能描述:REMOTE CONTROLLER