Datasheet
Chapter 6 Parallel Input/Output Control
MC9S08EL32 Series and MC9S08SL16 Series Data Sheet, Rev. 3
Freescale Semiconductor 93
6.5.3.5 Port C Drive Strength Selection Register (PTCDS)
6.5.3.6 Port C Interrupt Status and Control Register (PTCSC)
76543210
R
PTCDS7 PTCDS6 PTCDS5 PTCDS4 PTCDS3 PTCDS2 PTCDS1 PTCDS0
W
Reset:00000000
Figure 6-23. Drive Strength Selection for Port C Register (PTCDS)
Table 6-21. PTCDS Register Field Descriptions
Field Description
7:0
PTCDS[7:0]
Output Drive Strength Selection for Port C Bits — Each of these control bits selects between low and high
output drive for the associated PTC pin. For port C pins that are configured as inputs, these bits have no effect.
0 Low output drive strength selected for port C bit n.
1 High output drive strength selected for port C bit n.
76543210
R0000PTCIF0
PTCIE PTCMOD
W PTCACK
Reset:00000000
Figure 6-24. Port C Interrupt Status and Control Register (PTCSC)
Table 6-22. PTCSC Register Field Descriptions
Field Description
3
PTCIF
Port C Interrupt Flag — PTCIF indicates when a port D interrupt is detected. Writes have no effect on PTCIF.
0 No port C interrupt detected.
1 Port C interrupt detected.
2
PTCACK
Port C Interrupt Acknowledge — Writing a 1 to PTCACK is part of the flag clearing mechanism. PTCACK
always reads as 0.
1
PTCIE
Port C Interrupt Enable — PTCIE determines whether a port C interrupt is requested.
0 Port C interrupt request not enabled.
1 Port C interrupt request enabled.
0
PTCMOD
Port C Detection Mode — PTCMOD (along with the PTCES bits) controls the detection mode of the port C
interrupt pins.
0 Port C pins detect edges only.
1 Port C pins detect both edges and levels.
