CC26xx Driver Library
rfc.h File Reference
#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 "../inc/hw_fcfg1.h"
#include "../inc/hw_adi_3_refsys.h"
#include "../inc/hw_adi.h"

Data Structures

struct  rfTrim_t
 

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...
 
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...