MG32L003 Standard Peripherals Firmware Library

宏定义 | 函数
mg32l003_iwdg.h 文件参考

This file contains all the functions prototypes for the IWDG firmware library. 更多...

`#include "mg32l003.h"`

浏览源代码.

## 宏定义
#define | IWDG_UNLOCK_KEY ((uint32_t)0x55AA6699)
| IWDG Key Register value 更多...
#define | IWDG_LOCK_KEY ((uint32_t)0x55AA6698)
#define | IWDG_START_ENABLE ((uint32_t)0x00000055)
#define | IWDG_RELOAD_REFRESH ((uint32_t)0x000000AA)
#define | IWDG_MODE_RESET ((uint32_t)0x00000000)
#define | IWDG_MODE_INT ((uint32_t)0x00000010)
#define | IWDG_MODE_MASK ((uint32_t)0x00000010)
#define | IWDG_IT_DISABLE ((uint32_t)0x00000000)
#define | IWDG_IT_ENABLE ((uint32_t)0x00000100)
#define | IWDG_IT_MASK ((uint32_t)0x00000100)
#define | IWDG_RLR_MAX IWDG_RLOAD_IWDGRLOAD
#define | IWDG_IT_GOVF IWDG_SR_IWDGOVF_Msk
#define | IWDG_ENABLE_WRITE_ACCESS()
#define | IWDG_DISABLE_WRITE_ACCESS()

## 函数
void | IWDG_Init (uint32_t IWDG_Config, FunctionalState NewState)
| Initialize the IWDG according to the specified IWDG_Config. 更多...
void | IWDG_SetReload (uint32_t Reload)
| Sets IWDG Reload value. 更多...
void | IWDG_ReloadCounter (void)
| Reloads IWDG counter with value defined in the reload register. 更多...
void | IWDG_Start (void)
| IWDG starts running. 更多...
FlagStatus | IWDG_GetITStatus (uint32_t IWDG_IT)
| Checks whether the specified IWDG interrupt flag is set or not. 更多...
void | IWDG_ClearITPendingBit (uint32_t IWDG_IT)
| Clears the IWDG's interrupt pending bits. 更多...

## 详细描述

This file contains all the functions prototypes for the IWDG firmware library.

作者
  megawin Application Team

版本
  V0.0.5

日期
  13-August-2024