Classes | Macros | Enumerations | Functions
stm32f7xx_hal_flash.h File Reference

Header file of FLASH HAL module. More...

#include "stm32f7xx_hal_def.h"
#include "stm32f7xx_hal_flash_ex.h"
Include dependency graph for stm32f7xx_hal_flash.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FLASH_ProcessTypeDef
 FLASH handle Structure definition
More...
 

Macros

#define __HAL_FLASH_ART_DISABLE()   CLEAR_BIT(FLASH->ACR, FLASH_ACR_ARTEN)
 Disable the FLASH Adaptive Real-Time memory accelerator. More...
 
#define __HAL_FLASH_ART_ENABLE()   SET_BIT(FLASH->ACR, FLASH_ACR_ARTEN)
 Enable the FLASH Adaptive Real-Time memory accelerator. More...
 
#define __HAL_FLASH_ART_RESET()   (FLASH->ACR |= FLASH_ACR_ARTRST)
 Resets the FLASH Adaptive Real-Time memory accelerator. More...
 
#define __HAL_FLASH_CLEAR_FLAG(__FLAG__)   (FLASH->SR = (__FLAG__))
 Clear the specified FLASH flag. More...
 
#define __HAL_FLASH_DISABLE_IT(__INTERRUPT__)   (FLASH->CR &= ~(uint32_t)(__INTERRUPT__))
 Disable the specified FLASH interrupt. More...
 
#define __HAL_FLASH_ENABLE_IT(__INTERRUPT__)   (FLASH->CR |= (__INTERRUPT__))
 Enable the specified FLASH interrupt. More...
 
#define __HAL_FLASH_GET_FLAG(__FLAG__)   ((FLASH->SR & (__FLAG__)))
 Get the specified FLASH flag status. More...
 
#define __HAL_FLASH_GET_LATENCY()   (READ_BIT((FLASH->ACR), FLASH_ACR_LATENCY))
 Get the FLASH Latency. More...
 
#define __HAL_FLASH_PREFETCH_BUFFER_DISABLE()   (FLASH->ACR &= (~FLASH_ACR_PRFTEN))
 Disable the FLASH prefetch buffer. More...
 
#define __HAL_FLASH_PREFETCH_BUFFER_ENABLE()   (FLASH->ACR |= FLASH_ACR_PRFTEN)
 Enable the FLASH prefetch buffer. More...
 
#define __HAL_FLASH_SET_LATENCY(__LATENCY__)   MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, (uint32_t)(__LATENCY__))
 Set the FLASH Latency. More...
 
#define CR_PSIZE_MASK   ((uint32_t)0xFFFFFCFFU)
 
#define FLASH_FLAG_ALL_ERRORS
 
#define FLASH_FLAG_BSY   FLASH_SR_BSY
 
#define FLASH_FLAG_EOP   FLASH_SR_EOP
 
#define FLASH_FLAG_ERSERR   FLASH_SR_ERSERR
 
#define FLASH_FLAG_OPERR   FLASH_SR_OPERR
 
#define FLASH_FLAG_PGAERR   FLASH_SR_PGAERR
 
#define FLASH_FLAG_PGPERR   FLASH_SR_PGPERR
 
#define FLASH_FLAG_WRPERR   FLASH_SR_WRPERR
 
#define FLASH_IT_EOP   FLASH_CR_EOPIE
 
#define FLASH_IT_ERR   ((uint32_t)0x02000000U)
 
#define FLASH_KEY1   ((uint32_t)0x45670123U)
 
#define FLASH_KEY2   ((uint32_t)0xCDEF89ABU)
 
#define FLASH_OPT_KEY1   ((uint32_t)0x08192A3BU)
 
#define FLASH_OPT_KEY2   ((uint32_t)0x4C5D6E7FU)
 
#define FLASH_PSIZE_BYTE   ((uint32_t)0x00000000U)
 
#define FLASH_PSIZE_DOUBLE_WORD   ((uint32_t)FLASH_CR_PSIZE)
 
