STM32F4xx_HAL_Driver  1.8.3
stm32f4xx_hal_nor.h File Reference

Header file of NOR HAL module. More...

Go to the source code of this file.

Data Structures

struct  NOR_IDTypeDef
 FMC NOR ID typedef. More...
 
struct  NOR_CFITypeDef
 FMC NOR CFI typedef. More...
 
struct  endif
 ADC handle Structure definition. More...
 

Typedefs

typedef struct __NOR_HandleTypeDef else typedef struct endif NOR_HandleTypeDef
 NOR handle Structure definition.
 
typedef void(* pNOR_CallbackTypeDef) (NOR_HandleTypeDef *hnor)
 HAL NOR Callback pointer definition.
 

Enumerations

enum  HAL_NOR_StateTypeDef {
  HAL_NOR_STATE_RESET = 0x00U , HAL_NOR_STATE_READY = 0x01U , HAL_NOR_STATE_BUSY = 0x02U , HAL_NOR_STATE_ERROR = 0x03U ,
  HAL_NOR_STATE_PROTECTED = 0x04U
}
 HAL SRAM State structures definition. More...
 
enum  HAL_NOR_StatusTypeDef { HAL_NOR_STATUS_SUCCESS = 0U , HAL_NOR_STATUS_ONGOING , HAL_NOR_STATUS_ERROR , HAL_NOR_STATUS_TIMEOUT }
 FMC NOR Status typedef.
 
enum  HAL_NOR_CallbackIDTypeDef { HAL_NOR_MSP_INIT_CB_ID = 0x00U , HAL_NOR_MSP_DEINIT_CB_ID = 0x01U }
 HAL NOR Callback ID enumeration definition. More...
 

Functions

HAL_StatusTypeDef HAL_NOR_Init (NOR_HandleTypeDef *hnor, FMC_NORSRAM_TimingTypeDef *Timing, FMC_NORSRAM_TimingTypeDef *ExtTiming)
 Perform the NOR memory Initialization sequence. More...
 
HAL_StatusTypeDef HAL_NOR_DeInit (NOR_HandleTypeDef *hnor)
 Perform NOR memory De-Initialization sequence. More...
 
void HAL_NOR_MspInit (NOR_HandleTypeDef *hnor)
 NOR MSP Init. More...
 
void HAL_NOR_MspDeInit (NOR_HandleTypeDef *hnor)
 NOR MSP DeInit. More...
 
void HAL_NOR_MspWait (NOR_HandleTypeDef *hnor, uint32_t Timeout)
 NOR MSP Wait for Ready/Busy signal. More...
 
HAL_StatusTypeDef HAL_NOR_Read_ID (NOR_HandleTypeDef *hnor, NOR_IDTypeDef *pNOR_ID)
 Read NOR flash IDs. More...
 
HAL_StatusTypeDef HAL_NOR_ReturnToReadMode (NOR_HandleTypeDef *hnor)
 Returns the NOR memory to Read mode. More...
 
HAL_StatusTypeDef HAL_NOR_Read (NOR_HandleTypeDef *hnor, uint32_t *pAddress, uint16_t *pData)
 Read data from NOR memory. More...
 
HAL_StatusTypeDef HAL_NOR_Program (NOR_HandleTypeDef *hnor, uint32_t *pAddress, uint16_t *pData)
 Program data to NOR memory. More...
 
HAL_StatusTypeDef HAL_NOR_ReadBuffer (NOR_HandleTypeDef *hnor, uint32_t uwAddress, uint16_t *pData, uint32_t uwBufferSize)
 Reads a half-word buffer from the NOR memory. More...
 
HAL_StatusTypeDef HAL_NOR_ProgramBuffer (NOR_HandleTypeDef *hnor, uint32_t uwAddress, uint16_t *pData, uint32_t uwBufferSize)
 Writes a half-word buffer to the NOR memory. This function must be used only with S29GL128P NOR memory. More...
 
HAL_StatusTypeDef HAL_NOR_Erase_Block (NOR_HandleTypeDef *hnor, uint32_t BlockAddress, uint32_t Address)
 Erase the specified block of the NOR memory. More...
 
HAL_StatusTypeDef HAL_NOR_Erase_Chip (NOR_HandleTypeDef *hnor, uint32_t Address)
 Erase the entire NOR chip. More...
 
HAL_StatusTypeDef HAL_NOR_Read_CFI (NOR_HandleTypeDef *hnor, NOR_CFITypeDef *pNOR_CFI)
 Read NOR flash CFI IDs. More...
 
HAL_StatusTypeDef HAL_NOR_RegisterCallback (NOR_HandleTypeDef *hnor, HAL_NOR_CallbackIDTypeDef CallbackId, pNOR_CallbackTypeDef pCallback)
 Register a User NOR Callback To be used to override the weak predefined callback. More...
 
HAL_StatusTypeDef HAL_NOR_UnRegisterCallback (NOR_HandleTypeDef *hnor, HAL_NOR_CallbackIDTypeDef CallbackId)
 Unregister a User NOR Callback NOR Callback is redirected to the weak predefined callback. More...
 
HAL_StatusTypeDef HAL_NOR_WriteOperation_Enable (NOR_HandleTypeDef *hnor)
 Enables dynamically NOR write operation. More...
 
HAL_StatusTypeDef HAL_NOR_WriteOperation_Disable (NOR_HandleTypeDef *hnor)
 Disables dynamically NOR write operation. More...
 
HAL_NOR_StateTypeDef HAL_NOR_GetState (const NOR_HandleTypeDef *hnor)
 return the NOR controller state More...
 
HAL_NOR_StatusTypeDef HAL_NOR_GetStatus (NOR_HandleTypeDef *hnor, uint32_t Address, uint32_t Timeout)
 Returns the NOR operation status. More...
 

Detailed Description

Header file of NOR HAL module.

Author
MCD Application Team
Attention

Copyright (c) 2016 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Definition in file stm32f4xx_hal_nor.h.