參數(shù)資料
型號(hào): GMS87C2020LQ
廠商: HYNIX SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: MEMORY CARD COMPACTFLASH 128MB
中文描述: 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PQFP64
封裝: LQFP-64
文件頁(yè)數(shù): 40/107頁(yè)
文件大小: 1482K
代理商: GMS87C2020LQ
HMS81C2012A/2020A
36
SEP. 2004 Ver 2.00
9. I/O PORTS
The HMS81C20xxA has eight ports (R0, R1, R2, R3, R4,
R5, R6 and R7).These ports pins may be multiplexed with
an alternate function for the peripheral features on the de-
vice.
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 HMS81C2020A 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
RA(Vdisp) register:
RA is one-bit high-voltage input
only port pin. In addition, RA serves the functions of the
V
disp
special features. V
disp
is used as a high-voltage input
power supply pin when selected by the mask option.
R0 and R0IO register:
R0 is an 8-bit high-voltage CMOS
bidirectional I/O port (address 0C0
H
). Each port can be set
individually as input and output through the R0IO register
(address 0C1
H
). Each port can directly drive a vacuum flu-
orescent display. R03 port is multiplexed with Buzzer Out-
put Port(BUZO), R02 port is multiplexed with Event
Counter Input Port (EC0), and R01~R00 are multiplexed
with External Interrupt Input Port(INT1, INT0)
.The control register R0FUNC (address F4
H
) controls to
select alternate function. After reset, this value is "0", port
may be used as general I/O ports. To select alternate func-
tion such as Buzzer Output, External Event Counter Input
and External Interrupt Input, write "1" to the correspond-
ing bit of R0FUNC. Regardless of the direction register
R0IO, R0FUNC is selected to use as alternate functions,
port pin can be used as a corresponding alternate features
(BUZO, EC0, INT1, INT0)
Port pin
Alternate function
RA
V
disp
(High-voltage input power supply)
I : INPUT PORT
O : OUTPUT PORT
WRITE "55
H
" TO PORT R0 DIRECTION REGISTER
0 1 0 1 0 1 0 1
7 6 5 4 3 2 1 0
I O I O I O I O
7 6 5 4 3 2 1 0
R0 data
R0 direction
R1 data
R1 direction
0C0
H
0C1
H
0C2
H
0C3
H
BIT
PORT
RA Data Register
RA
ADDRESS: 0FB
RESET VALUE: Undefined
RA0
Input data
Port Pin
Alternate Function
R00
R01
R02
R03
INT0 (External interrupt 0 Input Port)
INT1 (External interrupt 1 Input Port)
EC0 (Event Counter Input Port)
BUZO (Buzzer Output Port)
R0 Data Register
R0
ADDRESS: 0C0
RESET VALUE: Undefined
R07 R06 R05 R04 R03 R02 R01 R00
Port Direction
0: Input
1: Output
R0 Direction Register
R0IO
ADDRESS : 0C1
RESET VALUE : 00
H
Input / Output data
R0 Function Selection Register
R0FUNC
ADDRESS : 0F4
RESET VALUE : ----0000
B
0: R00
1: INT0
0
0: R01
1: INT1
0: R02
1: BUZO
0: R03
1: EC0
1
2
3
-
-
-
-
相關(guān)PDF資料
PDF描述
GMS87C2020Q HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS
GNR60S201JR Catalog number system
GNR40B201J4 Catalog number system
GNR40B201JA Catalog number system
GNR40B201JC Catalog number system
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
GMS87C2020Q 制造商:未知廠家 制造商全稱:未知廠家 功能描述:CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
GMS87C2120 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYNIX SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS87C2120K 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYNIX SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS87C2120Q 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYNIX SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS87C4060 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER FOR TELEVISION