![]() |
PDL for FM4
Version1.2
Peripheral Driverl Library for FM4
|
#include "pdl.h"
Go to the source code of this file.
Macros | |
| #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. More... | |
| en_result_t | Swwdg_Init (stc_swwdg_config_t *pstcConfig) |
| Initialize Software Watchdog. More... | |
| void | Swwdg_DeInit (void) |
| Un-Initialize Software Watchdog. More... | |
| en_result_t | Swwdg_Start (func_ptr_t pfnSwwdgCb) |
| Start the Software Watchdog. More... | |
| void | Swwdg_Stop (void) |
| Stop the Software Watchdog. More... | |
| void | Swwdg_WriteWdgLoad (uint32_t u32LoadValue) |
| Write the load value for Software Watchdog. More... | |
| uint32_t | Swwdg_ReadWdgValue (void) |
| Read the count value for Software Watchdog. More... | |
| void | Swwdg_Feed (void) |
| Feed Software Watchdog (Call function) More... | |
| void | Swwdg_EnableDbgBrkWdgCtl (void) |
| Enable Debug Break Watchdog Timer Control. More... | |
| void | Swwdg_DisableDbgBrkWdgCtl (void) |
| Disable Debug Break Watchdog Timer Control. More... | |
Variables | |
| static func_ptr_t | pfnSwwdgCallback |
| callback function pointer for SW-Wdg Irq More... | |
A detailed description is available at Software Watchdog Module description
History:
Definition in file swwdg.c.