CC26xx Driver Library
rfc.c File Reference
#include <driverlib/rfc.h>
#include <string.h>

Go to the source code of this file.

Macros

#define RFC_RESERVED0   0x40044108
 
#define RFC_RESERVED1   0x40044114
 
#define RFC_RESERVED2   0x4004410C
 
#define RFC_RESERVED3   0x40044100
 
#define CONFIG_MISC_ADC_DIVIDER   27
 
#define CONFIG_MISC_ADC_DIVIDER_BM   0xF8000000U
 
#define _CPERAM_START   0x21000000
 
#define _PARSER_PATCH_TAB_OFFSET   0x0334
 
#define _PATCH_TAB_OFFSET   0x033C
 
#define _IRQPATCH_OFFSET   0x03AC
 
#define _PATCH_VEC_OFFSET   0x0404
 

Functions

uint32_t RFCCpeIntGetAndClear (void)
 Get and clear CPE interrupt flags. More...
 
uint32_t RFCDoorbellSendTo (uint32_t pOp)
 Send command to doorbell and wait for ack. More...
 
void RFCSynthPowerDown ()
 Turn off synth, NOTE: Radio will no longer respond to commands! More...
 
void RFCRfTrimRead (rfc_radioOp_t *pOpSetup, rfTrim_t *pRfTrim)
 Read RF trim from flash using CM3. More...
 
void RFCRTrim (rfc_radioOp_t *pOpSetup)
 Check Override RTrim vs FCFG RTrim. More...
 
void RFCRfTrimSet (rfTrim_t *pRfTrim)
 Write preloaded RF trim values to CM0. 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...
 

Variables

static const uint16_t rfc_defaultIrqAddr []
 

Macro Definition Documentation

#define _CPERAM_START   0x21000000

Definition at line 76 of file rfc.c.

Referenced by RFCCPEPatchReset().

#define _IRQPATCH_OFFSET   0x03AC

Definition at line 79 of file rfc.c.

Referenced by RFCCPEPatchReset().

#define _PARSER_PATCH_TAB_OFFSET   0x0334

Definition at line 77 of file rfc.c.

Referenced by RFCCPEPatchReset().

#define _PATCH_TAB_OFFSET   0x033C

Definition at line 78 of file rfc.c.

#define _PATCH_VEC_OFFSET   0x0404

Definition at line 80 of file rfc.c.

#define CONFIG_MISC_ADC_DIVIDER   27

Definition at line 73 of file rfc.c.

Referenced by RFCRfTrimRead().

#define CONFIG_MISC_ADC_DIVIDER_BM   0xF8000000U

Definition at line 74 of file rfc.c.

Referenced by RFCRfTrimRead().

#define RFC_RESERVED0   0x40044108

Definition at line 67 of file rfc.c.

Referenced by RFCSynthPowerDown().

#define RFC_RESERVED1   0x40044114

Definition at line 68 of file rfc.c.

Referenced by RFCSynthPowerDown().

#define RFC_RESERVED2   0x4004410C

Definition at line 69 of file rfc.c.

Referenced by RFCSynthPowerDown().

#define RFC_RESERVED3   0x40044100

Definition at line 70 of file rfc.c.

Referenced by RFCSynthPowerDown().

Variable Documentation

const uint16_t rfc_defaultIrqAddr[]
static
Initial value:
=
{
0x398b,
0x3805,
0x3825,
0x3839,
0x0acf,
0x3857,
0x38d7,
0x09dd,
0x5819,
0x0ab3,
0x38f7,
}

Definition at line 82 of file rfc.c.

Referenced by RFCCPEPatchReset().