ChibiOS 21.11.4
hal_flash_interface.h File Reference

Generated Flash Interface header. More...

Go to the source code of this file.

Data Structures

struct  flash_interface_vmt
 Interface flash_interface_i virtual methods table. More...
struct  flash_interface
 Structure representing a flash interface interface. More...

Typedefs

Interface @p flash_interface_i structures
typedef struct flash_interface flash_interface_i
 Type of a flash interface interface.

Functions

Virtual methods of flash_interface_i
static CC_FORCE_INLINE const flash_descriptor_tflsGetDescriptor (void *ip)
 Gets the flash descriptor structure.
static CC_FORCE_INLINE flash_error_t flsRead (void *ip, flash_offset_t offset, size_t n, uint8_t *rp)
 Read operation.
static CC_FORCE_INLINE flash_error_t flsProgram (void *ip, flash_offset_t offset, size_t n, const uint8_t *pp)
 Program operation.
static CC_FORCE_INLINE flash_error_t flsStartEraseAll (void *ip)
 Starts a whole-device erase operation.
static CC_FORCE_INLINE flash_error_t flsStartEraseSector (void *ip, flash_sector_t sector)
 Starts an sector erase operation.
static CC_FORCE_INLINE flash_error_t flsQueryErase (void *ip, unsigned *msec)
 Queries the driver for erase operation progress.
static CC_FORCE_INLINE flash_error_t flsVerifyErase (void *ip, flash_sector_t sector)
 Returns the erase state of a sector.
static CC_FORCE_INLINE flash_error_t flsAcquireExclusive (void *ip)
 Acquires exclusive access to flash.
static CC_FORCE_INLINE flash_error_t flsReleaseExclusive (void *ip)
 Releases exclusive access to flash.

Detailed Description

Generated Flash Interface header.

Note
This is a generated file, do not edit directly.

Definition in file hal_flash_interface.h.