STM8S/A Standard Peripherals Drivers
|
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_FPRG ((uint8_t)0x10) |
#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_WPRG ((uint8_t)0x40) |
#define FLASH_DUKR_DUK ((uint8_t)0xFF) |
#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) |
#define FLASH_IAPSR_HVOFF ((uint8_t)0x40) |
#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) |
#define FLASH_NCR2_NFPRG ((uint8_t)0x10) |
#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_NWPRG ((uint8_t)0x40) |