CARME-M4 BSP  V1.5
stm32f4xx_wwdg.h File Reference

This file contains all the functions prototypes for the WWDG firmware library. More...

#include "stm32f4xx.h"
+ Include dependency graph for stm32f4xx_wwdg.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WWDG_Prescaler_1   ((uint32_t)0x00000000)
 
#define WWDG_Prescaler_2   ((uint32_t)0x00000080)
 
#define WWDG_Prescaler_4   ((uint32_t)0x00000100)
 
#define WWDG_Prescaler_8   ((uint32_t)0x00000180)
 
#define IS_WWDG_PRESCALER(PRESCALER)
 
#define IS_WWDG_WINDOW_VALUE(VALUE)   ((VALUE) <= 0x7F)
 
#define IS_WWDG_COUNTER(COUNTER)   (((COUNTER) >= 0x40) && ((COUNTER) <= 0x7F))
 

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_EnableIT (void)
 Enables the WWDG Early Wakeup interrupt(EWI). More...
 
void WWDG_SetCounter (uint8_t Counter)
 Sets the WWDG counter value. More...
 
void WWDG_Enable (uint8_t Counter)
 Enables WWDG and load the counter value. 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 contains all the functions prototypes for the WWDG firmware library.

Author
MCD Application Team
Version
V1.3.0
Date
08-November-2013
Attention

© COPYRIGHT 2013 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file stm32f4xx_wwdg.h.