STM8S/A Standard Peripherals Drivers: FLASH_Exported_Constants

STM8S/A

STM8S/A Standard Peripherals Drivers
FLASH_Exported_Constants

Defines

#define FLASH_OPTIONBYTE_ERROR   ((uint16_t)0x5555)
#define FLASH_PROG_START_PHYSICAL_ADDRESS   ((uint32_t)0x008000)
#define FLASH_RASS_KEY1   ((uint8_t)0x56)
#define FLASH_RASS_KEY2   ((uint8_t)0xAE)
#define OPTION_BYTE_END_PHYSICAL_ADDRESS   ((uint16_t)0x487F)
#define OPTION_BYTE_START_PHYSICAL_ADDRESS   ((uint16_t)0x4800)

Define Documentation

#define FLASH_OPTIONBYTE_ERROR   ((uint16_t)0x5555)

Error code option byte (if value read is not equal to complement value read)

Definition at line 75 of file stm8s_flash.h.

Referenced by FLASH_ReadOptionByte().

#define FLASH_PROG_START_PHYSICAL_ADDRESS   ((uint32_t)0x008000)

Program memory: start address

Definition at line 41 of file stm8s_flash.h.

#define FLASH_RASS_KEY1   ((uint8_t)0x56)

First RASS key

Definition at line 70 of file stm8s_flash.h.

Referenced by FLASH_Unlock().

#define FLASH_RASS_KEY2   ((uint8_t)0xAE)

Second RASS key

Definition at line 71 of file stm8s_flash.h.

Referenced by FLASH_Unlock().

#define OPTION_BYTE_END_PHYSICAL_ADDRESS   ((uint16_t)0x487F)

Definition at line 74 of file stm8s_flash.h.

#define OPTION_BYTE_START_PHYSICAL_ADDRESS   ((uint16_t)0x4800)

Definition at line 73 of file stm8s_flash.h.

STM8 Standard Peripherals Library: Footer

 

 

 

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