|
Zephyr Project API
3.2.0
A Scalable Open Source RTOS
|
Public APIs for the eSPI emulation drivers. More...
#include <zephyr/device.h>#include <zephyr/drivers/emul.h>#include <zephyr/drivers/espi.h>#include <zephyr/types.h>Go to the source code of this file.
Data Structures | |
| struct | emul_espi_device_api |
| struct | espi_emul |
| struct | emul_espi_driver_api |
Macros | |
| #define | EMUL_ESPI_HOST_CHIPSEL 0 |
Typedefs | |
| typedef int(* | emul_espi_api_set_vw) (const struct emul *target, enum espi_vwire_signal vw, uint8_t level) |
| typedef int(* | emul_espi_api_get_vw) (const struct emul *target, enum espi_vwire_signal vw, uint8_t *level) |
| typedef struct espi_emul *(* | emul_find_emul) (const struct device *dev, unsigned int chipsel) |
| typedef int(* | emul_trigger_event) (const struct device *dev, struct espi_event *evt) |
Functions | |
| int | espi_emul_register (const struct device *dev, struct espi_emul *emul) |
| int | emul_espi_host_send_vw (const struct device *espi_dev, enum espi_vwire_signal vw, uint8_t level) |
| int | emul_espi_host_port80_write (const struct device *espi_dev, uint32_t data) |
Public APIs for the eSPI emulation drivers.