![]() |
PDL for FM0+
Version1.0
Peripheral Driverl Library for FM0+
|
#include "swwdg.h"
Go to the source code of this file.
Defines | |
#define | SWWDG_DEFAULT_VAL (0xFFFFFFFFu) |
#define | SWWDG_CTL_INTEN (0x01u) |
#define | SWWDG_CTL_RESEN (0x02u) |
#define | SWWDG_CTL_TWD100 (0x00u) |
#define | SWWDG_CTL_TWD75 (0x04u) |
#define | SWWDG_CTL_TWD50 (0x08u) |
#define | SWWDG_CTL_TWD25 (0x0Cu) |
#define | SWWDG_CTL_SPM (0x10u) |
#define | SWWDG_SPMC_TGR (0x01u) |
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) | |
void | Swwdg_EnableDbgBrkWdgCtl (void) |
Enable Debug Break Watchdog Timer Control. | |
void | Swwdg_DisableDbgBrkWdgCtl (void) |
Disable Debug Break Watchdog Timer Control. | |
Variables | |
static func_ptr_t | pfnSwwdgCallback |
callback function pointer for SW-Wdg Irq |
A detailed description is available at Software Watchdog Module description
History:
Definition in file swwdg.c.