STM8L15x Standard Peripherals Drivers: FLASH_Registers_Bits_Definition

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

FLASH_Registers_Bits_Definition

Defines

#define FLASH_CR1_EEPM   ((uint8_t)0x08)
#define FLASH_CR1_FIX   ((uint8_t)0x01)
#define FLASH_CR1_IE   ((uint8_t)0x02)
#define FLASH_CR1_WAITM   ((uint8_t)0x04)
#define FLASH_CR2_ERASE   ((uint8_t)0x20)
#define FLASH_CR2_FPRG   ((uint8_t)0x10)
#define FLASH_CR2_OPT   ((uint8_t)0x80)
#define FLASH_CR2_PRG   ((uint8_t)0x01)
#define FLASH_CR2_WPRG   ((uint8_t)0x40)
#define FLASH_DUKR_DUK   ((uint8_t)0xFF)
#define FLASH_IAPSR_DUL   ((uint8_t)0x08)
#define FLASH_IAPSR_EOP   ((uint8_t)0x04)
#define FLASH_IAPSR_HVOFF   ((uint8_t)0x40)
#define FLASH_IAPSR_PUL   ((uint8_t)0x02)
#define FLASH_IAPSR_WR_PG_DIS   ((uint8_t)0x01)
#define FLASH_PUKR_PUK   ((uint8_t)0xFF)

Define Documentation

#define FLASH_CR1_EEPM   ((uint8_t)0x08)

Flash low power selection during Run and Low power run mode Mask

Definition at line 1017 of file stm8l15x.h.

#define FLASH_CR1_FIX   ((uint8_t)0x01)

Fix programming time Mask

Definition at line 1020 of file stm8l15x.h.

Referenced by FLASH_GetProgrammingTime(), and FLASH_SetProgrammingTime().

#define FLASH_CR1_IE   ((uint8_t)0x02)

Flash Interrupt enable Mask

Definition at line 1019 of file stm8l15x.h.

Referenced by FLASH_ITConfig().

#define FLASH_CR1_WAITM   ((uint8_t)0x04)

Flash low power selection during Wait and Low power wait mode Mask

Definition at line 1018 of file stm8l15x.h.

Referenced by FLASH_PowerWaitModeConfig().

#define FLASH_CR2_ERASE   ((uint8_t)0x20)

Erase block Mask

Definition at line 1024 of file stm8l15x.h.

#define FLASH_CR2_FPRG   ((uint8_t)0x10)

Fast programming mode Mask

Definition at line 1025 of file stm8l15x.h.

#define FLASH_CR2_OPT   ((uint8_t)0x80)

Enable write access to option bytes

Definition at line 1022 of file stm8l15x.h.

Referenced by FLASH_EraseOptionByte(), and FLASH_ProgramOptionByte().

#define FLASH_CR2_PRG   ((uint8_t)0x01)

Program block Mask

Definition at line 1026 of file stm8l15x.h.

#define FLASH_CR2_WPRG   ((uint8_t)0x40)

Word write once Mask

Definition at line 1023 of file stm8l15x.h.

Referenced by FLASH_ProgramWord().

#define FLASH_DUKR_DUK   ((uint8_t)0xFF)

Data EEPROM unprotection mask

Definition at line 1036 of file stm8l15x.h.

#define FLASH_IAPSR_DUL   ((uint8_t)0x08)

Data EEPROM unlocked flag Mask

Definition at line 1029 of file stm8l15x.h.

#define FLASH_IAPSR_EOP   ((uint8_t)0x04)

End of operation flag Mask

Definition at line 1030 of file stm8l15x.h.

#define FLASH_IAPSR_HVOFF   ((uint8_t)0x40)

End of high voltage flag Mask

Definition at line 1028 of file stm8l15x.h.

#define FLASH_IAPSR_PUL   ((uint8_t)0x02)

Program memory unlocked flag Mask

Definition at line 1031 of file stm8l15x.h.

#define FLASH_IAPSR_WR_PG_DIS   ((uint8_t)0x01)

Write attempted to protected page Mask

Definition at line 1032 of file stm8l15x.h.

#define FLASH_PUKR_PUK   ((uint8_t)0xFF)

Flash Program memory unprotection mask

Definition at line 1034 of file stm8l15x.h.

STM8S Firmware Library: Overview

 

 

 

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