### RF_PACKET_HANDLING

Bit Field | Read/Write | Field Name | Description
--- | --- | --- | ---
31:24 | RW | PREAMBLE_PREAMBLE | Preamble to be inserted (banked)
22 | RW | PACKET_LENGTH_OPTS_EN_PACKET_LEN_FIX | Packet length configuration (banked)
21:18 | RW | PACKET_LENGTH_OPTS_PACKET_LEN_CORR | Signed value specifying the correction to apply to the specified packet length (banked)
17:16 | RW | PACKET_LENGTH_OPTS_PACKET_LEN_POS | Unsigned value that specifies the position of the packet length after the pattern (banked)
15:8 | RW | PACKET_LENGTH_PACKET_LEN | The packet length in the fixed packet length mode (banked)
7 | RW | PACKET_HANDLING_LSB_FIRST | Select LSB or MSB to send first (banked)
6 | RW | PACKET_HANDLING_EN_CRC | Automatic CRC evaluation and insertion (banked)
5 | RW | PACKET_HANDLING_EN_CRC_ON_PKTLEN | CRC calculation on the packet length part of the packet (banked)
4 | RW | PACKET_HANDLING_EN_PREAMBLE | Automatic preamble insertion (banked)
3 | RW | PACKET_HANDLING_EN_MULTI_FRAME | Multi-frame packet (banked)
2 | RW | PACKET_HANDLING_ENB_DW_ON_CRC | Data-whitening on the CRC disabling (banked)
1 | RW | PACKET_HANDLING_EN_PATTERN | Automatic pattern insertion and recognition (banked)
0 | RW | PACKET_HANDLING_EN_PACKET | Packet handler enabling (banked)

Bit Field | Field Name | Value Symbol | Value Description | Hex Value
--- | --- | --- | --- | ---
31:24 | PREAMBLE_PREAMBLE | PREAMBLE_PREAMBLE_DEFAULT |  | 0x55*
22 | PACKET_LENGTH_OPTS_EN_PACKET_LEN_FIX | PACKET_LENGTH_OPTS_EN_PACKET_LEN_FIX_DISABLE | Packet length is not fixed | 0x0*
|  | PACKET_LENGTH_OPTS_EN_PACKET_LEN_FIX_ENABLE | Packet length is fixed and specified in the PACKET_LEN register | 0x1
21:18 | PACKET_LENGTH_OPTS_PACKET_LEN_CORR | PACKET_LENGTH_OPTS_PACKET_LEN_CORR_DEFAULT | The packet length here is specified by the byte number after the packet length byte, with the exclusion of the CRC | 0x0*
17:16 | PACKET_LENGTH_OPTS_PACKET_LEN_POS | PACKET_LENGTH_OPTS_PACKET_LEN_POS_DEFAULT |  | 0x1*
15:8 | PACKET_LENGTH_PACKET_LEN | PACKET_LENGTH_PACKET_LEN_DEFAULT | In the variable packet length mode, it specifies the maximal packet length defined by the standard. In case of error a packet_len_err is raised. | 0xFF*
7 | PACKET_HANDLING_LSB_FIRST | PACKET_HANDLING_LSB_FIRST_MSB | MSB is the first bit to be sent | 0x0
|  | PACKET_HANDLING_LSB_FIRST_LSB | LSB is the first bit to be sent | 0x1*
6 | PACKET_HANDLING_EN_CRC | PACKET_HANDLING_EN_CRC_DISABLE | Disable the automatic CRC evaluation and insertion | 0x0
|  | PACKET_HANDLING_EN_CRC_ENABLE | Enable the automatic CRC evaluation and insertion | 0x1*
5 | PACKET_HANDLING_EN_CRC_ON_PKTLEN | PACKET_HANDLING_EN_CRC_ON_PKTLEN_DISABLE | Disable the CRC calculation on the packet length part of the packet. | 0x0
|  | PACKET_HANDLING_EN_CRC_ON_PKTLEN_ENABLE | Enable the CRC calculation on the packet length part of the packet. | 0x1*
4 | PACKET_HANDLING_EN_PREAMBLE | PACKET_HANDLING_EN_PREAMBLE_DISABLE | Disable the automatic preamble insertion | 0x0
|  | PACKET_HANDLING_EN_PREAMBLE_ENABLE | Enable the automatic preamble insertion | 0x1*
3 | PACKET_HANDLING_EN_MULTI_FRAME | PACKET_HANDLING_EN_MULTI_FRAME_DISABLE | Disable the multi-frame packet (preamble-pattern-data-CRC-data-CRC-...) | 0x0*
|  | PACKET_HANDLING_EN_MULTI_FRAME_ENABLE | Enable the multi-frame packet (preamble-pattern-data-CRC-data-CRC-...) | 0x1
2 | PACKET_HANDLING_ENB_DW_ON_CRC | PACKET_HANDLING_ENB_DW_ON_CRC_ENABLE | Enable the data-whitening on the CRC | 0x0*
|  | PACKET_HANDLING_ENB_DW_ON_CRC_DISABLE | Disable the data-whitening on the CRC | 0x1
1 | PACKET_HANDLING_EN_PATTERN | PACKET_HANDLING_EN_PATTERN_DISABLE | Disable the automatic pattern insertion and recognition | 0x0
|  | PACKET_HANDLING_EN_PATTERN_ENABLE | Enable the automatic pattern insertion and recognition | 0x1*
0 | PACKET_HANDLING_EN_PACKET | PACKET_HANDLING_EN_PACKET_DISABLE | Disable the packet handler | 0x0
|  | PACKET_HANDLING_EN_PACKET_ENABLE | Enable the packet handler | 0x1*