summaryrefslogtreecommitdiff
path: root/src/typec/tcd.h
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2026-06-24 21:15:33 +0200
committerHiFiPhile <[email protected]>2026-06-24 21:15:33 +0200
commitf35af01db58ba76bef1a65a56458bc815497ebbe (patch)
tree0e890d9579690742e0a2c1e6a4f6956be5a8bbad /src/typec/tcd.h
parent3a1ced7e1333de7ddf57f8592a41cbf0605512ed (diff)
typec: add tuc_connect/tuc_disconnect api
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src/typec/tcd.h')
-rw-r--r--src/typec/tcd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/typec/tcd.h b/src/typec/tcd.h
index da7ab4b13..6e18cd063 100644
--- a/src/typec/tcd.h
+++ b/src/typec/tcd.h
@@ -78,6 +78,12 @@ void tcd_int_enable (uint8_t rhport);
// Disable interrupt
void tcd_int_disable(uint8_t rhport);
+// Enable Type-C port terminations
+void tcd_connect(uint8_t rhport);
+
+// Disable Type-C port terminations
+void tcd_disconnect(uint8_t rhport);
+
// Interrupt Handler
void tcd_int_handler(uint8_t rhport);