English
Language : 

MC68HC08XL36 Datasheet, PDF (287/362 Pages) Freescale Semiconductor, Inc – HCMOS Microcontroller Unit
Freescale Semiconductor, Inc.
Input/Output Ports
Port F
Data Direction
Register F
Data direction register F determines whether each port F pin is an input
or an output. Writing a logic 1 to a DDRF bit enables the output buffer for
the corresponding port F pin; a logic 0 disables the output buffer.
Address: $000D
Bit 7
6
5
4
3
2
1
Read:
Write:
DDRF5 DDRF4 DDRF3 DDRF2 DDRF1
Reset: 0
0
0
0
0
0
0
= Unimplemented
Figure 18. Data Direction Register F (DDRF)
Bit 0
DDRF0
0
DDRF5—DDRF0 — Data Direction Register F Bits
These read/write bits control port F data direction. Reset clears
DDRF5—DDRF0, configuring all port F pins as inputs.
1 = Corresponding port F pin configured as output
0 = Corresponding port F pin configured as input
NOTE: Avoid glitches on port F pins by writing to the port F data register before
changing data direction register F bits from 0 to 1.
Figure 19 shows the port F I/O logic.
READ DDRF ($000D)
WRITE DDRF ($000D)
RESET
DDRFx
WRITE PORTF ($0009)
PFx
PFx
READ PORTF ($0009)
Figure 19. Port F I/O Circuit
17-ports_a
MOTOROLA
Input/Output Ports
For More Information On This Product,
Go to: www.freescale.com
MC68HC08XL36
287