BC1.2 detected partner state.
More...
#include <zephyr/drivers/usb/usb_bc12.h>
BC1.2 detected partner state.
- Parameters
-
bc12_role | Current role of the BC1.2 device. |
type | Charging partner type. Valid when bc12_role is BC12_PORTABLE_DEVICE. |
current_ma | Current, in uA, that the charging partner provides. Valid when bc12_role is BC12_PORTABLE_DEVICE. |
voltage_mv | Voltage, in uV, that the charging partner provides. Valid when bc12_role is BC12_PORTABLE_DEVICE. |
pd_partner_connected | True if a PD partner is currently connected. Valid when bc12_role is BC12_CHARGING_PORT. |
◆ [union]
◆ bc12_role
◆ current_ua
int bc12_partner_state::current_ua |
◆ pd_partner_connected
bool bc12_partner_state::pd_partner_connected |
◆ type
◆ voltage_uv
int bc12_partner_state::voltage_uv |
The documentation for this struct was generated from the following file: