English
Language : 

MC68HC08AZ32A Datasheet, PDF (165/312 Pages) Motorola, Inc – HCMOS Microcontroller Unit
READ DDRE ($000C)
WRITE DDRE ($000C)
RESET
WRITE PTE ($0008)
DDREx
PTEx
Port F
PTEx
READ PTE ($0008)
Figure 13-16. Port E I/O Circuit
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 13-5 summarizes the operation of the port E pins.
Table 13-5. Port E Pin Functions
DDRE
Bit
0
1
PTE
Bit
X(1)
X
I/O Pin
Mode
Input, Hi-Z(2)
Output
Accesses to DDRE
Read/Write
DDRE[7:0]
DDRE[7:0]
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
PTE[7:0](3)
PTE[7:0]
PTE[7:0]
13.7 Port F
Port F is a 7-bit special function port that shares four of its pins with TIMA and two of its pins with TIMB.
13.7.1 Port F Data Register (PTF)
The port F data register contains a data latch for each of the seven port F pins.
Address: $0009
Bit 7
Read: 0
Write:
Reset:
Alternative Functions:
6
PTF6
5
PTF5
TBCH1
4
3
PTF4
PTF3
Unaffected by reset
TBCH0 TACH5
2
PTF2
TACH4
1
PTF1
TACH3
Bit 0
PTF0
TACH2
= Unimplemented
Figure 13-17. Port F Data Register (PTF)
MC68HC08AZ32A Data Sheet, Rev. 2
Freescale Semiconductor
165