STM8L15x Standard Peripherals Drivers: RST_Flags

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

Defines

#define IS_RST_FLAG(FLAG)

Enumerations

enum  RST_FLAG_TypeDef {
  RST_FLAG_PORF = (uint8_t)0x01, RST_FLAG_SWIMF = (uint8_t)0x08, RST_FLAG_ILLOPF = (uint8_t)0x04, RST_FLAG_IWDGF = (uint8_t)0x02,
  RST_FLAG_WWDGF = (uint8_t)0x10, RST_FLAG_BORF = (uint8_t)0x20
}

Define Documentation

#define IS_RST_FLAG (   FLAG)
Value:
(((FLAG) == RST_FLAG_PORF) || ((FLAG) == RST_FLAG_BORF) || \
                            ((FLAG) == RST_FLAG_IWDGF) || ((FLAG) == RST_FLAG_ILLOPF) || \
                            ((FLAG) == RST_FLAG_WWDGF) || ((FLAG) == RST_FLAG_SWIMF))

Definition at line 56 of file stm8l15x_rst.h.

Referenced by RST_ClearFlag(), and RST_GetFlagStatus().


Enumeration Type Documentation

Enumerator:
RST_FLAG_PORF 

POR reset flag

RST_FLAG_SWIMF 

SWIM reset flag

RST_FLAG_ILLOPF 

Illegal opcode reset flag

RST_FLAG_IWDGF 

Independent watchdog reset flag

RST_FLAG_WWDGF 

Window watchdog reset flag

RST_FLAG_BORF 

BOR reset flag

Definition at line 47 of file stm8l15x_rst.h.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com