diff options
| author | hathach <[email protected]> | 2018-04-10 02:16:48 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-04-10 02:16:48 +0700 |
| commit | 3473c71a6a7cb22cb45f368dba4edda49ed8f7af (patch) | |
| tree | 7f24cf11e46437912863328bac5201d4d179ed10 /tinyusb/class/cdc/cdc_device.h | |
| parent | 166982bd9e0f0de51397fddfb0090ae90704b3ec (diff) | |
enhance cdc add tud_cdc_line_state_cb(), tud_cdc_line_coding_cb()
Diffstat (limited to 'tinyusb/class/cdc/cdc_device.h')
| -rw-r--r-- | tinyusb/class/cdc/cdc_device.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tinyusb/class/cdc/cdc_device.h b/tinyusb/class/cdc/cdc_device.h index f56b3d169..9d91ae4f5 100644 --- a/tinyusb/class/cdc/cdc_device.h +++ b/tinyusb/class/cdc/cdc_device.h @@ -83,8 +83,9 @@ static inline bool tud_cdc_flush (void) //--------------------------------------------------------------------+
// APPLICATION CALLBACK API (WEAK is optional)
//--------------------------------------------------------------------+
-//void tud_cdc_line_coding_changed_cb(uint8_t rhport, cdc_line_coding_t* p_line_coding);
void tud_cdc_rx_cb(uint8_t rhport) ATTR_WEAK;
+void tud_cdc_line_state_cb(uint8_t rhport, bool dtr, bool rts) ATTR_WEAK;
+void tud_cdc_line_coding_cb(uint8_t rhport, cdc_line_coding_t const* p_line_coding) ATTR_WEAK;
//--------------------------------------------------------------------+
// USBD-CLASS DRIVER API
|
