|
Radio Control Layer (RCL)
|
#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 |
| #define | LRF_DEFAULT_DCDC_IPEAK_SETTING 0 |
| #define | NUM_CLK_DEP 2 |
| #define | CLK_DEP_POWER 0 |
| #define | CLK_DEP_RCL 1 |
Enumerations | |
| enum | { SYSTIM_CH2_SETUP = 1, SYSTIM_CH2_START = 2, SYSTIM_CH2_STOP = 3 } |
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 |
| static uint16_t | clockDependencySets [NUM_CLK_DEP] |
| #define RCL_DEFAULT_HFTRACKCTL_RATIO 0x00400000U |
Referenced by hal_get_hfxt_ratio(), and hal_get_hfxt_ratio_default().
| #define LRF_DEFAULT_DCDC_IPEAK_SETTING 0 |
Referenced by hal_set_dcdc_ipeak_setting().
| #define NUM_CLK_DEP 2 |
Referenced by hal_apply_clock_dependency(), hal_clear_clock_enable(), and hal_set_clock_enable().
| #define CLK_DEP_POWER 0 |
Referenced by hal_clear_app_clock_enable(), and hal_set_app_clock_enable().
| #define CLK_DEP_RCL 1 |
Referenced by hal_clear_rcl_clock_enable(), and hal_set_rcl_clock_enable().
|
static |
References halSchedFsmCb.
Referenced by hal_init_fsm().
|
static |
References halDispatchFsmCb.
Referenced by hal_init_fsm().
|
static |
References halCommandFsmCb.
Referenced by hal_init_fsm().
| uint32_t hal_get_command_ifg_reg | ( | void | ) |
| uint32_t hal_get_dispatch_ifg_reg | ( | void | ) |
| void hal_init_fsm | ( | void(*)(void) | dispatchFsmCb, |
| void(*)(void) | schedFsmCb, | ||
| void(*)(void) | commandFsmCb | ||
| ) |
References commandHwi, dispatchHwi, halCommandFsmCb, halDispatchFsmCb, halSchedFsmCb, RF_commandHwi(), RF_dispatchHwi(), RF_schedHwi(), and schedHwi.
| 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 | ) |
References channel2usage, and SYSTIM_CH2_SETUP.
| void hal_setup_start_time | ( | uint32_t | startTime | ) |
References channel2usage, and SYSTIM_CH2_START.
| void hal_setup_hard_stop_time | ( | uint32_t | stopTime | ) |
References channel2usage, and SYSTIM_CH2_STOP.
| void hal_enable_hard_stop_time_irq | ( | void | ) |
| void hal_disable_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 | ) |
References hal_cancel_lrfd_systim0().
| void hal_cancel_start_time | ( | void | ) |
References hal_cancel_lrfd_systim0().
| void hal_cancel_hard_stop_time | ( | void | ) |
References hal_cancel_lrfd_systim0().
| void hal_cancel_graceful_stop_time | ( | 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_disable_command_radio_interrupt | ( | uint32_t | mask | ) |
| void hal_clear_command_radio_interrupt | ( | uint32_t | mask | ) |
| void hal_disable_all_command_radio_interrupts | ( | void | ) |
| void hal_disable_all_dispatch_radio_interrupts | ( | void | ) |
|
static |
References NUM_CLK_DEP.
Referenced by hal_clear_clock_enable(), and hal_set_clock_enable().
|
static |
References hal_apply_clock_dependency(), and NUM_CLK_DEP.
Referenced by hal_set_app_clock_enable(), and hal_set_rcl_clock_enable().
|
static |
References hal_apply_clock_dependency(), and NUM_CLK_DEP.
Referenced by hal_clear_app_clock_enable(), and hal_clear_rcl_clock_enable().
| void hal_set_rcl_clock_enable | ( | uint16_t | mask | ) |
References CLK_DEP_RCL, and hal_set_clock_enable().
| void hal_clear_rcl_clock_enable | ( | uint16_t | mask | ) |
References CLK_DEP_RCL, and hal_clear_clock_enable().
| uint8_t hal_set_dcdc_ipeak_setting | ( | uint8_t | setting | ) |
References LRF_DEFAULT_DCDC_IPEAK_SETTING.
| void hal_set_app_clock_enable | ( | uint16_t | mask | ) |
References CLK_DEP_POWER, and hal_set_clock_enable().
| void hal_clear_app_clock_enable | ( | uint16_t | mask | ) |
References CLK_DEP_POWER, and hal_clear_clock_enable().
| void hal_enable_clk_buffer | ( | void | ) |
| void hal_power_set_standby_constraint | ( | void | ) |
| void hal_power_release_standby_constraint | ( | void | ) |
| void hal_power_set_swtcxo_update_constraint | ( | void | ) |
| void hal_power_release_swtcxo_update_constraint | ( | void | ) |
| void hal_power_open | ( | void(*)(RCL_PowerEvent) | f | ) |
References hal_power_post_notify_fxn(), powerAwakeStandbyObj, and powerEnterStandbyObj.
| void hal_power_close | ( | void | ) |
References powerAwakeStandbyObj, and powerEnterStandbyObj.
| void hal_temperature_init | ( | void | ) |
| __attribute__ | ( | (weak) | ) |
References hal_get_vdds_voltage().
| uint32_t hal_get_hfxt_ratio | ( | void | ) |
References RCL_DEFAULT_HFTRACKCTL_RATIO.
| uint32_t hal_get_hfxt_ratio_default | ( | void | ) |
References RCL_DEFAULT_HFTRACKCTL_RATIO.
| void hal_set_temperature_notification | ( | int16_t | currentTemperature, |
| uint16_t | temperatureRange, | ||
| void(*)(int16_t) | rclTemperatureNotify | ||
| ) |
References hal_temperature_post_notify_fxn(), and temperatureChangeNotifyObj.
| void hal_stop_temperature_notification | ( | void | ) |
References temperatureChangeNotifyObj.
|
static |
Referenced by hal_init_fsm().
| void(* halSchedFsmCb) (void) = NULL |
Referenced by hal_init_fsm(), and RF_schedHwi().
|
static |
Referenced by hal_init_fsm().
| void(* halDispatchFsmCb) (void) = NULL |
Referenced by hal_init_fsm(), and RF_dispatchHwi().
|
static |
Referenced by hal_init_fsm().
| void(* halCommandFsmCb) (void) = NULL |
Referenced by hal_init_fsm(), and RF_commandHwi().
| enum { ... } channel2usage |
|
static |