XC68HC08KH12 Motorola, XC68HC08KH12 Datasheet - Page 186

no-image

XC68HC08KH12

Manufacturer Part Number
XC68HC08KH12
Description
MICROCONTROLLER
Manufacturer
Motorola
Datasheet
I/O Ports
12.3 Port A
12.3.1 Port A Data Register (PTA)
12.3.2 Data Direction Register A (DDRA)
Advance Information
186
Address:
Port A is an 8-bit general-purpose bidirectional I/O port with software
configurable pullups.
The port A data register contains a data latch for each of the eight port
A pins.
PTA[7:0] — Port A Data Bits
The port A pullup enable bit, PAP, in the port option control register
(POC) enables pullups on port A pins if the respective pin is configured
as an input.
Data direction register A determines whether each port A pin is an input
or an output. Writing a logic one to a DDRA bit enables the output buffer
for the corresponding port A pin; a logic zero disables the output buffer.
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.
$0000
PTA7
Bit 7
(See 12.9 Port
Figure 12-1. Port A Data Register (PTA)
PTA6
6
I/O Ports
PTA5
5
Options.)
Unaffected by reset
PTA4
4
PTA3
3
MC68HC(7)08KH12
PTA2
2
PTA1
1
MOTOROLA
Rev. 1.0
PTA0
Bit 0

Related parts for XC68HC08KH12