STM8S/A Standard Peripherals Drivers: FLASH_Registers_Bits_Definition

STM8S/A

STM8S/A Standard Peripherals Drivers
FLASH_Registers_Bits_Definition

Defines

#define FLASH_CR1_AHALT   ((uint8_t)0x04)
#define FLASH_CR1_FIX   ((uint8_t)0x01)
#define FLASH_CR1_HALT   ((uint8_t)0x08)
#define FLASH_CR1_IE   ((uint8_t)0x02)
#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_NCR2_NERASE   ((uint8_t)0x20)
#define FLASH_NCR2_NFPRG   ((uint8_t)0x10)
#define FLASH_NCR2_NOPT   ((uint8_t)0x80)
#define FLASH_NCR2_NPRG   ((uint8_t)0x01)
#define FLASH_NCR2_NWPRG   ((uint8_t)0x40)
#define FLASH_PUKR_PUK   ((uint8_t)0xFF)

Define Documentation

#define FLASH_CR1_AHALT   ((uint8_t)0x04)

Standby in Active Halt mode mask

Definition at line 1550 of file stm8s.h.

Referenced by FLASH_GetLowPowerMode(), and FLASH_SetLowPowerMode().

#define FLASH_CR1_FIX   ((uint8_t)0x01)

Fix programming time mask

Definition at line 1552 of file stm8s.h.

Referenced by FLASH_GetProgrammingTime(), and FLASH_SetProgrammingTime().

#define FLASH_CR1_HALT   ((uint8_t)0x08)

Standby in Halt mode mask

Definition at line 1549 of file stm8s.h.

Referenced by FLASH_GetLowPowerMode(), and FLASH_SetLowPowerMode().

#define FLASH_CR1_IE   ((uint8_t)0x02)

Flash Interrupt enable mask

Definition at line 1551 of file stm8s.h.

Referenced by FLASH_ITConfig().

#define FLASH_CR2_ERASE   ((uint8_t)0x20)

Erase block mask

Definition at line 1556 of file stm8s.h.

#define FLASH_CR2_FPRG   ((uint8_t)0x10)

Fast programming mode mask

Definition at line 1557 of file stm8s.h.

#define FLASH_CR2_OPT   ((uint8_t)0x80)

Select option byte mask

Definition at line 1554 of file stm8s.h.

Referenced by FLASH_EraseOptionByte(), and FLASH_ProgramOptionByte().

#define FLASH_CR2_PRG   ((uint8_t)0x01)

Program block mask

Definition at line 1558 of file stm8s.h.

#define FLASH_CR2_WPRG   ((uint8_t)0x40)

Word Programming mask

Definition at line 1555 of file stm8s.h.

Referenced by FLASH_ProgramWord().

#define FLASH_DUKR_DUK   ((uint8_t)0xFF)

Data EEPROM unprotection mask

Definition at line 1574 of file stm8s.h.

#define FLASH_IAPSR_DUL   ((uint8_t)0x08)

Data EEPROM unlocked flag mask

Definition at line 1567 of file stm8s.h.

Referenced by FLASH_DeInit().

#define FLASH_IAPSR_EOP   ((uint8_t)0x04)

End of operation flag mask

Definition at line 1568 of file stm8s.h.

#define FLASH_IAPSR_HVOFF   ((uint8_t)0x40)

End of high voltage flag mask

Definition at line 1566 of file stm8s.h.

#define FLASH_IAPSR_PUL   ((uint8_t)0x02)

Flash Program memory unlocked flag mask

Definition at line 1569 of file stm8s.h.

Referenced by FLASH_DeInit().

#define FLASH_IAPSR_WR_PG_DIS   ((uint8_t)0x01)

Write attempted to protected page mask

Definition at line 1570 of file stm8s.h.

#define FLASH_NCR2_NERASE   ((uint8_t)0x20)

Erase block mask

Definition at line 1562 of file stm8s.h.

#define FLASH_NCR2_NFPRG   ((uint8_t)0x10)

Fast programming mode mask

Definition at line 1563 of file stm8s.h.

#define FLASH_NCR2_NOPT   ((uint8_t)0x80)

Select option byte mask

Definition at line 1560 of file stm8s.h.

Referenced by FLASH_EraseOptionByte(), and FLASH_ProgramOptionByte().

#define FLASH_NCR2_NPRG   ((uint8_t)0x01)

Program block mask

Definition at line 1564 of file stm8s.h.

#define FLASH_NCR2_NWPRG   ((uint8_t)0x40)

Word Programming mask

Definition at line 1561 of file stm8s.h.

Referenced by FLASH_ProgramWord().

#define FLASH_PUKR_PUK   ((uint8_t)0xFF)

Flash Program memory unprotection mask

Definition at line 1572 of file stm8s.h.

STM8 Standard Peripherals Library: Footer

 

 

 

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