Radio Control Layer (RCL)
hal_octopus.c File Reference
#include <ti/drivers/dpl/HwiP.h>
#include <ti/devices/DeviceFamily.h>
#include <ti/drivers/rcl/hal/hal.h>
#include <ti/log/Log.h>
+ Include dependency graph for hal_octopus.c:

Macros

#define RCL_DEFAULT_HFTRACKCTL_RATIO   0x00400000U
 

Enumerations

enum  { SYSTIM_CH2_SETUP = 1, SYSTIM_CH2_START = 2, SYSTIM_CH2_STOP = 3 }
 

Functions

static void RF_schedHwi (uintptr_t a)
 
static void RF_dispatchHwi (uintptr_t a)
 
static void RF_commandHwi (uintptr_t a)
 
uint32_t hal_get_ifg_reg (void)
 
void hal_init_fsm (void(*dispatchFsmCb)(void), void(*schedFsmCb)(void), void(*commandFsmCb)(void))
 
void hal_trigger_command_fsm (void)
 
void hal_trigger_dispatch_fsm (void)
 
void hal_trigger_scheduler_fsm (void)
 
uint32_t hal_get_current_time (void)
 
void hal_enable_setup_time_irq (void)
 
void hal_setup_setup_time (uint32_t startTime)
 
void hal_setup_start_time (uint32_t startTime)
 
void hal_setup_hard_stop_time (uint32_t stopTime)
 
void hal_enable_hard_stop_time_irq (void)
 
void hal_setup_graceful_stop_time (uint32_t stopTime)
 
void hal_enable_graceful_stop_time_irq (void)
 
void hal_cancel_setup_time (void)
 
void hal_cancel_start_time (void)
 
void hal_cancel_hard_stop_time (void)
 
void hal_cancel_graceful_stop_time (void)
 
void hal_setup_sync_found_cap (void)
 
HalTimerEvent hal_check_clear_timer_compare (void)
 
void hal_disable_radio_interrupts (void)
 
void hal_set_clkctl (uint32_t clkctl)
 
void hal_enable_clk_buffer (void)
 
void hal_power_set_constraint (void)
 
void hal_power_release_constraint (void)
 
void hal_power_open (void(*f)(RCL_PowerEvent))
 
void hal_power_close (void)
 
void hal_set_systim_imask (void)
 
 __attribute__ ((weak))
 
uint32_t hal_get_hfxt_ratio (void)
 
uint32_t hal_get_hfxt_ratio_default (void)
 

Variables

static HwiP_Struct schedHwi
 
void(* halSchedFsmCb )(void) = NULL
 
static HwiP_Struct dispatchHwi
 
void(* halDispatchFsmCb )(void) = NULL
 
static HwiP_Struct commandHwi
 
void(* halCommandFsmCb )(void) = NULL
 
enum { ... }  channel2usage = SYSTIM_CH2_SETUP
 

Macro Definition Documentation

◆ RCL_DEFAULT_HFTRACKCTL_RATIO

#define RCL_DEFAULT_HFTRACKCTL_RATIO   0x00400000U

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SYSTIM_CH2_SETUP 
SYSTIM_CH2_START 
SYSTIM_CH2_STOP 

Function Documentation

◆ RF_schedHwi()

static void RF_schedHwi ( uintptr_t  a)
static

References halSchedFsmCb.

Referenced by hal_init_fsm().

◆ RF_dispatchHwi()

static void RF_dispatchHwi ( uintptr_t  a)
static

References halDispatchFsmCb.

Referenced by hal_init_fsm().

◆ RF_commandHwi()

static void RF_commandHwi ( uintptr_t  a)
static

References halCommandFsmCb.

Referenced by hal_init_fsm().

◆ hal_get_ifg_reg()

uint32_t hal_get_ifg_reg ( void  )

◆ hal_init_fsm()

