Classes | Macros | Functions
stm32f4xx_hal_iwdg.h File Reference

Header file of IWDG HAL module. More...

#include "stm32f4xx_hal_def.h"
Include dependency graph for stm32f4xx_hal_iwdg.h:

Go to the source code of this file.

Classes

struct  IWDG_HandleTypeDef
 IWDG Handle Structure definition. More...
 
struct  IWDG_InitTypeDef
 IWDG Init structure definition. More...
 

Macros

#define __HAL_IWDG_RELOAD_COUNTER(__HANDLE__)   WRITE_REG((__HANDLE__)->Instance->KR, IWDG_KEY_RELOAD)
 Reload IWDG counter with value defined in the reload register (write access to IWDG_PR and IWDG_RLR registers disabled). More...
 
#define __HAL_IWDG_START(__HANDLE__)   WRITE_REG((__HANDLE__)->Instance->KR, IWDG_KEY_ENABLE)
 Enable the IWDG peripheral. More...
 
#define IS_IWDG_PRESCALER(__PRESCALER__)
 Check IWDG prescaler value. More...
 
#define IS_IWDG_RELOAD(__RELOAD__)   ((__RELOAD__) <= IWDG_RLR_RL)
 Check IWDG reload value. More...
 
#define IWDG_DISABLE_WRITE_ACCESS(__HANDLE__)   WRITE_REG((__HANDLE__)->Instance->KR, IWDG_KEY_WRITE_ACCESS_DISABLE)
 Disable write access to IWDG_PR and IWDG_RLR registers. More...
 
#define IWDG_ENABLE_WRITE_ACCESS(__HANDLE__)   WRITE_REG((__HANDLE__)->Instance->KR, IWDG_KEY_WRITE_ACCESS_ENABLE)
 Enable write access to IWDG_PR and IWDG_RLR registers. More...
 
#define IWDG_KEY_ENABLE   0x0000CCCCu
 
#define IWDG_KEY_RELOAD   0x0000AAAAu
 IWDG Key Register BitMask. More...
 
#define IWDG_KEY_WRITE_ACCESS_DISABLE   0x00000000u
 
#define IWDG_KEY_WRITE_ACCESS_ENABLE   0x00005555u
 
#define IWDG_PRESCALER_128   (IWDG_PR_PR_2 | IWDG_PR_PR_0)
 
#define IWDG_PRESCALER_16   IWDG_PR_PR_1
 
#define IWDG_PRESCALER_256   (IWDG_PR_PR_2 | IWDG_PR_PR_1)
 
#define IWDG_PRESCALER_32   (IWDG_PR_PR_1 | IWDG_PR_PR_0)
 
#define IWDG_PRESCALER_4   0x00000000u
 
#define IWDG_PRESCALER_64   IWDG_PR_PR_2
 
#define IWDG_PRESCALER_8   IWDG_PR_PR_0
 

Functions

HAL_StatusTypeDef HAL_IWDG_Init (IWDG_HandleTypeDef *hiwdg)
 
HAL_StatusTypeDef HAL_IWDG_Refresh (IWDG_HandleTypeDef *hiwdg)
 

Detailed Description

Header file of IWDG HAL module.

Author
MCD Application Team
Attention

© Copyright (c) 2016 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32f4xx_hal_iwdg.h.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:01