Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
memc_driver_api Struct Reference

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.

Detailed Description

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.

See also
DEVICE_DT_INST_DEFINE()
DEVICE_DT_DEFINE()
DEVICE_API()

Field Documentation

◆ get_mem_base

memc_api_get_mem_base memc_driver_api::get_mem_base

OPT Get the memory-mapped base address of a MEMC device.

◆ get_size

memc_api_get_size memc_driver_api::get_size

OPT Get the size of external memory.

◆ read

memc_api_read memc_driver_api::read

OPT Read data from external memory.

◆ read_id

memc_api_read_id memc_driver_api::read_id

OPT Read the ID of external memory.

◆ write

memc_api_write memc_driver_api::write

OPT Write data to external memory.


The documentation for this struct was generated from the following file: