diff options
Diffstat (limited to 'include/usb_dp_alt_mode.h')
-rw-r--r-- | include/usb_dp_alt_mode.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/usb_dp_alt_mode.h b/include/usb_dp_alt_mode.h index 5fa703e109..4aceecd4ec 100644 --- a/include/usb_dp_alt_mode.h +++ b/include/usb_dp_alt_mode.h @@ -24,6 +24,15 @@ void dp_init(int port); /* + * Returns True if DisplayPort mode is in active state + * + * @param port USB-C port number + * @return True if DisplayPort mode is in active state + * False otherwise + */ +bool dp_is_active(int port); + +/* * Handles received DisplayPort VDM ACKs. * * @param port USB-C port number |