Appiko
Enumerations
Pkt Common Exported Types

Enumerations

enum  PktCrcMode {
  PKT_NO_CRC = 0x00, PKT_CRC_MODE_8BITS = 0x20, PKT_CRC_MODE_16BITS_1 = 0x40, PKT_CRC_MODE_16BITS_2 = 0x60,
  PKT_CRC_MODE_24BITS = 0x80, PKT_CRC_MODE_32BITS = 0xA0
}
 CRC length in bytes enumeration. More...
 
enum  DirectTx { NORMAL_TX_MODE = 0x00, DIRECT_TX_FIFO_MODE = 0x04, DIRECT_TX_GPIO_MODE = 0x08, PN9_TX_MODE = 0x0C }
 Direct transmission mode enumeration for SPIRIT. More...
 
enum  DirectRx { NORMAL_RX_MODE = 0x00, DIRECT_RX_FIFO_MODE = 0x10, DIRECT_RX_GPIO_MODE = 0x20 }
 Direct receive mode enumeration for SPIRIT. More...
 

Detailed Description

Enumeration Type Documentation

◆ DirectRx

enum DirectRx
Enumerator
NORMAL_RX_MODE 

Normal mode, no direct reception is used

DIRECT_RX_FIFO_MODE 

Destination is FIFO: payload bits are continuously written to the RX FIFO and not subjected to any processing

DIRECT_RX_GPIO_MODE 

Destination is GPIO: payload bits are continuously written to one of the GPIO ports and not subjected to any processing

Definition at line 105 of file S2LP_PacketHandler.h.

◆ DirectTx

enum DirectTx
Enumerator
NORMAL_TX_MODE 

Normal mode, no direct transmission is used

DIRECT_TX_FIFO_MODE 

Source is FIFO: payload bits are continuously read from the TX FIFO

DIRECT_TX_GPIO_MODE 

Source is GPIO: payload bits are continuously read from one of the GPIO ports and transmitted without any processing

PN9_TX_MODE 

A pseudorandom binary sequence is generated internally

Definition at line 93 of file S2LP_PacketHandler.h.

◆ PktCrcMode

enum PktCrcMode
Enumerator
PKT_NO_CRC 

No CRC

PKT_CRC_MODE_8BITS 

CRC length 8 bits - poly: 0x07

PKT_CRC_MODE_16BITS_1 

CRC length 16 bits - poly: 0x8005

PKT_CRC_MODE_16BITS_2 

CRC length 16 bits - poly: 0x1021

PKT_CRC_MODE_24BITS 

CRC length 24 bits - poly: 0x864CFB

PKT_CRC_MODE_32BITS 

CRC length 32 bits - poly: 0x04C011BB7

Definition at line 80 of file S2LP_PacketHandler.h.