52 #ifndef __S2LP_PACKET_WMBUS_H 53 #define __S2LP_PACKET_WMBUS_H 127 #define S2LPPktWMbusSetPreambleLength(xPreambleLength) S2LPPktCommonSetPreambleLength((PktPreambleLength)xPreambleLength) 135 #define S2LPPktWMbusGetPreambleLength() S2LPPktCommonGetPreambleLength()
S2LP WMBUS Packet Init structure definition.
WMbusSubmode
WMbus submode enumeration.
void S2LPPktWMbusSetPostamble(uint8_t cPostamble)
Set how many chips will be used in postamble.
void S2LPPktWMbusGetInfo(PktWMbusInit *pxPktWMbusInit)
Return the S2LP WMBUS packet structure according to the specified parameters in the registers.
void S2LPPktWMbusInit(PktWMbusInit *pxPktWMbusInit)
Initialize the S2LP WMBUS packet according to the specified parameters in the PktWMbusInit struct.
This file contains all the registers address and masks.
uint8_t S2LPPktWMbusGetPostamble(void)
Returns how many chips are used in the postamble.
WMbusSubmode xWMbusSubmode
void S2LPPktWMbusSetPostamblePattern(uint8_t cPostamble)
Set the pattern of the postamble.
uint16_t S2LPPktWMbusGetPayloadLength(void)
Return the payload length for WMBUS packets.
Configuration and management of the common features of S2-LP packets.
void S2LPPktWMbusSetSubmode(WMbusSubmode xWMbusSubmode)
Set the W-MBus submode.
uint8_t S2LPPktWMbusGetPostamblePattern(void)
Returns the pattern of the postamble.
void S2LPPktWMbusSetFormat(void)
Configure the WMBUS packet format as the one used by S2LP.
WMbusSubmode S2LPPktWMbusGetSubmode(void)
Return the WMBUS submode used.
void S2LPPktWMbusSetPayloadLength(uint16_t nPayloadLength)
Sets the payload length for S2LP WMBUS packets.
Header file for S2-LP types.