Queued Serial Multi-Channel Module
MPC561/MPC563 Reference Manual, Rev. 1.2
Freescale Semiconductor
15-61
15.8.2.2
QSCI1 Status Register (QSCI1SR)
10
QRE
Queue receive enable. When set, the receive queue is enabled and the RDRF bit should be
ignored by software. When clear, the SCI1 functions as described in the previous sections and
the bits related to the queue (Section 5.5 and its subsections) should be ignored by software with
the exception of QRE.
0 Receive queue is disabled
1 Receive queue is enabled
11
QTWE
Queue transmit wrap enable. When set, the transmit queue is allowed to restart transmitting from
the top of the queue after reaching the bottom of the queue. After each wrap of the queue, QTWE
is cleared by hardware.
0 Transmit queue wrap feature is disabled
1 Transmit queue wrap feature is enabled
12:15
QTSZ
Queue transfer size. The QTSZ bits allow programming the number of data frames to be
transmitted. From 1 (QTSZ = 0b0000) to 16 (QTSZ = 0b1111) data frames can be specified.
QTSZ is loaded into QPEND initially or when a wrap occurs.
MSB
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
LSB
15
Field
—
QOR QTHF QBHF QTHE QBHE
QRPNT
QPEND
SRESET
000
0
1
1
1
1
0000
0000
Addr
0x30 502A
Figure 15-32. QSCI1 Status Register (QSCI1SR)
Table 15-33. QSCI1SR Bit Descriptions
Bits
Name
Description
0:2
—
Reserved
3
QOR
Receiver queue overrun error. The QOR is set when a new data frame is ready to be transferred
from the SC1DR to the queue and the queue is already full (QTHF or QBHF are still set). Data
transfer is inhibited until QOR is cleared. Previous data transferred to the queue remains valid.
Additional data received during a queue overrun condition is not lost provided the receive queue
is re-enabled before OR (SC1SR) is set. The OR flag is set when a new data frame is received
in the shifter but the data register (SC1DR) is still full. The data in the shifter that generated the
OR assertion is overwritten by the next received data frame, but the data in the SC1DR is not lost.
0 The queue is empty before valid data is in the SC1DR
1 The queue is not empty when valid data is in the SC1DR
4
QTHF
Receiver queue top-half full. QTHF is set when the receive queue locations SCRQ[0:7] are
completely filled with new data received via the serial shifter. QTHF is cleared when register
QSCI1SR is read with QTHF set, followed by a write of QTHF to zero.
0 The queue locations SCRQ[0:7] are partially filled with newly received data or is empty
1 The queue locations SCRQ[0:7] are completely full of newly received data
Table 15-32. QSCI1CR Bit Descriptions (continued)
Bits
Name
Description
Summary of Contents for MPC561
Page 84: ...MPC561 MPC563 Reference Manual Rev 1 2 lxxxiv Freescale Semiconductor...
Page 144: ...Signal Descriptions MPC561 MPC563 Reference Manual Rev 1 2 2 46 Freescale Semiconductor...
Page 206: ...Central Processing Unit MPC561 MPC563 Reference Manual Rev 1 2 3 62 Freescale Semiconductor...
Page 302: ...Reset MPC561 MPC563 Reference Manual Rev 1 2 7 14 Freescale Semiconductor...
Page 854: ...Time Processor Unit 3 MPC561 MPC563 Reference Manual Rev 1 2 19 24 Freescale Semiconductor...
Page 968: ...Development Support MPC561 MPC563 Reference Manual Rev 1 2 23 54 Freescale Semiconductor...
Page 1144: ...Internal Memory Map MPC561 MPC563 Reference Manual Rev 1 2 B 34 Freescale Semiconductor...
Page 1212: ...TPU3 ROM Functions MPC561 MPC563 Reference Manual Rev 1 2 D 60 Freescale Semiconductor...
Page 1216: ...Memory Access Timing MPC561 MPC563 Reference Manual Rev 1 2 E 4 Freescale Semiconductor...