RTEMS 6.1-rc1
Data Structures | Macros | Functions
stm32h7xx_hal_wwdg.h File Reference

Header file of WWDG HAL module. More...

#include "stm32h7xx_hal_def.h"

Go to the source code of this file.

Data Structures

struct  WWDG_InitTypeDef
 WWDG Init structure definition. More...
 
struct  WWDG_HandleTypeDef
 WWDG handle Structure definition. More...
 

Macros

#define WWDG_IT_EWI   WWDG_CFR_EWI
 
#define WWDG_FLAG_EWIF   WWDG_SR_EWIF
 
#define WWDG_PRESCALER_1   0x00000000u
 
#define WWDG_PRESCALER_2   WWDG_CFR_WDGTB_0
 
#define WWDG_PRESCALER_4   WWDG_CFR_WDGTB_1
 
#define WWDG_PRESCALER_8   (WWDG_CFR_WDGTB_1 | WWDG_CFR_WDGTB_0)
 
#define WWDG_PRESCALER_16   WWDG_CFR_WDGTB_2
 
#define WWDG_PRESCALER_32   (WWDG_CFR_WDGTB_2 | WWDG_CFR_WDGTB_0)
 
#define WWDG_PRESCALER_64   (WWDG_CFR_WDGTB_2 | WWDG_CFR_WDGTB_1)
 
#define WWDG_PRESCALER_128   WWDG_CFR_WDGTB
 
#define WWDG_EWI_DISABLE   0x00000000u
 
#define WWDG_EWI_ENABLE   WWDG_CFR_EWI
 
#define IS_WWDG_PRESCALER(__PRESCALER__)
 
#define IS_WWDG_WINDOW(__WINDOW__)   (((__WINDOW__) >= WWDG_CFR_W_6) && ((__WINDOW__) <= WWDG_CFR_W))
 
#define IS_WWDG_COUNTER(__COUNTER__)   (((__COUNTER__) >= WWDG_CR_T_6) && ((__COUNTER__) <= WWDG_CR_T))
 
#define IS_WWDG_EWI_MODE(__MODE__)
 
#define __HAL_WWDG_ENABLE(__HANDLE__)   SET_BIT((__HANDLE__)->Instance->CR, WWDG_CR_WDGA)
 Enable the WWDG peripheral. More...
 
#define __HAL_WWDG_ENABLE_IT(__HANDLE__, __INTERRUPT__)   SET_BIT((__HANDLE__)->Instance->CFR, (__INTERRUPT__))
 Enable the WWDG early wakeup interrupt. More...
 
#define __HAL_WWDG_GET_IT(__HANDLE__, __INTERRUPT__)   __HAL_WWDG_GET_FLAG((__HANDLE__),(__INTERRUPT__))
 Check whether the selected WWDG interrupt has occurred or not. More...
 
#define __HAL_WWDG_CLEAR_IT(__HANDLE__, __INTERRUPT__)   __HAL_WWDG_CLEAR_FLAG((__HANDLE__), (__INTERRUPT__))
 Clear the WWDG interrupt pending bits. bits to clear the selected interrupt pending bits. More...
 
#define __HAL_WWDG_GET_FLAG(__HANDLE__, __FLAG__)   (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__FLAG__))
 Check whether the specified WWDG flag is set or not. More...
 
#define __HAL_WWDG_CLEAR_FLAG(__HANDLE__, __FLAG__)   ((__HANDLE__)->Instance->SR = ~(__FLAG__))
 Clear the WWDG's pending flags. More...
 
#define __HAL_WWDG_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__)
 Check whether the specified WWDG interrupt source is enabled or not. More...
 

Functions

HAL_StatusTypeDef HAL_WWDG_Init (WWDG_HandleTypeDef *hwwdg)
 
void HAL_WWDG_MspInit (WWDG_HandleTypeDef *hwwdg)
 
HAL_StatusTypeDef HAL_WWDG_Refresh (WWDG_HandleTypeDef *hwwdg)
 
void HAL_WWDG_IRQHandler (WWDG_HandleTypeDef *hwwdg)
 
void HAL_WWDG_EarlyWakeupCallback (WWDG_HandleTypeDef *hwwdg)
 

Detailed Description

Header file of WWDG HAL module.

Author
MCD Application Team
Attention

Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.