ChibiOS 21.11.4
hal_efl.h File Reference

Embedded Flash Driver macros and structures. More...

#include "hal_efl_lld.h"

Go to the source code of this file.

Data Structures

struct  EFlashDriverVMT
 EFlash virtual methods table. More...
struct  hal_efl_config
 Type of a structure representing a flash driver configuration. More...
struct  hal_efl_driver
 Structure representing an embedded flash driver. More...

Macros

#define EFL_USE_MUTUAL_EXCLUSION   TRUE
 Enables the eflAcquireUse() and eflReleaseUse() APIs.
#define _efl_flash_methods_alone
 EFlashDriver specific methods.
#define _efl_flash_methods
 EFlashDriver specific methods with inherited ones.
#define _efl_driver_data
 EFlashDriver specific data.

Typedefs

typedef struct hal_efl_driver EFlashDriver
 Type of external flash driver class.
typedef struct hal_efl_config EFlashConfig
 Type of a structure representing a flash driver configuration.

Functions

void eflInit (void)
 Embedded Flash Driver initialization.
void eflObjectInit (EFlashDriver *eflp)
 Initializes a generic EFlashDriver object.
msg_t eflStart (EFlashDriver *eflp, const EFlashConfig *config)
 Configures and starts the driver.
void eflStop (EFlashDriver *eflp)
 Stops the driver.

Detailed Description

Embedded Flash Driver macros and structures.

Definition in file hal_efl.h.