#define FLASH_PSIZE_HALF_WORD   ((uint32_t)FLASH_CR_PSIZE_0)
 
#define FLASH_PSIZE_WORD   ((uint32_t)FLASH_CR_PSIZE_1)
 
#define FLASH_SECTOR_0   ((uint32_t)0U)
 
#define FLASH_SECTOR_1   ((uint32_t)1U)
 
#define FLASH_SECTOR_2   ((uint32_t)2U)
 
#define FLASH_SECTOR_3   ((uint32_t)3U)
 
#define FLASH_SECTOR_4   ((uint32_t)4U)
 
#define FLASH_SECTOR_5   ((uint32_t)5U)
 
#define FLASH_SECTOR_6   ((uint32_t)6U)
 
#define FLASH_SECTOR_7   ((uint32_t)7U)
 
#define FLASH_TYPEPROGRAM_BYTE   ((uint32_t)0x00U)
 
#define FLASH_TYPEPROGRAM_DOUBLEWORD   ((uint32_t)0x03U)
 
#define FLASH_TYPEPROGRAM_HALFWORD   ((uint32_t)0x01U)
 
#define FLASH_TYPEPROGRAM_WORD   ((uint32_t)0x02U)
 
#define HAL_FLASH_ERROR_ERS   ((uint32_t)0x00000002U)
 
#define HAL_FLASH_ERROR_NONE   ((uint32_t)0x00000000U)
 
#define HAL_FLASH_ERROR_OPERATION   ((uint32_t)0x00000020U)
 
#define HAL_FLASH_ERROR_PGA   ((uint32_t)0x00000008U)
 
#define HAL_FLASH_ERROR_PGP   ((uint32_t)0x00000004U)
 
#define HAL_FLASH_ERROR_RD   ((uint32_t)0x00000040U)
 
#define HAL_FLASH_ERROR_WRP   ((uint32_t)0x00000010U)
 
#define IS_FLASH_TYPEPROGRAM(VALUE)
 
#define OPTCR_BYTE1_ADDRESS   ((uint32_t)0x40023C15)
 OPTCR register byte 1 (Bits[15:8]) base address. More...
 

Enumerations

enum  FLASH_ProcedureTypeDef {
  FLASH_PROC_NONE = 0U, FLASH_PROC_SECTERASE, FLASH_PROC_MASSERASE, FLASH_PROC_PROGRAM,
  FLASH_PROC_NONE = 0U, FLASH_PROC_SECTERASE, FLASH_PROC_MASSERASE, FLASH_PROC_PROGRAM,
  FLASH_PROC_NONE = 0U, FLASH_PROC_SECTERASE, FLASH_PROC_MASSERASE, FLASH_PROC_PROGRAM,
  FLASH_PROC_NONE = 0U, FLASH_PROC_SECTERASE, FLASH_PROC_MASSERASE, FLASH_PROC_PROGRAM,
  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_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 Procedure structure definition. More...
 

Functions

HAL_StatusTypeDef FLASH_WaitForLastOperation (uint32_t Timeout)
 
void HAL_FLASH_EndOfOperationCallback (uint32_t ReturnValue)
 
uint32_t HAL_FLASH_GetError (void)
 
void HAL_FLASH_IRQHandler (void)
 
HAL_StatusTypeDef HAL_FLASH_Lock (void)
 
HAL_StatusTypeDef HAL_FLASH_OB_Launch (void)
 
HAL_StatusTypeDef HAL_FLASH_OB_Lock (void)
 
HAL_StatusTypeDef HAL_FLASH_OB_Unlock (void)
 
void HAL_FLASH_OperationErrorCallback (uint32_t ReturnValue)
 
HAL_StatusTypeDef HAL_FLASH_Program (uint32_t TypeProgram, uint32_t Address, uint64_t Data)
 
HAL_StatusTypeDef HAL_FLASH_Program_IT (uint32_t TypeProgram, uint32_t Address, uint64_t Data)
 
HAL_StatusTypeDef HAL_FLASH_Unlock (void)
 

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 stm32f7xx_hal_flash.h.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:02