| 
    Appiko
    
   | 
 
Functions | |
| void | S2LPSetPreambleLength (uint16_t cPreambleLength) | 
| Set the PREAMBLE field Length mode for S2LP packets.  More... | |
| uint16_t | S2LPGetPreambleLength (void) | 
| Return the PREAMBLE field Length mode for S2LP packets.  More... | |
| void | S2LPSetSyncLength (uint8_t cSyncLength) | 
| Set the SYNC field Length for S2LP packets.  More... | |
| uint8_t | S2LPGetSyncLength (void) | 
| Return the SYNC field Length for S2LP packets.  More... | |
| void | S2LPSetSyncWords (uint32_t lSyncWords, uint8_t xSyncLength) | 
| Set the SYNC_WORD.  More... | |
| void | S2LPGetSyncWords (uint32_t *lSyncWords, uint8_t *cSyncLength) | 
| Get the SYNC_WORD.  More... | |
| void | S2LPPacketHandlerWhitening (SFunctionalState xNewState) | 
| Enable or Disable WHITENING for S2LP packets.  More... | |
| void | S2LPPacketHandlerFec (SFunctionalState xNewState) | 
| Enable or Disable the FEC encoding.  More... | |
| void | S2LPPacketHandler3OutOf6 (SFunctionalState xNewState) | 
| Enable or Disable the 3o6 encoding.  More... | |
| void | S2LPPacketHandlerManchester (SFunctionalState xNewState) | 
| Enable or Disable the MANCHESTER encoding.  More... | |
| uint8_t | S2LPGetPacketFormat (void) | 
| Get the packet format.  More... | |
| void | S2LPPktCommonFilterOnCrc (SFunctionalState xNewState) | 
| Enable or Disable the filtering on CRC.  More... | |
| uint8_t | S2LPGetReceivedDestinationAddress (void) | 
| Get the received destination address.  More... | |
| uint8_t | S2LPGetReceivedSourceAddress (void) | 
| Get the received source address.  More... | |
| uint8_t | S2LPGetMyAddress (void) | 
| Get the MY_ADDRESS set on the chip.  More... | |
| uint8_t | S2LPGetBroadcastAddress (void) | 
| Get the BROADCAST_ADDRESS set on the chip.  More... | |
| uint8_t | S2LPGetMulticastAddress (void) | 
| Get the MULTICAST_ADDRESS set on the chip.  More... | |
| uint8_t | S2LPGetRxSourceMask (void) | 
| Get the SOURCE_MASK set on the chip.  More... | |
| uint8_t | S2LPGetRxSourceReferenceAddress (void) | 
| Get the SOURCE_REFERENCE set on the chip.  More... | |
| void | S2LPPacketHandlerSetTxMode (DirectTx xNewState) | 
| Set the TX mode of S2LP.  More... | |
| void | S2LPPacketHandlerSetRxMode (DirectRx xNewState) | 
| Set the DirectRF RX mode of S2LP.  More... | |
| DirectTx | S2LPPacketHandlerGetTxMode (void) | 
| Return the DirectRF TX mode of S2LP.  More... | |
| DirectRx | S2LPPacketHandlerGetRxMode (void) | 
| Return the DirectRF RX mode of S2LP.  More... | |
| uint8_t | S2LPPacketHandlerGetTransmittedSeqNumber (void) | 
| Returns the sequence number of the transmitted packet.  More... | |
| void | S2LPPacketHandlerSetExtendedLenField (SFunctionalState xExtendedLenField) | 
| Set the extended length field in case of variable length.  More... | |
| void | S2LPPacketHandlerSwap4FSKSymbol (SFunctionalState xSwapSymbol) | 
| Swap the 4FSK symbol mapping.  More... | |
| void | S2LPPacketHandlerSwapFifoEndianess (SFunctionalState xEnableSwap) | 
| Change the FIFO endianness .  More... | |
| void | S2LPPacketHandlerSwapPreamblePattern (SFunctionalState xEnableSwap) | 
| Swap preamble pattern.  More... | |
| void | S2LPPacketHandlerSetCrcMode (PktCrcMode xPktCrcMode) | 
| Set the CRC mode.  More... | |
| PktCrcMode | S2LPPacketHandlerGetCrcMode (void) | 
| Get the CRC mode.  More... | |
| void | S2LPPacketHandlerSelectSecondarySync (SFunctionalState xSecondarySync) | 
| Select the secondary sync mode. In TX if enabled: it will send the secondary sync word (from the PCKT_FLT_GOALSx), otherwise it will send the primary sync (from the SYNCx registers). In RX if enabled: it will enable the double sync mode seeking for the 2 sync words in SYNCx or PCKT_FLT_GOALSx in parallel.  More... | |
| void | S2LPPacketHandlerSetAutoPcktFilter (SFunctionalState xNewState) | 
| Enable or Disable the auto packet filter mechanisms.  More... | |
| void | S2LPPacketHandlerSetRxPersistentMode (SFunctionalState xNewState) | 
| Set the RX persistent mode. The device will be ever in RX unles an abort command comes.  More... | |
| void | S2LPPacketHandlerSetSrcAddrFlt (SFunctionalState xNewState) | 
| Set the source address filtering.  More... | |
| void | S2LPPacketHandlerSetVariableLength (SFunctionalState xVarLen) | 
| Set the variable length mode.  More... | |
| void | S2LPSetDualSyncWords (uint32_t lSyncWords) | 
| Set the secondary sync word.  More... | |
| void | S2LPGetDualSyncWords (uint32_t *lSyncWords) | 
| Get the secondary sync word.  More... | |
| void | S2LPSetRxSourceMask (uint8_t address) | 
| Set the SOURCE_MASK .  More... | |
| void | S2LPSetRxSourceReferenceAddress (uint8_t address) | 
| Set the SOURCE_REFERENCEK.  More... | |
| void | S2LPSetBroadcastAddress (uint8_t address) | 
| Set the BROADCAST_ADDRESS set on the chip.  More... | |
| void | S2LPSetMulticastAddress (uint8_t address) | 
| Set the MULTICAST_ADDRESS set on the chip.  More... | |
| void | S2LPSetMyAddress (uint8_t address) | 
| Set the MY_ADDRESS (source address that will be transmitted).  More... | |
| uint8_t S2LPGetBroadcastAddress | ( | void | ) | 
| None. | 
| uint8_t | BROADCAST_ADDRESS set. | 
Definition at line 414 of file S2LP_PacketHandler.c.
References g_xStatus.
| void S2LPGetDualSyncWords | ( | uint32_t * | lSyncWords | ) | 
| lSyncWords | pointer to the secondary sync word variable. | 
| None. | 
Definition at line 853 of file S2LP_PacketHandler.c.
References g_xStatus.
| uint8_t S2LPGetMulticastAddress | ( | void | ) | 
| None. | 
| uint8_t | MULTICAST_ADDRESS set. | 
Definition at line 427 of file S2LP_PacketHandler.c.
References g_xStatus.
| uint8_t S2LPGetMyAddress | ( | void | ) | 
| None. | 
| uint8_t | MY_ADDRESS set. | 
Definition at line 401 of file S2LP_PacketHandler.c.
References g_xStatus.
| uint8_t S2LPGetPacketFormat | ( | void | ) | 
| None. | 
| Packet | format code. | 
Definition at line 117 of file S2LP_PacketHandler.c.
References g_xStatus.
| uint16_t S2LPGetPreambleLength | ( | void | ) | 
| None. | 
| uint8_t | Preamble field length in bits. | 
Definition at line 165 of file S2LP_PacketHandler.c.
References g_xStatus.
Referenced by S2LPPktWMbusGetInfo().
| uint8_t S2LPGetReceivedDestinationAddress | ( | void | ) | 
| None. | 
| uint8_t | the last received destination address. | 
Definition at line 375 of file S2LP_PacketHandler.c.
References g_xStatus.
| uint8_t S2LPGetReceivedSourceAddress | ( | void | ) | 
| None. | 
| uint8_t | the last received source address. | 
Definition at line 388 of file S2LP_PacketHandler.c.
References g_xStatus.
| uint8_t S2LPGetRxSourceMask | ( | void | ) | 
| None. | 
| uint8_t | SOURCE_MASK set. | 
Definition at line 440 of file S2LP_PacketHandler.c.
References g_xStatus.
| uint8_t S2LPGetRxSourceReferenceAddress | ( | void | ) | 
| None. | 
| uint8_t | SOURCE_REFERENCE set. | 
Definition at line 453 of file S2LP_PacketHandler.c.
References g_xStatus.
| uint8_t S2LPGetSyncLength | ( | void | ) | 
| None. | 
| uint8_t | Sync field length in bits. | 
Definition at line 204 of file S2LP_PacketHandler.c.
References g_xStatus.
| void S2LPGetSyncWords | ( | uint32_t * | lSyncWords, | 
| uint8_t * | cSyncLength | ||
| ) | 
| lSyncWords | pointer to the SYNC_WORD 32bit variable where the SYNC word that is set should be stored. | 
| cSyncLength | pointer to the uint8_t variable where sync length should be stored. | 
| None. | 
Definition at line 329 of file S2LP_PacketHandler.c.
| void S2LPPacketHandler3OutOf6 | ( | SFunctionalState | xNewState | ) | 
| xNewState | enable (S_ENABLED) or disable (S_DISABLE). | 
| None. | 
Definition at line 281 of file S2LP_PacketHandler.c.
| void S2LPPacketHandlerFec | ( | SFunctionalState | xNewState | ) | 
| xNewState | enable (S_ENABLED) or disable (S_DISABLE). | 
| None. | 
Definition at line 241 of file S2LP_PacketHandler.c.
| PktCrcMode S2LPPacketHandlerGetCrcMode | ( | void | ) | 
| None. | 
| PktCrcMode | CRC mode in the PktCrcMode enum. | 
Definition at line 729 of file S2LP_PacketHandler.c.
| DirectRx S2LPPacketHandlerGetRxMode | ( | void | ) | 
| None. | 
| DirectRx | Direct Rx mode. | 
Definition at line 544 of file S2LP_PacketHandler.c.
References g_xStatus.
| uint8_t S2LPPacketHandlerGetTransmittedSeqNumber | ( | void | ) | 
| None. | 
| uint8_t | Sequence number of the transmitted packet. | 
Definition at line 588 of file S2LP_PacketHandler.c.
References g_xStatus.
| DirectTx S2LPPacketHandlerGetTxMode | ( | void | ) | 
| None. | 
| DirectTx | Direct Tx mode. | 
Definition at line 576 of file S2LP_PacketHandler.c.
References g_xStatus.
| void S2LPPacketHandlerManchester | ( | SFunctionalState | xNewState | ) | 
| xNewState | enable (S_ENABLED) or disable (S_DISABLE). | 
| None. | 
Definition at line 262 of file S2LP_PacketHandler.c.
| void S2LPPacketHandlerSelectSecondarySync | ( | SFunctionalState | xSecondarySync | ) | 
| xSecondarySync | can be S_ENABLE or S_DISABLE. | 
| None. | 
Definition at line 747 of file S2LP_PacketHandler.c.
| void S2LPPacketHandlerSetAutoPcktFilter | ( | SFunctionalState | xNewState | ) | 
| xNewState | enable(S_ENABLE) or disable (S_DISABLE). | 
| None. | 
Definition at line 770 of file S2LP_PacketHandler.c.
| void S2LPPacketHandlerSetCrcMode | ( | PktCrcMode | xPktCrcMode | ) | 
| xPktCrcMode | This parameter can be one among the PktCrcMode . | 
| None. | 
Definition at line 711 of file S2LP_PacketHandler.c.
| void S2LPPacketHandlerSetExtendedLenField | ( | SFunctionalState | xExtendedLenField | ) | 
| xExtendedLenField | enable (S_ENABLE) or disable (S_DISABLE). | 
| None. | 
Definition at line 605 of file S2LP_PacketHandler.c.
| void S2LPPacketHandlerSetRxMode | ( | DirectRx | xDirectRx | ) | 
| xDirectRx | code of the desired mode. This parameter can be any value of DirectRx. | 
| None. | 
Definition at line 526 of file S2LP_PacketHandler.c.
| void S2LPPacketHandlerSetRxPersistentMode | ( | SFunctionalState | xNewState | ) | 
| xNewState | enable(S_ENABLE) or disable (S_DISABLE). | 
| None. | 
Definition at line 792 of file S2LP_PacketHandler.c.
| void S2LPPacketHandlerSetSrcAddrFlt | ( | SFunctionalState | xNewState | ) | 
| xNewState | enable(S_ENABLE) or disable (S_DISABLE). | 
| None. | 
Definition at line 813 of file S2LP_PacketHandler.c.
| void S2LPPacketHandlerSetTxMode | ( | DirectTx | xDirectTx | ) | 
| xDirectTx | code of the desired source. This parameter can be any value of DirectTx. | 
| None. | 
Definition at line 559 of file S2LP_PacketHandler.c.
| void S2LPPacketHandlerSetVariableLength | ( | SFunctionalState | xVarLen | ) | 
| xVarLen | if enabled (S_ENABLE) the length field will be set into the packet. | 
| None. | 
Definition at line 690 of file S2LP_PacketHandler.c.
| void S2LPPacketHandlerSwap4FSKSymbol | ( | SFunctionalState | xSwapSymbol | ) | 
| xSwapSymbol | enable (S_ENABLE) or disable (S_DISABLE). | 
| None. | 
Definition at line 626 of file S2LP_PacketHandler.c.
| void S2LPPacketHandlerSwapFifoEndianess | ( | SFunctionalState | xEnableSwap | ) | 
| xEnableSwap | if it is S_DISABLE the FIFO will be accessed in big endian mode. if it is S_ENABLE the FIFO will be accessed in little endian mode. | 
| None. | 
Definition at line 647 of file S2LP_PacketHandler.c.
| void S2LPPacketHandlerSwapPreamblePattern | ( | SFunctionalState | xEnableSwap | ) | 
| xEnableSwap | if it is S_DISABLE the preamble pattern will be 10101010. if it is S_ENABLE the preamble pattern will be 01010101. | 
| None. | 
Definition at line 668 of file S2LP_PacketHandler.c.
| void S2LPPacketHandlerWhitening | ( | SFunctionalState | xNewState | ) | 
| xNewState | new state for WHITENING mode. This parameter can be S_ENABLE or S_DISABLE. | 
| None. | 
Definition at line 219 of file S2LP_PacketHandler.c.
| void S2LPPktCommonFilterOnCrc | ( | SFunctionalState | xNewState | ) | 
| xNewState | new state for CRC_CHECK. This parameter can be S_ENABLE or S_DISABLE. | 
| None. | 
Definition at line 352 of file S2LP_PacketHandler.c.
| void S2LPSetBroadcastAddress | ( | uint8_t | address | ) | 
| address | BROADCAST_ADDRESS to be set. | 
| None. | 
Definition at line 489 of file S2LP_PacketHandler.c.
References g_xStatus.
| void S2LPSetDualSyncWords | ( | uint32_t | lSyncWords | ) | 
| lSyncWords | secondary sync word. | 
| None. | 
Definition at line 835 of file S2LP_PacketHandler.c.
References g_xStatus.
| void S2LPSetMulticastAddress | ( | uint8_t | address | ) | 
| address | MULTICAST_ADDRESS to be set. | 
| None. | 
Definition at line 500 of file S2LP_PacketHandler.c.
References g_xStatus.
| void S2LPSetMyAddress | ( | uint8_t | address | ) | 
| address | MY_ADDRESS to be set. | 
| None. | 
Definition at line 512 of file S2LP_PacketHandler.c.
References g_xStatus.
| void S2LPSetPreambleLength | ( | uint16_t | cPreambleLength | ) | 
| xPreambleLength | length of PREAMBLE field in bits. | 
| None. | 
Definition at line 142 of file S2LP_PacketHandler.c.
| void S2LPSetRxSourceMask | ( | uint8_t | mask | ) | 
| mask | Source mask to be set . | 
| None. | 
Definition at line 467 of file S2LP_PacketHandler.c.
References g_xStatus.
| void S2LPSetRxSourceReferenceAddress | ( | uint8_t | address | ) | 
| address | Source address to be used as a reference . | 
| None. | 
Definition at line 478 of file S2LP_PacketHandler.c.
References g_xStatus.
| void S2LPSetSyncLength | ( | uint8_t | cSyncLength | ) | 
| xSyncLength | length of SYNC field in bits. | 
| None. | 
Definition at line 183 of file S2LP_PacketHandler.c.
| void S2LPSetSyncWords | ( | uint32_t | lSyncWords, | 
| uint8_t | cSyncLength | ||
| ) | 
| lSyncWords | SYNC_WORD given a 32 bits aligned word. | 
| SyncLength | length of the sync word in bits. | 
| None. | 
Definition at line 301 of file S2LP_PacketHandler.c.
 1.8.15