stm32h7xx_hal_flash_ex.c File Reference

Extended FLASH HAL module driver. This file provides firmware functions to manage the following functionalities of the FLASH extension peripheral: More...

#include "stm32h7xx_hal.h"
Include dependency graph for stm32h7xx_hal_flash_ex.c:

Go to the source code of this file.

Detailed Description

Extended FLASH HAL module driver. This file provides firmware functions to manage the following functionalities of the FLASH extension peripheral:

Author
MCD Application Team
  • Extended programming operations functions
==============================================================================
                  ##### Flash Extension features #####
 ==============================================================================

 [..] Comparing to other previous devices, the FLASH interface for STM32H7xx
      devices contains the following additional features

      (+) Capacity up to 2 Mbyte with dual bank architecture supporting read-while-write
          capability (RWW)
      (+) Dual bank memory organization
      (+) PCROP protection for all banks
      (+) Global readout protection (RDP)
      (+) Write protection
      (+) Secure access only protection
      (+) Bank / register swapping (when Dual-Bank)
      (+) Cyclic Redundancy Check (CRC)

                       ##### How to use this driver #####
==============================================================================
 [..] This driver provides functions to configure and program the FLASH memory
      of all STM32H7xx devices. It includes
     (#) FLASH Memory Erase functions:
          (++) Lock and Unlock the FLASH interface using HAL_FLASH_Unlock() and
               HAL_FLASH_Lock() functions
          (++) Erase function: Sector erase, bank erase and dual-bank mass erase
          (++) There are two modes of erase :
            (+++) Polling Mode using HAL_FLASHEx_Erase()
            (+++) Interrupt Mode using HAL_FLASHEx_Erase_IT()

     (#) Option Bytes Programming functions: Use HAL_FLASHEx_OBProgram() to:
       (++) Set/Reset the write protection per bank
       (++) Set the Read protection Level
       (++) Set the BOR level
       (++) Program the user Option Bytes
       (++) PCROP protection configuration and control per bank
       (++) Secure area configuration and control per bank
       (++) Core Boot address configuration
       (++) TCM / AXI shared RAM configuration
       (++) CPU Frequency Boost configuration

     (#) FLASH Memory Lock and unlock per Bank: HAL_FLASHEx_Lock_Bank1(), HAL_FLASHEx_Unlock_Bank1(),
         HAL_FLASHEx_Lock_Bank2() and HAL_FLASHEx_Unlock_Bank2() functions

     (#) FLASH CRC computation function: Use HAL_FLASHEx_ComputeCRC() to:
         (++) Enable CRC feature
         (++) Program the desired burst size
         (++) Define the user Flash Area on which the CRC has be computed
         (++) Perform the CRC computation
         (++) Disable CRC feature
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_ex.c.



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