VSF Documented
|
#include "hal/driver/driver.h"
Macros | |
#define | VSF_WDT_CFG_FUNCTION_RENAME DISABLED |
Functions | |
vsf_err_t | vsf_wdt_init (vsf_wdt_t *wdt_ptr, vsf_wdt_cfg_t *cfg_ptr) |
initialize a wdt instance. | |
void | vsf_wdt_fini (vsf_wdt_t *wdt_ptr) |
finalize a wdt instance. | |
fsm_rt_t | vsf_wdt_enable (vsf_wdt_t *wdt_ptr) |
enable interrupt masks of wdt instance. | |
fsm_rt_t | vsf_wdt_disable (vsf_wdt_t *wdt_ptr) |
disable interrupt masks of wdt instance. | |
vsf_wdt_capability_t | vsf_wdt_capability (vsf_wdt_t *wdt_ptr) |
get the capability of wdt instance. | |
void | vsf_wdt_feed (vsf_wdt_t *wdt_ptr) |
wdt feed | |
#define VSF_WDT_CFG_FUNCTION_RENAME DISABLED |
vsf_err_t vsf_wdt_init | ( | vsf_wdt_t * | wdt_ptr, |
vsf_wdt_cfg_t * | cfg_ptr | ||
) |
initialize a wdt instance.
[in] | wdt_ptr | a pointer to structure vsf_wdt_t |
[in] | cfg_ptr | a pointer to structure vsf_wdt_cfg_t |
void vsf_wdt_fini | ( | vsf_wdt_t * | wdt_ptr | ) |
enable interrupt masks of wdt instance.
[in] | wdt_ptr | a pointer to structure vsf_wdt_t |
[in] | irq_mask | one or more value of enum vsf_wdt_irq_mask_t |
disable interrupt masks of wdt instance.
[in] | wdt_ptr | a pointer to structure vsf_wdt_t |
[in] | irq_mask | one or more value of enum vsf_wdt_irq_mask_t, vsf_wdt_irq_mask_t |
vsf_wdt_capability_t vsf_wdt_capability | ( | vsf_wdt_t * | wdt_ptr | ) |
get the capability of wdt instance.
[in] | wdt_ptr | a pointer to structure vsf_wdt_t |