PDL for FM0+  Version1.0
Peripheral Driverl Library for FM0+
C:/pdl_v10/library/driver/wdg/hwwdg.h File Reference
#include "mcu.h"
#include "pdl_user.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...

Defines

#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.

Functions

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

Detailed Description

Headerfile for Hardware Watchdog functions

History:

  • 2013-04-02 1.0 NT First version.

Definition in file hwwdg.h.