28#if (HAL_USE_EFL == TRUE) || defined(__DOXYGEN__)
43#if !defined(EFL_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
44#define EFL_USE_MUTUAL_EXCLUSION TRUE
67#define _efl_flash_methods_alone
72#define _efl_flash_methods \
74 _efl_flash_methods_alone
79#define _efl_driver_data \
82 const EFlashConfig *config;
112#if (EFL_USE_MUTUAL_EXCLUSION == TRUE) || defined(__DOXYGEN__)
struct hal_efl_config EFlashConfig
Type of a structure representing a flash driver configuration.
#define _efl_flash_methods
EFlashDriver specific methods with inherited ones.
struct hal_efl_driver EFlashDriver
Type of embedded flash driver class.
void eflInit(void)
Embedded Flash Driver initialization.
#define efl_lld_driver_fields
Low level fields of the embedded flash driver structure.
msg_t eflStart(EFlashDriver *eflp, const EFlashConfig *config)
Configures and starts the driver.
void eflObjectInit(EFlashDriver *eflp)
Initializes a generic EFlashDriver object.
void eflStop(EFlashDriver *eflp)
Stops the driver.
#define _efl_driver_data
EFlashDriver specific data.
#define efl_lld_config_fields
Low level fields of the embedded flash configuration structure.
struct ch_mutex mutex_t
Type of a mutex structure.
PLATFORM Embedded Flash subsystem low level driver header.
EFlash virtual methods table.
Type of a structure representing a flash driver configuration.
Structure representing an embedded flash driver.
const struct EFlashDriverVMT * vmt
EFlashDriver Virtual Methods Table.
_efl_driver_data mutex_t mutex
Mutex protecting EFL.