Go to the source code of this file.
|
void | wd_set_interval_ms (unsigned int period_ms, unsigned long int tick_per_ms) |
| This function set the seconds period.It is likely with WD_SetInterval. Just this function calculate the value to set the register automatically . More...
|
|
static void | wd_start (void) |
| start watchdog. ie enable watchdog More...
|
|
static void | wd_stop (void) |
| stop watchdog. ie disable watchdog More...
|
|
static void | wd_clear (void) |
| clear watchdog. More...
|
|
◆ wd_set_interval_ms()
void wd_set_interval_ms |
( |
unsigned int |
period_ms, |
|
|
unsigned long int |
tick_per_ms |
|
) |
| |
This function set the seconds period.It is likely with WD_SetInterval. Just this function calculate the value to set the register automatically .
- Parameters
-
[in] | period_s | - The seconds to set. unit is second |
- Returns
- none
◆ wd_start()
static void wd_start |
( |
void |
| ) |
|
|
inlinestatic |
start watchdog. ie enable watchdog
- Parameters
-
- Returns
- none
◆ wd_stop()
static void wd_stop |
( |
void |
| ) |
|
|
inlinestatic |
stop watchdog. ie disable watchdog
- Parameters
-
- Returns
- none
◆ wd_clear()
static void wd_clear |
( |
void |
| ) |
|
|
inlinestatic |
clear watchdog.
- Parameters
-
- Returns
- none