rusEFI
The most advanced open source ECU
|
Extended IO operation functions. More...
Functions | |
HAL_StatusTypeDef | HAL_FLASHEx_Erase (FLASH_EraseInitTypeDef *pEraseInit, uint32_t *SectorError) |
Perform a mass erase or erase the specified FLASH memory sectors. More... | |
HAL_StatusTypeDef | HAL_FLASHEx_Erase_IT (FLASH_EraseInitTypeDef *pEraseInit) |
Perform a mass erase or erase the specified FLASH memory sectors with interrupt enabled. More... | |
HAL_StatusTypeDef | HAL_FLASHEx_OBProgram (FLASH_OBProgramInitTypeDef *pOBInit) |
Program option bytes. More... | |
void | HAL_FLASHEx_OBGetConfig (FLASH_OBProgramInitTypeDef *pOBInit) |
Get the Option byte configuration. More... | |
HAL_StatusTypeDef | HAL_FLASHEx_AdvOBProgram (FLASH_AdvOBProgramInitTypeDef *pAdvOBInit) |
Program option bytes. More... | |
void | HAL_FLASHEx_AdvOBGetConfig (FLASH_AdvOBProgramInitTypeDef *pAdvOBInit) |
Get the OBEX byte configuration. More... | |
HAL_StatusTypeDef | HAL_FLASHEx_OB_SelectPCROP (void) |
Select the Protection Mode. More... | |
HAL_StatusTypeDef | HAL_FLASHEx_OB_DeSelectPCROP (void) |
Deselect the Protection Mode. More... | |
uint16_t | HAL_FLASHEx_OB_GetBank2WRP (void) |
Returns the FLASH Write Protection Option Bytes value for Bank 2. More... | |
HAL_StatusTypeDef | HAL_FLASHEx_Unlock_Bank1 (void) |
Unlock the FLASH Bank1 control registers access. More... | |
HAL_StatusTypeDef | HAL_FLASHEx_Lock_Bank1 (void) |
Locks the FLASH Bank1 control registers access. More... | |
HAL_StatusTypeDef | HAL_FLASHEx_Unlock_Bank2 (void) |
Unlock the FLASH Bank2 control registers access. More... | |
HAL_StatusTypeDef | HAL_FLASHEx_Lock_Bank2 (void) |
Locks the FLASH Bank2 control registers access. More... | |
HAL_StatusTypeDef | HAL_FLASHEx_ComputeCRC (FLASH_CRCInitTypeDef *pCRCInit, uint32_t *CRC_Result) |
void | FLASH_FlushCaches (void) |
Flush the instruction and data caches. More... | |
Extended IO operation functions.
=============================================================================== ##### Extended programming operation functions ##### =============================================================================== [..] This subsection provides a set of functions allowing to manage the Extension FLASH programming operations.
=============================================================================== ##### Extended programming operation functions ##### =============================================================================== [..] This subsection provides a set of functions allowing to manage the Extension FLASH programming operations Operations.
=============================================================================== ##### Extended programming operation functions ##### =============================================================================== [..] This subsection provides a set of functions allowing to manage the Extension FLASH programming operations Operations.
void FLASH_FlushCaches | ( | void | ) |
Flush the instruction and data caches.
None |
Definition at line 370 of file stm32f4xx_hal_flash_ex.c.
Referenced by HAL_FLASH_IRQHandler(), and HAL_FLASHEx_Erase().
void HAL_FLASHEx_AdvOBGetConfig | ( | FLASH_AdvOBProgramInitTypeDef * | pAdvOBInit | ) |
Get the OBEX byte configuration.
pAdvOBInit | pointer to an FLASH_AdvOBProgramInitTypeDef structure that contains the configuration information for the programming. |
None |
Definition at line 482 of file stm32f4xx_hal_flash_ex.c.
HAL_StatusTypeDef HAL_FLASHEx_AdvOBProgram | ( | FLASH_AdvOBProgramInitTypeDef * | pAdvOBInit | ) |
Program option bytes.
pAdvOBInit | pointer to an FLASH_AdvOBProgramInitTypeDef structure that contains the configuration information for the programming. |
HAL | Status |
Definition at line 430 of file stm32f4xx_hal_flash_ex.c.
HAL_StatusTypeDef HAL_FLASHEx_ComputeCRC | ( | FLASH_CRCInitTypeDef * | pCRCInit, |
uint32_t * | CRC_Result | ||
) |
Definition at line 708 of file stm32h7xx_hal_flash_ex.c.
HAL_StatusTypeDef HAL_FLASHEx_Erase | ( | FLASH_EraseInitTypeDef * | pEraseInit, |
uint32_t * | SectorError | ||
) |
Perform a mass erase or erase the specified FLASH memory sectors.
[in] | pEraseInit | pointer to an FLASH_EraseInitTypeDef structure that contains the configuration information for the erasing. |
[out] | SectorError | pointer to variable that contains the configuration information on faulty sector in case of error (0xFFFFFFFF means that all the sectors have been correctly erased) |
HAL | Status |
[in] | pEraseInit | pointer to an FLASH_EraseInitTypeDef structure that contains the configuration information for the erasing. |
[out] | SectorError | pointer to variable that contains the configuration information on faulty sector in case of error (0xFFFFFFFF means that all the sectors have been correctly erased) |
HAL | Status |
Definition at line 190 of file stm32f4xx_hal_flash_ex.c.
HAL_StatusTypeDef HAL_FLASHEx_Erase_IT | ( | FLASH_EraseInitTypeDef * | pEraseInit | ) |
Perform a mass erase or erase the specified FLASH memory sectors with interrupt enabled.
pEraseInit | pointer to an FLASH_EraseInitTypeDef structure that contains the configuration information for the erasing. |
HAL | Status |
pEraseInit | pointer to an FLASH_EraseInitTypeDef structure that contains the configuration information for the erasing. |
HAL | Status |
Definition at line 261 of file stm32f4xx_hal_flash_ex.c.
HAL_StatusTypeDef HAL_FLASHEx_Lock_Bank1 | ( | void | ) |
Locks the FLASH Bank1 control registers access.
HAL | Status |
Definition at line 655 of file stm32h7xx_hal_flash_ex.c.
HAL_StatusTypeDef HAL_FLASHEx_Lock_Bank2 | ( | void | ) |
Locks the FLASH Bank2 control registers access.
HAL | Status |
Definition at line 689 of file stm32h7xx_hal_flash_ex.c.
HAL_StatusTypeDef HAL_FLASHEx_OB_DeSelectPCROP | ( | void | ) |
Deselect the Protection Mode.
HAL | Status |
Definition at line 537 of file stm32f4xx_hal_flash_ex.c.
uint16_t HAL_FLASHEx_OB_GetBank2WRP | ( | void | ) |
Returns the FLASH Write Protection Option Bytes value for Bank 2.
The | FLASH Write Protection Option Bytes value |
Definition at line 558 of file stm32f4xx_hal_flash_ex.c.
HAL_StatusTypeDef HAL_FLASHEx_OB_SelectPCROP | ( | void | ) |
Select the Protection Mode.
HAL | Status |
Definition at line 512 of file stm32f4xx_hal_flash_ex.c.
void HAL_FLASHEx_OBGetConfig | ( | FLASH_OBProgramInitTypeDef * | pOBInit | ) |
Get the Option byte configuration.
pOBInit | pointer to an FLASH_OBInitStruct structure that contains the configuration information for the programming. |
None |
pOBInit | pointer to an FLASH_OBInitStruct structure that contains the configuration information for the programming. |
None |
Definition at line 402 of file stm32f4xx_hal_flash_ex.c.
Referenced by BOR_Get().
HAL_StatusTypeDef HAL_FLASHEx_OBProgram | ( | FLASH_OBProgramInitTypeDef * | pOBInit | ) |
Program option bytes.
pOBInit | pointer to an FLASH_OBInitStruct structure that contains the configuration information for the programming. |
HAL | Status |
pOBInit | pointer to an FLASH_OBInitStruct structure that contains the configuration information for the programming. |
HAL | Status |
Definition at line 314 of file stm32f4xx_hal_flash_ex.c.
Referenced by BOR_Set().
HAL_StatusTypeDef HAL_FLASHEx_Unlock_Bank1 | ( | void | ) |
Unlock the FLASH Bank1 control registers access.
HAL | Status |
Definition at line 633 of file stm32h7xx_hal_flash_ex.c.
HAL_StatusTypeDef HAL_FLASHEx_Unlock_Bank2 | ( | void | ) |
Unlock the FLASH Bank2 control registers access.
HAL | Status |
Definition at line 667 of file stm32h7xx_hal_flash_ex.c.