CC13xx 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   0x0338
 
#define _PATCH_TAB_OFFSET   0x0340
 
#define _IRQPATCH_OFFSET   0x03BC
 
#define _PATCH_VEC_OFFSET   0x041C
 

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   0x03BC

Definition at line 79 of file rfc.c.

Referenced by RFCCPEPatchReset().

#define _PARSER_PATCH_TAB_OFFSET   0x0338

Definition at line 77 of file rfc.c.

Referenced by RFCCPEPatchReset().

#define _PATCH_TAB_OFFSET   0x0340

Definition at line 78 of file rfc.c.

#define _PATCH_VEC_OFFSET   0x041C

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:
=
{
0x3bc3,
0x3a3d,
0x3a5d,
0x3a71,
0x0aa1,
0x3a8f,
0x3b0f,
0x09b3,
0x5e49,
0x0a85,
0x3b2f,
0x3b85,
}

Definition at line 82 of file rfc.c.

Referenced by RFCCPEPatchReset().