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

Macros

#define RCL_DEFAULT_HFTRACKCTL_RATIO   CKMD_HFTRACKCTL_RATIO_REF48M
 

Enumerations

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

Functions

static int hal_power_post_notify_fxn (unsigned int eventType, uintptr_t eventArg, uintptr_t clientArg)
 
static void hal_cancel_lrfd_systim0 (void)
 
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_command_ifg_reg (void)
 
uint32_t hal_get_dispatch_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 time)
 
void hal_setup_start_time (uint32_t time)
 
void hal_setup_hard_stop_time (uint32_t time)
 
void hal_enable_hard_stop_time_irq (void)
 
void hal_disable_hard_stop_time_irq (void)
 
void hal_setup_graceful_stop_time (uint32_t time)
 
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_enable_clk_buffer (void)
 
void hal_setup_sync_found_cap (void)
 
HalTimerEvent hal_check_clear_timer_compare (void)
 
void hal_init_dispatch_radio_interrupts (uint32_t mask)
 
void hal_enable_command_radio_interrupt (uint32_t mask)
 
void hal_clear_command_radio_interrupt (uint32_t mask)
 
void hal_disable_command_radio_interrupt (uint32_t mask)
 
void hal_disable_all_command_radio_interrupts (void)
 
void hal_disable_all_dispatch_radio_interrupts (void)
 
void hal_set_rcl_clock_enable (uint16_t mask)
 
void hal_clear_rcl_clock_enable (uint16_t mask)
 
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_temperature_init (void)
 
 __attribute__ ((weak))
 
uint32_t hal_get_hfxt_ratio (void)
 
uint32_t hal_get_hfxt_ratio_default (void)
 

Variables

Power_NotifyObj powerAwakeStandbyObj
 
Power_NotifyObj powerEnterStandbyObj
 
static void(* rclPowerNotify )(RCL_PowerEvent) = NULL
 
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   CKMD_HFTRACKCTL_RATIO_REF48M

Enumeration Type Documentation

§ anonymous enum

anonymous enum
Enumerator
SYSTIM_CH2_SETUP 
SYSTIM_CH2_START 
SYSTIM_CH2_STOP 

Function Documentation

§ hal_power_post_notify_fxn()

static int hal_power_post_notify_fxn ( unsigned int  eventType,
uintptr_t  eventArg,
uintptr_t  clientArg 
)
static

§ hal_cancel_lrfd_systim0()

static void hal_cancel_lrfd_systim0 ( void  )
static

§ 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_command_ifg_reg()

uint32_t hal_get_command_ifg_reg ( void  )

§ hal_get_dispatch_ifg_reg()

uint32_t hal_get_dispatch_ifg_reg ( void  )

Referenced by rclDispatchHwi().

§ 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  time)

§ hal_setup_start_time()

void hal_setup_start_time ( uint32_t  time)

§ hal_setup_hard_stop_time()

void hal_setup_hard_stop_time ( uint32_t  time)

§ hal_enable_hard_stop_time_irq()

void hal_enable_hard_stop_time_irq ( void  )

§ hal_disable_hard_stop_time_irq()

void hal_disable_hard_stop_time_irq ( void  )

§ hal_setup_graceful_stop_time()

void hal_setup_graceful_stop_time ( uint32_t  time)

§ 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_enable_clk_buffer()

void hal_enable_clk_buffer ( void  )

Referenced by RCL_open().

§ hal_setup_sync_found_cap()

§ hal_check_clear_timer_compare()

HalTimerEvent hal_check_clear_timer_compare ( void  )

§ hal_init_dispatch_radio_interrupts()

void hal_init_dispatch_radio_interrupts ( uint32_t  mask)

Referenced by rclPowerNotify(), and rclSchedulerHwi().

§ hal_enable_command_radio_interrupt()

void hal_enable_command_radio_interrupt ( uint32_t  mask)

§ hal_clear_command_radio_interrupt()

void hal_clear_command_radio_interrupt ( uint32_t  mask)

Referenced by LRF_clearHwInterrupt().

§ hal_disable_command_radio_interrupt()

void hal_disable_command_radio_interrupt ( uint32_t  mask)

Referenced by LRF_disableHwInterrupt().

§ hal_disable_all_command_radio_interrupts()

void hal_disable_all_command_radio_interrupts ( void  )

§ hal_disable_all_dispatch_radio_interrupts()

void hal_disable_all_dispatch_radio_interrupts ( void  )

Referenced by rclDispatchHwi().

§ hal_set_rcl_clock_enable()

void hal_set_rcl_clock_enable ( uint16_t  mask)

Referenced by LRF_setRclClockEnable().

§ hal_clear_rcl_clock_enable()

void hal_clear_rcl_clock_enable ( uint16_t  mask)

Referenced by LRF_clearRclClockEnable().

§ 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)

§ hal_power_close()

void hal_power_close ( void  )

§ hal_temperature_init()

void hal_temperature_init ( void  )

Referenced by RCL_init().

§ __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

§ powerAwakeStandbyObj

Power_NotifyObj powerAwakeStandbyObj

Referenced by hal_power_close(), and hal_power_open().

§ powerEnterStandbyObj

Power_NotifyObj powerEnterStandbyObj

Referenced by hal_power_close(), and hal_power_open().

§ rclPowerNotify

void(* rclPowerNotify) (RCL_PowerEvent) = NULL
static

§ 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