![]() |
![]() |
Defines | |
| #define | CSL_CDC_PORT_MAX 1 |
| #define | CSL_CDC_NO_ENDPTOBJECT 8 |
| #define | CSL_CDC_ERROR_BASE (CSL_EUSB_FIRST) |
| #define | CSL_CDC_INVALID_REQUEST_HANDLER (CSL_CDC_ERROR_BASE - 1) |
| #define | CSL_CDC_INTR_IN_EP CSL_USB_EP1 |
| Symbolic constants for USB CDC Endpoints. | |
| #define | CSL_CDC_BULK_OUT_EP CSL_USB_EP2 |
| #define | CSL_CDC_BULK_IN_EP CSL_USB_EP3 |
| #define | CSL_USB_CDC_DATA_BUF_SIZE 512 |
| #define | CSL_CDC_REQUEST_SEND_ENCAPSULATED_COMMAND (0x2100) |
| Symbolic constants for USB CDC requests. | |
| #define | CSL_CDC_REQUEST_GET_ENCAPSULATED_RESPONSE (0xA101) |
| #define | CSL_CDC_REQUEST_SET_COMM_FEATURE (0x2102) |
| #define | CSL_CDC_REQUEST_GET_COMM_FEATURE (0xA103) |
| #define | CSL_CDC_REQUEST_CLEAR_COMM_FEATURE (0x2104) |
| #define | CSL_CDC_REQUEST_SET_LINE_CODING (0x2120) |
| #define | CSL_CDC_REQUEST_GET_LINE_CODING (0xA121) |
| #define | CSL_CDC_REQUEST_SET_CONTROL_LINE_STATE (0x2122) |
| #define | CSL_CDC_REQUEST_SEND_BREAK (0x2123) |
| #define | CSL_CDC_REQUEST_ARGS |
| CDC Request arguments. | |
| #define CSL_CDC_ERROR_BASE (CSL_EUSB_FIRST) |
Error Code base
| #define CSL_CDC_INVALID_REQUEST_HANDLER (CSL_CDC_ERROR_BASE - 1) |
Returned when the CDC request handler is invalid
| #define CSL_CDC_PORT_MAX 1 |
Common Constants
| #define CSL_CDC_REQUEST_ARGS |
CSL_UsbDevNum devNum, \ CSL_UsbSetupStruct *usbSetup, \ pUsbEpHandle hInEp, \ pUsbEpHandle hOutEp, \ void *pCdc
CDC Request arguments.
| #define CSL_CDC_REQUEST_GET_COMM_FEATURE (0xA103) |
Device returns the current settings for the communication feature
Referenced by CDC_eventHandler().
| #define CSL_CDC_REQUEST_GET_ENCAPSULATED_RESPONSE (0xA101) |
Host requests a response in the format of the supported control protocol
Referenced by CDC_eventHandler().
| #define CSL_CDC_REQUEST_GET_LINE_CODING (0xA121) |
Host request to get line coding
Referenced by CDC_eventHandler().
| #define CSL_CDC_REQUEST_SEND_ENCAPSULATED_COMMAND (0x2100) |
Symbolic constants for USB CDC requests.
Host request to issue a command in the format of the supported control protocol (bmRequestType<<8) | bRequest
Referenced by CDC_eventHandler().
| #define CSL_CDC_REQUEST_SET_COMM_FEATURE (0x2102) |
Host controls the settings for a particular communication feature
Referenced by CDC_eventHandler().
| #define CSL_CDC_REQUEST_SET_CONTROL_LINE_STATE (0x2122) |
Host request to set line coding state
Referenced by CDC_eventHandler().
| #define CSL_CDC_REQUEST_SET_LINE_CODING (0x2120) |
Host request to set line coding
Referenced by CDC_eventHandler().
1.7.4