datasheetbank_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

GMS82524TK View Datasheet(PDF) - Hynix Semiconductor

Part Name
Description
View to exact match
GMS82524TK
Hynix
Hynix Semiconductor Hynix
GMS82524TK Datasheet PDF : 93 Pages
First Prev 31 32 33 34 35 36 37 38 39 40 Next Last
GMS82512/16/24
HYUNDAI MicroElectronics
9. I/O PORTS
The GMS825xx has six ports (R0, R2, R3, R4, R5, and
R6).These ports pins may be multiplexed with an alternate
function for the peripheral features on the device.
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 “55H” to address 0C1H (R0 port direction reg-
ister) during initial setting as shown in Figure 9-1.
All the port direction registers in the GMS825xx have 0
written to them by reset function. On the other hand, its in-
itial status is input.
WRITE “55H” TO PORT R0 DIRECTION REGISTER
0C0H
0C1H
0C2H
0C3H
R0 data
R0 direction
R1 data
R1 direction
0 1 0 1 0 1 0 1 BIT
76543210
I O I O I O I O PORT
76543210
I: INPUT PORT
O: OUTPUT PORT
Figure 9-1 Example of port I/O assignment
R0 and R0DD register: R0 is an 8-bit CMOS bidirection-
al I/O port (address 0C0H). Each I/O pin can independently
used as an input or an output through the R0DD register
(address 0C1H).
R0 Data Register
ADDRESS: 0C0H
RESET VALUE: Undefined
R0
R07 R06 R05 R04 R03 R02 R01 R00
Input / Output data
R2 and R2DD register: R2 is an 8-bit CMOS bidirection-
al I/O port (address 0C4H). Each I/O pin can independently
used as an input or an output through the R2DD register
(address 0C5H).
R2 Data Register
ADDRESS: 0C4H
RESET VALUE: Undefined
R2
R27 R26 R25 R24 R23 R22 R21 R20
Input / Output data
R2 Direction Register
R2DD
ADDRESS: 0C5H
RESET VALUE: 00H
Port Direction
0: Input
1: Output
R3 and R3DD register: R3 is an 8-bit CMOS bidirection-
al I/O port (address 0C6H). Each I/O pin can independently
used as an input or an output through the R3DD register
(address 0C7H).
R3 Data Register
ADDRESS: 0C6H
RESET VALUE: Undefined
R3
R37 R36 R35 R34 R33 R32 R31 R30
Input / Output data
R3 Direction Register
R3DD
ADDRESS: 0C7H
RESET VALUE: 00H
Port Direction
0: Input
1: Output
R0 Direction Register
R0DD
ADDRESS: 0C1H
RESET VALUE: 00H
Port Direction
0: Input
1: Output
28
FEB. 2000 Ver 1.00
 

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]