ESOS32
ESOSOn32-bitProcessors
|
Functions | |
void | _esos_wdog_initWatchdog (uint32_t u32_msBetweenWatchdogResets) |
void | esos_wdog_feedWatchdog (void) |
uint32_t | esos_wdog_getWatchdogFedTicks (void) |
uint32_t | esos_wdog_getTicksSinceWatchdogFed (void) |
uint32_t | esos_wdog_getTicksUntilWatchdogReset (void) |
uint32_t | esos_wdog_getTicksWatchdogPeriod (void) |
void | _esos_hw_wdog_initWatchdog (uint32_t u32_ticksBetweenWatchdogResets) |
void | _esos_hw_wdog_feedWatchdog (void) |
Variables | |
volatile uint32_t | __esos_wdog_ticksWatchdogPeriod |
volatile uint32_t | __esos_wdog_ticksWatchdogLastFed |
volatile uint32_t | __esos_wdog_ticksWatchdogLastFed |
void _esos_hw_wdog_feedWatchdog | ( | void | ) |
"Feeds" the hardware watchdog
void _esos_hw_wdog_initWatchdog | ( | uint32_t | u32_ticksBetweenWatchdogResets | ) |
Initialize the hardware watchdog timers
u32_ticksBetweenWatchdogResets | desired number of milliseconds betweeen watchdog resets |
void _esos_wdog_initWatchdog | ( | uint32_t | u32_msBetweenWatchdogResets | ) |
Initializes ESOS watchdog timer
number | of milliseconds between watchdog resets |
Definition at line 66 of file esos_wdog.c.
void esos_wdog_feedWatchdog | ( | void | ) |
ESOS hardware-indepednet call to "feed" the watchdog timer
Definition at line 87 of file esos_wdog.c.
|
inline |
Get the number of system ticks since the watchdog was last fed (reset)
The | uint32_t value of the number of ESOS system ticks value since the watchdog was last "fed" (reset) |
Definition at line 120 of file esos_wdog.c.
|
inline |
Get the number of system ticks until next watchdog reset
The | uint32_t value of the number of ESOS system ticks until the watchdog will reset the system |
Definition at line 139 of file esos_wdog.c.
|
inline |
Get the programmed watchdog period in ESOS system ticks
The | uint32_t value of the number of ESOS system ticks that is the full watchdog timeout period |
Definition at line 159 of file esos_wdog.c.
|
inline |
Get the ESOS systems ticks value of when the watchdog was last fed (reset)
The | uint32_t value ESOS system ticks value of when the watchdog was last "fed" (reset) |
Definition at line 105 of file esos_wdog.c.