MG32L003 Standard Peripherals Firmware Library
|
This file contains all the functions prototypes for the IWDG firmware library. More...
#include "mg32l003.h"
Go to the source code of this file.
Macros | |
#define | IWDG_UNLOCK_KEY ((uint32_t)0x55AA6699) |
IWDG Key Register value. More... | |
#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() |
Functions | |
void | IWDG_Init (uint32_t IWDG_Config, FunctionalState NewState) |
Initialize the IWDG according to the specified IWDG_Config. More... | |
void | IWDG_SetReload (uint32_t Reload) |
Sets IWDG Reload value. More... | |
void | IWDG_ReloadCounter (void) |
Reloads IWDG counter with value defined in the reload register. More... | |
void | IWDG_Start (void) |
IWDG starts running. More... | |
FlagStatus | IWDG_GetITStatus (uint32_t IWDG_IT) |
Checks whether the specified IWDG interrupt flag is set or not. More... | |
void | IWDG_ClearITPendingBit (uint32_t IWDG_IT) |
Clears the IWDG's interrupt pending bits. More... | |
This file contains all the functions prototypes for the IWDG firmware library.