English
Language : 

MC9S08GB60A Datasheet, PDF (100/302 Pages) Freescale Semiconductor, Inc – HCS08 Microcontrollers
Chapter 6 Parallel Input/Output
R
W
Reset
7
PTFSE7
0
6
PTFSE6
5
PTFSE5
4
PTFSE4
3
PTFSE3
2
PTFSE2
1
PTFSE1
0
0
0
0
0
0
Figure 6-31. Slew Rate Control Enable for Port F (PTFSE)
0
PTFSE0
0
Table 6-23. PTFSE Field Descriptions
Field
Description
7:0
PTFSE[7:0]
Slew Rate Control Enable for Port F Bits — For port F pins that are outputs, these read/write control bits
determine whether the slew rate controlled outputs are enabled. For port F pins that are configured as inputs,
these bits are ignored.
0 Slew rate control disabled.
1 Slew rate control enabled.
R
W
Reset
7
PTFDD7
0
6
PTFDD6
5
PTFDD5
4
PTFDD4
3
PTFDD3
2
PTFDD2
0
0
0
0
0
Figure 6-32. Data Direction for Port F (PTFDD)
1
PTFDD1
0
0
PTFDD0
0
Table 6-24. PTFDD Field Descriptions
Field
Description
7:0
PTFDD[7:0]
Data Direction for Port F Bits — These read/write bits control the direction of port F pins and what is read for
PTFD reads.
0 Input (output driver disabled) and reads return the pin value.
1 Output driver enabled for port F bit n and PTFD reads return the contents of PTFDn.
6.6.7 Port G Registers (PTGD, PTGPE, PTGSE, and PTGDD)
Port G includes eight general-purpose I/O pins that are shared with BKGD/MS function and the oscillator
or external clock pins. Port G pins used as general-purpose I/O pins are controlled by the port G data
(PTGD), data direction (PTGDD), pullup enable (PTGPE), and slew rate control (PTGSE) registers.
Port pin PTG0, while in reset, defaults to the BKGD/MS pin. After the MCU is out of reset, PTG0 can be
configured to be a general-purpose output pin. When BKGD/MS takes control of PTG0, the corresponding
PTGDD, PTGPE, and PTGPSE bits are ignored.
Port pins PTG1 and PTG2 can be configured to be oscillator or external clock pins. When the oscillator
takes control of a port G pin, the corresponding PTGD, PTGDD, PTGSE, and PTGPE bits are ignored.
Reads of PTGD will return the logic value of the corresponding pin, provided PTGDD is 0.
MC9S08GB60A Data Sheet, Rev. 2
100
Freescale Semiconductor