VSF Documented
|
#include "hal/vsf_hal_cfg.h"
#include "./device.h"
#include "hal/driver/common/swi/vsf_swi_template.h"
#include "hpm_common.h"
#include "hpm_soc.h"
#include "hpm_l1c_drv.h"
#include "hpm_clock_drv.h"
#include "hpm_sysctl_drv.h"
#include "hpm_mchtmr_drv.h"
Functions | |
void | vsf_systimer_prio_set (vsf_arch_prio_t priority) |
vsf_err_t | vsf_systimer_low_level_init (void) |
initialise systimer (current value set to 0) without enable it | |
void | vsf_systimer_low_level_enable (void) |
only enable systimer without clearing any flags | |
vsf_systimer_tick_t | vsf_systimer_low_level_get_current (void) |
get current value of timer | |
void | vsf_systimer_low_level_set_match (vsf_systimer_tick_t match) |
set match value, will be triggered when current >= match, vsf_systimer_match_evthandler will be called if triggered. | |
unsigned int | __hpm_systimer_get_frequency (void) |
vsf_arch_prio_t | vsf_set_base_priority (vsf_arch_prio_t priority) |
void | reset_handler (void) |
bool | vsf_driver_init (void) |
common hal drivers | |
void vsf_systimer_prio_set | ( | vsf_arch_prio_t | priority | ) |
vsf_err_t vsf_systimer_low_level_init | ( | void | ) |
initialise systimer (current value set to 0) without enable it
void vsf_systimer_low_level_enable | ( | void | ) |
only enable systimer without clearing any flags
vsf_systimer_tick_t vsf_systimer_low_level_get_current | ( | void | ) |
get current value of timer
void vsf_systimer_low_level_set_match | ( | vsf_systimer_tick_t | match | ) |
set match value, will be triggered when current >= match, vsf_systimer_match_evthandler will be called if triggered.
unsigned int __hpm_systimer_get_frequency | ( | void | ) |
vsf_arch_prio_t vsf_set_base_priority | ( | vsf_arch_prio_t | priority | ) |
void reset_handler | ( | void | ) |
bool vsf_driver_init | ( | void | ) |
common hal drivers
none |
true | initialization succeeded. |
false | initialization failed |
initialise interrupt controller;