diff options
| author | HiFiPhile <[email protected]> | 2024-10-30 21:10:09 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-10-30 21:10:09 +0100 |
| commit | b89fa8977916bedbfa32d6990862f10e35c140b8 (patch) | |
| tree | 198da578c410f5dd197ea40ed95c7f7091546549 /src | |
| parent | 8b1e40c3e2447de5b4a86bbcdcc0344946a4793d (diff) | |
| parent | 5d74fb43b373e4def1387067eed8b4f1ac71151a (diff) | |
Merge pull request #2861 from bollenn/callback-doxygen-info
Extend callback information
Diffstat (limited to 'src')
| -rw-r--r-- | src/class/cdc/cdc_device.h | 3 |
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); //--------------------------------------------------------------------+ |
