Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
|
Structure with pointers to the functions implemented by driver. More...
#include <usbc_ppc.h>
Data Fields | |
int(* | is_dead_battery_mode )(const struct device *dev) |
int(* | exit_dead_battery_mode )(const struct device *dev) |
int(* | is_vbus_source )(const struct device *dev) |
int(* | is_vbus_sink )(const struct device *dev) |
int(* | set_snk_ctrl )(const struct device *dev, bool enable) |
int(* | set_src_ctrl )(const struct device *dev, bool enable) |
int(* | set_vbus_discharge )(const struct device *dev, bool enable) |
int(* | is_vbus_present )(const struct device *dev) |
int(* | set_event_handler )(const struct device *dev, usbc_ppc_event_cb_t handler, void *data) |
int(* | dump_regs )(const struct device *dev) |
Structure with pointers to the functions implemented by driver.
int(* usbc_ppc_driver_api::dump_regs) (const struct device *dev) |
int(* usbc_ppc_driver_api::exit_dead_battery_mode) (const struct device *dev) |
int(* usbc_ppc_driver_api::is_dead_battery_mode) (const struct device *dev) |
int(* usbc_ppc_driver_api::is_vbus_present) (const struct device *dev) |
int(* usbc_ppc_driver_api::is_vbus_sink) (const struct device *dev) |
int(* usbc_ppc_driver_api::is_vbus_source) (const struct device *dev) |
int(* usbc_ppc_driver_api::set_event_handler) (const struct device *dev, usbc_ppc_event_cb_t handler, void *data) |