|
Radio Control Layer (RCL)
|
#include <stdint.h>#include <ti/drivers/rcl/LRF.h>#include <ti/drivers/rcl/lrf/LRFLPF3_Interface.h>#include <ti/devices/DeviceFamily.h>
Include dependency graph for LRFLPF3_Interface_Generic.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | LRF_SyncSearchCtrl |
| struct | LRF_ModulationCtrl |
Functions | |
| void | LRF_Interface_Generic_configOpNesbPrx (uint16_t lrfOpCfg, uint8_t addrLen, const RCL_ConfigAddress *syncWordCfg) |
| void | LRF_Interface_Generic_setModulationMode (uint32_t sendCw, uint32_t whitenMode, LRF_ModulationCtrl *modulationCtrl) |
| void | LRF_Interface_Generic_disableSyncSearch (bool disableSyncWordA, bool disableSyncWordB, LRF_SyncSearchCtrl *syncSearchCtrl) |
| void | LRF_Interface_Generic_updateSyncWordCfg (RCL_ConfigAddress *syncWordCfg) |
| static void | LRF_Interface_Generic_sendOpFs (void) |
| static void | LRF_Interface_Generic_sendOpTx (void) |
| static void | LRF_Interface_Generic_sendOpRx (void) |
| static void | LRF_Interface_Generic_sendOpFsOff (void) |
| static void | LRF_Interface_Generic_sendOpStop (void) |
| static void | LRF_Interface_Generic_sendOpEopStop (void) |
| static void | LRF_Interface_Generic_skipFreqProgramming (void) |
| static uint32_t | LRF_Interface_Generic_getLastPacketTimestamp (void) |
| static void | LRF_Interface_Generic_setLastPacketTimestamp (uint32_t timestamp) |
| static int8_t | LRF_Interface_Generic_getLastPacketRssi (void) |
| static uint16_t | LRF_Interface_Generic_getNumOfRxOkPackets (void) |
| static void | LRF_Interface_Generic_setNumOfRxOkPackets (uint16_t numOfRxOkPackets) |
| static uint16_t | LRF_Interface_Generic_getNumOfNotRxOkPackets (void) |
| static void | LRF_Interface_Generic_setNumOfNotRxOkPackets (uint16_t numOfNotRxOkPackets) |
| static uint16_t | LRF_Interface_Generic_getNumOfTxPackets (void) |
| static void | LRF_Interface_Generic_setNumOfTxPackets (uint16_t numOfTxPackets) |
| static uint16_t | LRF_Interface_Generic_getNumOfIgnoredRxPackets (void) |
| static void | LRF_Interface_Generic_setNumOfIgnoredRxPackets (uint16_t numOfIgnoredRxPackets) |
| static uint16_t | LRF_Interface_Generic_getRxFifoFullCount (void) |
| static void | LRF_Interface_Generic_setRxFifoFullCount (uint16_t rxBufferFullCount) |
| static bool | LRF_Interface_Generic_shouldNesbListenForAck (uint8_t mode) |
| static uint16_t | LRF_Interface_Generic_getFifoCfg (void) |
| static void | LRF_Interface_Generic_configOpFs () |
| static void | LRF_Interface_Generic_configOpFsOff () |
| static bool | LRF_Interface_Generic_isFreqSynthLocked (void) |
| static void | LRF_Interface_Generic_configOpTx (uint8_t fsOff, uint32_t freqInHz) |
| static void | LRF_Interface_Generic_configOpTxRepeat (uint32_t freqInHz, uint8_t fsRecal) |
| static void | LRF_Interface_Generic_configOpTxTest (uint8_t fsOff, uint32_t freqInHz, uint16_t txWord) |
| static void | LRF_Interface_Generic_configOpRx (uint8_t fsOff, uint32_t freqInHz, uint8_t repeated, uint16_t maxPktLen) |
| static void | LRF_Interface_Generic_configOpNesbPtx (uint8_t fsOff, uint32_t freqInHz, uint8_t autoRetransmitMode) |
| static uint16_t | LRF_Interface_Generic_getOpCfgNesbPrx (uint8_t fsOff, uint32_t freqInHz, uint8_t repeatNok, uint8_t repeatOk) |
| static void | LRF_Interface_Generic_configNextOpTx (void) |
| static uint32_t | LRF_Interface_Generic_updateSyncWord (uint32_t syncWord) |
| static void | LRF_Interface_Generic_programSyncWordA (uint32_t syncWord) |
| static void | LRF_Interface_Generic_programSyncWordB (uint32_t syncWord) |
| static uint32_t | LRF_Interface_Generic_maskEventsByFifoConf (uint32_t mask, uint16_t fifoCfg, bool activeUpdate) |
| static void | LRF_Interface_Generic_restoreSyncSearch (const LRF_SyncSearchCtrl *syncSearchCtrl) |
| static void | LRF_Interface_Generic_restoreModulationMode (const LRF_ModulationCtrl *modulationCtrl) |
| struct LRF_SYNC_SEARCH_CTRL_t |
NOTE: RCL_ConfigAddress is defined in 'rcl/commands/generic.h'
| Data Fields | ||
|---|---|---|
| uint16_t | demc1be1 | |
| uint16_t | demc1be2 | |
| uint16_t | demc1be12 | |
| uint16_t | restoreThresh: 1 | |
| struct LRF_MODULATION_CTRL_t |
| #define LRF_INTERFACE_GENERIC_API_OP_PING ((uint16_t)(PBE_GENERIC_REGDEF_API_OP_PING)) |
| #define LRF_INTERFACE_GENERIC_API_OP_STOP ((uint16_t)(PBE_GENERIC_REGDEF_API_OP_STOP)) |
| #define LRF_INTERFACE_GENERIC_API_OP_EOP_STOP ((uint16_t)(PBE_GENERIC_REGDEF_API_OP_EOPSTOP)) |
| #define LRF_INTERFACE_GENERIC_API_OP_TX ((uint16_t)(PBE_GENERIC_REGDEF_API_OP_TX)) |
| #define LRF_INTERFACE_GENERIC_API_OP_RX ((uint16_t)(PBE_GENERIC_REGDEF_API_OP_RX)) |
| #define LRF_INTERFACE_GENERIC_API_OP_FS ((uint16_t)(PBE_GENERIC_REGDEF_API_OP_FS)) |
| #define LRF_INTERFACE_GENERIC_API_OP_STOP_FS ((uint16_t)(PBE_GENERIC_REGDEF_API_OP_STOPFS)) |
| #define LRFDRFE_SPARE4_SYNTHLOCK_M (0x00000001U) |
Referenced by LRF_Interface_Generic_isFreqSynthLocked().
| #define LRFDRFE_SPARE4_SYNTHLOCK_NOT_LOCKED (0x00000000U) |
Referenced by LRF_Interface_Generic_isFreqSynthLocked().
| #define LRF_INTERFACE_GENERIC_PRBS15_POLY (0x80020000U) |
Referenced by LRF_Interface_Generic_setModulationMode().
| #define LRF_INTERFACE_GENERIC_PRBS32_POLY (0x00400007U) |
Referenced by LRF_Interface_Generic_setModulationMode().
| #define LRF_INTERFACE_GENERIC_PRBS_INIT (0x00005555U) |
Referenced by LRF_Interface_Generic_setModulationMode().
| #define LRF_INTERFACE_GENERIC_PRBS_SYNC (0xAB05FA1CU) |
Referenced by RCL_Handler_Generic_TxTest().
| #define LRF_INTERFACE_GENERIC_MODULATION_RESTORE_NONE (0x0000U) |
| #define LRF_INTERFACE_GENERIC_MODULATION_RESTORE_MODCTRL (0x0001U) |
| #define LRF_INTERFACE_GENERIC_MODULATION_RESTORE_WHITEN_INIT (0x0002U) |
| #define LRF_INTERFACE_GENERIC_MODULATION_RESTORE_WHITEN_POLY (0x0004U) |
| void LRF_Interface_Generic_configOpNesbPrx | ( | uint16_t | lrfOpCfg, |
| uint8_t | addrLen, | ||
| const RCL_ConfigAddress * | syncWordCfg | ||
| ) |
Referenced by RCL_Handler_Nesb_Prx().
| void LRF_Interface_Generic_setModulationMode | ( | uint32_t | sendCw, |
| uint32_t | whitenMode, | ||
| LRF_ModulationCtrl * | modulationCtrl | ||
| ) |
References LRF_INTERFACE_GENERIC_MODULATION_RESTORE_MODCTRL, LRF_INTERFACE_GENERIC_MODULATION_RESTORE_WHITEN_INIT, LRF_INTERFACE_GENERIC_MODULATION_RESTORE_WHITEN_POLY, LRF_INTERFACE_GENERIC_PRBS15_POLY, LRF_INTERFACE_GENERIC_PRBS32_POLY, LRF_INTERFACE_GENERIC_PRBS_INIT, RCL_CMD_GENERIC_WH_MODE_NONE, and RCL_CMD_GENERIC_WH_MODE_PRBS15.
Referenced by RCL_Handler_Generic_TxTest().
| void LRF_Interface_Generic_disableSyncSearch | ( | bool | disableSyncWordA, |
| bool | disableSyncWordB, | ||
| LRF_SyncSearchCtrl * | syncSearchCtrl | ||
| ) |
Referenced by RCL_Handler_Generic_Rx(), and RCL_Handler_Nesb_Prx().
| void LRF_Interface_Generic_updateSyncWordCfg | ( | RCL_ConfigAddress * | syncWordCfg | ) |
Referenced by RCL_Handler_Nesb_Prx().
|
inlinestatic |
References LRF_Interface_sendOp().
Referenced by RCL_Handler_Generic_Fs().
|
inlinestatic |
References LRF_Interface_sendOp().
Referenced by RCL_Handler_Generic_Tx(), RCL_Handler_Generic_TxRepeat(), RCL_Handler_Generic_TxTest(), and RCL_Handler_Nesb_Ptx().
|
inlinestatic |
References LRF_Interface_sendOp().
Referenced by RCL_Handler_Generic_Rx(), and RCL_Handler_Nesb_Prx().
|
inlinestatic |
References LRF_Interface_sendOp().
Referenced by RCL_Handler_Generic_FsOff(), and RCL_Handler_Generic_TxRepeat().
|
inlinestatic |
References LRF_Interface_sendOp().
Referenced by RCL_Handler_Generic_Rx(), RCL_Handler_Nesb_Prx(), and RCL_Handler_Nesb_Ptx().
|
inlinestatic |
References LRF_Interface_sendOp().
|
inlinestatic |
Referenced by RCL_Handler_Generic_TxRepeat().
|
inlinestatic |
Referenced by RCL_Handler_Generic_updateRxStats(), and RCL_Handler_Nesb_updateStats().
|
inlinestatic |
Referenced by RCL_Handler_Generic_initRxStats(), and RCL_Handler_Nesb_initStats().
|
inlinestatic |
Referenced by RCL_Handler_Generic_updateRxStats(), and RCL_Handler_Nesb_updateStats().
|
inlinestatic |
Referenced by RCL_Handler_Generic_updateLongStats(), and RCL_Handler_Nesb_updateLongStats().
|
inlinestatic |
Referenced by RCL_Handler_Generic_initRxStats(), and RCL_Handler_Nesb_initStats().
|
inlinestatic |
Referenced by RCL_Handler_Generic_updateLongStats(), and RCL_Handler_Nesb_updateLongStats().
|
inlinestatic |
Referenced by RCL_Handler_Generic_initRxStats(), and RCL_Handler_Nesb_initStats().
|
inlinestatic |
Referenced by RCL_Handler_Nesb_updateLongStats().
|
inlinestatic |
Referenced by RCL_Handler_Nesb_initStats().
|
inlinestatic |
Referenced by RCL_Handler_Nesb_updateLongStats().
|
inlinestatic |
Referenced by RCL_Handler_Nesb_initStats().
|
inlinestatic |
Referenced by RCL_Handler_Nesb_updateLongStats().
|
inlinestatic |
Referenced by RCL_Handler_Nesb_initStats().
|
inlinestatic |
Referenced by RCL_Handler_Nesb_Ptx().
|
inlinestatic |
Referenced by RCL_Handler_Generic_Rx(), RCL_Handler_Nesb_Prx(), and RCL_Handler_Nesb_Ptx().
|
inlinestatic |
Referenced by RCL_Handler_Generic_Fs().
|
inlinestatic |
Referenced by RCL_Handler_Generic_FsOff().
|
inlinestatic |
|
inlinestatic |
Referenced by RCL_Handler_Generic_Tx().
|
inlinestatic |
Referenced by RCL_Handler_Generic_TxRepeat().
|
inlinestatic |
Referenced by RCL_Handler_Generic_TxTest().
|
inlinestatic |
Referenced by RCL_Handler_Generic_Rx().
|
inlinestatic |
Referenced by RCL_Handler_Nesb_Ptx().
|
inlinestatic |
Referenced by RCL_Handler_Nesb_Prx().
|
inlinestatic |
Referenced by RCL_Handler_Generic_TxRepeat(), and RCL_Handler_Nesb_Ptx().
|
inlinestatic |
Referenced by LRF_Interface_Generic_programSyncWordA(), and LRF_Interface_Generic_programSyncWordB().
|
inlinestatic |
|
inlinestatic |
References LRF_Interface_Generic_updateSyncWord(), and LRF_Interface_programSyncWordB().
Referenced by RCL_Handler_Generic_Rx(), RCL_Handler_Nesb_Prx(), and RCL_Handler_Nesb_Ptx().
|
inlinestatic |
References LRF_EventRxBufFull, and LRF_EventRxIgnored.
Referenced by RCL_Handler_Generic_Rx(), RCL_Handler_Nesb_Prx(), and RCL_Handler_Nesb_Ptx().
|
inlinestatic |
Referenced by RCL_Handler_Generic_Rx(), and RCL_Handler_Nesb_Prx().
|
inlinestatic |