MC908JL16CFAE FREESCALE [Freescale Semiconductor, Inc], MC908JL16CFAE Datasheet - Page 140

no-image

MC908JL16CFAE

Manufacturer Part Number
MC908JL16CFAE
Description
Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Input/Output (I/O) Ports
10.2 Port A
Port A is an 8-bit special function port that shares all of its pins with the keyboard interrupt (KBI) module
(see
8 Multi-Master IIC Interface
corresponding port pin is configured as input port. PTA0–PTA5 and PTA7 has direct LED drive capability.
10.2.1 Port A Data Register (PTA)
The port A data register (PTA) contains a data latch for each of the eight port A pins.
PTA[7:0] — Port A Data Bits
KBI7–KBI0 — Port A Keyboard Interrupts
SCL and SDA — MMIIC Module Pins
140
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.
The keyboard interrupt enable bits, KBIE[7:0], in the keyboard interrupt control register (KBIER) enable
the port A pins as external interrupt pins,
The MMIIC pins can be configured to use PTA2 and PTA3 as IIC communication pins, see
Multi-Master IIC Interface
CONFIG2 option bit, to allow PTA2/PTA3 to be MMIIC pins (see
(CONFIG2)).
Chapter 12 Keyboard Interrupt Module
Alternative Functions:
Alternative Functions:
Additional Functions:
Address: $0000
Reset:
Read:
Write:
Keyboard
Interrupt
pull-up
(MMIIC)). Each port A pin also has software configurable pull-up device if the
(Sink)
PTA7
Bit 7
LED
PTA7 pin is available on 32-pin packages only.
(MMIIC). The position of MMIIC module pins is user selectable using
Figure 10-2. Port A Data Register (PTA)
= Unimplemented
Keyboard
MC68HC908JL16 Data Sheet, Rev. 1.1
Interrupt
pull-up
PTA6
6
(KBI)) and two of its pins with the MMIIC module (see
Keyboard
Chapter 12 Keyboard Interrupt Module
Interrupt
pull-up
(Sink)
PTA5
LED
5
NOTE
Keyboard
Interrupt
Unaffected by Reset
pull-up
(Sink)
PTA4
LED
4
Keyboard
Interrupt
pull-up
PTA3
(Sink)
LED
SCL
3
3.4Configuration Register 2
Keyboard
Interrupt
pull-up
PTA2
(Sink)
SDA
LED
2
Keyboard
Interrupt
pull-up
(Sink)
PTA1
LED
1
Freescale Semiconductor
(KBI).
Keyboard
Interrupt
pull-up
(Sink)
PTA0
Bit 0
LED
Chapter 8
Chapter

Related parts for MC908JL16CFAE