![]() |
MCUXpresso SDK API Reference Manual
Rev. 0
NXP Semiconductors
|
This chapter describes how to redirect the serial manager stream to application CDC. The weak functions can be implemented by application to redirect the serial manager stream. The weak functions are following,
USB_DeviceVcomInit - Initialize the cdc vcom.
USB_DeviceVcomDeinit - De-initialize the cdc vcom.
USB_DeviceVcomWrite - Write data with non-blocking mode. After data is sent, the installed TX callback should be called with the result.
USB_DeviceVcomRead - Read data with non-blocking mode. After data is received, the installed RX callback should be called with the result.
USB_DeviceVcomCancelWrite - Cancel write request.
USB_DeviceVcomInstallTxCallback - Install TX callback.
USB_DeviceVcomInstallRxCallback - Install RX callback.
USB_DeviceVcomIsrFunction - The hardware ISR function.