|
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. | |
| vsf_err_t | vsf_wdt_get_configuration (vsf_wdt_t *wdt_ptr, vsf_wdt_cfg_t *cfg_ptr) |
| Get the current configuration of a WDT instance. | |
| fsm_rt_t | vsf_wdt_enable (vsf_wdt_t *wdt_ptr) |
| Enable a WDT instance. | |
| fsm_rt_t | vsf_wdt_disable (vsf_wdt_t *wdt_ptr) |
| Disable a 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 operation. | |
| #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 | ) |
| vsf_err_t vsf_wdt_get_configuration | ( | vsf_wdt_t * | wdt_ptr, |
| vsf_wdt_cfg_t * | cfg_ptr | ||
| ) |
Get the current configuration of a WDT instance.
| [in] | wdt_ptr | pointer to structure vsf_wdt_t |
| [out] | cfg_ptr | pointer to configuration structure vsf_wdt_cfg_t to store the current configuration |
Enable a WDT instance.
| [in] | wdt_ptr | a pointer to structure vsf_wdt_t |
Disable a WDT instance.
| [in] | wdt_ptr | a pointer to structure vsf_wdt_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 |