rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Data Structures | Functions | Variables
stm32h7xx_hal_flash.h File Reference

Detailed Description

Header file of FLASH HAL module.

Author
MCD Application Team
Attention

© COPYRIGHT(c) 2017 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32h7xx_hal_flash.h.

Data Structures

struct  FLASH_ProcessTypeDef
 FLASH handle Structure definition
More...
 

Functions

HAL_StatusTypeDef HAL_FLASH_Program (uint32_t TypeProgram, uint32_t FlashAddress, uint32_t DataAddress)
 Program flash word at a specified address.
 
HAL_StatusTypeDef HAL_FLASH_Program_IT (uint32_t TypeProgram, uint32_t FlashAddress, uint32_t DataAddress)
 Program flash words of 256 bits at a specified address with interrupt enabled.
 
void HAL_FLASH_IRQHandler (void)
 This function handles FLASH interrupt request.
 
__weak void HAL_FLASH_EndOfOperationCallback (uint32_t ReturnValue)
 FLASH end of operation interrupt callback.
 
__weak void HAL_FLASH_OperationErrorCallback (uint32_t ReturnValue)
 FLASH operation error interrupt callback.
 
HAL_StatusTypeDef HAL_FLASH_Unlock (void)
 Unlock the FLASH control register access.
 
HAL_StatusTypeDef HAL_FLASH_Lock (void)
 Locks the FLASH control register access.
 
HAL_StatusTypeDef HAL_FLASH_OB_Unlock (void)
 Unlock the FLASH Option Control Registers access.
 
HAL_StatusTypeDef HAL_FLASH_OB_Lock (void)
 Lock the FLASH Option Control Registers access.
 
HAL_StatusTypeDef HAL_FLASH_OB_Launch (void)
 Launch the option byte loading.
 
uint32_t HAL_FLASH_GetError (void)
 Get the specific FLASH error flag.
 
HAL_StatusTypeDef FLASH_WaitForLastOperation (uint32_t Timeout, uint32_t Bank)
 Wait for a FLASH operation to complete.
 
HAL_StatusTypeDef FLASH_OB_WaitForLastOperation (uint32_t Timeout)
 Wait for a FLASH Option Bytes change operation to complete.
 
HAL_StatusTypeDef FLASH_CRC_WaitForLastOperation (uint32_t Timeout, uint32_t Bank)
 Wait for a FLASH CRC computation to complete.
 

Variables

 C
 
FLASH_ProcessTypeDef pFlash
 

Variable Documentation

◆ C

C
extern
Initial value:
{
#endif
typedef enum
{
FLASH_PROC_NONE = 0U,
FLASH_PROC_SECTERASE_BANK1,
FLASH_PROC_MASSERASE_BANK1,
FLASH_PROC_PROGRAM_BANK1,
FLASH_PROC_SECTERASE_BANK2,
FLASH_PROC_MASSERASE_BANK2,
FLASH_PROC_PROGRAM_BANK2,
FLASH_PROC_ALLBANK_MASSERASE
} FLASH_ProcedureTypeDef
This file contains HAL common defines, enumeration, macros and structures definitions.

Go to the source code of this file.