English
Language : 

MC68HC908JL3E Datasheet, PDF (156/226 Pages) Motorola, Inc – Microcontrollers
Input/Output (I/O) Ports
12.3 Port A
Port A is an 7-bit special function port that shares all seven of its pins
with the keyboard interrupt (KBI) module (see Section 14. Keyboard
Interrupt Module (KBI)). Each port A pin also has software configurable
pull-up device if the corresponding port pin is configured as input port.
PTA0 to PTA5 has direct LED drive capability.
NOTE: PTA0–PTA5 pins are available on MC68H(R)C908JL3E only.
PTA6 pin is available on MC68HRC908JL3E/JK3E/JK1E only.
12.3.1 Port A Data Register (PTA)
The port A data register (PTA) contains a data latch for each of the seven
port A pins.
Address: $0000
Bit 7
6
5
4
3
2
1
Bit 0
Read: 0
Write:
PTA6 PTA5 PTA4 PTA3 PTA2 PTA1 PTA0
Reset:
Unaffected by Reset
Additional Functions:
LED
(Sink)
LED
(Sink)
LED
(Sink)
LED
(Sink)
LED
(Sink)
LED
(Sink)
30k pull-up 30k pull-up 30k pull-up 30k pull-up 30k pull-up 30k pull-up 30k pull-up
Keyboard Keyboard Keyboard Keyboard Keyboard Keyboard Keyboard
Interrupt Interrupt Interrupt Interrupt Interrupt Interrupt Interrupt
Figure 12-2. Port A Data Register (PTA)
Technical Data
156
PTA[6:0] — Port A Data Bits
These read/write bits are software programmable. Data direction of
each port A pin is under the control of the corresponding bit in data
direction register A. Reset has no effect on port A data.
KBI[6:0] — Port A Keyboard Interrupts
The keyboard interrupt enable bits, KBIE[6:0], in the keyboard
interrupt control register (KBIER) enable the port A pins as external
interrupt pins, (see Section 14. Keyboard Interrupt Module (KBI)).
MC68H(R)C908JL3E/JK3E/JK1E — Rev. 2.0
Input/Output (I/O) Ports
MOTOROLA