mc68hc908ap8cfa Freescale Semiconductor, Inc, mc68hc908ap8cfa Datasheet - Page 197

no-image

mc68hc908ap8cfa

Manufacturer Part Number
mc68hc908ap8cfa
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
12.8.1 PTC6/SCTxD (Transmit Data)
The PTC6/SCTxD pin is the serial data (standard or infrared) output from the SCI transmitter. The IRSCI
shares the PTC6/SCTxD pin with port C. When the IRSCI is enabled, the PTC6/SCTxD pin is an output
regardless of the state of the DDRC6 bit in data direction register C (DDRC).
12.8.2 PTC7/SCRxD (Receive Data)
The PTC7/SCRxD pin is the serial data input to the IRSCI receiver. The IRSCI shares the PTC7/SCRxD
pin with port C. When the IRSCI is enabled, the PTC7/SCRxD pin is an input regardless of the state of
the DDRC7 bit in data direction register C (DDRC).
Table 12-5
12.9 I/O Registers
The following I/O registers control and monitor SCI operation:
Freescale Semiconductor
1. After completion of transmission in progress.
IRSCC1
[ENSCI]
1
1
1
1
1
1
1
1
0
IRSCI control register 1 (IRSCC1)
IRSCI control register 2 (IRSCC2)
IRSCI control register 3 (IRSCC3)
shows a summary of I/O pin functions when the SCI is enabled.
IRSCIRCR
[IREN]
The PTC6/SCTxD pin is an open-drain pin when configured as an output.
Therefore, when configured as SCTxD or a general purpose output pin
(PTC6), a pullup resistor must be connected to this pin.
The PTC7/SCRxD pin is an open-drain pin when configured as an output.
Therefore, when configured as a general purpose output pin (PTC7), a
pullup resistor must be connected to this pin.
X
0
0
0
0
1
1
1
1
Table 12-5. SCI Pin Functions (Standard and Infrared)
IRSCC2
[TE]
X
0
0
1
1
0
0
1
1
MC68HC908AP Family Data Sheet, Rev. 4
IRSCC2
[RE]
X
0
1
0
1
0
1
0
1
Hi-Z
Hi-Z
Output SCI (idle high)
Output SCI (idle high)
Hi-Z
Hi-Z
Output IR SCI (idle high)
Output IR SCI (idle high)
Pins under port control (standard I/O port)
NOTE
NOTE
(1)
(1)
(1)
(1)
TxD Pin
Input ignored (terminate externally)
Input sampled, pin should idle high
Input ignored (terminate externally)
Input sampled, pin should idle high
Input ignored (terminate externally)
Input sampled, pin should idle high
Input ignored (terminate externally)
Input sampled, pin should idle high
RxD Pin
I/O Registers
197

Related parts for mc68hc908ap8cfa