S2-LP Low Level API  v. 1.3.0
Macros | Variables
FIFO Handler B Private Variables

Macros

#define PAYLOAD_LENGTH_FIX   300
 
#define EXTENDED_LENGTH_FIELD   S_ENABLE
 
#define IRQ_PREEMPTION_PRIORITY   0x03
 Preemption priority IRQ. More...
 

Variables

SRadioInit xRadioInit
 Radio structure fitting. More...
 
PktBasicInit xBasicInit
 Packet Basic structure fitting. More...
 
SGpioInit xGpioIRQ
 GPIO IRQ structure fitting. More...
 
SGpioInit xGpioAF
 GPIO RX FIFO AF structure fitting. More...
 
volatile FlagStatus xRxDoneFlag = RESET
 Declare the Rx done flag. More...
 
S2LPIrqs xIrqStatus
 IRQ status struct declaration. More...
 
uint8_t vectcRxBuff [PAYLOAD_LENGTH_FIX]
 Rx buffer declaration: how to store the received data. More...
 
uint16_t nRxIndex
 Rx buffer index, residual and total bytes to be received. More...
 
uint16_t nPayloadLength = 20
 
uint8_t cThreholdRxFifoAF = 78
 Almost full Tx FIFO threshold (measured from the tail) More...
 

Detailed Description

Macro Definition Documentation

◆ EXTENDED_LENGTH_FIELD

#define EXTENDED_LENGTH_FIELD   S_ENABLE

Definition at line 63 of file SDK_FifoHandler_B.c.

◆ IRQ_PREEMPTION_PRIORITY

#define IRQ_PREEMPTION_PRIORITY   0x03

Preemption priority IRQ.

Definition at line 141 of file SDK_FifoHandler_B.c.

◆ PAYLOAD_LENGTH_FIX

#define PAYLOAD_LENGTH_FIX   300

Definition at line 60 of file SDK_FifoHandler_B.c.

Variable Documentation

◆ cThreholdRxFifoAF

uint8_t cThreholdRxFifoAF = 78

Almost full Tx FIFO threshold (measured from the tail)

Definition at line 136 of file SDK_FifoHandler_B.c.

◆ nPayloadLength

uint16_t nPayloadLength = 20

Definition at line 131 of file SDK_FifoHandler_B.c.

◆ nRxIndex

uint16_t nRxIndex

Rx buffer index, residual and total bytes to be received.

Definition at line 131 of file SDK_FifoHandler_B.c.

◆ vectcRxBuff

uint8_t vectcRxBuff[PAYLOAD_LENGTH_FIX]

Rx buffer declaration: how to store the received data.

Definition at line 126 of file SDK_FifoHandler_B.c.

◆ xBasicInit

PktBasicInit xBasicInit
Initial value:
={
}
#define SYNC_LENGTH
#define EXTENDED_LENGTH_FIELD
#define PREAMBLE_LENGTH
#define EN_ADDRESS
#define EN_WHITENING
#define VARIABLE_LENGTH
#define CRC_MODE
#define EN_FEC
#define SYNC_WORD

Packet Basic structure fitting.

Definition at line 79 of file SDK_FifoHandler_B.c.

◆ xGpioAF

SGpioInit xGpioAF

◆ xGpioIRQ

SGpioInit xGpioIRQ

◆ xIrqStatus

S2LPIrqs xIrqStatus

IRQ status struct declaration.

Definition at line 120 of file SDK_FifoHandler_B.c.

◆ xRadioInit

SRadioInit xRadioInit
Initial value:
= {
}
#define DATARATE
#define BANDWIDTH
#define BASE_FREQUENCY
#define MODULATION_SELECT
#define FREQ_DEVIATION

Radio structure fitting.

Definition at line 68 of file SDK_FifoHandler_B.c.

◆ xRxDoneFlag

volatile FlagStatus xRxDoneFlag = RESET

Declare the Rx done flag.

Definition at line 114 of file SDK_FifoHandler_B.c.