STM8S/A Standard Peripherals Drivers: IWDG_Exported_Types

STM8S/A

STM8S/A Standard Peripherals Drivers

Enumerations

enum  IWDG_Prescaler_TypeDef {
  IWDG_Prescaler_4 = (uint8_t)0x00, IWDG_Prescaler_8 = (uint8_t)0x01, IWDG_Prescaler_16 = (uint8_t)0x02, IWDG_Prescaler_32 = (uint8_t)0x03,
  IWDG_Prescaler_64 = (uint8_t)0x04, IWDG_Prescaler_128 = (uint8_t)0x05, IWDG_Prescaler_256 = (uint8_t)0x06
}
 IWDG prescaler enumaration. More...
enum  IWDG_WriteAccess_TypeDef { IWDG_WriteAccess_Enable = (uint8_t)0x55, IWDG_WriteAccess_Disable = (uint8_t)0x00 }
 IWDG write access enumeration. More...

Enumeration Type Documentation

IWDG prescaler enumaration.

Enumerator:
IWDG_Prescaler_4 

Used to set prescaler register to 4

IWDG_Prescaler_8 

Used to set prescaler register to 8

IWDG_Prescaler_16 

Used to set prescaler register to 16

IWDG_Prescaler_32 

Used to set prescaler register to 32

IWDG_Prescaler_64 

Used to set prescaler register to 64

IWDG_Prescaler_128 

Used to set prescaler register to 128

IWDG_Prescaler_256 

Used to set prescaler register to 256

Definition at line 95 of file stm8s_iwdg.h.

IWDG write access enumeration.

Enumerator:
IWDG_WriteAccess_Enable 

Code 0x55 in Key register, allow write access to Prescaler and Reload registers

IWDG_WriteAccess_Disable 

Code 0x00 in Key register, not allow write access to Prescaler and Reload registers

Definition at line 88 of file stm8s_iwdg.h.

STM8 Standard Peripherals Library: Footer

 

 

 

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