|
Radio Control Layer (RCL)
|
#include <stdint.h>#include <stdbool.h>#include <ti/drivers/rcl/LRF.h>#include <ti/drivers/dpl/HwiP.h>#include <ti/devices/DeviceFamily.h>
Include dependency graph for LRFLPF3_FIFO.c:Functions | |
| static void | LRF_writeFifoPtr (uint32_t value, uintptr_t regAddr) |
| static void | LRF_writeFifoPtrs (uint32_t value, uintptr_t regAddr0, uintptr_t regAddr1) |
| uint32_t | LRF_getTxFifoWritable (void) |
| uint32_t | LRF_prepareTxFifo (void) |
| uint32_t | LRF_peekRxFifo (int32_t offset) |
| uint32_t | LRF_peekTxFifo (int32_t offset) |
| uint8_t * | LRF_getTxFifoWrAddr (int32_t offset) |
| void | LRF_skipTxFifoWords (uint32_t wordLength) |
| void | LRF_discardRxFifoWords (uint32_t wordLength) |
| void | LRF_readRxFifoWords (uint32_t *data32, uint32_t wordLength) |
| void | LRF_writeTxFifoWords (const uint32_t *data32, uint32_t wordLength) |
| void | LRF_setRxFifoEffSz (uint32_t maxSz) |
| void | LRF_peekRxFifoWords (uint32_t *data32, uint32_t wordLength, uint32_t startRp) |
| uint32_t | LRF_getUncommittedFifoStatus (uint32_t *currentRp) |
| uint32_t | LRF_prepareRxFifo (void) |
| void | LRF_retryTxFifo (void) |
| bool | LRF_hasRxWordToRead (void) |
Variables | |
| static bool | rxFifoDeallocated = true |
|
static |
Referenced by LRF_readRxFifoWords(), LRF_setRxFifoEffSz(), LRF_skipTxFifoWords(), and LRF_writeTxFifoWords().
|
static |
Referenced by LRF_discardRxFifoWords().
| uint32_t LRF_getTxFifoWritable | ( | void | ) |
| uint32_t LRF_prepareTxFifo | ( | void | ) |
Referenced by LRF_resetSettingsState(), RCL_Handler_BLE5_adv(), RCL_Handler_BLE5_aux_adv(), RCL_Handler_BLE5_conn(), RCL_Handler_BLE5_dtmTx(), RCL_Handler_BLE5_genericTx(), RCL_Handler_BLE5_periodicAdv(), RCL_Handler_BLE5_scan_init(), RCL_Handler_Generic_Tx(), RCL_Handler_Generic_TxRepeat(), RCL_Handler_Ieee_RxTx(), RCL_Handler_Nesb_Prx(), and RCL_Handler_Nesb_Ptx().
| uint32_t LRF_peekRxFifo | ( | int32_t | offset | ) |
Referenced by LRF_resetSettingsState(), RCL_Handler_BLE5_adv(), RCL_Handler_BLE5_aux_adv(), RCL_Handler_BLE5_conn(), RCL_Handler_BLE5_genericRx(), RCL_Handler_BLE5_periodicAdv(), RCL_Handler_BLE5_periodicScan(), RCL_Handler_BLE5_scan_init(), RCL_Handler_Generic_Rx(), RCL_Handler_Ieee_RxTx(), RCL_Handler_Nesb_Prx(), and RCL_Handler_Nesb_Ptx().
| uint32_t LRF_peekTxFifo | ( | int32_t | offset | ) |
Referenced by LRF_resetSettingsState().
| uint8_t* LRF_getTxFifoWrAddr | ( | int32_t | offset | ) |
References TXF_UNWRAPPED_BASE_ADDR.
Referenced by LRF_resetSettingsState(), RCL_Handler_BLE5_getAuxPtrFromTxBuffer(), RCL_Handler_BLE5_scan_init(), and RCL_Handler_BLE5_updateTxBuffers().
| void LRF_skipTxFifoWords | ( | uint32_t | wordLength | ) |
References LRF_writeFifoPtr().
Referenced by LRF_resetSettingsState(), and RCL_Handler_BLE5_updateTxBuffers().
| void LRF_discardRxFifoWords | ( | uint32_t | wordLength | ) |
References LRF_writeFifoPtrs(), and rxFifoDeallocated.
Referenced by LRF_resetSettingsState(), RCL_Handler_BLE5_genericRx(), RCL_Handler_Generic_Rx(), and RCL_Handler_Nesb_Prx().
| void LRF_readRxFifoWords | ( | uint32_t * | data32, |
| uint32_t | wordLength | ||
| ) |
References LRF_writeFifoPtr(), RXF_UNWRAPPED_BASE_ADDR, and rxFifoDeallocated.
Referenced by LRF_resetSettingsState(), RCL_Handler_BLE5_adv(), RCL_Handler_BLE5_aux_adv(), RCL_Handler_BLE5_conn(), RCL_Handler_BLE5_genericRx(), RCL_Handler_BLE5_periodicAdv(), RCL_Handler_BLE5_periodicScan(), RCL_Handler_BLE5_scan_init(), RCL_Handler_Generic_Rx(), RCL_Handler_Ieee_RxTx(), RCL_Handler_Nesb_Prx(), and RCL_Handler_Nesb_Ptx().
| void LRF_writeTxFifoWords | ( | const uint32_t * | data32, |
| uint32_t | wordLength | ||
| ) |
| void LRF_setRxFifoEffSz | ( | uint32_t | maxSz | ) |
References LRF_writeFifoPtr(), and rxFifoDeallocated.
Referenced by LRF_resetSettingsState(), RCL_Handler_BLE5_genericRx(), RCL_Handler_BLE5_updateRxCurBufferAndFifo(), RCL_Handler_Generic_Rx(), RCL_Handler_Generic_updateRxCurBufferAndFifo(), RCL_Handler_Ieee_updateRxCurBufferAndFifo(), and RCL_Handler_Nesb_Prx().
| void LRF_peekRxFifoWords | ( | uint32_t * | data32, |
| uint32_t | wordLength, | ||
| uint32_t | startRp | ||
| ) |
References RXF_UNWRAPPED_BASE_ADDR.
Referenced by LRF_resetSettingsState(), RCL_Buffer_readPartialRxBuffer(), and RCL_IEEE_readPartialFrame().
| uint32_t LRF_getUncommittedFifoStatus | ( | uint32_t * | currentRp | ) |
Referenced by LRF_resetSettingsState(), RCL_Buffer_readPartialRxBuffer(), and RCL_IEEE_readPartialFrame().
| uint32_t LRF_prepareRxFifo | ( | void | ) |
References rxFifoDeallocated.
Referenced by LRF_resetSettingsState(), RCL_Handler_BLE5_adv(), RCL_Handler_BLE5_aux_adv(), RCL_Handler_BLE5_conn(), RCL_Handler_BLE5_genericRx(), RCL_Handler_BLE5_periodicAdv(), RCL_Handler_BLE5_periodicScan(), RCL_Handler_BLE5_scan_init(), RCL_Handler_Generic_Rx(), RCL_Handler_Ieee_RxTx(), RCL_Handler_Nesb_Prx(), and RCL_Handler_Nesb_Ptx().
| void LRF_retryTxFifo | ( | void | ) |
Referenced by LRF_resetSettingsState(), RCL_Handler_Generic_TxRepeat(), and RCL_Handler_Nesb_Ptx().
| bool LRF_hasRxWordToRead | ( | void | ) |
Referenced by LRF_resetSettingsState(), RCL_Handler_Generic_Rx(), RCL_Handler_Nesb_Prx(), and RCL_Handler_Nesb_Ptx().
|
static |
Referenced by LRF_discardRxFifoWords(), LRF_prepareRxFifo(), LRF_readRxFifoWords(), and LRF_setRxFifoEffSz().