English
Language : 

MC908JL3ECPE Datasheet, PDF (105/180 Pages) Freescale Semiconductor, Inc – Microcontrollers
Port A
10.2 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 Chapter 12 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.
10.2.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:
Read:
Write:
Reset:
Additional Functions:
$0000
Bit 7
0
6
5
4
3
2
1
Bit 0
PTA6
PTA5
PTA4
PTA3
PTA2
PTA1
PTA0
Unaffected by Reset
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
= Unimplemented
Figure 10-2. Port A Data Register (PTA)
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 Chapter 12 Keyboard Interrupt Module (KBI)).
MC68HC908JL3E Family Data Sheet, Rev. 4
Freescale Semiconductor
105