42#define vsf_systick_cfg(...) \
44 systick_cfg_t cfg = {__VA_ARGS__}; \
45 vsf_systick_init(&cfg); \
55 DISABLE_SYSTICK = 0x00,
57 ENABLE_SYSTICK = 0x01,
60 DISABLE_SYSTICK_INTERRUPT = 0x00,
62 ENABLE_SYSTICK_INTERRUPT = 0x02,
65 SYSTICK_SOURCE_REFERCLK = 0x00,
67 SYSTICK_SOURCE_SYSCLK = 0x04,
68} em_systick_cfg_mode_t;
74 uint8_t mode; //!< config ward
75 uint32_t reload_value; //!< Match value
96extern const systick_t SYSTICK;
def_interface(i_adc_t) i_peripheral_t
vsf_err_t(* Init)(vsf_adc_cfg_t *pCfg)
Definition adc_interface.h:38
end_def_interface(i_pm_wakeup_t) struct vsf_pm_pclk_cfg_t
Definition device.h:249
Definition systick_internal.h:56
Definition i_io_systick.h:213
void(* Enable)(void)
enable
Definition systick.h:86
void(* Reset)(void)
reset the counter
Definition systick.h:90
bool(* IsMatch)(void)
check whether a overflow happened
Definition systick.h:88
systick_reg_t *const RegPage
register page
Definition systick.h:91
u32_property_t Counter
get or set the counter
Definition systick.h:89
bool(* Disable)(void)
disable
Definition systick.h:87
declare_interface(i_msg_tree_node_t) def_interface(i_msg_tree_node_t) vsf_msgt_handler_t msg_handler