CC13xx Driver Library
RF Core

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

Detailed Description

Function Documentation

static void RFCAckIntClear ( void  )
inlinestatic

Clear interrupt flags.

Definition at line 313 of file rfc.h.

Referenced by RFCDoorbellSendTo().

static void RFCClockDisable ( void  )
inlinestatic

Disable the RF core clocks.

As soon as the RF core is started it will handle clock control autonomously. No check should be performed to check the clocks. Instead the radio can be ping'ed through the command interface.

When disabling clocks it is the programmers responsibility that the RF core clocks can be safely gated. I.e. the RF core should be safely 'parked'.

Returns
None

Definition at line 151 of file rfc.h.

static void RFCClockEnable ( void  )
inlinestatic

Enable the RF core clocks.

As soon as the RF core is started it will handle clock control autonomously. No check should be performed to check the clocks. Instead the radio can be ping'ed through the command interface.

Returns
None

Definition at line 116 of file rfc.h.

static void RFCCpe0IntEnable ( uint32_t  ui32Mask)
inlinestatic

Enable CPE0 interrupt.

Definition at line 165 of file rfc.h.

static void RFCCpe1IntEnable ( uint32_t  ui32Mask)
inlinestatic

Enable CPE1 interrupt.

Definition at line 193 of file rfc.h.

static void RFCCpeIntClear ( uint32_t  ui32Mask)
inlinestatic

Clear interrupt flags.

Definition at line 280 of file rfc.h.

static void RFCCpeIntDisable ( uint32_t  ui32Mask)
inlinestatic

Disable CPE interrupt.

Definition at line 242 of file rfc.h.

uint32_t RFCCpeIntGetAndClear ( void  )

Get and clear CPE interrupt flags.

Definition at line 56 of file rfc.c.

uint32_t RFCDoorbellSendTo ( uint32_t  pOp)

Send command to doorbell and wait for ack.

Definition at line 74 of file rfc.c.

Here is the call graph for this function:

static void RFCHwIntClear ( uint32_t  ui32Mask)
inlinestatic

Clear interrupt flags.

Definition at line 298 of file rfc.h.

static void RFCHwIntDisable ( uint32_t  ui32Mask)
inlinestatic

Disable HW interrupt.

Definition at line 257 of file rfc.h.

static void RFCHwIntEnable ( uint32_t  ui32Mask)
inlinestatic

This function is used to map only HW interrupts, and clears/unmasks them. These interrupts are then enabled.

Definition at line 222 of file rfc.h.

void RFCRfTrimRead ( rfc_radioOp_t pOpSetup,
rfTrim_t rfTrim 
)

Read RF trim from flash using CM3.

Definition at line 116 of file rfc.c.

void RFCRfTrimSet ( rfTrim_t rfTrim)

Write preloaded RF trim values to CM0.

Definition at line 196 of file rfc.c.

void RFCSynthPowerDown ( void  )

Turn off synth, NOTE: Radio will no longer respond to commands!

Definition at line 95 of file rfc.c.