MC68HC908JG16FA MOTOROLA [Motorola, Inc], MC68HC908JG16FA Datasheet - Page 258

no-image

MC68HC908JG16FA

Manufacturer Part Number
MC68HC908JG16FA
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
Input/Output (I/O) Ports
14.3 Port A
14.3.1 Port A Data Register
Technical Data
258
Additional
Alternative
Alternative
Function:
Function:
Function:
Address:
Port A is an 8-bit general-purpose bidirectional I/O port with software
configurable pullups, and shares its pins with the keyboard interrupt
module (KBI) and analog-to-digital converter module (ADC).
The port A data register contains a data latch for each of the eight
port A pins.
PTA[7:0] — Port A Data Bits
KBA7–KBA0 — Keyboard Interrupts
Reset:
Read:
Write:
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 port A pullup control bit, PAP, in the port option control register
(POCR) enables pullups on port A pins if the respective pin is
configured as an input. (See
The keyboard interrupt enable bits, KBIE7–KBIE0, in the keyboard
interrupt enable register (KBIER), enable the port A pins as external
interrupt pins. (See
Freescale Semiconductor, Inc.
For More Information On This Product,
Optional
$0000
pullup
KBA7
PTA7
Bit 7
AD7
Go to: www.freescale.com
Figure 14-2. Port A Data Register (PTA)
Input/Output (I/O) Ports
Optional
pullup
KBA6
PTA6
AD6
6
Section 16. Keyboard Interrupt Module
Optional
pullup
KBA5
PTA5
AD5
5
14.8 Port
Optional
Unaffected by reset
pullup
KBA4
PTA4
AD4
4
Optional
pullup
KBA3
PTA3
AD3
Options.)
3
MC68HC908JG16
Optional
KBA2
pullup
PTA2
AD2
2
Optional
pullup
KBA1
PTA1
AD1
1
MOTOROLA
Optional
Rev. 1.0
(KBI).)
pullup
KBA0
PTA0
Bit 0
AD0

Related parts for MC68HC908JG16FA