STM32F10x Standard Peripherals Library  3.5.0
/opt/STM32F10x_StdPeriph_Lib_V3.5.0/Libraries/STM32F10x_StdPeriph_Driver/inc/stm32f10x_wwdg.h File Reference

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

#include "stm32f10x.h"

Go to the source code of this file.

Defines

#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.
void WWDG_SetPrescaler (uint32_t WWDG_Prescaler)
 Sets the WWDG Prescaler.
void WWDG_SetWindowValue (uint8_t WindowValue)
 Sets the WWDG window value.
void WWDG_EnableIT (void)
 Enables the WWDG Early Wakeup interrupt(EWI).
void WWDG_SetCounter (uint8_t Counter)
 Sets the WWDG counter value.
void WWDG_Enable (uint8_t Counter)
 Enables WWDG and load the counter value.
FlagStatus WWDG_GetFlagStatus (void)
 Checks whether the Early Wakeup interrupt flag is set or not.
void WWDG_ClearFlag (void)
 Clears Early Wakeup interrupt flag.

Detailed Description

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

Author:
MCD Application Team
Version:
V3.5.0
Date:
11-March-2011
Attention:

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

© COPYRIGHT 2011 STMicroelectronics

Definition in file stm32f10x_wwdg.h.