Classes | Macros | Functions
stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h File Reference

Header file of FLASH HAL Extension module. More...

#include "stm32f4xx_hal_def.h"
Include dependency graph for stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FLASH_EraseInitTypeDef
 FLASH Erase structure definition. More...
 
struct  FLASH_OBProgramInitTypeDef
 FLASH Option Bytes Program structure definition. More...
 

Macros

#define FLASH_TYPEERASE_MASSERASE   0x00000001U
 
#define FLASH_TYPEERASE_SECTORS   0x00000000U
 
#define FLASH_VOLTAGE_RANGE_1   0x00000000U
 
#define FLASH_VOLTAGE_RANGE_2   0x00000001U
 
#define FLASH_VOLTAGE_RANGE_3   0x00000002U
 
#define FLASH_VOLTAGE_RANGE_4   0x00000003U
 
#define IS_FLASH_ADDRESS(ADDRESS)
 
#define IS_FLASH_NBSECTORS(NBSECTORS)   (((NBSECTORS) != 0) && ((NBSECTORS) <= FLASH_SECTOR_TOTAL))
 
#define IS_FLASH_TYPEERASE(VALUE)
 
#define IS_OB_BOR_LEVEL(LEVEL)
 
#define IS_OB_IWDG_SOURCE(SOURCE)   (((SOURCE) == OB_IWDG_SW) || ((SOURCE) == OB_IWDG_HW))
 
#define IS_OB_RDP_LEVEL(LEVEL)
 
#define IS_OB_STDBY_SOURCE(SOURCE)   (((SOURCE) == OB_STDBY_NO_RST) || ((SOURCE) == OB_STDBY_RST))
 
#define IS_OB_STOP_SOURCE(SOURCE)   (((SOURCE) == OB_STOP_NO_RST) || ((SOURCE) == OB_STOP_RST))
 
#define IS_OPTIONBYTE(VALUE)   (((VALUE) <= (OPTIONBYTE_WRP|OPTIONBYTE_RDP|OPTIONBYTE_USER|OPTIONBYTE_BOR)))
 
#define IS_VOLTAGERANGE(RANGE)
 
#define IS_WRPSTATE(VALUE)
 
#define OB_BOR_LEVEL1   ((uint8_t)0x08)
 
#define OB_BOR_LEVEL2   ((uint8_t)0x04)
 
#define OB_BOR_LEVEL3   ((uint8_t)0x00)
 
#define OB_BOR_OFF   ((uint8_t)0x0C)
 
#define OB_IWDG_HW   ((uint8_t)0x00)
 
#define OB_IWDG_SW   ((uint8_t)0x20)
 
#define OB_RDP_LEVEL_0   ((uint8_t)0xAA)
 
#define OB_RDP_LEVEL_1   ((uint8_t)0x55)
 
#define OB_RDP_LEVEL_2   ((uint8_t)0xCC)
 
#define OB_STDBY_NO_RST   ((uint8_t)0x80)
 
#define OB_STDBY_RST   ((uint8_t)0x00)
 
#define OB_STOP_NO_RST   ((uint8_t)0x40)
 
#define OB_STOP_RST   ((uint8_t)0x00)
 
#define OB_WRPSTATE_DISABLE   0x00000000U
 
#define OB_WRPSTATE_ENABLE   0x00000001U
 
#define OPTIONBYTE_BOR   0x00000008U
 
#define OPTIONBYTE_RDP   0x00000002U
 
#define OPTIONBYTE_USER   0x00000004U
 
#define OPTIONBYTE_WRP   0x00000001U
 

Functions

void FLASH_Erase_Sector (uint32_t Sector, uint8_t VoltageRange)
 
void FLASH_FlushCaches (void)
 
HAL_StatusTypeDef HAL_FLASHEx_Erase (FLASH_EraseInitTypeDef *pEraseInit, uint32_t *SectorError)
 
HAL_StatusTypeDef HAL_FLASHEx_Erase_IT (FLASH_EraseInitTypeDef *pEraseInit)
 
void HAL_FLASHEx_OBGetConfig (FLASH_OBProgramInitTypeDef *pOBInit)
 
HAL_StatusTypeDef HAL_FLASHEx_OBProgram (FLASH_OBProgramInitTypeDef *pOBInit)
 

Detailed Description

Header file of FLASH HAL Extension 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 stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h.



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