uint8_t USBHostCDC_Api_ACM_Request( uint8_t requestType, uint8_t size, uint8_t* data );
This function can be used by application code to dynamically access ACM specific requests. This function should be used only if apllication intends to modify for example the Baudrate from previouly configured rate. Data transmitted/received to/from device is a array of bytes. Application must take extra care of understanding the data format before using this function.
Device must be enumerated and attached successfully.
Return Values |
Description |
USB_SUCCESS |
Request started successfully |
No device with specified address | |
Device not in proper state for performing a transfer | |
Request is not supported. | |
Requested ID is invalid. |
None
MLA - USB Library Help Version : 2.16
![]() |