STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
stm32f7xx_hal_nor.c File Reference

NOR HAL module driver. This file provides a generic firmware to drive NOR memories mounted as external device. More...

#include "stm32f7xx_hal.h"

Go to the source code of this file.

Detailed Description

NOR HAL module driver. This file provides a generic firmware to drive NOR memories mounted as external device.

Author
MCD Application Team
Version
V1.1.0
Date
22-April-2016
==============================================================================
                   ##### How to use this driver #####
==============================================================================       
  [..]
    This driver is a generic layered driver which contains a set of APIs used to 
    control NOR flash memories. It uses the FMC layer functions to interface 
    with NOR devices. This driver is used as follows:
  
    (+) NOR flash memory configuration sequence using the function HAL_NOR_Init() 
        with control and timing parameters for both normal and extended mode.
          
    (+) Read NOR flash memory manufacturer code and device IDs using the function
        HAL_NOR_Read_ID(). The read information is stored in the NOR_ID_TypeDef 
        structure declared by the function caller. 
      
    (+) Access NOR flash memory by read/write data unit operations using the functions
        HAL_NOR_Read(), HAL_NOR_Program().
      
    (+) Perform NOR flash erase block/chip operations using the functions 
        HAL_NOR_Erase_Block() and HAL_NOR_Erase_Chip().
      
    (+) Read the NOR flash CFI (common flash interface) IDs using the function
        HAL_NOR_Read_CFI(). The read information is stored in the NOR_CFI_TypeDef
        structure declared by the function caller.
      
    (+) You can also control the NOR device by calling the control APIs HAL_NOR_WriteOperation_Enable()/
        HAL_NOR_WriteOperation_Disable() to respectively enable/disable the NOR write operation  
     
    (+) You can monitor the NOR device HAL state by calling the function
        HAL_NOR_GetState() 
  [..]
   (@) This driver is a set of generic APIs which handle standard NOR flash operations.
       If a NOR flash device contains different operations and/or implementations, 
       it should be implemented separately.

   *** NOR HAL driver macros list ***
   ============================================= 
   [..]
     Below the list of most used macros in NOR HAL driver.
     
    (+) NOR_WRITE : NOR memory write data to specified address
Attention

© COPYRIGHT(c) 2016 STMicroelectronics

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file stm32f7xx_hal_nor.c.