Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sdhc_driver_api Struct Reference

#include <sdhc.h>

Data Fields

int(* reset )(const struct device *dev)
 
int(* request )(const struct device *dev, struct sdhc_command *cmd, struct sdhc_data *data)
 
int(* set_io )(const struct device *dev, struct sdhc_io *ios)
 
int(* get_card_present )(const struct device *dev)
 
int(* execute_tuning )(const struct device *dev)
 
int(* card_busy )(const struct device *dev)
 
int(* get_host_props )(const struct device *dev, struct sdhc_host_props *props)
 
int(* enable_interrupt )(const struct device *dev, sdhc_interrupt_cb_t callback, int sources, void *user_data)
 
int(* disable_interrupt )(const struct device *dev, int sources)
 

Field Documentation

◆ card_busy

int(* sdhc_driver_api::card_busy) (const struct device *dev)

◆ disable_interrupt

int(* sdhc_driver_api::disable_interrupt) (const struct device *dev, int sources)

◆ enable_interrupt

int(* sdhc_driver_api::enable_interrupt) (const struct device *dev, sdhc_interrupt_cb_t callback, int sources, void *user_data)

◆ execute_tuning

int(* sdhc_driver_api::execute_tuning) (const struct device *dev)

◆ get_card_present

int(* sdhc_driver_api::get_card_present) (const struct device *dev)

◆ get_host_props

int(* sdhc_driver_api::get_host_props) (const struct device *dev, struct sdhc_host_props *props)

◆ request

int(* sdhc_driver_api::request) (const struct device *dev, struct sdhc_command *cmd, struct sdhc_data *data)

◆ reset

int(* sdhc_driver_api::reset) (const struct device *dev)

◆ set_io

int(* sdhc_driver_api::set_io) (const struct device *dev, struct sdhc_io *ios)

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