Setting up the USB to receive on interrupt was straightforward and it works.
#define UDI_CDC_RX_NOTIFY(port) main_cdc_rx_notify(port)
void main_cdc_rx_notify(uint8_t port)
udi_cdc_read_buf (buf_in, 1);
How can I similarly define
#define UDI_CDC_TX_EMPTY_NOTIFY(port) main_cdc_tx_empty_notify(port)
What USB CDC API will the call back function main_cdc_tx_empty_notify(port) call?
I am currently using udi_cdc_write_buf(tmpTXBuf,len); to send through the USB. I don't have any callback defined yet for UDI_CDC_TX_EMPTY_NOTIFY.