MC9S08JM16CGTE FREESCALE [Freescale Semiconductor, Inc], MC9S08JM16CGTE Datasheet - Page 85

no-image

MC9S08JM16CGTE

Manufacturer Part Number
MC9S08JM16CGTE
Description
Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
6.5.6
In addition to the I/O control, port C pins are controlled by the registers listed below.
Freescale Semiconductor
PTCDD[5:0]
PTCPE[5:0]
Reset
Reset
Field
Field
5:0
5:0
W
W
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
7
7
0
0
6
6
Figure 6-14. Internal Pullup Enable for Port C (PTCPE)
Table 6-12. PTCDD Register Field Descriptions
Figure 6-13. Data Direction for Port C (PTCDD)
Table 6-13. PTCPE Register Field Descriptions
PTCDD5
PTCPE5
MC9S08JM16 Series Data Sheet, Rev. 2
0
0
5
5
PTCDD4
PTCPE4
0
0
4
4
Description
Description
PTCDD3
PTCPE3
3
0
3
0
PTCDD2
PTCPE2
0
0
2
2
Chapter 6 Parallel Input/Output
PTCDD1
PTCPE1
0
0
1
1
PTCDD0
PTCPE0
0
0
0
0
85

Related parts for MC9S08JM16CGTE