typedef struct { libmem_driver_handle_t *next; const libmem_driver_functions_t *driver_functions; const libmem_ext_driver_functions_t *ext_driver_functions; uint8_t *start; size_t size; const libmem_geometry_t *geometry; const libmem_flash_info_t *flash_info; uint32_t driver_data; uint32_t user_data; } _libmem_driver_handle_t;
_libmem_driver_handle_t contains information on a particular driver's entry point functions, the address range the driver is responsible for and optionally the geometry and device specific information of the memory.
| Member | Description |
| next | The next LIBMEM driver in list of drivers |
| driver_functions | A pointer to the structure describing the LIBMEM driver's functions |
| ext_driver_functions | A pointer to the structure describing the LIBMEM driver's extended functions |
| start | A pointer to the start of the address range handled by the LIBMEM driver |
| size | The size of address range handled by the LIBMEM driver in bytes |
| geometry | A pointer to a null-terminated geometry description list |
| flash_info | A pointer to the FLASH information structure |
| driver_data | A data word available for storing driver information |
| user_data | A data word available for storing user information |