UM10462
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 5.5 — 21 December 2016
191 of 523
NXP Semiconductors
UM10462
Chapter 10: LPC11U3x/2x/1x USB on-chip drivers
ClrCommFeature
ErrorCode_t(* USBD_CDC_INIT_PARAM::ClrCommFeature)(USBD_HANDLE_T hCDC, uint16_t feature)
Abstract control model(ACM) subclass specific CLEAR_COMM_FEATURE request call-back
function.
This function is provided by the application software. This function gets called when host
sends a CLEAR_COMM_FEATURE request. In the call-back the application should Clears
the settings for a particular communication feature.
Parameters:
1. hCdc = Handle to CDC function driver.
2. feature = Communication feature type. See usbcdc11.pdf, section 6.2.4, Table 47.
Returns:
The call back should returns ErrorCode_t type to indicate success or error condition.
Return values:
1. LPC_OK = On success.
2. ERR_USBD_UNHANDLED = Event is not handled hence pass the event to next in line.
3. ERR_USBD_xxx = For other error conditions.
Table 202. USBD_CDC_INIT_PARAM class structure
Member
Description