STM8S/A Standard Peripherals Drivers: IWDG_Private_Macros

STM8S/A

STM8S/A Standard Peripherals Drivers
IWDG_Private_Macros

Defines

#define IS_IWDG_PRESCALER_OK(VALUE)
 Macro used by the assert function in order to check the different values of the prescaler.
#define IS_IWDG_WRITEACCESS_MODE_OK(MODE)   (((MODE) == IWDG_WriteAccess_Enable) || ((MODE) == IWDG_WriteAccess_Disable))
 Macro used by the assert function in order to check the different values of the counter register.

Define Documentation

#define IS_IWDG_PRESCALER_OK (   VALUE)
Value:
(((VALUE) == IWDG_Prescaler_4   ) || \
                                     ((VALUE) == IWDG_Prescaler_8   ) || \
                                     ((VALUE) == IWDG_Prescaler_16  ) || \
                                     ((VALUE) == IWDG_Prescaler_32  ) || \
                                     ((VALUE) == IWDG_Prescaler_64  ) || \
                                     ((VALUE) == IWDG_Prescaler_128 ) || \
                                     ((VALUE) == IWDG_Prescaler_256))

Macro used by the assert function in order to check the different values of the prescaler.

Definition at line 65 of file stm8s_iwdg.h.

Referenced by IWDG_SetPrescaler().

#define IS_IWDG_WRITEACCESS_MODE_OK (   MODE)    (((MODE) == IWDG_WriteAccess_Enable) || ((MODE) == IWDG_WriteAccess_Disable))

Macro used by the assert function in order to check the different values of the counter register.

Definition at line 77 of file stm8s_iwdg.h.

Referenced by IWDG_WriteAccessCmd().

STM8 Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM8 8-bit Microcontrollers platform visit www.st.com