STM32F1 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F1 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Groups
stm32f10x_iwdg.c File Reference

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

#include "stm32f10x_iwdg.h"

Macros

#define KR_KEY_Reload   ((uint16_t)0xAAAA)
 
#define KR_KEY_Enable   ((uint16_t)0xCCCC)
 

Functions

void IWDG_WriteAccessCmd (uint16_t IWDG_WriteAccess)
 Enables or disables write access to IWDG_PR and IWDG_RLR registers. More...
 
void IWDG_SetPrescaler (uint8_t IWDG_Prescaler)
 Sets IWDG Prescaler value. More...
 
void IWDG_SetReload (uint16_t Reload)
 Sets IWDG Reload value. More...
 
void IWDG_ReloadCounter (void)
 Reloads IWDG counter with value defined in the reload register (write access to IWDG_PR and IWDG_RLR registers disabled). More...
 
void IWDG_Enable (void)
 Enables IWDG (write access to IWDG_PR and IWDG_RLR registers disabled). More...
 
FlagStatus IWDG_GetFlagStatus (uint16_t IWDG_FLAG)
 Checks whether the specified IWDG flag is set or not. More...
 

Detailed Description

This file provides all the IWDG firmware functions.

Author
MCD Application Team
Version
V3.3.0
Date
04/16/2010

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 2010 STMicroelectronics