|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Driver Operations MEMC driver operations More...
#include <zephyr/drivers/memc.h>
Data Fields | |
| memc_api_read | read |
| OPT Read data from external memory. | |
| memc_api_write | write |
| OPT Write data to external memory. | |
| memc_api_get_mem_base | get_mem_base |
| OPT Get the memory-mapped base address of a MEMC device. | |
| memc_api_get_size | get_size |
| OPT Get the size of external memory. | |
| memc_api_read_id | read_id |
| OPT Read the ID of external memory. | |
Driver Operations MEMC driver operations
This is the driver API structure any MEMC driver needs to define. It contains function pointers to the operations the driver implements, as well as any other driver-specific constant data.
Members marked with REQ MUST be set by the driver, whereas those marked with OPT are optional.
| memc_api_get_mem_base memc_driver_api::get_mem_base |
OPT Get the memory-mapped base address of a MEMC device.
| memc_api_get_size memc_driver_api::get_size |
OPT Get the size of external memory.
| memc_api_read memc_driver_api::read |
OPT Read data from external memory.
| memc_api_read_id memc_driver_api::read_id |
OPT Read the ID of external memory.
| memc_api_write memc_driver_api::write |
OPT Write data to external memory.