XC68HC08KH12 Motorola, XC68HC08KH12 Datasheet - Page 204

no-image

XC68HC08KH12

Manufacturer Part Number
XC68HC08KH12
Description
MICROCONTROLLER
Manufacturer
Motorola
Datasheet
I/O Ports
12.9 Port Options
12.9.1 Port Option Control Register (POC)
Advance Information
204
Address:
When bit DDRFx is a logic one, reading address $0009 reads the PTFx
data latch. When bit DDRFx is a logic zero, reading address $0009
reads the voltage level on the pin. The data latch can always be written,
regardless of the state of its data direction bit.
the operation of the port F pins.
All pins of port A, port B and port C have programmable pullup resistors.
Port C also has LED drive capability.
The pullup option for each port is controlled by one bit in the port option
control register. One bit controls the LED drive configuration on port C.
Reset:
1. X = don’t care
2. Hi-Z = high impedance
3. Writing affects data register, but does not affect input.
Read:
Write:
DDRE
Bit
0
1
$001D
Figure 12-22. Port Option Control Register (POC)
Bit 7
0
0
PTE
X
Bit
X
(1)
= Unimplemented
6
0
0
I/O Pin Mode
Input, Hi-Z
Table 12-7. Port F Pin Functions
I/O Ports
Output
LDD
5
1
(2)
Accesses to
4
0
0
Read/Write
DDRF[7:0]
DDRF[7:0]
DDRE
3
0
0
MC68HC(7)08KH12
Table 12-7
PTF[7:0]
PCP
Read
2
0
Pin
Accesses to PTE
PBP
summarizes
1
0
PTF[7:0]
MOTOROLA
PTF[7:0]
Write
Rev. 1.0
Bit 0
PAP
0
(3)

Related parts for XC68HC08KH12