45 #ifndef _CDCREQUESTS_H_ 46 #define _CDCREQUESTS_H_ 71 #define CDCGenericRequest_SETLINECODING 0x20 73 #define CDCGenericRequest_GETLINECODING 0x21 75 #define CDCGenericRequest_SETCONTROLLINESTATE 0x22 85 #define CDCControlLineState_DTE_PRESENT (1 << 0) 87 #define CDCControlLineState_DTR (1 << 0) 89 #define CDCControlLineState_CARRIER_ON (1 << 1) 91 #define CDCControlLineState_RTS (1 << 1) 102 #define CDCLineCoding_ONESTOPBIT 0 104 #define CDCLineCoding_ONE5STOPBIT 1 106 #define CDCLineCoding_TWOSTOPBITS 2 119 #define CDCLineCoding_NOPARITY 0 121 #define CDCLineCoding_ODDPARITY 1 123 #define CDCLineCoding_EVENPARITY 2 125 #define CDCLineCoding_MARKPARITY 3 127 #define CDCLineCoding_SPACEPARITY 4 134 #if defined ( __CC_ARM ) 135 #elif defined ( __ICCARM__ ) 136 #define __attribute__(...) 137 #define __packed__ packed 138 #elif defined ( __GNUC__ ) 139 #define __packed__ aligned(1) void CDCLineCoding_Initialize(CDCLineCoding *lineCoding, uint32_t bitrate, uint8_t stopbits, uint8_t parity, uint8_t databits)
uint8_t CDCSetControlLineStateRequest_ActivateCarrier(const USBGenericRequest *request)
static CDCLineCoding lineCoding
typedef __attribute__
USB Device LPM Descriptor structure.
uint8_t CDCSetControlLineStateRequest_IsDtePresent(const USBGenericRequest *request)