Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sdhc_emul Struct Reference

Node in a linked list of emulators for SDHC card devices. More...

#include <zephyr/drivers/sdhc_emul.h>

Data Fields

sys_snode_t node
 Linked list node for emulator registry.
const struct emul * target
 Target emulator - REQUIRED for all emulated bus nodes.
const struct sdhc_emul_api * api
 API provided for this device.
struct sdhc_emul_api * mock_api
 A mock API that if not NULL will take precedence over the actual API.
uint16_t slot
 Card slot index (typically 0 for single-slot controllers).

Detailed Description

Node in a linked list of emulators for SDHC card devices.

Field Documentation

◆ api

const struct sdhc_emul_api* sdhc_emul::api

API provided for this device.

◆ mock_api

struct sdhc_emul_api* sdhc_emul::mock_api

A mock API that if not NULL will take precedence over the actual API.

If set, a return value of -ENOSYS will revert back to the default api.

◆ node

sys_snode_t sdhc_emul::node

Linked list node for emulator registry.

◆ slot

uint16_t sdhc_emul::slot

Card slot index (typically 0 for single-slot controllers).

◆ target

const struct emul* sdhc_emul::target

Target emulator - REQUIRED for all emulated bus nodes.


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