PDL for FM4  Version1.2
Peripheral Driverl Library for FM4
swwdg.h File Reference
#include "pdl.h"
Include dependency graph for swwdg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  stc_swwdg_config
 Software and Hardware Watchdog configuration. More...
 

Macros

#define SWWDG_REG_UNLOCK   (0x1ACCE551u)
 

Typedefs

typedef enum en_swwdg_timing_window en_swwdg_timing_window_t
 Software watchdog timing window settings. More...
 
typedef struct stc_swwdg_config stc_swwdg_config_t
 Software and Hardware Watchdog configuration. More...
 

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. 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...
 
static void Swwdg_QuickFeed (void)
 Quickly feed Software Watchdog (inline function) More...
 
void Swwdg_EnableDbgBrkWdgCtl (void)
 Enable Debug Break Watchdog Timer Control. More...
 
void Swwdg_DisableDbgBrkWdgCtl (void)
 Disable Debug Break Watchdog Timer Control. More...
 

Detailed Description

Headerfile for Software Watchdog functions

History:

  • 2013-04-02 1.0 NT First version.

Definition in file swwdg.h.