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

Header file of NOR HAL module. More...

#include "stm32f7xx_ll_fmc.h"
Include dependency graph for stm32f7xx_hal_nor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Macros

#define __HAL_NOR_RESET_HANDLE_STATE(__HANDLE__)   ((__HANDLE__)->State = HAL_NOR_STATE_RESET)
 Reset NOR handle state. More...
 
#define CFI1_ADDRESS   ((uint16_t)0x61U)
 
#define CFI2_ADDRESS   ((uint16_t)0x62U)
 
#define CFI3_ADDRESS   ((uint16_t)0x63U)
 
#define CFI4_ADDRESS   ((uint16_t)0x64U)
 
#define DEVICE_CODE1_ADDR   ((uint16_t)0x0001U)
 
#define DEVICE_CODE2_ADDR   ((uint16_t)0x000EU)
 
#define DEVICE_CODE3_ADDR   ((uint16_t)0x000FU)
 
#define MC_ADDRESS   ((uint16_t)0x0000U)
 
#define NOR_ADDR_SHIFT(__NOR_ADDRESS, __NOR_MEMORY_WIDTH_, __ADDRESS__)
 NOR memory address shifting. More...
 
#define NOR_MEMORY_16B   ((uint8_t)0x1U)
 
#define NOR_MEMORY_8B   ((uint8_t)0x0U)
 
#define NOR_MEMORY_ADRESS1   ((uint32_t)0x60000000U)
 
#define NOR_MEMORY_ADRESS2   ((uint32_t)0x64000000U)
 
#define NOR_MEMORY_ADRESS3   ((uint32_t)0x68000000U)
 
#define NOR_MEMORY_ADRESS4   ((uint32_t)0x6C000000U)
 
#define NOR_TMEOUT   ((uint16_t)0xFFFFU)
 
#define NOR_WRITE(__ADDRESS__, __DATA__)
 NOR memory write data to specified address. More...
 

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. More...
 

Functions

HAL_StatusTypeDef HAL_NOR_DeInit (NOR_HandleTypeDef *hnor)
 
HAL_StatusTypeDef HAL_NOR_Erase_Block (NOR_HandleTypeDef *hnor, uint32_t BlockAddress, uint32_t Address)
 
HAL_StatusTypeDef HAL_NOR_Erase_Chip (NOR_HandleTypeDef *hnor, uint32_t Address)
 
HAL_NOR_StateTypeDef HAL_NOR_GetState (NOR_HandleTypeDef *hnor)
 
HAL_NOR_StatusTypeDef HAL_NOR_GetStatus (NOR_HandleTypeDef *hnor, uint32_t Address, uint32_t Timeout)
 
HAL_StatusTypeDef HAL_NOR_Init (NOR_HandleTypeDef *hnor, FMC_NORSRAM_TimingTypeDef *Timing, FMC_NORSRAM_TimingTypeDef *ExtTiming)
 
void HAL_NOR_MspDeInit (NOR_HandleTypeDef *hnor)
 
void HAL_NOR_MspInit (NOR_HandleTypeDef *hnor)
 
void HAL_NOR_MspWait (NOR_HandleTypeDef *hnor, uint32_t Timeout)
 
HAL_StatusTypeDef HAL_NOR_Program (NOR_HandleTypeDef *hnor, uint32_t *pAddress, uint16_t *pData)
 
HAL_StatusTypeDef HAL_NOR_ProgramBuffer (NOR_HandleTypeDef *hnor, uint32_t uwAddress, uint16_t *pData, uint32_t uwBufferSize)
 
HAL_StatusTypeDef HAL_NOR_Read (NOR_HandleTypeDef *hnor, uint32_t *pAddress, uint16_t *pData)
 
HAL_StatusTypeDef HAL_NOR_Read_CFI (NOR_HandleTypeDef *hnor, NOR_CFITypeDef *pNOR_CFI)
 
HAL_StatusTypeDef HAL_NOR_Read_ID (NOR_HandleTypeDef *hnor, NOR_IDTypeDef *pNOR_ID)
 
HAL_StatusTypeDef HAL_NOR_ReadBuffer (NOR_HandleTypeDef *hnor, uint32_t uwAddress, uint16_t *pData, uint32_t uwBufferSize)
 
HAL_StatusTypeDef HAL_NOR_ReturnToReadMode (NOR_HandleTypeDef *hnor)
 
HAL_StatusTypeDef HAL_NOR_WriteOperation_Disable (NOR_HandleTypeDef *hnor)
 
HAL_StatusTypeDef HAL_NOR_WriteOperation_Enable (NOR_HandleTypeDef *hnor)
 

Detailed Description

Header file of NOR 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_nor.h.



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