|
MC68HC908GR8 Datasheet, PDF (157/286 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers | |||
|
◁ |
Port E
When bit DDREx is a 1, reading address $0008 reads the PTEx data latch. When bit DDREx is a 0,
reading address $0008 reads the voltage level on the pin. The data latch can always be written,
regardless of the state of its data direction bit. Table 16-6 summarizes the operation of the port E pins.
Table 16-6. Port E Pin Functions
DDRE Bit
PTE Bit
I/O Pin Mode
Accesses to DDRE
Read/Write
0
X(1)
Input, Hi-Z(2)
DDRE1âDDRE0
1
X
Output
DDRE1âDDRE0]
Notes:
1. X = Donât care
2. Hi-Z = High impedance
3. Writing affects data register, but does not affect input.
Accesses to PTE
Read
Write
Pin
PTE1âPTE0(3)
PTE1âPTE0
PTE1âPTE0
MC68HC908GR8 ⢠MC68HC908GR4 Data Sheet, Rev. 7
Freescale Semiconductor
157
|
▷ |