CMSIS-Driver  
Peripheral Interface for Middleware and Application Code
 
Loading...
Searching...
No Matches
Driver_Flash.h File Reference

Data Structures

struct  ARM_FLASH_SECTOR
 Flash Sector information. More...
 
struct  ARM_FLASH_INFO
 Flash information. More...
 
struct  ARM_FLASH_STATUS
 Flash Status. More...
 
struct  ARM_FLASH_CAPABILITIES
 Flash Driver Capabilities. More...
 
struct  ARM_DRIVER_FLASH
 Access structure of the Flash Driver. More...
 

Macros

#define ARM_FLASH_API_VERSION   ARM_DRIVER_VERSION_MAJOR_MINOR(2,3) /* API version */
 
#define _ARM_Driver_Flash_(n)   Driver_Flash##n
 
#define ARM_Driver_Flash_(n)   _ARM_Driver_Flash_(n)
 
#define ARM_FLASH_SECTOR_INFO(addr, size)   { (addr), (addr)+(size)-1 }
 
#define ARM_FLASH_EVENT_READY   (1UL << 0)
 Flash Ready.
 
#define ARM_FLASH_EVENT_ERROR   (1UL << 1)
 Read/Program/Erase Error.
 

Typedefs

typedef void(* ARM_Flash_SignalEvent_t) (uint32_t event)
 Pointer to ARM_Flash_SignalEvent : Signal Flash Event.
 

Macro Definition Documentation

◆ ARM_FLASH_API_VERSION

#define ARM_FLASH_API_VERSION   ARM_DRIVER_VERSION_MAJOR_MINOR(2,3) /* API version */

◆ _ARM_Driver_Flash_

#define _ARM_Driver_Flash_ (   n)    Driver_Flash##n

◆ ARM_Driver_Flash_

#define ARM_Driver_Flash_ (   n)    _ARM_Driver_Flash_(n)

◆ ARM_FLASH_SECTOR_INFO

#define ARM_FLASH_SECTOR_INFO (   addr,
  size 
)    { (addr), (addr)+(size)-1 }