VSF Documented
|
#include "hal/vsf_hal_cfg.h"
#include "utilities/vsf_utilities.h"
#include "./i_io_systick.h"
#include "hal/arch/vsf_arch.h"
Macros | |
#define | __SYSTICK_ATOM_CODE vsf_interrupt_safe_simple |
Functions | |
bool | vsf_systick_init (systick_cfg_t *pCfg) |
init SysTick Timer ! | |
uint32_t | vsf_systick_get_count (void) |
get count value ! | |
bool | vsf_systick_set_reload (uint32_t value) |
set reload value ! | |
void | vsf_systick_clear_count (void) |
clear count value ! | |
void | vsf_systick_enable (void) |
enable ! | |
bool | vsf_systick_disable (void) |
enable ! | |
bool | vsf_systick_is_match (void) |
enable ! | |
void | vsf_systick_int_enable (void) |
enable ! | |
void | vsf_systick_int_disable (void) |
enable ! | |
#define __SYSTICK_ATOM_CODE vsf_interrupt_safe_simple |
bool vsf_systick_init | ( | systick_cfg_t * | cfg_ptr | ) |
init SysTick Timer !
void | ! |
true | : succeed ! |
false | failed |
check the input
uint32_t vsf_systick_get_count | ( | void | ) |
get count value !
void | ! |
return | geh time count value |
set reload value !
time | count value ! |
whether | access successful or not |
time | count value ! |
none |
void vsf_systick_clear_count | ( | void | ) |
clear count value !
none | ! |
none |
void vsf_systick_enable | ( | void | ) |
enable !
void | ! |
bool |
void | ! |
none |
bool vsf_systick_disable | ( | void | ) |
enable !
void | ! |
bool |
read to clear COUNTFLAG
bool vsf_systick_is_match | ( | void | ) |
enable !
check compare match event !
void | ! |
bool |
none | ! |
true | compare matched, the flag has been cleared automatically ! |
false | no compare match event |
void vsf_systick_int_enable | ( | void | ) |
enable !
void | ! |
none |
void vsf_systick_int_disable | ( | void | ) |
enable !
void | ! |
bool |