English
Language : 

MC68HC908GZ8 Datasheet, PDF (207/344 Pages) Motorola, Inc – Microcontrollers
Freescale Semiconductor, Inc.
Input/Output (I/O) Ports
Port C
17.4 Port C
Port C is a 7-bit, general-purpose bidirectional I/O port. Port C also has software
configurable pullup devices if configured as an input port.
17.4.1 Port C Data Register
The port C data register (PTC) contains a data latch for each of the seven port C
pins.
NOTE: Bit 6 through bit 2 of PTC are not available in the 32-pin LQFP package.
Address:
Read:
Write:
Reset:
Alternate
Function:
$0002
Bit 7
1
6
PTC6
5
PTC5
4
3
PTC4
PTC3
Unaffected by reset
2
PTC2
1
PTC1
Bit 0
PTC0
CANRX
CANTX
= Unimplemented
Figure 17-9. Port C Data Register (PTC)
PTC6–PTC0 — Port C Data Bits
These read/write bits are software-programmable. Data direction of each port C
pin is under the control of the corresponding bit in data direction register C.
Reset has no effect on port C data.
CANRX and CANTX — MSCAN08 Bits
The CANRX–CANTX pins are the MSCAN08 modules receive and transmit pins.
The CANEN bit in the MSCAN08 control register determines, whether the
PTC1/CANRX–PTC0/CANTX pins are MSCAN08 pins or general-purpose I/O
pins. See Section 16. MSCAN08 Controller (MSCAN08).
MC68HC908GZ8
MOTOROLA
Input/Output (I/O) Ports
For More Information On This Product,
Go to: www.freescale.com
Data Sheet
207