#include <stdbool.h>#include <stdint.h>#include "../inc/hw_types.h"#include "../inc/hw_memmap.h"#include "../inc/hw_rfc_pwr.h"#include "../inc/hw_rfc_dbell.h"#include "rf_common_cmd.h"#include "rf_prop_cmd.h"#include "rf_ble_cmd.h"#include "../inc/hw_fcfg1.h"#include "../inc/hw_adi_3_refsys.h"#include "../inc/hw_adi.h"Data Structures | |
| struct | rfTrim_t |
Macros | |
| #define | RFC_MAX_SEARCH_DEPTH 5 |
Functions | |
| static void | RFCClockEnable (void) |
| Enable the RF core clocks. More... | |
| static void | RFCClockDisable (void) |
| Disable the RF core clocks. More... | |
| static void | RFCClockSet (uint32_t ui32Mask) |
| Enable some of the RF core clocks. More... | |
| static void | RFCClockClear (uint32_t ui32Mask) |
| Disable some of the RF core clocks. More... | |
| static void | RFCCpe0IntEnable (uint32_t ui32Mask) |
| Enable CPE0 interrupt. More... | |
| static void | RFCCpe1IntEnable (uint32_t ui32Mask) |
| Enable CPE1 interrupt. More... | |
| static void | RFCHwIntEnable (uint32_t ui32Mask) |
| static void | RFCCpeIntDisable (uint32_t ui32Mask) |
| Disable CPE interrupt. More... | |
| static void | RFCHwIntDisable (uint32_t ui32Mask) |
| Disable HW interrupt. More... | |
| uint32_t | RFCCpeIntGetAndClear (void) |
| Get and clear CPE interrupt flags. More... | |
| static void | RFCCpeIntClear (uint32_t ui32Mask) |
| Clear interrupt flags. More... | |
| static void | RFCHwIntClear (uint32_t ui32Mask) |
| Clear interrupt flags. More... | |
| static void | RFCAckIntClear (void) |
| Clear interrupt flags. More... | |
| static uint8_t | RFCOverrideSearch (const uint32_t *pOverride, const uint32_t pattern, const uint32_t mask) |
| Function to search top RFC_MAX_SEARCH_DEPTH (5) overrides. More... | |
| uint32_t | RFCDoorbellSendTo (uint32_t pOp) |
| Send command to doorbell and wait for ack. More... | |
| void | RFCSynthPowerDown (void) |
| Turn off synth, NOTE: Radio will no longer respond to commands! More... | |
| void | RFCRfTrimRead (rfc_radioOp_t *pOpSetup, rfTrim_t *rfTrim) |
| Read RF trim from flash using CM3. More... | |
| void | RFCRfTrimSet (rfTrim_t *rfTrim) |
| Write preloaded RF trim values to CM0. More... | |
| void | RFCRTrim (rfc_radioOp_t *pOpSetup) |
| Check Override RTrim vs FCFG RTrim. More... | |
| void | RFCCPEPatchReset (void) |
| Reset previously patched CPE RAM to a state where it can be patched again. More... | |
| void | RFCAdi3VcoLdoVoltageMode (bool bEnable) |
| Function to set VCOLDO reference to voltage mode. More... | |
| uint8_t | RFCOverrideUpdate (rfc_radioOp_t *pOpSetup, uint32_t *pParams) |
| Function to update override list. More... | |
| uint32_t | RFCHWIntGetAndClear (uint32_t ui32Mask) |
| Get and clear HW interrupt flags. More... | |