76 #ifndef __S2LP_PKT_BASIC_H 77 #define __S2LP_PKT_BASIC_H 162 #define S2LPPktBasicSetPreambleLength(xPreambleLength) S2LPSetPreambleLength(xPreambleLength) 170 #define S2LPPktBasicGetPreambleLength() S2LPGetPreambleLength() 179 #define S2LPPktBasicSetSyncLength(xSyncLength) S2LPSetSyncLength((PktSyncLength)xSyncLength) 187 #define S2LPPktBasicGetSyncLength() S2LPGetSyncLength() 196 #define S2LPPktBasicFilterOnCrc(xNewState) S2LPPktCommonFilterOnCrc(xNewState) 205 #define S2LPPktBasicWhitening(xNewState) S2LPWhitening(xNewState) 214 #define S2LPPktBasicFec(xNewState) S2LPFec(xNewState) 227 #define S2LPPktBasicSetSyncWords(lSyncWords, xSyncLength) S2LPSetSyncWords(lSyncWords, xSyncLength) void S2LPPktBasicSetPayloadLength(uint16_t nPayloadLength)
Set the payload length for S2LP Basic packets. Since the packet length depends from the address and t...
SFunctionalState xAddressField
SFunctionalState cExtendedPktLenField
SFunctionalState xDataWhitening
void S2LPPktBasicGetAddressesInfo(PktBasicAddressesInit *pxPktBasicAddresses)
Return the S2LP Basic packet addresses structure according to the specified parameters in the registe...
SFunctionalState xFilterOnMyAddress
uint16_t S2LPPktBasicGetPayloadLength(void)
Return the payload length for S2LP Basic packets. Since the packet length depends from the address an...
SFunctionalState
S2LP Functional state. Used to enable or disable a specific option.
void S2LPPktBasicInit(PktBasicInit *pxPktBasicInit)
Initialize the S2LP Basic packet according to the specified parameters in the PktBasicInit struct....
S2LP Basic Packet Init structure definition.
SFunctionalState xFilterOnBroadcastAddress
uint8_t cMulticastAddress
SFunctionalState xFilterOnMulticastAddress
S2LP Basic packet address structure definition. This structure allows users to specify the node/multi...
uint16_t S2LPPktBasicGetReceivedPktLength(void)
Return the packet length field of the received packet.
void S2LPPktBasicAddressField(SFunctionalState xAddressField)
Set the address length for S2LP Basic packets.
This file contains all the registers address and masks.
void S2LPPktBasicSetFormat(void)
Configure the Basic packet format as packet used by S2LP.
SFunctionalState xFixVarLength
void S2LPPktBasicAddressesInit(PktBasicAddressesInit *pxPktBasicAddresses)
Initialize the S2LP Basic packet addresses according to the specified parameters in the PktBasicAddre...
Configuration and management of the common features of S2-LP packets.
PktCrcMode
CRC length in bytes enumeration.
uint8_t cBroadcastAddress
Header file for S2-LP types.
void S2LPPktBasicGetInfo(PktBasicInit *pxPktBasicInit)
Return the S2LP Basic packet structure according to the specified parameters in the registers.
PktCrcMode BasicCrcMode
CRC length in bytes enumeration.
SFunctionalState S2LPPktBasicGetAddressField(void)
Specify if the Address field for S2LP Basic packets is enabled or disabled.