Macros | Functions
stm32f10x_iwdg.h File Reference

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

#include "stm32f10x.h"
Include dependency graph for stm32f10x_iwdg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IS_IWDG_FLAG(FLAG)   (((FLAG) == IWDG_FLAG_PVU) || ((FLAG) == IWDG_FLAG_RVU))
 
#define IS_IWDG_PRESCALER(PRESCALER)
 
#define IS_IWDG_RELOAD(RELOAD)   ((RELOAD) <= 0xFFF)
 
#define IS_IWDG_WRITE_ACCESS(ACCESS)
 
#define IWDG_FLAG_PVU   ((uint16_t)0x0001)
 
#define IWDG_FLAG_RVU   ((uint16_t)0x0002)
 
#define IWDG_Prescaler_128   ((uint8_t)0x05)
 
#define IWDG_Prescaler_16   ((uint8_t)0x02)
 
#define IWDG_Prescaler_256   ((uint8_t)0x06)
 
#define IWDG_Prescaler_32   ((uint8_t)0x03)
 
#define IWDG_Prescaler_4   ((uint8_t)0x00)
 
#define IWDG_Prescaler_64   ((uint8_t)0x04)
 
#define IWDG_Prescaler_8   ((uint8_t)0x01)
 
#define IWDG_WriteAccess_Disable   ((uint16_t)0x0000)
 
#define IWDG_WriteAccess_Enable   ((uint16_t)0x5555)
 

Functions

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...
 
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_SetPrescaler (uint8_t IWDG_Prescaler)
 Sets IWDG Prescaler value. More...
 
void IWDG_SetReload (uint16_t Reload)
 Sets IWDG Reload value. More...
 
void IWDG_WriteAccessCmd (uint16_t IWDG_WriteAccess)
 Enables or disables write access to IWDG_PR and IWDG_RLR registers. More...
 

Detailed Description

This file contains all the functions prototypes for the IWDG 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_iwdg.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Oct 24 2019 03:17:21