MC68HC908GZ8 FREESCALE [Freescale Semiconductor, Inc], MC68HC908GZ8 Datasheet - Page 162

no-image

MC68HC908GZ8

Manufacturer Part Number
MC68HC908GZ8
Description
M68HC08 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC908GZ8CFA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68HC908GZ8MFA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68HC908GZ8MFJ
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Company:
Part Number:
MC68HC908GZ8MFJ
Quantity:
12
Part Number:
MC68HC908GZ8VFA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68HC908GZ8VFJ
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Input/Output (I/O) Ports
13.5 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.
13.5.1 Port C Data Register
The port C data register (PTC) contains a data latch for each of the seven port C pins.
PTC6–PTC0 — Port C Data Bits
CAN
13.5.2 Data Direction Register C
Data direction register C (DDRC) determines whether each port C pin is an input or an output. Writing a
logic 1 to a DDRC bit enables the output buffer for the corresponding port C pin; a logic 0 disables the
output buffer.
162
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.
The CAN
MSCAN08 control register determines, whether the PTC1/CAN
pins or general-purpose I/O pins. See
RX
and CAN
RX
Alternative
Function:
Address:
Address:
–CAN
Bit 6 through bit 2 of PTC are not available in the 32-pin LQFP package.
Reset:
Reset:
Read:
Read:
Write:
Write:
TX
— MSCAN08 Bits
TX
$0002
$0006
pins are the MSCAN08 modules receive and transmit pins. The CANEN bit in the
Bit 7
Bit 7
1
0
0
Figure 13-10. Data Direction Register C (DDRC)
MC68HC908GZ16 • MC68HC908GZ8 Data Sheet, Rev. 4
= Unimplemented
= Unimplemented
Figure 13-9. Port C Data Register (PTC)
DDRC6
PTC6
6
6
0
DDRC5
PTC5
Chapter 12 MSCAN08 Controller (MSCAN08).
5
5
0
NOTE
DDRC4
Unaffected by reset
PTC4
4
4
0
DDRC3
PTC3
3
3
0
RX
DDRC2
PTC2
–PTC0/CAN
2
2
0
DDRC1
CAN
PTC1
1
1
0
RX
TX
Freescale Semiconductor
pins are MSCAN08
DDRC0
CAN
PTC0
Bit 0
Bit 0
0
TX

Related parts for MC68HC908GZ8