|
Radio Control Layer (RCL)
|
Include dependency graph for LRF.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | LRF_TOPsmImage |
| union | LRF_ConfigWord |
| struct | LRF_RegConfigList |
| struct | LRF_ApplySettingsState |
| struct | LRF_ConfigWord.region |
| struct | LRF_ConfigWord.sparse |
| struct | LRF_ConfigWord.masked |
| struct | LRF_ConfigWord.segment |
Macros | |
| #define | LRF_TxPower_Use_Min ((LRF_TxPowerTable_Index){.rawValue = -128}) |
| #define | LRF_TxPower_Use_Max ((LRF_TxPowerTable_Index){.rawValue = 125}) |
| #define | LRF_TxPower_Use_Raw ((LRF_TxPowerTable_Index){.rawValue = 126}) |
| #define | LRF_TxPower_None ((LRF_TxPowerTable_Index){.rawValue = 127}) |
| #define | LRF_SETTINGS_BUFFER_UNLIMITED 0x3FFF |
| #define | LRF_RSSI_INVALID (127) |
| #define | LRF_PhyFeatures_Default 0 |
| #define | __ERROR_Address_is_in_an_invalid_range_for_LRF_setup 0x00040000 |
| #define | _ADDRESS_REGION_BIT(_address) |
| #define | LRF_SETTINGS_CLEAR(_startAddress, _numWords) |
| #define | LRF_SETTINGS_16BIT_BLOCK(_startAddress, _numWords) |
| #define | LRF_SETTINGS_16BIT_DUAL_ENTRY(_value0, _value1) (((_value0) & 0xFFFF) | (((_value1) & 0xFFFF) << 16)) |
| #define | LRF_SETTINGS_32BIT_BLOCK(_startAddress, _numWords) |
| #define | LRF_SETTINGS_16BIT_SPARSE_BLOCK(_startAddress, _numWords) |
| #define | LRF_SETTINGS_16BIT_SPARSE_ENTRY(_address, _value) (((((uintptr_t)(_address)) & 0xFFFF) << 16) | ((_value) & 0xFFFF)) |
| #define | LRF_SETTINGS_16BIT_MASKED_BLOCK(_startAddress, _numWords) |
| #define | LRF_SETTINGS_16BIT_MASKED_ENTRY(_mask, _value) ((((_mask) & 0xFFFF) << 16) | ((_value) & 0xFFFF)) |
Enumerations | |
| enum | LRF_RadioState { RadioState_Down = 0, RadioState_ImagesLoaded, RadioState_Configured } |
| enum | LRF_SetupResult { SetupResult_Ok, SetupResult_Ok_Partial, SetupResult_ErrorImageLen, SetupResult_ErrorConfigLen, SetupResult_ErrorElemLen, SetupResult_ErrorElemType, SetupResult_ErrorElemAddrAlign, SetupResult_ErrorParRange, SetupResult_ErrorSwConfig } |
| Setup operation result. More... | |
| enum | LRF_RegionOperation { HW_Region_Clear = 0, HW_Write_16bit = 1, HW_Write_32bit = 2, HW_Write_16bit_sparse = 3, SW_Region_Clear = 4, SW_Write_16bit = 5, SW_Write_32bit = 6, SW_Write_16bit_sparse = 7, Par_Region_Clear = 8, Par_Reference_32bit = 9, Par_Write_32bit = 10, HW_Write_16bit_masked = 11, LRF_RegionOperation_Skip = 254, LRF_RegionOperation_Invalid = 255 } |
| enum | LRF_ApplySettingsBase { LRF_ApplySettings_NoBase = 0, LRF_ApplySettings_IncludeBase = 1 } |
Functions | |
| LRF_SetupResult | LRF_setupRadio (const LRF_Config *lrfConfig, uint16_t phyFeatures, LRF_RadioState lrfState) |
| LRF_SetupResult | LRF_loadImage (const LRF_TOPsmImage *image, uint32_t destinationAddress) |
| static void | LRF_resetSettingsState (LRF_ApplySettingsState *state) |
| void | LRF_initSettingsState (LRF_ApplySettingsState *state, LRF_ApplySettingsBase includeBase, uint16_t phyFeatures) |
| LRF_SetupResult | LRF_applySettings (LRF_ConfigWord *config, LRF_ApplySettingsState *state, int32_t bufferAvailWords) |
| void | LRF_enable (void) |
| void | LRF_disable (void) |
| void | LRF_powerDown (void) |
| void | LRF_sendHardStop (void) |
| void | LRF_sendGracefulStop (void) |
| void | LRF_hardStop (void) |
| void | LRF_waitForTopsmReady (void) |
| uint32_t | LRF_prepareRxFifo (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) |
| void | LRF_programFrequency (uint32_t frequency, bool tx) |
| uint32_t | LRF_enableSynthRefsys (void) |
| void | LRF_disableSynthRefsys (void) |
| void | LRF_setClockEnable (uint16_t mask, uint8_t entryNumber) |
| void | LRF_clearClockEnable (uint16_t mask, uint8_t entryNumber) |
| int8_t | LRF_readRssi (void) |
| void | LRF_setRawTxPower (uint32_t value, uint32_t temperatureCoefficient) |
| LRF_TxPowerTable_Entry | LRF_getRawTxPower (void) |
| bool | LRF_imagesNeedUpdate (const LRF_Config *lrfConfig) |
| LRF_TxPowerTable_Entry | LRF_TxPowerTable_findValue (const LRF_TxPowerTable *table, LRF_TxPowerTable_Index powerLevel) |
| Search for settings corresponding to the highest tx power lower than specified value in the tx power table. More... | |
| void | LRF_rclEnableRadioClocks (void) |
| void | LRF_rclDisableRadioClocks (void) |
| static void | LRF_enableHwInterrupt (uint32_t mask) |
| static void | LRF_disableHwInterrupt (uint32_t mask) |
| static void | LRF_clearHwInterrupt (uint32_t mask) |
Variables | |
| uint32_t | swParamList [] |
| const size_t | swParamListSz |
| union LRF_ConfigWord |
| Data Fields | ||
|---|---|---|
| struct LRF_ConfigWord | region | |
| uint32_t | value32 | |
| uint16_t | value16[2] | |
| struct LRF_ConfigWord | sparse | |
| struct LRF_ConfigWord | masked | |
| struct LRF_ConfigWord | segment | |
| struct LRF_RegConfigList_s |
Collaboration diagram for LRF_RegConfigList:| Data Fields | ||
|---|---|---|
| uint32_t | numEntries | |
| LRF_ConfigWord * | entries[] | |
| struct LRF_ApplySettingsState |
| Data Fields | ||
|---|---|---|
| uint16_t | phyFeatures | |
| LRF_ApplySettingsBase | includeBase | |
| struct LRF_ConfigWord.region |
| struct LRF_ConfigWord.segment |
| #define LRF_TxPower_Use_Min ((LRF_TxPowerTable_Index){.rawValue = -128}) |
Special value given as a TX power to indicate that the lowest available TX power is requested
Referenced by LRF_TxPowerTable_findValue().
| #define LRF_TxPower_Use_Max ((LRF_TxPowerTable_Index){.rawValue = 125}) |
Special value given as a TX power to indicate that the highest available TX power is requested
Referenced by LRF_programTxPower(), and LRF_TxPowerTable_findValue().
| #define LRF_TxPower_Use_Raw ((LRF_TxPowerTable_Index){.rawValue = 126}) |
Special value given as a TX power to indicate that a given raw TX power register setting should be used.
Referenced by LRF_getRawTxPower(), LRF_programTxPower(), LRF_setRawTxPower(), and LRF_TxPowerTable_findValue().
| #define LRF_TxPower_None ((LRF_TxPowerTable_Index){.rawValue = 127}) |
Special value given as a TX power to indicate that a TX power should not be programmed; instead, use the register value written through settings or register write.
Referenced by LRF_programTxPower(), and RCL_IEEE_updateTxPower().
| #define LRF_SETTINGS_BUFFER_UNLIMITED 0x3FFF |
Buffer available limit when no limit exists
Referenced by __attribute__().
| #define LRF_RSSI_INVALID (127) |
RSSI value indicating an invalid RSSI
Referenced by __attribute__(), RCL_BLE5_getRxRssi(), RCL_Handler_BLE5_ChannelAssessment(), RCL_Handler_BLE5_initAdvScanInitStats(), RCL_Handler_BLE5_initConnStats(), RCL_Handler_BLE5_initGenericRxStats(), RCL_Handler_BLE_CS_preprocessCommand(), RCL_Handler_Generic_initRxStats(), RCL_Handler_Ieee_initStats(), RCL_Handler_Ieee_RxTx(), RCL_Handler_Ieee_updateStats(), RCL_Handler_Nesb_initStats(), RCL_IEEE_getRxRssi(), and RCL_readRssi().
| #define LRF_PhyFeatures_Default 0 |
Referenced by RCL_Lite_config().
| #define __ERROR_Address_is_in_an_invalid_range_for_LRF_setup 0x00040000 |
| #define _ADDRESS_REGION_BIT | ( | _address | ) |
| #define LRF_SETTINGS_CLEAR | ( | _startAddress, | |
| _numWords | |||
| ) |
| #define LRF_SETTINGS_16BIT_BLOCK | ( | _startAddress, | |
| _numWords | |||
| ) |
| #define LRF_SETTINGS_16BIT_DUAL_ENTRY | ( | _value0, | |
| _value1 | |||
| ) | (((_value0) & 0xFFFF) | (((_value1) & 0xFFFF) << 16)) |
| #define LRF_SETTINGS_32BIT_BLOCK | ( | _startAddress, | |
| _numWords | |||
| ) |
| #define LRF_SETTINGS_16BIT_SPARSE_BLOCK | ( | _startAddress, | |
| _numWords | |||
| ) |
| #define LRF_SETTINGS_16BIT_SPARSE_ENTRY | ( | _address, | |
| _value | |||
| ) | (((((uintptr_t)(_address)) & 0xFFFF) << 16) | ((_value) & 0xFFFF)) |
| #define LRF_SETTINGS_16BIT_MASKED_BLOCK | ( | _startAddress, | |
| _numWords | |||
| ) |
| #define LRF_SETTINGS_16BIT_MASKED_ENTRY | ( | _mask, | |
| _value | |||
| ) | ((((_mask) & 0xFFFF) << 16) | ((_value) & 0xFFFF)) |
| enum LRF_RadioState |
| enum LRF_SetupResult |
Setup operation result.
| enum LRF_RegionOperation |
| LRF_SetupResult LRF_setupRadio | ( | const LRF_Config * | lrfConfig, |
| uint16_t | phyFeatures, | ||
| LRF_RadioState | lrfState | ||
| ) |
Referenced by RCL_Lite_configSetPhyFeatures(), RCL_Lite_setPhyFeatures(), and rclCommandHwi().
| LRF_SetupResult LRF_loadImage | ( | const LRF_TOPsmImage * | image, |
| uint32_t | destinationAddress | ||
| ) |
References result, SetupResult_ErrorImageLen, SetupResult_Ok, and TOPSM_RAM_SZ.
Referenced by __attribute__().
|
inlinestatic |
References LRF_applySettings(), LRF_clearClockEnable(), LRF_disable(), LRF_disableSynthRefsys(), LRF_discardRxFifoWords(), LRF_enable(), LRF_enableSynthRefsys(), LRF_getRawTxPower(), LRF_getTxFifoWrAddr(), LRF_getUncommittedFifoStatus(), LRF_hardStop(), LRF_imagesNeedUpdate(), LRF_initSettingsState(), LRF_peekRxFifo(), LRF_peekRxFifoWords(), LRF_peekTxFifo(), LRF_powerDown(), LRF_prepareRxFifo(), LRF_prepareTxFifo(), LRF_programFrequency(), LRF_rclDisableRadioClocks(), LRF_rclEnableRadioClocks(), LRF_readRssi(), LRF_readRxFifoWords(), LRF_sendGracefulStop(), LRF_sendHardStop(), LRF_setClockEnable(), LRF_setRawTxPower(), LRF_setRxFifoEffSz(), LRF_skipTxFifoWords(), LRF_TxPowerTable_findValue(), LRF_waitForTopsmReady(), and LRF_writeTxFifoWords().
Referenced by LRF_initSettingsState().
| void LRF_initSettingsState | ( | LRF_ApplySettingsState * | state, |
| LRF_ApplySettingsBase | includeBase, | ||
| uint16_t | phyFeatures | ||
| ) |
References LRF_ApplySettingsState::includeBase, LRF_resetSettingsState(), and LRF_ApplySettingsState::phyFeatures.
Referenced by __attribute__(), and LRF_resetSettingsState().
| LRF_SetupResult LRF_applySettings | ( | LRF_ConfigWord * | config, |
| LRF_ApplySettingsState * | state, | ||
| int32_t | bufferAvailWords | ||
| ) |
References HW_Region_Clear, HW_Write_16bit, HW_Write_16bit_masked, HW_Write_16bit_sparse, HW_Write_32bit, LRF_ApplySettingsState::includeBase, LRF_BASE_ADDR, LRF_RegionOperation_Invalid, LRF_RegionOperation_Skip, LRF_ConfigWord::masked, MAX_REG_CONFIG_LEN, Par_Reference_32bit, Par_Region_Clear, Par_Write_32bit, PBE_RAM_BASE_ADDR, LRF_ApplySettingsState::phyFeatures, RCL_Debug_assert, LRF_ConfigWord::region, LRF_ConfigWord::segment, SetupResult_ErrorConfigLen, SetupResult_ErrorElemAddrAlign, SetupResult_ErrorElemLen, SetupResult_ErrorElemType, SetupResult_ErrorParRange, SetupResult_Ok, SetupResult_Ok_Partial, LRF_ConfigWord::sparse, SW_Region_Clear, SW_Write_16bit, SW_Write_16bit_sparse, SW_Write_32bit, swParamList, swParamListSz, LRF_ConfigWord::value16, and LRF_ConfigWord::value32.
Referenced by __attribute__(), and LRF_resetSettingsState().
| void LRF_enable | ( | void | ) |
References hal_set_dcdc_ipeak_setting(), and LRF_DCDC_IPEAK_RF_ACTIVITY.
Referenced by LRF_resetSettingsState(), RCL_Handler_BLE5_adv(), RCL_Handler_BLE5_aux_adv(), RCL_Handler_BLE5_ChannelAssessment(), RCL_Handler_BLE5_conn(), RCL_Handler_BLE5_dtmTx(), RCL_Handler_BLE5_genericRx(), RCL_Handler_BLE5_genericTx(), RCL_Handler_BLE5_periodicAdv(), RCL_Handler_BLE5_periodicScan(), RCL_Handler_BLE5_scan_init(), RCL_Handler_Ble5_txTest(), RCL_Handler_BLE_CS(), RCL_Handler_BLE_CS_Precal(), RCL_Handler_Generic_Fs(), RCL_Handler_Generic_FsOff(), RCL_Handler_Generic_PbeOperation(), RCL_Handler_Generic_Rx(), RCL_Handler_Generic_Tx(), RCL_Handler_Generic_TxRepeat(), RCL_Handler_Generic_TxTest(), RCL_Handler_Ieee_RxTx(), RCL_Handler_Ieee_TxTest(), RCL_Handler_Nesb_Prx(), and RCL_Handler_Nesb_Ptx().
| void LRF_disable | ( | void | ) |
References hal_set_dcdc_ipeak_setting().
Referenced by LRF_resetSettingsState(), RCL_Handler_BLE5_adv(), RCL_Handler_BLE5_aux_adv(), RCL_Handler_BLE5_ChannelAssessment(), RCL_Handler_BLE5_conn(), RCL_Handler_BLE5_dtmTx(), RCL_Handler_BLE5_genericRx(), RCL_Handler_BLE5_genericTx(), RCL_Handler_BLE5_periodicAdv(), RCL_Handler_BLE5_periodicScan(), RCL_Handler_BLE5_scan_init(), RCL_Handler_Ble5_txTest(), RCL_Handler_BLE_CS(), RCL_Handler_BLE_CS_Precal(), RCL_Handler_Generic_Fs(), RCL_Handler_Generic_FsOff(), RCL_Handler_Generic_PbeOperation(), RCL_Handler_Generic_Rx(), RCL_Handler_Generic_Tx(), RCL_Handler_Generic_TxRepeat(), RCL_Handler_Generic_TxTest(), RCL_Handler_Ieee_RxTx(), RCL_Handler_Ieee_TxTest(), RCL_Handler_Nesb_Prx(), and RCL_Handler_Nesb_Ptx().
| void LRF_powerDown | ( | void | ) |
Referenced by LRF_resetSettingsState().
| void LRF_sendHardStop | ( | void | ) |
| void LRF_sendGracefulStop | ( | void | ) |
Referenced by LRF_resetSettingsState(), RCL_Handler_Ieee_RxTx(), RCL_Lite_Command_stop(), and rclStop().
| void LRF_hardStop | ( | void | ) |
Referenced by LRF_resetSettingsState(), RCL_Lite_CommandHwi(), and rclCommandHwi().
| void LRF_waitForTopsmReady | ( | void | ) |
Referenced by LRF_resetSettingsState(), RCL_Handler_BLE5_adv(), RCL_Handler_BLE5_aux_adv(), RCL_Handler_BLE5_ChannelAssessment(), RCL_Handler_BLE5_conn(), RCL_Handler_BLE5_dtmTx(), RCL_Handler_BLE5_genericRx(), RCL_Handler_BLE5_genericTx(), RCL_Handler_BLE5_periodicAdv(), RCL_Handler_BLE5_periodicScan(), RCL_Handler_BLE5_scan_init(), RCL_Handler_Ble5_txTest(), RCL_Handler_BLE_CS(), RCL_Handler_BLE_CS_Precal(), RCL_Handler_Generic_Fs(), RCL_Handler_Generic_FsOff(), RCL_Handler_Generic_PbeOperation(), RCL_Handler_Generic_Rx(), RCL_Handler_Generic_Tx(), RCL_Handler_Generic_TxRepeat(), RCL_Handler_Generic_TxTest(), RCL_Handler_Ieee_RxTx(), RCL_Handler_Ieee_TxTest(), RCL_Handler_Nesb_Prx(), and RCL_Handler_Nesb_Ptx().
| 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_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_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_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_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().
| void LRF_programFrequency | ( | uint32_t | frequency, |
| bool | tx | ||
| ) |
References LRF_findCalM(), LRF_findFoff(), LRF_findPllMBase(), LRF_programCMixN(), LRF_programPQ(), LRF_programShape(), LRF_scaleFreqWithHFXTOffset(), LRF_SwConfig::modFrequencyDeviation, LRF_SwConfig::rxFrequencyOffset, LRF_SwConfig::rxIntFrequency, LRF_SwParam::swConfig, swParamList, LRF_SwConfig::txFrequencyOffset, and LRF_SwConfig::txShape.
Referenced by LRF_resetSettingsState(), LRF_updateTemperatureCompensation(), RCL_Handler_BLE5_adv(), RCL_Handler_BLE5_aux_adv(), RCL_Handler_BLE5_ChannelAssessment(), RCL_Handler_BLE5_conn(), RCL_Handler_BLE5_dtmTx(), RCL_Handler_BLE5_genericRx(), RCL_Handler_BLE5_genericTx(), RCL_Handler_BLE5_periodicAdv(), RCL_Handler_BLE5_periodicScan(), RCL_Handler_BLE5_scan_init(), RCL_Handler_Ble5_txTest(), RCL_Handler_Generic_Fs(), RCL_Handler_Generic_Rx(), RCL_Handler_Generic_Tx(), RCL_Handler_Generic_TxRepeat(), RCL_Handler_Generic_TxTest(), RCL_Handler_Ieee_RxTx(), RCL_Handler_Ieee_TxTest(), RCL_Handler_Nesb_Prx(), and RCL_Handler_Nesb_Ptx().
| uint32_t LRF_enableSynthRefsys | ( | void | ) |
References LRF_REFSYS_ENABLE_TIME, and RCL_Scheduler_getCurrentTime().
Referenced by LRF_resetSettingsState(), RCL_Handler_ADC_Noise_getNoise(), RCL_Handler_BLE5_adv(), RCL_Handler_BLE5_aux_adv(), RCL_Handler_BLE5_ChannelAssessment(), RCL_Handler_BLE5_conn(), RCL_Handler_BLE5_dtmTx(), RCL_Handler_BLE5_genericRx(), RCL_Handler_BLE5_genericTx(), RCL_Handler_BLE5_periodicAdv(), RCL_Handler_BLE5_periodicScan(), RCL_Handler_BLE5_scan_init(), RCL_Handler_Ble5_txTest(), RCL_Handler_BLE_CS(), RCL_Handler_BLE_CS_Precal(), RCL_Handler_Generic_prepareSynth(), RCL_Handler_Ieee_RxTx(), and RCL_Handler_Ieee_TxTest().
| void LRF_disableSynthRefsys | ( | void | ) |
Referenced by LRF_resetSettingsState(), RCL_Handler_ADC_Noise_getNoise(), RCL_Handler_Adc_Noise_powerDown(), RCL_Handler_BLE5_adv(), RCL_Handler_BLE5_aux_adv(), RCL_Handler_BLE5_ChannelAssessment(), RCL_Handler_BLE5_conn(), RCL_Handler_BLE5_dtmTx(), RCL_Handler_BLE5_genericRx(), RCL_Handler_BLE5_genericTx(), RCL_Handler_BLE5_periodicAdv(), RCL_Handler_BLE5_periodicScan(), RCL_Handler_BLE5_scan_init(), RCL_Handler_Ble5_txTest(), RCL_Handler_BLE_CS(), RCL_Handler_BLE_CS_Precal(), RCL_Handler_Generic_setSynthPowerState(), RCL_Handler_Ieee_RxTx(), and RCL_Handler_Ieee_TxTest().
| void LRF_setClockEnable | ( | uint16_t | mask, |
| uint8_t | entryNumber | ||
| ) |
Referenced by LRF_resetSettingsState().
| void LRF_clearClockEnable | ( | uint16_t | mask, |
| uint8_t | entryNumber | ||
| ) |
Referenced by LRF_resetSettingsState().
| int8_t LRF_readRssi | ( | void | ) |
| void LRF_setRawTxPower | ( | uint32_t | value, |
| uint32_t | temperatureCoefficient | ||
| ) |
References LRF_TxPower_Use_Raw, and lrfPhyState.
Referenced by LRF_resetSettingsState(), and RCL_Command_setRawTxPower().
| LRF_TxPowerTable_Entry LRF_getRawTxPower | ( | void | ) |
References LRF_TxPower_Use_Raw, LRF_TxPowerEntry_INVALID_VALUE, and lrfPhyState.
Referenced by LRF_resetSettingsState(), and LRF_TxPowerTable_findValue().
| bool LRF_imagesNeedUpdate | ( | const LRF_Config * | lrfConfig | ) |
References lrfPhyState, LRF_Config::mceImage, LRF_Config::pbeImage, and LRF_Config::rfeImage.
Referenced by LRF_resetSettingsState(), and rclSchedulerHwi().
| LRF_TxPowerTable_Entry LRF_TxPowerTable_findValue | ( | const LRF_TxPowerTable * | table, |
| LRF_TxPowerTable_Index | powerLevel | ||
| ) |
Search for settings corresponding to the highest tx power lower than specified value in the tx power table.
| table | pointer to the tx power table to be searched |
| powerLevel | maximum allowed power level |
References LRF_getRawTxPower(), LRF_TxPower_Use_Max, LRF_TxPower_Use_Min, LRF_TxPower_Use_Raw, LRF_TxPowerEntry_INVALID_VALUE, LRF_TxPowerTable::numEntries, LRF_TxPowerTable_Entry::power, LRF_TxPowerTable::powerTable, and LRF_TxPowerTable_Index::rawValue.
Referenced by LRF_programTxPower(), and LRF_resetSettingsState().
| void LRF_rclEnableRadioClocks | ( | void | ) |
References LRF_setRclClockEnable().
Referenced by LRF_resetSettingsState(), RCL_Lite_configSetPhyFeatures(), and RCL_open().
| void LRF_rclDisableRadioClocks | ( | void | ) |
References LRF_clearRclClockEnable().
Referenced by LRF_resetSettingsState(), and RCL_close().
|
inlinestatic |
References hal_enable_command_radio_interrupt().
Referenced by RCL_Handler_Adc_Noise_powerUp(), RCL_Handler_BLE5_adv(), RCL_Handler_BLE5_aux_adv(), RCL_Handler_BLE5_ChannelAssessment(), RCL_Handler_BLE5_conn(), RCL_Handler_BLE5_dtmTx(), RCL_Handler_BLE5_genericRx(), RCL_Handler_BLE5_genericTx(), RCL_Handler_BLE5_periodicAdv(), RCL_Handler_BLE5_periodicScan(), RCL_Handler_BLE5_scan_init(), RCL_Handler_Ble5_txTest(), RCL_Handler_Generic_Fs(), RCL_Handler_Generic_FsOff(), RCL_Handler_Generic_PbeOperation(), RCL_Handler_Generic_Rx(), RCL_Handler_Generic_Tx(), RCL_Handler_Generic_TxRepeat(), RCL_Handler_Generic_TxTest(), RCL_Handler_Ieee_processRxAction(), RCL_Handler_Ieee_RxTx(), RCL_Handler_Ieee_TxTest(), RCL_Handler_Ieee_updateSrcMatchTableShort(), RCL_Handler_Nesb_Prx(), and RCL_Handler_Nesb_Ptx().
|
inlinestatic |
|
inlinestatic |
References hal_clear_command_radio_interrupt(), swParamList, and swParamListSz.
Referenced by RCL_Handler_Ieee_RxTx().
| uint32_t swParamList[] |
| const size_t swParamListSz |
Referenced by LRF_applySettings(), and LRF_clearHwInterrupt().