![]() |
PDL for FM0+
Version1.0
Peripheral Driverl Library for FM0+
|
Go to the source code of this file.
Data Structures | |
struct | stc_swwdg_config |
Software and Hardware Watchdog configuration. More... | |
Defines | |
#define | SWWDG_REG_UNLOCK (0x1ACCE551u) |
Typedefs | |
typedef enum en_swwdg_timing_window | en_swwdg_timing_window_t |
Software watchdog timing window settings. | |
typedef struct stc_swwdg_config | stc_swwdg_config_t |
Software and Hardware Watchdog configuration. | |
Enumerations | |
enum | en_swwdg_timing_window { en_swwdg_timing_window_100 = 0x00, en_swwdg_timing_window_75 = 0x01, en_swwdg_timing_window_50 = 0x02, en_swwdg_timing_window_25 = 0x03 } |
Software watchdog timing window settings. More... | |
Functions | |
void | SwwdgIrqHandler (void) |
Software Watchdog Interrupt Handler. | |
en_result_t | Swwdg_Init (stc_swwdg_config_t *pstcConfig) |
Initialize Software Watchdog. | |
void | Swwdg_DeInit (void) |
Un-Initialize Software Watchdog. | |
en_result_t | Swwdg_Start (func_ptr_t pfnSwwdgCb) |
Start the Software Watchdog. | |
void | Swwdg_Stop (void) |
Stop the Software Watchdog. | |
void | Swwdg_WriteWdgLoad (uint32_t u32LoadValue) |
Write the load value for Software Watchdog. | |
uint32_t | Swwdg_ReadWdgValue (void) |
Read the count value for Software Watchdog. | |
void | Swwdg_Feed (void) |
Feed Software Watchdog (Call function) | |
static void | Swwdg_QuickFeed (void) |
Quickly feed Software Watchdog (inline function) | |
void | Swwdg_EnableDbgBrkWdgCtl (void) |
Enable Debug Break Watchdog Timer Control. | |
void | Swwdg_DisableDbgBrkWdgCtl (void) |
Disable Debug Break Watchdog Timer Control. |
Headerfile for Software Watchdog functions
History:
Definition in file swwdg.h.