void hal_init_fsm ( void(*)(void)  dispatchFsmCb,
void(*)(void)  schedFsmCb,
void(*)(void)  commandFsmCb 
)

Referenced by RCL_init().

◆ hal_trigger_command_fsm()

void hal_trigger_command_fsm ( void  )

Referenced by RCL_Scheduler_postEvent().

◆ hal_trigger_dispatch_fsm()

void hal_trigger_dispatch_fsm ( void  )

Referenced by rclCommandHwi().

◆ hal_trigger_scheduler_fsm()

void hal_trigger_scheduler_fsm ( void  )

◆ hal_get_current_time()

uint32_t hal_get_current_time ( void  )

◆ hal_enable_setup_time_irq()

void hal_enable_setup_time_irq ( void  )

Referenced by rclPowerNotify().

◆ hal_setup_setup_time()

void hal_setup_setup_time ( uint32_t  startTime)

◆ hal_setup_start_time()

void hal_setup_start_time ( uint32_t  startTime)

◆ hal_setup_hard_stop_time()

void hal_setup_hard_stop_time ( uint32_t  stopTime)

◆ hal_enable_hard_stop_time_irq()

void hal_enable_hard_stop_time_irq ( void  )

◆ hal_setup_graceful_stop_time()

void hal_setup_graceful_stop_time ( uint32_t  stopTime)

◆ hal_enable_graceful_stop_time_irq()

void hal_enable_graceful_stop_time_irq ( void  )

◆ hal_cancel_setup_time()

void hal_cancel_setup_time ( void  )

◆ hal_cancel_start_time()

void hal_cancel_start_time ( void  )

Referenced by rclCommandHwi().

◆ hal_cancel_hard_stop_time()

void hal_cancel_hard_stop_time ( void  )

◆ hal_cancel_graceful_stop_time()

void hal_cancel_graceful_stop_time ( void  )

◆ hal_setup_sync_found_cap()

◆ hal_check_clear_timer_compare()

HalTimerEvent hal_check_clear_timer_compare ( void  )

◆ hal_disable_radio_interrupts()

void hal_disable_radio_interrupts ( void  )

◆ hal_set_clkctl()

void hal_set_clkctl ( uint32_t  clkctl)

Referenced by LRF_applyNewClockEnable().

◆ hal_enable_clk_buffer()

void hal_enable_clk_buffer ( void  )

Referenced by RCL_open().

◆ hal_power_set_constraint()

◆ hal_power_release_constraint()

void hal_power_release_constraint ( void  )

◆ hal_power_open()

void hal_power_open ( void(*)(RCL_PowerEvent f)

Referenced by RCL_open().

◆ hal_power_close()

void hal_power_close ( void  )

Referenced by RCL_close().

◆ hal_set_systim_imask()

void hal_set_systim_imask ( void  )

Referenced by rclSchedulerHwi().

◆ __attribute__()

void __attribute__ ( (weak)  )

◆ hal_get_hfxt_ratio()

uint32_t hal_get_hfxt_ratio ( void  )

◆ hal_get_hfxt_ratio_default()

uint32_t hal_get_hfxt_ratio_default ( void  )

Variable Documentation

◆ schedHwi

HwiP_Struct schedHwi
static

Referenced by hal_init_fsm().

◆ halSchedFsmCb

void(* halSchedFsmCb) (void) = NULL

Referenced by hal_init_fsm(), and RF_schedHwi().

◆ dispatchHwi

HwiP_Struct dispatchHwi
static

Referenced by hal_init_fsm().

◆ halDispatchFsmCb

void(* halDispatchFsmCb) (void) = NULL

Referenced by hal_init_fsm(), and RF_dispatchHwi().

◆ commandHwi

HwiP_Struct commandHwi
static

Referenced by hal_init_fsm().

◆ halCommandFsmCb

void(* halCommandFsmCb) (void) = NULL

Referenced by hal_init_fsm(), and RF_commandHwi().

◆ channel2usage