Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
usbc_vbus_driver_api Struct Reference

#include <usbc_vbus.h>

Data Fields

bool(* check_level )(const struct device *dev, enum tc_vbus_level level)
 
int(* measure )(const struct device *dev, int *vbus_meas)
 
int(* discharge )(const struct device *dev, bool enable)
 
int(* enable )(const struct device *dev, bool enable)
 

Field Documentation

◆ check_level

bool(* usbc_vbus_driver_api::check_level) (const struct device *dev, enum tc_vbus_level level)

◆ discharge

int(* usbc_vbus_driver_api::discharge) (const struct device *dev, bool enable)

◆ enable

int(* usbc_vbus_driver_api::enable) (const struct device *dev, bool enable)

◆ measure

int(* usbc_vbus_driver_api::measure) (const struct device *dev, int *vbus_meas)

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