rusEFI
The most advanced open source ECU
|
Modules | |
Extended IO operation functions | |
Extended IO operation functions. | |
Functions | |
void | FLASH_Erase_Sector (uint32_t Sector, uint8_t VoltageRange) |
Erase the specified FLASH memory sector. | |
static void | FLASH_MassErase (uint8_t VoltageRange, uint32_t Banks) |
Full erase of FLASH memory sectors. | |
static uint32_t | FLASH_OB_GetWRP (void) |
Return the FLASH Write Protection Option Bytes value. | |
static uint32_t | FLASH_OB_GetUser (void) |
Return the FLASH User Option Byte value. | |
static HAL_StatusTypeDef | FLASH_OB_RDP_LevelConfig (uint8_t Level) |
Set the read protection level. | |
static HAL_StatusTypeDef | FLASH_OB_BOR_LevelConfig (uint8_t Level) |
Set the BOR Level. | |
static uint8_t | FLASH_OB_GetRDP (void) |
Returns the FLASH Read Protection level. | |
static uint32_t | FLASH_OB_GetBOR (void) |
Returns the FLASH BOR level. | |
void FLASH_Erase_Sector | ( | uint32_t | Sector, |
uint8_t | VoltageRange | ||
) |
Erase the specified FLASH memory sector.
Sector | FLASH sector to erase The value of this parameter depend on device used within the same series |
VoltageRange | The device voltage range which defines the erase parallelism. This parameter can be one of the following values:
|
None |
Definition at line 637 of file stm32f4xx_hal_flash_ex.c.
Referenced by HAL_FLASH_IRQHandler(), HAL_FLASHEx_Erase(), and HAL_FLASHEx_Erase_IT().
|
static |
Full erase of FLASH memory sectors.
Mass erase of FLASH memory.
VoltageRange | The device voltage range which defines the erase parallelism. This parameter can be one of the following values:
|
Banks | Banks to be erased This parameter can be one of the following values:
|
HAL | Status |
VoltageRange | The device voltage range which defines the erase parallelism. This parameter can be one of the following values:
|
Banks | Banks to be erased This parameter can be one of the following values:
|
HAL | Status |
VoltageRange | The device voltage range which defines the erase parallelism. This parameter can be one of the following values:
|
Banks | Banks to be erased This parameter can be one of the following values:
|
None |
Definition at line 466 of file stm32f7xx_hal_flash_ex.c.
|
static |
Set the BOR Level.
Level | specifies the Option Bytes BOR Reset Level. This parameter can be one of the following values:
|
HAL | Status |
Definition at line 927 of file stm32f7xx_hal_flash_ex.c.
|
static |
Returns the FLASH BOR level.
uint32_t | The FLASH BOR level:
|
uint8_t | The FLASH BOR level:
|
Definition at line 1019 of file stm32f7xx_hal_flash_ex.c.
|
static |
Returns the FLASH Read Protection level.
FlagStatus | FLASH ReadOut Protection Status: This parameter can be one of the following values:
|
FLASH | ReadOut Protection Status: This parameter can be one of the following values:
|
Definition at line 991 of file stm32f7xx_hal_flash_ex.c.
|
static |
Return the FLASH User Option Byte value.
uint32_t | FLASH User Option Bytes values: WWDG_SW(Bit4), IWDG_SW(Bit5), nRST_STOP(Bit6), nRST_STDBY(Bit7), nDBOOT(Bit28), nDBANK(Bit29), IWDG_STDBY(Bit30) and IWDG_STOP(Bit31). |
uint32_t | FLASH User Option Bytes values: WWDG_SW(Bit4), IWDG_SW(Bit5), nRST_STOP(Bit6), nRST_STDBY(Bit7), IWDG_STDBY(Bit30) and IWDG_STOP(Bit31). |
uint8_t | FLASH User Option Bytes values: IWDG_SW(Bit0), RST_STOP(Bit1) and RST_STDBY(Bit2). |
Definition at line 643 of file stm32f7xx_hal_flash_ex.c.
|
static |
Return the FLASH Write Protection Option Bytes value.
uint32_t | FLASH Write Protection Option Bytes value |
uint16_t | FLASH Write Protection Option Bytes value |
Definition at line 559 of file stm32f7xx_hal_flash_ex.c.
|
static |
Set the read protection level.
Level | specifies the read protection level. This parameter can be one of the following values:
|
HAL | Status |
Definition at line 899 of file stm32f7xx_hal_flash_ex.c.