RM0082
LS_Fast IrDA controller
Doc ID 018672 Rev 1
581/844
26.5.7 IrDA_DV
register
The IrDA_DV (Divider) is a RW register which allows to set the clock divider within the baud
generation unit (
Section 26.3.5: Baud rate generation unit on page 574
) to get the
en_symb
and
en_pulse
signals. This register should only be modified when the FIrDA controller is
disabled by clearing the bit RUN of the IrDA_CON register. The IrDA_DV bit assignments
are given in
Table 501.
IrDA_PARA register bit assignments
Bit
Name
Reset value Description
[31:28]
Reserved
-
Read: undefined. Write: should be zero.
[27:16]
MNRB
12’h046
Maximum number of received bytes.
This 12 bit field indicates the maximum number of
received bytes, according to the encoding:
– 12‘b000001000110 = 70 bytes (default)
– 12‘b000010000110 = 134 bytes
– 12‘b000100000110 = 262 bytes
– 12‘b001000000110 = 518 bytes
– 12‘b010000000110 = 1030 bytes
– 12‘b100000000110 = 2054 bytes
Note: In FIR mode, the effective maximum number of
received bytes is data size + 6 bytes, including the
information byte, the address and control byte, and
the 4 CRC bytes.
Note: This field should be programmed according to
the negotiated data size (see IrLAP specification).
[15:08]
Reserved
-
Read: undefined. Write: should be zero.
[07:02]
ABF
6’h0
Number of additional beginning flags.
This 6 bit field indicates the number of additional
beginning flags, according to the encoding:
– 6‘b000000 = No additional beginning flags.
– 6‘b000001 = 1.
… = …
– 6‘b110000 = 48.
Any other value = Reserved.
[01:00]
MODE
2’h0
Infrared mode.
This 2 bit field allows to select the used infrared
mode, according to the encoding:
– 2‘b00 = SIR
– 2‘b01 = MIR
– 2‘b10 = FIR
– 2’b11 = Reserved