Chapter 13 Serial Communications Interface (S12SCIV2) Block Description
Freescale Semiconductor
MC9S12C-Family / MC9S12GC-Family
389
Rev 01.24
13.3.2.3
SCI Control Register 2 (SCICR2)
Read: Anytime
Write: Anytime
Table 13-3. Loop Functions
LOOPS
RSRC
Function
0
x
Normal operation
1
0
Loop mode with Rx input internally connected to Tx output
1
1
Single-wire mode with Rx input connected to TXD
Module Base + 0x_0003
7
6
5
4
3
2
1
0
R
TIE
TCIE
RIE
ILIE
TE
RE
RWU
SBK
W
Reset
0
0
0
0
0
0
0
0
Figure 13-5. SCI Control Register 2 (SCICR2)
Table 13-4. SCICR2 Field Descriptions
Field
Description
7
TIE
Transmitter Interrupt Enable Bit
— TIE enables the transmit data register empty flag, TDRE, to generate
interrupt requests.
0 TDRE interrupt requests disabled
1 TDRE interrupt requests enabled
6
TCIE
Transmission Complete Interrupt Enable Bit
— TCIE enables the transmission complete flag, TC, to generate
interrupt requests.
0 TC interrupt requests disabled
1 TC interrupt requests enabled
5
RIE
Receiver Full Interrupt Enable Bit
— RIE enables the receive data register full flag, RDRF, or the overrun flag,
OR, to generate interrupt requests.
0 RDRF and OR interrupt requests disabled
1 RDRF and OR interrupt requests enabled
4
ILIE
Idle Line Interrupt Enable Bit
— ILIE enables the idle line flag, IDLE, to generate interrupt requests.
0 IDLE interrupt requests disabled
1 IDLE interrupt requests enabled
3
TE
Transmitter Enable Bit
— TE enables the SCI transmitter and configures the TXD pin as being controlled by
the SCI. The TE bit can be used to queue an idle preamble.
0 Transmitter disabled
1 Transmitter enabled
2
RE
Receiver Enable Bit
— RE enables the SCI receiver.
0 Receiver disabled
1 Receiver enabled
Summary of Contents for MC9S12C Family
Page 689: ......