STM8S/A Standard Peripherals Drivers: FLASH_Exported_Types

STM8S/A

STM8S/A Standard Peripherals Drivers
FLASH_Exported_Types

Enumerations

enum  FLASH_Flag_TypeDef { FLASH_FLAG_DUL = (uint8_t)0x08, FLASH_FLAG_EOP = (uint8_t)0x04, FLASH_FLAG_PUL = (uint8_t)0x02, FLASH_FLAG_WR_PG_DIS = (uint8_t)0x01 }
 FLASH flags definition. More...
enum  FLASH_LPMode_TypeDef { FLASH_LPMODE_POWERDOWN = (uint8_t)0x04, FLASH_LPMODE_STANDBY = (uint8_t)0x08, FLASH_LPMODE_POWERDOWN_STANDBY = (uint8_t)0x00, FLASH_LPMODE_STANDBY_POWERDOWN = (uint8_t)0x0C }
 FLASH Low Power mode select. More...
enum  FLASH_MemType_TypeDef { FLASH_MEMTYPE_PROG = (uint8_t)0xFD, FLASH_MEMTYPE_DATA = (uint8_t)0xF7 }
 FLASH Memory types. More...
enum  FLASH_ProgramMode_TypeDef { FLASH_PROGRAMMODE_STANDARD = (uint8_t)0x00, FLASH_PROGRAMMODE_FAST = (uint8_t)0x10 }
 FLASH programming modes. More...
enum  FLASH_ProgramTime_TypeDef { FLASH_PROGRAMTIME_STANDARD = (uint8_t)0x00, FLASH_PROGRAMTIME_TPROG = (uint8_t)0x01 }
 FLASH fixed programming time. More...
enum  FLASH_Status_TypeDef { FLASH_STATUS_SUCCESSFUL_OPERATION = (uint8_t)0x04, FLASH_STATUS_TIMEOUT = (uint8_t)0x02, FLASH_STATUS_WRITE_PROTECTION_ERROR = (uint8_t)0x01 }
 FLASH status of the last operation. More...

Enumeration Type Documentation

FLASH flags definition.

  • Warning : FLAG value = mapping position register
Enumerator:
FLASH_FLAG_DUL 

Data EEPROM unlocked flag

FLASH_FLAG_EOP 

End of programming (write or erase operation) flag

FLASH_FLAG_PUL 

Flash Program memory unlocked flag

FLASH_FLAG_WR_PG_DIS 

Write attempted to protected page flag

Definition at line 139 of file stm8s_flash.h.

FLASH Low Power mode select.

Enumerator:
FLASH_LPMODE_POWERDOWN 

HALT: Power-Down / ACTIVE-HALT: Power-Down

FLASH_LPMODE_STANDBY 

HALT: Standby / ACTIVE-HALT: Standby

FLASH_LPMODE_POWERDOWN_STANDBY 

HALT: Power-Down / ACTIVE-HALT: Standby

FLASH_LPMODE_STANDBY_POWERDOWN 

HALT: Standby / ACTIVE-HALT: Power-Down

Definition at line 114 of file stm8s_flash.h.

FLASH Memory types.

Enumerator:
FLASH_MEMTYPE_PROG 

Program memory

FLASH_MEMTYPE_DATA 

Data EEPROM memory

Definition at line 90 of file stm8s_flash.h.

FLASH programming modes.

Enumerator:
FLASH_PROGRAMMODE_STANDARD 

Standard programming mode

FLASH_PROGRAMMODE_FAST 

Fast programming mode

Definition at line 98 of file stm8s_flash.h.

FLASH fixed programming time.

Enumerator:
FLASH_PROGRAMTIME_STANDARD 

Standard programming time fixed at 1/2 tprog

FLASH_PROGRAMTIME_TPROG 

Programming time fixed at tprog

Definition at line 106 of file stm8s_flash.h.

FLASH status of the last operation.

Enumerator:
FLASH_STATUS_SUCCESSFUL_OPERATION 

End of operation flag

FLASH_STATUS_TIMEOUT 

Time out error

FLASH_STATUS_WRITE_PROTECTION_ERROR 

Write attempted to protected page

Definition at line 125 of file stm8s_flash.h.

STM8 Standard Peripherals Library: Footer

 

 

 

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