RM0082
LS_Fast IrDA controller
Doc ID 018672 Rev 1
583/844
26.5.10 IrDA_RFS
register
The IrDA_RFS (reception frame size) is a RO register which states the size of the received
frame. The IrDA_RFS bit assignments are given in
.
26.5.11 IrDA_TXB
register
The IrDA_TXB (transmission buffer) is a WO register which contains the transmit data bytes
in transmission mode. The IrDA_TXB bit assignments are given in
Table 504.
IrDA_TFS register bit assignments
Bit
Name
Reset value Description
[31:12]
Reserved
-
Write: should be zero.
[11:00]
TFS
12’h0
Transmission frame size.
This 12 bit field indicates the size of the transmitted
frame, according to the encoding:
– 12‘b000000000000 = Reset value.
– 12‘b000000000001 = 2 data bytes.
– 12‘b000000000010 = 3 data bytes.
… = …
– 12‘b100000000001 = 2050 data bytes.
Any other value = Reserved.
Note: The number of transmitted bytes is data size +
the information byte + the address and control byte.
Table 505.
IrDA_RFS register bit assignments
Bit
Name
Reset value Description
[31:12]
Reserved
-
Read: undefined.
[11:00]
RFS
12’h0
Reception frame size.
This 12 bit field indicates the size of the received
frame, according to the encoding:
– 12‘b000000000000 = Reset value.
– 12‘b000000000100 = 4 data bytes.
… = …
– 12‘b100000000110 = 2054 data bytes.
Any other value = Reserved
Note: In SIR and MIR modes, the number of received
bytes is data size + 4 bytes, including the information
byte, the address and control byte, and the 2 CRC
bytes.
Note: In FIR mode, the number of received bytes is
data size + 6 bytes, including the information byte, the
address and control byte, and the 4 CRC bytes.