MG32L003 Standard Peripherals Firmware Library
Functions
mg32l003_wwdg.c File Reference

This file provides all the WWDG firmware functions. More...

#include "mg32l003_wwdg.h"
#include "mg32l003_rcc.h"

Functions

void WWDG_DeInit (void)
 Deinitializes the WWDG peripheral registers to their default reset values. More...
 
void WWDG_SetPrescaler (uint32_t WWDG_Prescaler)
 Sets the WWDG Prescaler. More...
 
void WWDG_SetWindowValue (uint8_t WindowValue)
 Sets the WWDG window value. More...
 
void WWDG_IT_Cmd (FunctionalState NewState)
 Enables or disable the WWDG's interrupt. More...
 
void WWDG_SetCounter (uint8_t Counter)
 Sets the WWDG counter value. More...
 
void WWDG_Cmd (FunctionalState NewState)
 Enables or disables the WWDG peripheral. More...
 
FlagStatus WWDG_GetFlagStatus (void)
 Checks whether the Early Wakeup interrupt flag is set or not. More...
 
void WWDG_ClearFlag (void)
 Clears Early Wakeup interrupt flag. More...
 

Detailed Description

This file provides all the WWDG firmware functions.

Author
megawin Application Team
Version
V0.0.5
Date
13-August-2024