Macros
IWDG Private Macros
Collaboration diagram for IWDG Private Macros:

Macros

#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...
 

Detailed Description

Macro Definition Documentation

◆ IS_IWDG_PRESCALER

#define IS_IWDG_PRESCALER (   __PRESCALER__)
Value:
(((__PRESCALER__) == IWDG_PRESCALER_4) || \
((__PRESCALER__) == IWDG_PRESCALER_8) || \
((__PRESCALER__) == IWDG_PRESCALER_16) || \
((__PRESCALER__) == IWDG_PRESCALER_32) || \
((__PRESCALER__) == IWDG_PRESCALER_64) || \
((__PRESCALER__) == IWDG_PRESCALER_128)|| \
((__PRESCALER__) == IWDG_PRESCALER_256))

Check IWDG prescaler value.

Parameters
<strong>PRESCALER</strong>IWDG prescaler value
Return values
None

Definition at line 190 of file stm32f4xx_hal_iwdg.h.

◆ IS_IWDG_RELOAD

#define IS_IWDG_RELOAD (   __RELOAD__)    ((__RELOAD__) <= IWDG_RLR_RL)

Check IWDG reload value.

Parameters
<strong>RELOAD</strong>IWDG reload value
Return values
None

Definition at line 203 of file stm32f4xx_hal_iwdg.h.

◆ IWDG_DISABLE_WRITE_ACCESS

#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.

Parameters
<strong>HANDLE</strong>IWDG handle
Return values
None

Definition at line 183 of file stm32f4xx_hal_iwdg.h.

◆ IWDG_ENABLE_WRITE_ACCESS

#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.

Parameters
<strong>HANDLE</strong>IWDG handle
Return values
None

Definition at line 176 of file stm32f4xx_hal_iwdg.h.

IWDG_PRESCALER_128
#define IWDG_PRESCALER_128
Definition: stm32f4xx_hal_iwdg.h:85
IWDG_PRESCALER_16
#define IWDG_PRESCALER_16
Definition: stm32f4xx_hal_iwdg.h:82
IWDG_PRESCALER_4
#define IWDG_PRESCALER_4
Definition: stm32f4xx_hal_iwdg.h:80
IWDG_PRESCALER_64
#define IWDG_PRESCALER_64
Definition: stm32f4xx_hal_iwdg.h:84
IWDG_PRESCALER_32
#define IWDG_PRESCALER_32
Definition: stm32f4xx_hal_iwdg.h:83
IWDG_PRESCALER_8
#define IWDG_PRESCALER_8
Definition: stm32f4xx_hal_iwdg.h:81
IWDG_PRESCALER_256
#define IWDG_PRESCALER_256
Definition: stm32f4xx_hal_iwdg.h:86


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