USB CDC Read, cancelling when timeout occurs

How do I cancel ucb_cdc_acm_read?

What I want to do is if a timeout occurs, and APP_USBD_CDC_ACM_USER_EVT_RX_DONE has not been triggered, then I should be able to cancel app_usbd_cdc_acm_read, and reset it to a read size of 1 in order to make sure that after receiving one symbol, APP_USBD_CDC_ACM_USER_EVT_RX_DONE  will be triggered.

Related