S2-LP Low Level API  v. 1.3.0
Macros
Pkt Common Exported Macros

Macros

#define S2LPSetPreambleLengthByte(xPreambleLength)   S2LPSetPreambleLength(4*xPreambleLength)
 
#define S2LPSetSyncLengthByte(cSyncLength)   S2LPSetSyncLength(8*cSyncLength)
 
#define IS_PREAMBLE_LEN(VAL)   (VAL<=1024)
 
#define IS_SYNC_LEN(VAL)   (VAL<=64)
 
#define IS_PKT_LEN_FIELD_WID(LENGTH)
 
#define IS_PKT_CRC_MODE(MODE)
 

Detailed Description

Macro Definition Documentation

◆ IS_PKT_CRC_MODE

#define IS_PKT_CRC_MODE (   MODE)

◆ IS_PKT_LEN_FIELD_WID

#define IS_PKT_LEN_FIELD_WID (   LENGTH)
Value:
((LENGTH == PKT_LENGTH_FIELD_1BYTE) || \
(LENGTH == PKT_LENGTH_FIELD_2BYTE))

Definition at line 139 of file S2LP_PacketHandler.h.

◆ IS_PREAMBLE_LEN

#define IS_PREAMBLE_LEN (   VAL)    (VAL<=1024)

Definition at line 136 of file S2LP_PacketHandler.h.

◆ IS_SYNC_LEN

#define IS_SYNC_LEN (   VAL)    (VAL<=64)

Definition at line 137 of file S2LP_PacketHandler.h.

◆ S2LPSetPreambleLengthByte

#define S2LPSetPreambleLengthByte (   xPreambleLength)    S2LPSetPreambleLength(4*xPreambleLength)

Definition at line 133 of file S2LP_PacketHandler.h.

◆ S2LPSetSyncLengthByte

#define S2LPSetSyncLengthByte (   cSyncLength)    S2LPSetSyncLength(8*cSyncLength)

Definition at line 134 of file S2LP_PacketHandler.h.