Rev. 3.0, 03/01, page 67 of 390
Section 7 General Purpose I/O Port
7.1
Overview
The HD64465 incorporates five general purpose 8-bit I/O ports (Port A, Port B , Port C, Port D and
Port E ). As shown in the Table 7-1 below, the port pins are multiplexed with other functions,
which are controlled by Port Control Registers (GPxCR x: A,B,C,D,E). Each port contains a 8-bit
data register (GPxDR x: A,B,C,D,E) which reflects the data of the pins. Each I/O port pin has a
pull-up MOS, which can be controlled by the Port Control Register to determine whether this pin
will be pulled up or not. The Interrupt Control Registers (GPxICR x: A,B,C,D,E) are provided to
individually control each pin which can be enabled or disabled to generate an Interrupt signal. The
interrupt events type can also be selected through the Interrupt Control Registers (GPxICR x:
A,B,C,D,E) to determine which edge (falling edge or rising edge) will generate an interrupt. As
interrupt events occur at any GPIO pin, the Interrupt Status Registers (GPxISR x: A,B,C,D,E) can
record the occurring interrupt events, which can be read by system. The interrupt is ended by
writing ‘1’ to the corresponding bit of the Interrupt Status Register, and the interrupt status is then
cleared.
7.1.1
Features
•
Input pull-up on/off control
•
Interrupt events can be independently enabled or masked on each I/O pin
•
Interrupt events can be independently selected as rising or falling edge trigger
•
Function multiplex with AFE, KBC and TIMER control signals
•
Support power down mode which is controlled by software
Table 7.1
The List of I/O Port Pin Function Configurations
Port
Function 1
Function 2
A
PA7 I/O (port)
Reserved
A
PA6 I/O (port)
Reserved
A
PA5 I/O (port)
Reserved
A
PA4 I/O (port)
Reserved
A
PA3 I/O (port)
Reserved
A
PA2 I/O (port)
Reserved
A
PA1 I/O (port)
Reserved
A
PA0 I/O (port)
Reserved
Summary of Contents for HD64465
Page 25: ...Rev 3 0 03 01 page 6 of 390 ...
Page 59: ...Rev 3 0 03 01 page 40 of 390 ...
Page 97: ...Rev 3 0 03 01 page 78 of 390 ...
Page 147: ...Rev 3 0 03 01 page 128 of 390 ...
Page 199: ...Rev 3 0 03 01 page 180 of 390 ...
Page 247: ...Rev 3 0 03 01 page 228 of 390 ...
Page 385: ...Rev 3 0 03 01 page 366 of 390 ...
Page 389: ...Rev 3 0 03 01 page 370 of 390 ...
Page 409: ...Rev 3 0 03 01 page 390 of 390 ...