summaryrefslogtreecommitdiff
path: root/src/class/cdc
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-11-10 12:40:52 +0700
committerGitHub <[email protected]>2024-11-10 12:40:52 +0700
commit449753ae699c0945059d07234a24aca80031d096 (patch)
treeefba02eb14880ace2204fc85475575b5cbaece49 /src/class/cdc
parentf5c5aaf017674cc3173b574a19feb234446c0491 (diff)
parent9d86ca1777c77feeae86289097a0811d058ee532 (diff)
Merge branch 'master' into fix/esp32p4_device
Diffstat (limited to 'src/class/cdc')
-rw-r--r--src/class/cdc/cdc_device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/class/cdc/cdc_device.h b/src/class/cdc/cdc_device.h
index 3ad7c8baf..2d5ba2575 100644
--- a/src/class/cdc/cdc_device.h
+++ b/src/class/cdc/cdc_device.h
@@ -204,6 +204,9 @@ TU_ATTR_WEAK void tud_cdc_line_state_cb(uint8_t itf, bool dtr, bool rts);
TU_ATTR_WEAK void tud_cdc_line_coding_cb(uint8_t itf, cdc_line_coding_t const* p_line_coding);
// Invoked when received send break
+// \param[in] itf interface for which send break was received.
+// \param[in] duration_ms the length of time, in milliseconds, of the break signal. If a value of FFFFh, then the
+// device will send a break until another SendBreak request is received with value 0000h.
TU_ATTR_WEAK void tud_cdc_send_break_cb(uint8_t itf, uint16_t duration_ms);
//--------------------------------------------------------------------+