summaryrefslogtreecommitdiff
path: root/src/typec/usbc.h
diff options
context:
space:
mode:
authorZixun LI <[email protected]>2026-09-01 10:08:27 +0200
committerGitHub <[email protected]>2026-09-01 10:08:27 +0200
commitc588e2e8af5ca66e4602784e309e06d356addf09 (patch)
treeb1103769b27c01911c9a9ef5a8aa05b8da606c61 /src/typec/usbc.h
parent84dcec43c709643f8a1b1ebbab6d08fbbc605a6d (diff)
parente056a04a011225479f0be61fc9b37d828e506a26 (diff)
Merge pull request #3868 from michaelajax/add-ucpd-attached-callback
ucpd: Add "attached" state callback for CC state changes
Diffstat (limited to 'src/typec/usbc.h')
-rw-r--r--src/typec/usbc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/typec/usbc.h b/src/typec/usbc.h
index 9fca7da0d..fc4773b07 100644
--- a/src/typec/usbc.h
+++ b/src/typec/usbc.h
@@ -65,6 +65,7 @@ extern void tcd_int_handler(uint8_t rhport);
bool tuc_pd_data_received_cb(uint8_t rhport, pd_header_t const* header, uint8_t const* dobj, uint8_t const* p_end);
bool tuc_pd_control_received_cb(uint8_t rhport, pd_header_t const* header);
+void tuc_attach_changed_cb(uint8_t rhport, bool attached);
//--------------------------------------------------------------------+
//