ChibiOS  21.6.0
hal_efl_lld.h File Reference

PLATFORM Embedded Flash subsystem low level driver header. More...

Go to the source code of this file.

Macros

#define efl_lld_driver_fields
 Low level fields of the embedded flash driver structure. More...
 
#define efl_lld_config_fields
 Low level fields of the embedded flash configuration structure. More...
 
PLATFORM configuration options
#define PLATFORM_EFL_USE_EFL1   FALSE
 EFL1 driver enable switch. More...
 

Functions

void efl_lld_init (void)
 Low level Embedded Flash driver initialization. More...
 
void efl_lld_start (EFlashDriver *eflp)
 Configures and activates the Embedded Flash peripheral. More...
 
void efl_lld_stop (EFlashDriver *eflp)
 Deactivates the Embedded Flash peripheral. More...
 
const flash_descriptor_tefl_lld_get_descriptor (void *instance)
 Gets the flash descriptor structure. More...
 
flash_error_t efl_lld_read (void *instance, flash_offset_t offset, size_t n, uint8_t *rp)
 Read operation. More...
 
flash_error_t efl_lld_program (void *instance, flash_offset_t offset, size_t n, const uint8_t *pp)
 Program operation. More...
 
flash_error_t efl_lld_start_erase_all (void *instance)
 Starts a whole-device erase operation. More...
 
flash_error_t efl_lld_start_erase_sector (void *instance, flash_sector_t sector)
 Starts an sector erase operation. More...
 
flash_error_t efl_lld_query_erase (void *instance, uint32_t *msec)
 Queries the driver for erase operation progress. More...
 
flash_error_t efl_lld_verify_erase (void *instance, flash_sector_t sector)
 Returns the erase state of a sector. More...
 

Detailed Description

PLATFORM Embedded Flash subsystem low level driver header.

Definition in file hal_efl_lld.h.