Communication Processor Module
16-294
MPC823e REFERENCE MANUAL
MOTOROLA
COMMUNICATION
16
SCCs
16.9.20.5 PROGRAMMING MODEL
16.9.20.5.1 SCC2 Infrared Mode Register.
The SCC2 serial infrared mode (IRMODE)
register controls the infrared operation mode (low-, middle-, or high speed), the number of
preambles, the loop mode, the full-duplex operation, and the DPLL clock rate.
PA—Number of Preambles
This field determines the number of preambles in a high-speed transmitter. It is valid only in
high-speed mode.
0000 = 16 preambles.
0001 = 1 preamble.
•
•
•
1111 = 15 preambles.
Bits 4, 5 and 12—Reserved
These bits are reserved and must be set to 0.
RXP—RX Polarity
This bit determines the polarity of the received signal.
0 = Active high polarity. An active high pulse is decoded as 0.
1 = Active low polarity. An active low pulse is decoded as 0.
TXP—TX Polarity
This bit determines the polarity of the transmitted signal.
0 = Active high polarity. An active high pulse is encoded as 0.
1 = Active low polarity. An active low pulse is encoded as 0.
IRMODE
BIT 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
FIELD
PA RESERVED RXP TXP DCR FD LOOP RES MOD EN
RESET
0 000000000
R/W
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
ADDR
(IMMR & 0xFFF0000) + 0xA38