mikroSDK Reference Manual
Device

Functions list

bool tud_cdc_n_connected (uint8_t itf)
 
uint8_t tud_cdc_n_get_line_state (uint8_t itf)
 
void tud_cdc_n_get_line_coding (uint8_t itf, cdc_line_coding_t *coding)
 
void tud_cdc_n_set_wanted_char (uint8_t itf, char wanted)
 
uint32_t tud_cdc_n_available (uint8_t itf)
 
uint32_t tud_cdc_n_read (uint8_t itf, void *buffer, uint32_t bufsize)
 
void tud_cdc_n_read_flush (uint8_t itf)
 
bool tud_cdc_n_peek (uint8_t itf, uint8_t *ui8)
 
uint32_t tud_cdc_n_write (uint8_t itf, void const *buffer, uint32_t bufsize)
 
uint32_t tud_cdc_n_write_flush (uint8_t itf)
 
uint32_t tud_cdc_n_write_available (uint8_t itf)
 
bool tud_cdc_n_write_clear (uint8_t itf)
 
TU_ATTR_WEAK void tud_cdc_rx_cb (uint8_t itf)
 
TU_ATTR_WEAK void tud_cdc_rx_wanted_cb (uint8_t itf, char wanted_char)
 
TU_ATTR_WEAK void tud_cdc_tx_complete_cb (uint8_t itf)
 
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)
 
TU_ATTR_WEAK void tud_cdc_send_break_cb (uint8_t itf, uint16_t duration_ms)