sc9s08mz16 Freescale Semiconductor, Inc, sc9s08mz16 Datasheet - Page 90

no-image

sc9s08mz16

Manufacturer Part Number
sc9s08mz16
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Note: Bit 6 is a reserved bit that must always be written to 0.
Note: Bit 6 is a reserved bit that must always be written to 0.
Note: Bit 6 is a reserved bit that must always be written to 0.
Chapter 6 Parallel Input/Output
6.7.6
In addition to the I/O control, port C pins are controlled by the registers listed below.
90
PTCDD[5:0]
PTCPE[5:0]
Reset
Reset
Reset
Field
Field
5:0
5:0
W
W
W
R
R
R
Port C Pin Control Registers (PTCPE, PTCSE, PTCDS)
Data Direction for Port C Bits — These read/write bits control the direction of port C pins and what is read for
PTCD reads.
0 Input (output driver disabled) and reads return the pin value.
1 Output driver enabled for port C bit n and PTCD reads return the contents of PTCDn.
Internal Pullup Enable for Port C Bits — Each of these control bits determines if the internal pullup device is
enabled for the associated PTC pin. For port C pins that are configured as outputs, these bits have no effect and
the internal pullup devices are disabled.
0 Internal pullup device disabled for port C bit n.
1 Internal pullup device enabled for port C bit n.
0
0
0
0
0
0
7
7
7
Figure 6-23. Output Slew Rate Control Enable for Port C (PTCSE)
R
R
R
0
0
0
6
6
6
Figure 6-22. Internal Pullup Enable for Port C (PTCPE)
Table 6-12. PTCDD Register Field Descriptions
Figure 6-21. Data Direction for Port C (PTCDD)
Table 6-13. PTCPE Register Field Descriptions
SC9S08MZ16 MCU Data Sheet, Rev. 0 Draft C
PTCDD5
PTCPE5
PTCSE5
0
0
0
5
5
5
PTCDD4
PTCPE4
PTCSE4
0
0
0
4
4
4
Description
Description
PTCDD3
PTCPE3
PTCSE3
3
0
3
0
3
0
PTCDD2
PTCPE2
PTCSE2
0
0
0
2
2
2
PTCDD1
PTCPE1
PTCSE1
Freescale Semiconductor
0
0
0
1
1
1
PTCDD0
PTCPE0
PTCSE0
0
0
0
0
0
0

Related parts for sc9s08mz16