| PDL for FM0+ Version1.0 Peripheral Driverl Library for FM0+

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Defines | Functions | Variables
C:/pdl_v10/library/driver/wdg/hwwdg.c File Reference
`#include "hwwdg.h"`
Include dependency graph for hwwdg.c:

Go to the source code of this file.

## Defines
#define | HWWDG_CTL_INTEN (0x01u)
#define | HWWDG_CTL_RESEN (0x02u)
#define | HWWDG_MAGIC_WORD_CHK1 (0x38D1AE5Cu)
#define | HWWDG_MAGIC_WORD_CHK2 (0x7624D1BCu)
#define | HWWDG_MAGIC_WORD_CHK_RESULT (0xFFFFFFFFu)
## 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.
## Variables
static func_ptr_t | pfnHwwdgCallback
| callback function pointer for HW-Wdg Irq

## Detailed Description

A detailed description is available at Hardware Watchdog Module description

History:

- 2013-04-02 1.0 NT First version.

Definition in file hwwdg.c.