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

Go to the source code of this file.

Data Structures

struct  stc_hwwdg_config
 Hardware Watchdog configuration. More...
 

Macros

#define HWWDG_REG_UNLOCK_1   (0x1ACCE551u)
 
#define HWWDG_REG_UNLOCK_2   (0xE5331AAEu)
 

Typedefs

typedef struct stc_hwwdg_config stc_hwwdg_config_t
 Hardware Watchdog configuration. More...
 

Functions

void HwwdgIrqHandler (void)
 Hardware Watchdog Interrupt Handler. More...
 
en_result_t Hwwdg_Init (stc_hwwdg_config_t *pstcConfig)
 Initialize Hardware Watchdog. More...
 
en_result_t Hwwdg_DeInit (uint32_t u32MagicWord1, uint32_t u32MagicWord2)
 Un-Initialize Hardware Watchdog. More...
 
en_result_t Hwwdg_Start (func_ptr_t pfnHwwdgCb)
 Start the Hardware Watchdog. More...
 
void Hwwdg_Stop (void)
 Stop the Hardware Watchdog. More...
 
void Hwwdg_WriteWdgLoad (uint32_t u32LoadValue)
 Write the load value for Hardware Watchdog. More...
 
uint32_t Hwwdg_ReadWdgValue (void)
 Read the count value for Hardware Watchdog. More...
 
void Hwwdg_Feed (uint8_t u8ClearPattern1, uint8_t u8ClearPattern2)
 Feed Hardware Watchdog (Call function) More...
 
void Hwwdg_EnableDbgBrkWdgCtl (void)
 Enable Debug Break Watchdog Timer Control. More...
 
void Hwwdg_DisableDbgBrkWdgCtl (void)
 Disable Debug Break Watchdog Timer Control. More...
 
static void Hwwdg_QuickFeed (uint8_t u8ClearPattern1, uint8_t u8ClearPattern2)
 Quickly feed Hardware Watchdog (inline function) More...
 

Detailed Description

Headerfile for Hardware Watchdog functions

History:

  • 2013-04-02 1.0 NT First version.

Definition in file hwwdg.h.