參數(shù)資料
型號: HMS81C43XX
廠商: Hynix Semiconductor Inc.
英文描述: CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER FOR TELEVISION
中文描述: CMOS單芯片8位單片機電視
文件頁數(shù): 30/100頁
文件大?。?/td> 1943K
代理商: HMS81C43XX
HMS81C43xx / GMS87C4060
30
November 2001 ver 1.2
9. I/O PORTS
The GMS87C4060 has digital ports (R0, R1, R2, R4, R5
and R6) and OSD ports (R,G,B), but HMS81C43xx has
R1, R2, R4, R5 and OSD ports (R,G,B)
These ports pins may be multiplexed with an alternate
function for the peripheral features on the device. In gen-
eral, in a initial reset state, R ports are used as a general
purpose digital port.
9.1 Registers for Port
Port Data Registers
The Port Data Registers in I/O buffer in each R ports are
represented as a Type D flip-flop, which will clock in a val-
ue from the internal bus in response to a "write to data reg-
ister" signal from the CPU. The Q output of the flip-flop is
placed on the internal bus in response to a "read data reg-
ister" signal from the CPU. The level of the port pin itself
is placed on the internal bus in response to "read data reg-
ister" signal from the CPU. Some instructions that read a
port activating the "read register" signal, and others acti-
vating the "read pin" signal
Port Direction Registers
All pins have data direction registers which can define
these ports as output or input. A "1" in the port direction
register configure the corresponding port pin as output.
Conversely, write "0" to the corresponding bit to specify it
as input pin. For example, to use the even numbered bit of
R0 as output ports and the odd numbered bits as input
ports, write "55
H
" to address 0C1
H
(R0 port direction reg-
ister) during initial setting as shown in Figure 9-1 .
All the port direction registers in the HMS81C43xx/
GMS87C4060 have 0 written to them by reset function. On
the other hand, its initial status is input.
Figure 9-1 Example of port I/O assignment
I : INPUT PORT
O : OUTPUT PORT
WRITE "55
H
" TO PORT R0 DIRECTION REGISTER
0
7
1
6
0
5
1
4
0
3
1
2
0
1
1
0
I
O
6
I
O
4
I
O
2
I
O
0
R0 DATA
R4 DATA
R0 DIRECTION
R4 DIRECTION
0C0H
0C1H
0C8H
0C9H
BIT
7
5
3
1
PORT
~
~
相關PDF資料
PDF描述
HMS87C1304A CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER
HMS87C1302AD CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER
HMS87C1304AD CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER
HMS99C51 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS99C52 8-BIT SINGLE-CHIP MICROCONTROLLERS
相關代理商/技術參數(shù)
參數(shù)描述
HMS81C4460 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYNIX SEMICONDUCTOR INC. 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS81C4X60 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYNIX SEMICONDUCTOR INC. 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS81C5216 制造商:未知廠家 制造商全稱:未知廠家 功能描述:REMOTE CONTROLLER
HMS87C1102 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS87C1102A 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS