diff options
| author | Mike Ajax <[email protected]> | 2026-08-30 09:44:23 -0700 |
|---|---|---|
| committer | Mike Ajax <[email protected]> | 2026-08-30 09:44:23 -0700 |
| commit | 1e3c2faed4db782f093aa4c88fc98fa81cccc77a (patch) | |
| tree | 0ce666304c49aaa9bef025496a28b485716104c8 /src/typec/usbc.h | |
| parent | 84dcec43c709643f8a1b1ebbab6d08fbbc605a6d (diff) | |
Add "attached" state callback for UCPD
Diffstat (limited to 'src/typec/usbc.h')
| -rw-r--r-- | src/typec/usbc.h | 1 |
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); //--------------------------------------------------------------------+ // |
