Go to the source code of this file.
◆ em_systick_cfg_mode_t
| Enumerator |
|---|
| DISABLE_SYSTICK | Enable the SysTick.
|
| ENABLE_SYSTICK | Enable the SysTick.
|
| DISABLE_SYSTICK_INTERRUPT | Enable the SysTick interrupt.
|
| ENABLE_SYSTICK_INTERRUPT | Enable the SysTick interrupt.
|
| SYSTICK_SOURCE_REFERCLK | Select the reference clock as SysTick source.
|
| SYSTICK_SOURCE_SYSCLK | Select the system clock as SysTick source.
|
◆ vsf_systick_init()
init SysTick Timer !
- Parameters
-
- Return values
-
| true | : succeed ! |
| false | failed |
check the input
◆ vsf_systick_get_count()
get count value !
- Parameters
-
- Return values
-
| return | geh time count value |
◆ vsf_systick_set_reload()
set reload value !
- Parameters
-
- Return values
-
| whether | access successful or not |
- Parameters
-
- Return values
-
| whether | access successful or not |
- Parameters
-
- Return values
-
◆ vsf_systick_clear_count()
| void vsf_systick_clear_count |
( |
void |
| ) |
|
|
extern |
clear count value !
- Parameters
-
- Return values
-
◆ vsf_systick_enable()
| void vsf_systick_enable |
( |
void |
| ) |
|
|
extern |
enable !
- Parameters
-
- Return values
-
- Parameters
-
- Return values
-
- Parameters
-
- Return values
-
◆ vsf_systick_disable()
| bool vsf_systick_disable |
( |
void |
| ) |
|
|
extern |
enable !
- Parameters
-
- Return values
-
read to clear COUNTFLAG
◆ vsf_systick_int_enable()
| void vsf_systick_int_enable |
( |
void |
| ) |
|
|
extern |
enable !
- Parameters
-
- Return values
-
◆ vsf_systick_int_disable()
| void vsf_systick_int_disable |
( |
void |
| ) |
|
|
extern |
enable !
- Parameters
-
- Return values
-
◆ vsf_systick_is_match()
| bool vsf_systick_is_match |
( |
void |
| ) |
|
|
extern |
enable !
- Parameters
-
- Return values
-
check compare match event !
- Parameters
-
- Return values
-
- Parameters
-
- Return values
-
| true | compare matched, the flag has been cleared automatically ! |
| false | no compare match event |