summaryrefslogtreecommitdiff
path: root/src/class/cdc
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-11-14 10:25:52 +0700
committerGitHub <[email protected]>2024-11-14 10:25:52 +0700
commit0af07f1cffa025da8a2b153280e07760a90a96d8 (patch)
tree193a894c1f8ca30011cf76b2aef629756ab14814 /src/class/cdc
parentb648a38ae84181757d4c8bdbd3f92001448ac805 (diff)
parent6f11f99f989660384611d846fc6de7ccdf008b0e (diff)
Merge branch 'master' into warning
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);
//--------------------------------------------------------------------+