![]() |
![]() |
|
rflib
|
#include <stdbool.h>#include <stdint.h>#include <ti/devices/DeviceFamily.h>#include <ti/devices/cc13x2_26x2/ inc/hw_types.h>#include <ti/devices/cc13x2_26x2/ inc/hw_memmap.h>#include <ti/devices/cc13x2_26x2/ inc/hw_rfc_pwr.h>#include <ti/devices/cc13x2_26x2/ inc/hw_rfc_dbell.h>#include <ti/devices/cc13x2_26x2/ inc/hw_fcfg1.h>#include <ti/devices/cc13x2_26x2/ inc/hw_adi_3_refsys.h>#include <ti/devices/cc13x2_26x2/ inc/hw_adi.h>#include "rf_common_cmd.h"#include "rf_prop_cmd.h"#include "rf_ble_cmd.h"#include <ti/devices/cc13x2_26x2/ driverlib/rom.h>
Go to the source code of this file.
Data Structures | |
| struct | rfTrim_t |
Macros | |
| #define | RFC_MAX_SEARCH_DEPTH 5 |
| #define | RFC_PA_TYPE_ADDRESS 0x21000385 |
| #define | RFC_PA_TYPE_MASK 0x04 |
| #define | RFC_PA_GAIN_ADDRESS 0x21000398 |
| #define | RFC_PA_GAIN_MASK 0x003FFFFF |
| #define | RFC_FE_MODE_ESCAPE_VALUE 0xFF |
| #define | RFC_FE_OVERRIDE_ADDRESS 0x0703 |
| #define | RFC_FE_OVERRIDE_MASK 0x0000FFFF |
| #define | RFCCpeIntGetAndClear NOROM_RFCCpeIntGetAndClear |
| #define | RFCDoorbellSendTo NOROM_RFCDoorbellSendTo |
| #define | RFCSynthPowerDown NOROM_RFCSynthPowerDown |
| #define | RFCCpePatchReset NOROM_RFCCpePatchReset |
| #define | RFCOverrideSearch NOROM_RFCOverrideSearch |
| #define | RFCOverrideUpdate NOROM_RFCOverrideUpdate |
| #define | RFCHwIntGetAndClear NOROM_RFCHwIntGetAndClear |
| #define | RFCAnaDivTxOverride NOROM_RFCAnaDivTxOverride |
Functions | |
| __STATIC_INLINE void | RFCClockEnable (void) |
| Enable the RF core clocks. More... | |
| __STATIC_INLINE void | RFCClockDisable (void) |
| Disable the RF core clocks. More... | |
| __STATIC_INLINE void | RFCCpeIntClear (uint32_t ui32Mask) |
| Clear HW interrupt flags. More... | |
| __STATIC_INLINE void | RFCHwIntClear (uint32_t ui32Mask) |
| Clear CPE interrupt flags. More... | |
| __STATIC_INLINE void | RFCCpe0IntSelect (uint32_t ui32Mask) |
| Select interrupt sources to CPE0 (assign to INT_RFC_CPE_0 interrupt vector). More... | |
| __STATIC_INLINE void | RFCCpe1IntSelect (uint32_t ui32Mask) |
| Select interrupt sources to CPE1 (assign to INT_RFC_CPE_1 interrupt vector). More... | |
| __STATIC_INLINE void | RFCCpeIntEnable (uint32_t ui32Mask) |
| Enable CPEx interrupt sources. More... | |
| __STATIC_INLINE void | RFCCpe0IntSelectClearEnable (uint32_t ui32Mask) |
| Select, clear, and enable interrupt sources to CPE0. More... | |
| __STATIC_INLINE void | RFCCpe1IntSelectClearEnable (uint32_t ui32Mask) |
| Select, clear, and enable interrupt sources to CPE1. More... | |
| __STATIC_INLINE void | RFCHwIntEnable (uint32_t ui32Mask) |
| Enable HW interrupt sources. More... | |
| __STATIC_INLINE void | RFCCpeIntDisable (uint32_t ui32Mask) |
| Disable CPE interrupt sources. More... | |
| __STATIC_INLINE void | RFCHwIntDisable (uint32_t ui32Mask) |
| Disable HW interrupt sources. More... | |
| uint32_t | NOROM_RFCCpeIntGetAndClear (uint32_t ui32Mask) |
| Get and clear CPE interrupt flags. More... | |
| __STATIC_INLINE void | RFCAckIntClear (void) |
| Clear ACK interrupt flag. More... | |
| uint32_t | NOROM_RFCDoorbellSendTo (uint32_t pOp) |
| Send a radio operation to the doorbell and wait for an acknowledgment. More... | |
| void | NOROM_RFCSynthPowerDown (void) |
| This function implements a fast way to turn off the synthesizer. More... | |
| void | NOROM_RFCCpePatchReset (void) |
| Reset previously patched CPE RAM to a state where it can be patched again. More... | |
| uint8_t | NOROM_RFCOverrideSearch (const uint32_t *pOverride, const uint32_t pattern, const uint32_t mask, const uint8_t searchDepth) |
| uint8_t | NOROM_RFCOverrideUpdate (rfc_radioOp_t *pOpSetup, uint32_t *pParams) |
| Function to update override list. More... | |
| uint32_t | NOROM_RFCHwIntGetAndClear (uint32_t ui32Mask) |
| Get and clear HW interrupt flags. More... | |
| __STATIC_INLINE bool | RFCGetPaType (void) |
| Get the type of currently selected PA. More... | |
| __STATIC_INLINE uint32_t | RFCGetPaGain (void) |
| Get the gain of currently selected PA. More... | |
| uint32_t | NOROM_RFCAnaDivTxOverride (uint8_t loDivider, uint8_t frontEndMode) |
| Function to calculate the proper override run-time for the High Gain PA. More... | |