summaryrefslogtreecommitdiff
path: root/include/usb_mux.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb_mux.h')
-rw-r--r--include/usb_mux.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/usb_mux.h b/include/usb_mux.h
index 71ed1140ae..54107771ed 100644
--- a/include/usb_mux.h
+++ b/include/usb_mux.h
@@ -12,7 +12,12 @@
#include "usb_charge.h"
#include "usb_pd.h"
-/* USB-C mux state */
+/*
+ * USB-C mux state
+ *
+ * A bitwise combination of the USB_PD_MUX_* flags.
+ * The bottom 2 bits also correspond to the typec_mux enum type.
+ */
typedef uint8_t mux_state_t;
/* Packing and Unpacking defines used with CONFIG_USB_PD_TCPM_TCPCI_MUX_ONLY */