10 #define __USBH_EVR_H__
13 #include "Driver_USBH.h"
15 #if (defined(USBH_DEBUG) && (USBH_DEBUG == 1))
16 #include "EventRecorder.h"
21 #define EvtCompNo_USBH_Core 0xB0U
22 #define EvtCompNo_USBH_Driver 0xB1U
23 #define EvtCompNo_USBH_CC 0xB2U
24 #define EvtCompNo_USBH_CDC 0xB3U
25 #define EvtCompNo_USBH_HID 0xB4U
26 #define EvtCompNo_USBH_MSC 0xB5U
30 #define EvtMsgNo_USBH_Core_Initialize 0x00U
31 #define EvtMsgNo_USBH_Core_InitializeFailed 0x01U
32 #define EvtMsgNo_USBH_Core_Uninitialize 0x02U
33 #define EvtMsgNo_USBH_Core_UninitializeFailed 0x03U
34 #define EvtMsgNo_USBH_Core_PortSuspend 0x04U
35 #define EvtMsgNo_USBH_Core_PortSuspendFailed 0x05U
36 #define EvtMsgNo_USBH_Core_PortResume 0x06U
37 #define EvtMsgNo_USBH_Core_PortResumeFailed 0x07U
38 #define EvtMsgNo_USBH_Core_DeviceGetController 0x08U
39 #define EvtMsgNo_USBH_Core_DeviceGetPort 0x09U
40 #define EvtMsgNo_USBH_Core_DeviceGetStatus 0x0AU
41 #define EvtMsgNo_USBH_Core_DeviceGetSpeed 0x0BU
42 #define EvtMsgNo_USBH_Core_DeviceGetAddress 0x0CU
43 #define EvtMsgNo_USBH_Core_DeviceGetVID 0x0DU
44 #define EvtMsgNo_USBH_Core_DeviceGetPID 0x0EU
45 #define EvtMsgNo_USBH_Core_OnNotify 0x0FU
46 #define EvtMsgNo_USBH_Core_PipeCreate 0x10U
47 #define EvtMsgNo_USBH_Core_PipeCreateFailed 0x11U
48 #define EvtMsgNo_USBH_Core_PipeUpdate 0x12U
49 #define EvtMsgNo_USBH_Core_PipeUpdateFailed 0x13U
50 #define EvtMsgNo_USBH_Core_PipeDelete 0x14U
51 #define EvtMsgNo_USBH_Core_PipeDeleteFailed 0x15U
52 #define EvtMsgNo_USBH_Core_PipeReset 0x16U
53 #define EvtMsgNo_USBH_Core_PipeResetFailed 0x17U
54 #define EvtMsgNo_USBH_Core_PipeReceive 0x18U
55 #define EvtMsgNo_USBH_Core_PipeReceiveFailed 0x19U
56 #define EvtMsgNo_USBH_Core_PipeReceiveGetResult 0x1AU
57 #define EvtMsgNo_USBH_Core_PipeSend 0x1BU
58 #define EvtMsgNo_USBH_Core_PipeSendFailed 0x1CU
59 #define EvtMsgNo_USBH_Core_PipeSendGetResult 0x1DU
60 #define EvtMsgNo_USBH_Core_PipeAbort 0x1EU
61 #define EvtMsgNo_USBH_Core_PipeAbortFailed 0x1FU
62 #define EvtMsgNo_USBH_Core_ControlTransfer 0x2AU
63 #define EvtMsgNo_USBH_Core_ControlTransferFailed 0x2BU
64 #define EvtMsgNo_USBH_Core_RequestGetStatus 0x2CU
65 #define EvtMsgNo_USBH_Core_RequestGetStatusFailed 0x2DU
66 #define EvtMsgNo_USBH_Core_RequestClearFeature 0x2EU
67 #define EvtMsgNo_USBH_Core_RequestClearFeatureFailed 0x2FU
68 #define EvtMsgNo_USBH_Core_RequestSetFeature 0x30U
69 #define EvtMsgNo_USBH_Core_RequestSetFeatureFailed 0x31U
70 #define EvtMsgNo_USBH_Core_RequestSetAddress 0x32U
71 #define EvtMsgNo_USBH_Core_RequestSetAddressFailed 0x33U
72 #define EvtMsgNo_USBH_Core_RequestGetDescriptor 0x34U
73 #define EvtMsgNo_USBH_Core_RequestGetDescriptorFailed 0x35U
74 #define EvtMsgNo_USBH_Core_RequestSetDescriptor 0x36U
75 #define EvtMsgNo_USBH_Core_RequestSetDescriptorFailed 0x37U
76 #define EvtMsgNo_USBH_Core_RequestGetConfiguration 0x38U
77 #define EvtMsgNo_USBH_Core_RequestGetConfigurationFailed 0x39U
78 #define EvtMsgNo_USBH_Core_RequestSetConfiguration 0x3AU
79 #define EvtMsgNo_USBH_Core_RequestSetConfigurationFailed 0x3BU
80 #define EvtMsgNo_USBH_Core_RequestGetInterface 0x3CU
81 #define EvtMsgNo_USBH_Core_RequestGetInterfaceFailed 0x3DU
82 #define EvtMsgNo_USBH_Core_RequestSetInterface 0x3EU
83 #define EvtMsgNo_USBH_Core_RequestSetInterfaceFailed 0x3FU
84 #define EvtMsgNo_USBH_Core_RequestSynchFrame 0x40U
85 #define EvtMsgNo_USBH_Core_RequestSynchFrameFailed 0x41U
86 #define EvtMsgNo_USBH_Core_MemInitFailed 0x42U
87 #define EvtMsgNo_USBH_Core_MemInit 0x43U
88 #define EvtMsgNo_USBH_Core_MemUninitFailed 0x44U
89 #define EvtMsgNo_USBH_Core_MemUninit 0x45U
90 #define EvtMsgNo_USBH_Core_MemAllocFailed 0x46U
91 #define EvtMsgNo_USBH_Core_MemAlloc 0x47U
92 #define EvtMsgNo_USBH_Core_MemFreeFailed 0x48U
93 #define EvtMsgNo_USBH_Core_MemFree 0x49U
94 #define EvtMsgNo_USBH_Core_Engine 0x4AU
95 #define EvtMsgNo_USBH_Core_EngineFailed 0x4BU
96 #define EvtMsgNo_USBH_Core_EngineDone 0x4CU
97 #define EvtMsgNo_USBH_Core_DeviceGetStringDescriptorFailed 0x4DU
98 #define EvtMsgNo_USBH_Core_DeviceGetStringDescriptor 0x4EU
100 #define EvtMsgNo_USBH_Driver_Initialize 0x00U
101 #define EvtMsgNo_USBH_Driver_InitializeFailed 0x01U
102 #define EvtMsgNo_USBH_Driver_Uninitialize 0x02U
103 #define EvtMsgNo_USBH_Driver_UninitializeFailed 0x03U
104 #define EvtMsgNo_USBH_Driver_PowerControl 0x04U
105 #define EvtMsgNo_USBH_Driver_PowerControlFailed 0x05U
106 #define EvtMsgNo_USBH_Driver_PortVbusOnOff 0x06U
107 #define EvtMsgNo_USBH_Driver_PortVbusOnOffFailed 0x07U
108 #define EvtMsgNo_USBH_Driver_PortReset 0x08U
109 #define EvtMsgNo_USBH_Driver_PortResetFailed 0x09U
110 #define EvtMsgNo_USBH_Driver_PortSuspend 0x0AU
111 #define EvtMsgNo_USBH_Driver_PortSuspendFailed 0x0BU
112 #define EvtMsgNo_USBH_Driver_PortResume 0x0CU
113 #define EvtMsgNo_USBH_Driver_PortResumeFailed 0x0DU
114 #define EvtMsgNo_USBH_Driver_PortGetState 0x0EU
115 #define EvtMsgNo_USBH_Driver_PipeCreate 0x0FU
116 #define EvtMsgNo_USBH_Driver_PipeCreateFailed 0x10U
117 #define EvtMsgNo_USBH_Driver_PipeModify 0x11U
118 #define EvtMsgNo_USBH_Driver_PipeModifyFailed 0x12U
119 #define EvtMsgNo_USBH_Driver_PipeDelete 0x13U
120 #define EvtMsgNo_USBH_Driver_PipeDeleteFailed 0x14U
121 #define EvtMsgNo_USBH_Driver_PipeReset 0x15U
122 #define EvtMsgNo_USBH_Driver_PipeResetFailed 0x16U
123 #define EvtMsgNo_USBH_Driver_PipeTransfer 0x17U
124 #define EvtMsgNo_USBH_Driver_PipeTransferFailed 0x18U
125 #define EvtMsgNo_USBH_Driver_PipeTransferGetResult 0x19U
126 #define EvtMsgNo_USBH_Driver_PipeTransferAbort 0x1AU
127 #define EvtMsgNo_USBH_Driver_PipeTransferAbortFailed 0x1BU
128 #define EvtMsgNo_USBH_Driver_GetFrameNumber 0x1CU
129 #define EvtMsgNo_USBH_Driver_OnSignalPortEvent 0x1DU
130 #define EvtMsgNo_USBH_Driver_OnSignalPipeEvent 0x1EU
132 #define EvtMsgNo_USBH_CC_GetDevice 0x00U
133 #define EvtMsgNo_USBH_CC_GetStatus 0x01U
134 #define EvtMsgNo_USBH_CC_OnConfigure 0x02U
135 #define EvtMsgNo_USBH_CC_OnUnconfigure 0x03U
136 #define EvtMsgNo_USBH_CC_OnInitialize 0x04U
137 #define EvtMsgNo_USBH_CC_OnUninitialize 0x05U
139 #define EvtMsgNo_USBH_CDC_ACM_Configure 0x00U
140 #define EvtMsgNo_USBH_CDC_ACM_ConfigureFailed 0x01U
141 #define EvtMsgNo_USBH_CDC_ACM_Unconfigure 0x02U
142 #define EvtMsgNo_USBH_CDC_ACM_UnconfigureFailed 0x03U
143 #define EvtMsgNo_USBH_CDC_ACM_Initialize 0x04U
144 #define EvtMsgNo_USBH_CDC_ACM_InitializeFailed 0x05U
145 #define EvtMsgNo_USBH_CDC_ACM_OnInitialize 0x06U
146 #define EvtMsgNo_USBH_CDC_ACM_Uninitialize 0x07U
147 #define EvtMsgNo_USBH_CDC_ACM_UninitializeFailed 0x08U
148 #define EvtMsgNo_USBH_CDC_ACM_OnUninitialize 0x09U
149 #define EvtMsgNo_USBH_CDC_ACM_GetDevice 0x0AU
150 #define EvtMsgNo_USBH_CDC_ACM_GetStatus 0x0BU
151 #define EvtMsgNo_USBH_CDC_ACM_Send 0x0CU
152 #define EvtMsgNo_USBH_CDC_ACM_SendFailed 0x0DU
153 #define EvtMsgNo_USBH_CDC_ACM_SendDone 0x0EU
154 #define EvtMsgNo_USBH_CDC_ACM_GetTxCount 0x0FU
155 #define EvtMsgNo_USBH_CDC_ACM_Receive 0x10U
156 #define EvtMsgNo_USBH_CDC_ACM_ReceiveFailed 0x11U
157 #define EvtMsgNo_USBH_CDC_ACM_ReceiveDone 0x12U
158 #define EvtMsgNo_USBH_CDC_ACM_GetRxCount 0x13U
159 #define EvtMsgNo_USBH_CDC_ACM_SetLineCoding 0x14U
160 #define EvtMsgNo_USBH_CDC_ACM_SetLineCodingFailed 0x15U
161 #define EvtMsgNo_USBH_CDC_ACM_GetLineCodingFailed 0x16U
162 #define EvtMsgNo_USBH_CDC_ACM_GetLineCoding 0x17U
163 #define EvtMsgNo_USBH_CDC_ACM_SetControlLineState 0x18U
164 #define EvtMsgNo_USBH_CDC_ACM_SetControlLineStateFailed 0x19U
165 #define EvtMsgNo_USBH_CDC_ACM_OnNotify 0x1AU
166 #define EvtMsgNo_USBH_CDC_ACM_SendBreak 0x1BU
167 #define EvtMsgNo_USBH_CDC_ACM_SendBreakFailed 0x1CU
168 #define EvtMsgNo_USBH_CDC_ACM_AbortSend 0x1DU
169 #define EvtMsgNo_USBH_CDC_ACM_AbortSendFailed 0x1EU
170 #define EvtMsgNo_USBH_CDC_ACM_AbortSendDone 0x1FU
171 #define EvtMsgNo_USBH_CDC_ACM_AbortReceive 0x20U
172 #define EvtMsgNo_USBH_CDC_ACM_AbortReceiveFailed 0x21U
173 #define EvtMsgNo_USBH_CDC_ACM_AbortReceiveDone 0x22U
175 #define EvtMsgNo_USBH_HID_Configure 0x00U
176 #define EvtMsgNo_USBH_HID_ConfigureFailed 0x01U
177 #define EvtMsgNo_USBH_HID_Unconfigure 0x02U
178 #define EvtMsgNo_USBH_HID_UnconfigureFailed 0x03U
179 #define EvtMsgNo_USBH_HID_Initialize 0x04U
180 #define EvtMsgNo_USBH_HID_InitializeFailed 0x05U
181 #define EvtMsgNo_USBH_HID_OnInitialize 0x06U
182 #define EvtMsgNo_USBH_HID_Uninitialize 0x07U
183 #define EvtMsgNo_USBH_HID_UninitializeFailed 0x08U
184 #define EvtMsgNo_USBH_HID_OnUninitialize 0x09U
185 #define EvtMsgNo_USBH_HID_GetDevice 0x0AU
186 #define EvtMsgNo_USBH_HID_GetStatus 0x0BU
187 #define EvtMsgNo_USBH_HID_Read 0x0CU
188 #define EvtMsgNo_USBH_HID_ReadFailed 0x0DU
189 #define EvtMsgNo_USBH_HID_ReadDone 0x0EU
190 #define EvtMsgNo_USBH_HID_Write 0x0FU
191 #define EvtMsgNo_USBH_HID_WriteFailed 0x10U
192 #define EvtMsgNo_USBH_HID_WriteDone 0x11U
193 #define EvtMsgNo_USBH_HID_GetKeyboardKey 0x12U
194 #define EvtMsgNo_USBH_HID_GetKeyboardKeyDone 0x13U
195 #define EvtMsgNo_USBH_HID_GetMouseState 0x14U
196 #define EvtMsgNo_USBH_HID_GetMouseStateFailed 0x15U
197 #define EvtMsgNo_USBH_HID_GetMouseStateDone 0x16U
198 #define EvtMsgNo_USBH_HID_OnParseReportDescriptor 0x17U
199 #define EvtMsgNo_USBH_HID_OnDataReceived 0x18U
200 #define EvtMsgNo_USBH_HID_GetReport 0x19U
201 #define EvtMsgNo_USBH_HID_GetReportFailed 0x1AU
202 #define EvtMsgNo_USBH_HID_SetReport 0x1BU
203 #define EvtMsgNo_USBH_HID_SetReportFailed 0x1CU
204 #define EvtMsgNo_USBH_HID_GetIdle 0x1DU
205 #define EvtMsgNo_USBH_HID_GetIdleFailed 0x1EU
206 #define EvtMsgNo_USBH_HID_SetIdle 0x1FU
207 #define EvtMsgNo_USBH_HID_SetIdleFailed 0x20U
208 #define EvtMsgNo_USBH_HID_GetProtocol 0x21U
209 #define EvtMsgNo_USBH_HID_GetProtocolFailed 0x22U
210 #define EvtMsgNo_USBH_HID_SetProtocol 0x23U
211 #define EvtMsgNo_USBH_HID_SetProtocolFailed 0x24U
212 #define EvtMsgNo_USBH_HID_ReportOut 0x25U
213 #define EvtMsgNo_USBH_HID_ReportOutFailed 0x26U
215 #define EvtMsgNo_USBH_MSC_Configure 0x00U
216 #define EvtMsgNo_USBH_MSC_ConfigureFailed 0x01U
217 #define EvtMsgNo_USBH_MSC_Unconfigure 0x02U
218 #define EvtMsgNo_USBH_MSC_UnconfigureFailed 0x03U
219 #define EvtMsgNo_USBH_MSC_Initialize 0x04U
220 #define EvtMsgNo_USBH_MSC_InitializeFailed 0x05U
221 #define EvtMsgNo_USBH_MSC_OnInitialize 0x06U
222 #define EvtMsgNo_USBH_MSC_Uninitialize 0x07U
223 #define EvtMsgNo_USBH_MSC_UninitializeFailed 0x08U
224 #define EvtMsgNo_USBH_MSC_OnUninitialize 0x09U
225 #define EvtMsgNo_USBH_MSC_GetDevice 0x0AU
226 #define EvtMsgNo_USBH_MSC_GetStatus 0x0BU
227 #define EvtMsgNo_USBH_MSC_Read 0x0CU
228 #define EvtMsgNo_USBH_MSC_ReadFailed 0x0DU
229 #define EvtMsgNo_USBH_MSC_ReadDone 0x0EU
230 #define EvtMsgNo_USBH_MSC_Write 0x0FU
231 #define EvtMsgNo_USBH_MSC_WriteFailed 0x10U
232 #define EvtMsgNo_USBH_MSC_WriteDone 0x11U
233 #define EvtMsgNo_USBH_MSC_ReadCapacity 0x12U
234 #define EvtMsgNo_USBH_MSC_ReadCapacityFailed 0x13U
235 #define EvtMsgNo_USBH_MSC_ReadCapacityDone 0x14U
236 #define EvtMsgNo_USBH_MSC_BomReset 0x15U
237 #define EvtMsgNo_USBH_MSC_BomResetFailed 0x16U
238 #define EvtMsgNo_USBH_MSC_GetMaxLun 0x17U
239 #define EvtMsgNo_USBH_MSC_GetMaxLunFailed 0x18U
240 #define EvtMsgNo_USBH_MSC_ScsiTestUnitReady 0x19U
241 #define EvtMsgNo_USBH_MSC_ScsiTestUnitReadyFailed 0x1AU
242 #define EvtMsgNo_USBH_MSC_ScsiRequestSense 0x1BU
243 #define EvtMsgNo_USBH_MSC_ScsiRequestSenseFailed 0x1CU
244 #define EvtMsgNo_USBH_MSC_ScsiInquiry 0x1DU
245 #define EvtMsgNo_USBH_MSC_ScsiInquiryFailed 0x1EU
246 #define EvtMsgNo_USBH_MSC_ScsiReadFormatCapacities 0x1FU
247 #define EvtMsgNo_USBH_MSC_ScsiReadFormatCapacitiesFailed 0x20U
248 #define EvtMsgNo_USBH_MSC_ScsiReadCapacity 0x21U
249 #define EvtMsgNo_USBH_MSC_ScsiReadCapacityFailed 0x22U
250 #define EvtMsgNo_USBH_MSC_ScsiRead10 0x23U
251 #define EvtMsgNo_USBH_MSC_ScsiRead10Failed 0x24U
252 #define EvtMsgNo_USBH_MSC_ScsiWrite10 0x25U
253 #define EvtMsgNo_USBH_MSC_ScsiWrite10Failed 0x26U
254 #define EvtMsgNo_USBH_MSC_Recover 0x27U
255 #define EvtMsgNo_USBH_MSC_RecoverFailed 0x28U
257 #if (defined(USBH_DEBUG) && (USBH_DEBUG == 1)) // Define USB Host Library debug events
260 #define TO_BYTE0(x) (((uint32_t)(x) & 0xFFU))
261 #define TO_BYTE1(x) (((uint32_t)(x) & 0xFFU) << 8)
262 #define TO_BYTE2(x) (((uint32_t)(x) & 0xFFU) << 16)
263 #define TO_BYTE3(x) (((uint32_t)(x) & 0xFFU) << 24)
266 #define EvtUSBH_Core_Initialize EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_Initialize)
267 #define EvtUSBH_Core_InitializeFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_InitializeFailed)
268 #define EvtUSBH_Core_Uninitialize EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_Uninitialize)
269 #define EvtUSBH_Core_UninitializeFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_UninitializeFailed)
270 #define EvtUSBH_Core_PortSuspend EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PortSuspend)
271 #define EvtUSBH_Core_PortSuspendFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PortSuspendFailed)
272 #define EvtUSBH_Core_PortResume EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PortResume)
273 #define EvtUSBH_Core_PortResumeFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PortResumeFailed)
274 #define EvtUSBH_Core_DeviceGetController EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetController)
275 #define EvtUSBH_Core_DeviceGetPort EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetPort)
276 #define EvtUSBH_Core_DeviceGetStatus EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetStatus)
277 #define EvtUSBH_Core_DeviceGetSpeed EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetSpeed)
278 #define EvtUSBH_Core_DeviceGetAddress EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetAddress)
279 #define EvtUSBH_Core_DeviceGetVID EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetVID)
280 #define EvtUSBH_Core_DeviceGetPID EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetPID)
281 #define EvtUSBH_Core_OnNotify EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_OnNotify)
282 #define EvtUSBH_Core_PipeCreate EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeCreate)
283 #define EvtUSBH_Core_PipeCreateFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeCreateFailed)
284 #define EvtUSBH_Core_PipeUpdate EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeUpdate)
285 #define EvtUSBH_Core_PipeUpdateFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeUpdateFailed)
286 #define EvtUSBH_Core_PipeDelete EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeDelete)
287 #define EvtUSBH_Core_PipeDeleteFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeDeleteFailed)
288 #define EvtUSBH_Core_PipeReset EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeReset)
289 #define EvtUSBH_Core_PipeResetFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeResetFailed)
290 #define EvtUSBH_Core_PipeReceive EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeReceive)
291 #define EvtUSBH_Core_PipeReceiveFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeReceiveFailed)
292 #define EvtUSBH_Core_PipeReceiveGetResult EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeReceiveGetResult)
293 #define EvtUSBH_Core_PipeSend EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeSend)
294 #define EvtUSBH_Core_PipeSendFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeSendFailed)
295 #define EvtUSBH_Core_PipeSendGetResult EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeSendGetResult)
296 #define EvtUSBH_Core_PipeAbort EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeAbort)
297 #define EvtUSBH_Core_PipeAbortFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeAbortFailed)
298 #define EvtUSBH_Core_ControlTransfer EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_ControlTransfer)
299 #define EvtUSBH_Core_ControlTransferFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_ControlTransferFailed)
300 #define EvtUSBH_Core_RequestGetStatus EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetStatus)
301 #define EvtUSBH_Core_RequestGetStatusFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetStatusFailed)
302 #define EvtUSBH_Core_RequestClearFeature EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestClearFeature)
303 #define EvtUSBH_Core_RequestClearFeatureFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestClearFeatureFailed)
304 #define EvtUSBH_Core_RequestSetFeature EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetFeature)
305 #define EvtUSBH_Core_RequestSetFeatureFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetFeatureFailed)
306 #define EvtUSBH_Core_RequestSetAddress EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetAddress)
307 #define EvtUSBH_Core_RequestSetAddressFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetAddressFailed)
308 #define EvtUSBH_Core_RequestGetDescriptor EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetDescriptor)
309 #define EvtUSBH_Core_RequestGetDescriptorFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetDescriptorFailed)
310 #define EvtUSBH_Core_RequestSetDescriptor EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetDescriptor)
311 #define EvtUSBH_Core_RequestSetDescriptorFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetDescriptorFailed)
312 #define EvtUSBH_Core_RequestGetConfiguration EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetConfiguration)
313 #define EvtUSBH_Core_RequestGetConfigurationFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetConfigurationFailed)
314 #define EvtUSBH_Core_RequestSetConfiguration EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetConfiguration)
315 #define EvtUSBH_Core_RequestSetConfigurationFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetConfigurationFailed)
316 #define EvtUSBH_Core_RequestGetInterface EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetInterface)
317 #define EvtUSBH_Core_RequestGetInterfaceFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetInterfaceFailed)
318 #define EvtUSBH_Core_RequestSetInterface EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetInterface)
319 #define EvtUSBH_Core_RequestSetInterfaceFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetInterfaceFailed)
320 #define EvtUSBH_Core_RequestSynchFrame EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSynchFrame)
321 #define EvtUSBH_Core_RequestSynchFrameFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSynchFrameFailed)
322 #define EvtUSBH_Core_MemInitFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemInitFailed)
323 #define EvtUSBH_Core_MemInit EventID(EventLevelDetail, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemInit)
324 #define EvtUSBH_Core_MemUninitFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemUninitFailed)
325 #define EvtUSBH_Core_MemUninit EventID(EventLevelDetail, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemUninit)
326 #define EvtUSBH_Core_MemAllocFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemAllocFailed)
327 #define EvtUSBH_Core_MemAlloc EventID(EventLevelDetail, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemAlloc)
328 #define EvtUSBH_Core_MemFreeFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemFreeFailed)
329 #define EvtUSBH_Core_MemFree EventID(EventLevelDetail, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemFree)
330 #define EvtUSBH_Core_Engine EventID(EventLevelDetail, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_Engine)
331 #define EvtUSBH_Core_EngineFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_EngineFailed)
332 #define EvtUSBH_Core_EngineDone EventID(EventLevelDetail, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_EngineDone)
333 #define EvtUSBH_Core_DeviceGetStringDescriptor EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetStringDescriptor)
334 #define EvtUSBH_Core_DeviceGetStringDescriptorFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetStringDescriptorFailed)
337 #define EvtUSBH_Driver_Initialize EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_Initialize)
338 #define EvtUSBH_Driver_InitializeFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_InitializeFailed)
339 #define EvtUSBH_Driver_Uninitialize EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_Uninitialize)
340 #define EvtUSBH_Driver_UninitializeFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_UninitializeFailed)
341 #define EvtUSBH_Driver_PowerControl EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PowerControl)
342 #define EvtUSBH_Driver_PowerControlFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PowerControlFailed)
343 #define EvtUSBH_Driver_PortVbusOnOff EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortVbusOnOff)
344 #define EvtUSBH_Driver_PortVbusOnOffFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortVbusOnOffFailed)
345 #define EvtUSBH_Driver_PortReset EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortReset)
346 #define EvtUSBH_Driver_PortResetFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortResetFailed)
347 #define EvtUSBH_Driver_PortSuspend EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortSuspend)
348 #define EvtUSBH_Driver_PortSuspendFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortSuspendFailed)
349 #define EvtUSBH_Driver_PortResume EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortResume)
350 #define EvtUSBH_Driver_PortResumeFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortResumeFailed)
351 #define EvtUSBH_Driver_PortGetState EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortGetState)
352 #define EvtUSBH_Driver_PipeCreate EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeCreate)
353 #define EvtUSBH_Driver_PipeCreateFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeCreateFailed)
354 #define EvtUSBH_Driver_PipeModify EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeModify)
355 #define EvtUSBH_Driver_PipeModifyFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeModifyFailed)
356 #define EvtUSBH_Driver_PipeDelete EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeDelete)
357 #define EvtUSBH_Driver_PipeDeleteFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeDeleteFailed)
358 #define EvtUSBH_Driver_PipeReset EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeReset)
359 #define EvtUSBH_Driver_PipeResetFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeResetFailed)
360 #define EvtUSBH_Driver_PipeTransfer EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeTransfer)
361 #define EvtUSBH_Driver_PipeTransferFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeTransferFailed)
362 #define EvtUSBH_Driver_PipeTransferGetResult EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeTransferGetResult)
363 #define EvtUSBH_Driver_PipeTransferAbort EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeTransferAbort)
364 #define EvtUSBH_Driver_PipeTransferAbortFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeTransferAbortFailed)
365 #define EvtUSBH_Driver_GetFrameNumber EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_GetFrameNumber)
366 #define EvtUSBH_Driver_OnSignalPortEvent EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_OnSignalPortEvent)
367 #define EvtUSBH_Driver_OnSignalPipeEvent EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_OnSignalPipeEvent)
370 #define EvtUSBH_CC_GetDevice EventID(EventLevelAPI, EvtCompNo_USBH_CC, EvtMsgNo_USBH_CC_GetDevice)
371 #define EvtUSBH_CC_GetStatus EventID(EventLevelAPI, EvtCompNo_USBH_CC, EvtMsgNo_USBH_CC_GetStatus)
372 #define EvtUSBH_CC_OnConfigure EventID(EventLevelAPI, EvtCompNo_USBH_CC, EvtMsgNo_USBH_CC_OnConfigure)
373 #define EvtUSBH_CC_OnUnconfigure EventID(EventLevelAPI, EvtCompNo_USBH_CC, EvtMsgNo_USBH_CC_OnUnconfigure)
374 #define EvtUSBH_CC_OnInitialize EventID(EventLevelAPI, EvtCompNo_USBH_CC, EvtMsgNo_USBH_CC_OnInitialize)
375 #define EvtUSBH_CC_OnUninitialize EventID(EventLevelAPI, EvtCompNo_USBH_CC, EvtMsgNo_USBH_CC_OnUninitialize)
378 #define EvtUSBH_CDC_ACM_Configure EventID(EventLevelOp, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_Configure)
379 #define EvtUSBH_CDC_ACM_ConfigureFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_ConfigureFailed)
380 #define EvtUSBH_CDC_ACM_Unconfigure EventID(EventLevelOp, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_Unconfigure)
381 #define EvtUSBH_CDC_ACM_UnconfigureFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_UnconfigureFailed)
382 #define EvtUSBH_CDC_ACM_Initialize EventID(EventLevelOp, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_Initialize)
383 #define EvtUSBH_CDC_ACM_InitializeFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_InitializeFailed)
384 #define EvtUSBH_CDC_ACM_OnInitialize EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_OnInitialize)
385 #define EvtUSBH_CDC_ACM_Uninitialize EventID(EventLevelOp, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_Uninitialize)
386 #define EvtUSBH_CDC_ACM_UninitializeFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_UninitializeFailed)
387 #define EvtUSBH_CDC_ACM_OnUninitialize EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_OnUninitialize)
388 #define EvtUSBH_CDC_ACM_GetDevice EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_GetDevice)
389 #define EvtUSBH_CDC_ACM_GetStatus EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_GetStatus)
390 #define EvtUSBH_CDC_ACM_Send EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_Send)
391 #define EvtUSBH_CDC_ACM_SendFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SendFailed)
392 #define EvtUSBH_CDC_ACM_SendDone EventID(EventLevelDetail, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SendDone)
393 #define EvtUSBH_CDC_ACM_GetTxCount EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_GetTxCount)
394 #define EvtUSBH_CDC_ACM_Receive EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_Receive)
395 #define EvtUSBH_CDC_ACM_ReceiveFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_ReceiveFailed)
396 #define EvtUSBH_CDC_ACM_ReceiveDone EventID(EventLevelDetail, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_ReceiveDone)
397 #define EvtUSBH_CDC_ACM_GetRxCount EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_GetRxCount)
398 #define EvtUSBH_CDC_ACM_SetLineCoding EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SetLineCoding)
399 #define EvtUSBH_CDC_ACM_SetLineCodingFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SetLineCodingFailed)
400 #define EvtUSBH_CDC_ACM_GetLineCodingFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_GetLineCodingFailed)
401 #define EvtUSBH_CDC_ACM_GetLineCoding EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_GetLineCoding)
402 #define EvtUSBH_CDC_ACM_SetControlLineState EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SetControlLineState)
403 #define EvtUSBH_CDC_ACM_SetControlLineStateFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SetControlLineStateFailed)
404 #define EvtUSBH_CDC_ACM_OnNotify EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_OnNotify)
405 #define EvtUSBH_CDC_ACM_SendBreak EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SendBreak)
406 #define EvtUSBH_CDC_ACM_SendBreakFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SendBreakFailed)
407 #define EvtUSBH_CDC_ACM_AbortSend EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_AbortSend)
408 #define EvtUSBH_CDC_ACM_AbortSendFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_AbortSendFailed)
409 #define EvtUSBH_CDC_ACM_AbortSendDone EventID(EventLevelDetail, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_AbortSendDone)
410 #define EvtUSBH_CDC_ACM_AbortReceive EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_AbortReceive)
411 #define EvtUSBH_CDC_ACM_AbortReceiveFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_AbortReceiveFailed)
412 #define EvtUSBH_CDC_ACM_AbortReceiveDone EventID(EventLevelDetail, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_AbortReceiveDone)
415 #define EvtUSBH_HID_Configure EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_Configure)
416 #define EvtUSBH_HID_ConfigureFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_ConfigureFailed)
417 #define EvtUSBH_HID_Unconfigure EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_Unconfigure)
418 #define EvtUSBH_HID_UnconfigureFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_UnconfigureFailed)
419 #define EvtUSBH_HID_Initialize EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_Initialize)
420 #define EvtUSBH_HID_InitializeFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_InitializeFailed)
421 #define EvtUSBH_HID_OnInitialize EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_OnInitialize)
422 #define EvtUSBH_HID_Uninitialize EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_Uninitialize)
423 #define EvtUSBH_HID_UninitializeFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_UninitializeFailed)
424 #define EvtUSBH_HID_OnUninitialize EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_OnUninitialize)
425 #define EvtUSBH_HID_GetDevice EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetDevice)
426 #define EvtUSBH_HID_GetStatus EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetStatus)
427 #define EvtUSBH_HID_Read EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_Read)
428 #define EvtUSBH_HID_ReadFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_ReadFailed)
429 #define EvtUSBH_HID_ReadDone EventID(EventLevelDetail, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_ReadDone)
430 #define EvtUSBH_HID_Write EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_Write)
431 #define EvtUSBH_HID_WriteFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_WriteFailed)
432 #define EvtUSBH_HID_WriteDone EventID(EventLevelDetail, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_WriteDone)
433 #define EvtUSBH_HID_GetKeyboardKey EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetKeyboardKey)
434 #define EvtUSBH_HID_GetKeyboardKeyDone EventID(EventLevelDetail, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetKeyboardKeyDone)
435 #define EvtUSBH_HID_GetMouseState EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetMouseState)
436 #define EvtUSBH_HID_GetMouseStateFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetMouseStateFailed)
437 #define EvtUSBH_HID_GetMouseStateDone EventID(EventLevelDetail, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetMouseStateDone)
438 #define EvtUSBH_HID_OnParseReportDescriptor EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_OnParseReportDescriptor)
439 #define EvtUSBH_HID_OnDataReceived EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_OnDataReceived)
440 #define EvtUSBH_HID_GetReport EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetReport)
441 #define EvtUSBH_HID_GetReportFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetReportFailed)
442 #define EvtUSBH_HID_SetReport EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_SetReport)
443 #define EvtUSBH_HID_SetReportFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_SetReportFailed)
444 #define EvtUSBH_HID_GetIdle EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetIdle)
445 #define EvtUSBH_HID_GetIdleFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetIdleFailed)
446 #define EvtUSBH_HID_SetIdle EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_SetIdle)
447 #define EvtUSBH_HID_SetIdleFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_SetIdleFailed)
448 #define EvtUSBH_HID_GetProtocol EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetProtocol)
449 #define EvtUSBH_HID_GetProtocolFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetProtocolFailed)
450 #define EvtUSBH_HID_SetProtocol EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_SetProtocol)
451 #define EvtUSBH_HID_SetProtocolFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_SetProtocolFailed)
452 #define EvtUSBH_HID_ReportOut EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_ReportOut)
453 #define EvtUSBH_HID_ReportOutFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_ReportOutFailed)
456 #define EvtUSBH_MSC_Configure EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Configure)
457 #define EvtUSBH_MSC_ConfigureFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ConfigureFailed)
458 #define EvtUSBH_MSC_Unconfigure EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Unconfigure)
459 #define EvtUSBH_MSC_UnconfigureFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_UnconfigureFailed)
460 #define EvtUSBH_MSC_Initialize EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Initialize)
461 #define EvtUSBH_MSC_InitializeFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_InitializeFailed)
462 #define EvtUSBH_MSC_OnInitialize EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_OnInitialize)
463 #define EvtUSBH_MSC_Uninitialize EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Uninitialize)
464 #define EvtUSBH_MSC_UninitializeFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_UninitializeFailed)
465 #define EvtUSBH_MSC_OnUninitialize EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_OnUninitialize)
466 #define EvtUSBH_MSC_GetDevice EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_GetDevice)
467 #define EvtUSBH_MSC_GetStatus EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_GetStatus)
468 #define EvtUSBH_MSC_Read EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Read)
469 #define EvtUSBH_MSC_ReadFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ReadFailed)
470 #define EvtUSBH_MSC_ReadDone EventID(EventLevelDetail, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ReadDone)
471 #define EvtUSBH_MSC_Write EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Write)
472 #define EvtUSBH_MSC_WriteFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_WriteFailed)
473 #define EvtUSBH_MSC_WriteDone EventID(EventLevelDetail, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_WriteDone)
474 #define EvtUSBH_MSC_ReadCapacity EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ReadCapacity)
475 #define EvtUSBH_MSC_ReadCapacityFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ReadCapacityFailed)
476 #define EvtUSBH_MSC_ReadCapacityDone EventID(EventLevelDetail, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ReadCapacityDone)
477 #define EvtUSBH_MSC_BomReset EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_BomReset)
478 #define EvtUSBH_MSC_BomResetFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_BomResetFailed)
479 #define EvtUSBH_MSC_GetMaxLun EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_GetMaxLun)
480 #define EvtUSBH_MSC_GetMaxLunFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_GetMaxLunFailed)
481 #define EvtUSBH_MSC_ScsiTestUnitReady EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiTestUnitReady)
482 #define EvtUSBH_MSC_ScsiTestUnitReadyFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiTestUnitReadyFailed)
483 #define EvtUSBH_MSC_ScsiRequestSense EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiRequestSense)
484 #define EvtUSBH_MSC_ScsiRequestSenseFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiRequestSenseFailed)
485 #define EvtUSBH_MSC_ScsiInquiry EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiInquiry)
486 #define EvtUSBH_MSC_ScsiInquiryFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiInquiryFailed)
487 #define EvtUSBH_MSC_ScsiReadFormatCapacities EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiReadFormatCapacities)
488 #define EvtUSBH_MSC_ScsiReadFormatCapacitiesFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiReadFormatCapacitiesFailed)
489 #define EvtUSBH_MSC_ScsiReadCapacity EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiReadCapacity)
490 #define EvtUSBH_MSC_ScsiReadCapacityFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiReadCapacityFailed)
491 #define EvtUSBH_MSC_ScsiRead10 EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiRead10)
492 #define EvtUSBH_MSC_ScsiRead10Failed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiRead10Failed)
493 #define EvtUSBH_MSC_ScsiWrite10 EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiWrite10)
494 #define EvtUSBH_MSC_ScsiWrite10Failed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiWrite10Failed)
495 #define EvtUSBH_MSC_Recover EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Recover)
496 #define EvtUSBH_MSC_RecoverFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_RecoverFailed)
507 #ifdef EvtUSBH_Core_Initialize
509 EventRecord2( EvtUSBH_Core_Initialize, TO_BYTE0(ctrl), 0U);
512 #define EvrUSBH_Core_Initialize(...)
521 #ifdef EvtUSBH_Core_InitializeFailed
523 EventRecord2( EvtUSBH_Core_InitializeFailed, TO_BYTE0(ctrl), (uint32_t)error);
526 #define EvrUSBH_Core_InitializeFailed(...)
534 #ifdef EvtUSBH_Core_Uninitialize
536 EventRecord2( EvtUSBH_Core_Uninitialize, TO_BYTE0(ctrl), 0U);
539 #define EvrUSBH_Core_Uninitialize(...)
548 #ifdef EvtUSBH_Core_UninitializeFailed
550 EventRecord2( EvtUSBH_Core_UninitializeFailed, TO_BYTE0(ctrl), (uint32_t)error);
553 #define EvrUSBH_Core_UninitializeFailed(...)
562 #ifdef EvtUSBH_Core_PortSuspend
564 EventRecord2( EvtUSBH_Core_PortSuspend, TO_BYTE0(ctrl) | TO_BYTE1(port), 0U);
567 #define EvrUSBH_Core_PortSuspend(...)
577 #ifdef EvtUSBH_Core_PortSuspendFailed
579 EventRecord2( EvtUSBH_Core_PortSuspendFailed, TO_BYTE0(ctrl) | TO_BYTE1(port), (uint32_t)error);
582 #define EvrUSBH_Core_PortSuspendFailed(...)
591 #ifdef EvtUSBH_Core_PortResume
593 EventRecord2( EvtUSBH_Core_PortResume, TO_BYTE0(ctrl) | TO_BYTE1(port), 0U);
596 #define EvrUSBH_Core_PortResume(...)
606 #ifdef EvtUSBH_Core_PortResumeFailed
608 EventRecord2( EvtUSBH_Core_PortResumeFailed, TO_BYTE0(ctrl) | TO_BYTE1(port), (uint32_t)error);
611 #define EvrUSBH_Core_PortResumeFailed(...)
622 #ifdef EvtUSBH_Core_DeviceGetController
624 EventRecord2( EvtUSBH_Core_DeviceGetController, TO_BYTE0(device), TO_BYTE0(ctrl));
627 #define EvrUSBH_Core_DeviceGetController(...)
638 #ifdef EvtUSBH_Core_DeviceGetPort
640 EventRecord2( EvtUSBH_Core_DeviceGetPort, TO_BYTE0(device), TO_BYTE0(port));
643 #define EvrUSBH_Core_DeviceGetPort(...)
652 #ifdef EvtUSBH_Core_DeviceGetStatus
654 EventRecord2( EvtUSBH_Core_DeviceGetStatus, TO_BYTE0(device), (uint32_t)status);
657 #define EvrUSBH_Core_DeviceGetStatus(...)
666 #ifdef EvtUSBH_Core_DeviceGetSpeed
668 EventRecord2( EvtUSBH_Core_DeviceGetSpeed, TO_BYTE0(device), TO_BYTE0(speed));
671 #define EvrUSBH_Core_DeviceGetSpeed(...)
682 #ifdef EvtUSBH_Core_DeviceGetAddress
684 EventRecord2( EvtUSBH_Core_DeviceGetAddress, TO_BYTE0(device), TO_BYTE0(address));
687 #define EvrUSBH_Core_DeviceGetAddress(...)
696 #ifdef EvtUSBH_Core_DeviceGetVID
698 EventRecord2( EvtUSBH_Core_DeviceGetVID, TO_BYTE0(device), (uint32_t)(vid));
701 #define EvrUSBH_Core_DeviceGetVID(...)
710 #ifdef EvtUSBH_Core_DeviceGetPID
712 EventRecord2( EvtUSBH_Core_DeviceGetPID, TO_BYTE0(device), (uint32_t)(pid));
715 #define EvrUSBH_Core_DeviceGetPID(...)
726 #ifdef EvtUSBH_Core_DeviceGetStringDescriptor
728 EventRecord2( EvtUSBH_Core_DeviceGetStringDescriptor, TO_BYTE0(device) | TO_BYTE3(index), TO_BYTE2(lang_id) | (uint32_t)desc_length);
731 #define EvrUSBH_Core_DeviceGetStringDescriptor(...)
743 #ifdef EvtUSBH_Core_DeviceGetStringDescriptorFailed
745 EventRecord2( EvtUSBH_Core_DeviceGetStringDescriptorFailed, TO_BYTE0(device) | TO_BYTE3(index), TO_BYTE2(lang_id) | (uint32_t)desc_length | TO_BYTE3(error));
748 #define EvrUSBH_Core_DeviceGetStringDescriptorFailed(...)
770 #ifdef EvtUSBH_Core_OnNotify
772 EventRecord2( EvtUSBH_Core_OnNotify, TO_BYTE0(ctrl) | TO_BYTE1(port) | TO_BYTE2(device), (uint32_t)notify);
775 #define EvrUSBH_Core_OnNotify(...)
792 #ifdef EvtUSBH_Core_PipeCreate
793 __STATIC_INLINE
void EvrUSBH_Core_PipeCreate( uint8_t device, uint8_t ep_addr, uint8_t ep_type, uint16_t ep_max_packet_size, uint8_t ep_interval, USBH_PIPE_HANDLE pipe_hndl) {
794 EventRecord4( EvtUSBH_Core_PipeCreate, TO_BYTE0(device) | TO_BYTE1(ep_addr) | TO_BYTE2(ep_type), (uint32_t)ep_max_packet_size | TO_BYTE2(ep_interval), (uint32_t)pipe_hndl, 0U);
797 #define EvrUSBH_Core_PipeCreate(...)
811 #ifdef EvtUSBH_Core_PipeCreateFailed
812 __STATIC_INLINE
void EvrUSBH_Core_PipeCreateFailed( uint8_t device, uint8_t ep_addr, uint8_t ep_type, uint16_t ep_max_packet_size, uint8_t ep_interval) {
813 EventRecord2( EvtUSBH_Core_PipeCreateFailed, TO_BYTE0(device) | TO_BYTE1(ep_addr) | TO_BYTE2(ep_type), (uint32_t)ep_max_packet_size | TO_BYTE2(ep_interval));
816 #define EvrUSBH_Core_PipeCreateFailed(...)
824 #ifdef EvtUSBH_Core_PipeUpdate
826 EventRecord2( EvtUSBH_Core_PipeUpdate, (uint32_t)pipe_hndl, 0U);
829 #define EvrUSBH_Core_PipeUpdate(...)
838 #ifdef EvtUSBH_Core_PipeUpdateFailed
840 EventRecord2( EvtUSBH_Core_PipeUpdateFailed, (uint32_t)pipe_hndl, (uint32_t)error);
843 #define EvrUSBH_Core_PipeUpdateFailed(...)
851 #ifdef EvtUSBH_Core_PipeDelete
853 EventRecord2( EvtUSBH_Core_PipeDelete, (uint32_t)pipe_hndl, 0U);
856 #define EvrUSBH_Core_PipeDelete(...)
865 #ifdef EvtUSBH_Core_PipeDeleteFailed
867 EventRecord2( EvtUSBH_Core_PipeDeleteFailed, (uint32_t)pipe_hndl, (uint32_t)error);
870 #define EvrUSBH_Core_PipeDeleteFailed(...)
878 #ifdef EvtUSBH_Core_PipeReset
880 EventRecord2( EvtUSBH_Core_PipeReset, (uint32_t)pipe_hndl, 0U);
883 #define EvrUSBH_Core_PipeReset(...)
892 #ifdef EvtUSBH_Core_PipeResetFailed
894 EventRecord2( EvtUSBH_Core_PipeResetFailed, (uint32_t)pipe_hndl, (uint32_t)error);
897 #define EvrUSBH_Core_PipeResetFailed(...)
906 #ifdef EvtUSBH_Core_PipeReceive
908 EventRecord2( EvtUSBH_Core_PipeReceive, (uint32_t)pipe_hndl, len);
911 #define EvrUSBH_Core_PipeReceive(...)
921 #ifdef EvtUSBH_Core_PipeReceiveFailed
923 EventRecord4( EvtUSBH_Core_PipeReceiveFailed, (uint32_t)pipe_hndl, len, (uint32_t)error, 0U);
926 #define EvrUSBH_Core_PipeReceiveFailed(...)
935 #ifdef EvtUSBH_Core_PipeReceiveGetResult
937 EventRecord2( EvtUSBH_Core_PipeReceiveGetResult, (uint32_t)pipe_hndl, num);
940 #define EvrUSBH_Core_PipeReceiveGetResult(...)
949 #ifdef EvtUSBH_Core_PipeSend
951 EventRecord2( EvtUSBH_Core_PipeSend, (uint32_t)pipe_hndl, len);
954 #define EvrUSBH_Core_PipeSend(...)
964 #ifdef EvtUSBH_Core_PipeSendFailed
966 EventRecord4( EvtUSBH_Core_PipeSendFailed, (uint32_t)pipe_hndl, len, (uint32_t)error, 0U);
969 #define EvrUSBH_Core_PipeSendFailed(...)
978 #ifdef EvtUSBH_Core_PipeSendGetResult
980 EventRecord2( EvtUSBH_Core_PipeSendGetResult, (uint32_t)pipe_hndl, num);
983 #define EvrUSBH_Core_PipeSendGetResult(...)
991 #ifdef EvtUSBH_Core_PipeAbort
993 EventRecord2( EvtUSBH_Core_PipeAbort, (uint32_t)pipe_hndl, 0U);
996 #define EvrUSBH_Core_PipeAbort(...)
1005 #ifdef EvtUSBH_Core_PipeAbortFailed
1007 EventRecord2( EvtUSBH_Core_PipeAbortFailed, (uint32_t)pipe_hndl, (uint32_t)error);
1010 #define EvrUSBH_Core_PipeAbortFailed(...)
1020 #ifdef EvtUSBH_Core_ControlTransfer
1022 EventRecord4( EvtUSBH_Core_ControlTransfer, TO_BYTE0(device), *((
const uint32_t *)setup_packet), *((
const uint32_t *)setup_packet+1U), len);
1025 #define EvrUSBH_Core_ControlTransfer(...)
1035 #ifdef EvtUSBH_Core_ControlTransferFailed
1037 EventRecord4( EvtUSBH_Core_ControlTransferFailed, TO_BYTE0(device), *((
const uint32_t *)setup_packet), *((
const uint32_t *)setup_packet+1U), (uint32_t)error);
1040 #define EvrUSBH_Core_ControlTransferFailed(...)
1051 #ifdef EvtUSBH_Core_RequestGetStatus
1053 EventRecord2( EvtUSBH_Core_RequestGetStatus, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(index), (uint32_t)status);
1056 #define EvrUSBH_Core_RequestGetStatus(...)
1067 #ifdef EvtUSBH_Core_RequestGetStatusFailed
1069 EventRecord2( EvtUSBH_Core_RequestGetStatusFailed, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(index), (uint32_t)error);
1072 #define EvrUSBH_Core_RequestGetStatusFailed(...)
1083 #ifdef EvtUSBH_Core_RequestClearFeature
1085 EventRecord2( EvtUSBH_Core_RequestClearFeature, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(index) | TO_BYTE3(feature), 0U);
1088 #define EvrUSBH_Core_RequestClearFeature(...)
1100 #ifdef EvtUSBH_Core_RequestClearFeatureFailed
1102 EventRecord2( EvtUSBH_Core_RequestClearFeatureFailed, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(index) | TO_BYTE3(feature), (uint32_t)error);
1105 #define EvrUSBH_Core_RequestClearFeatureFailed(...)
1116 #ifdef EvtUSBH_Core_RequestSetFeature
1118 EventRecord2( EvtUSBH_Core_RequestSetFeature, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(index) | TO_BYTE3(feature), 0U);
1121 #define EvrUSBH_Core_RequestSetFeature(...)
1133 #ifdef EvtUSBH_Core_RequestSetFeatureFailed
1135 EventRecord2( EvtUSBH_Core_RequestSetFeatureFailed, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(index) | TO_BYTE3(feature), (uint32_t)error);
1138 #define EvrUSBH_Core_RequestSetFeatureFailed(...)
1147 #ifdef EvtUSBH_Core_RequestSetAddress
1149 EventRecord2( EvtUSBH_Core_RequestSetAddress, TO_BYTE0(device) | TO_BYTE1(address), 0U);
1152 #define EvrUSBH_Core_RequestSetAddress(...)
1162 #ifdef EvtUSBH_Core_RequestSetAddressFailed
1164 EventRecord2( EvtUSBH_Core_RequestSetAddressFailed, TO_BYTE0(device) | TO_BYTE1(address), (uint32_t)error);
1167 #define EvrUSBH_Core_RequestSetAddressFailed(...)
1180 #ifdef EvtUSBH_Core_RequestGetDescriptor
1182 EventRecord2( EvtUSBH_Core_RequestGetDescriptor, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(desc_type) | TO_BYTE3(desc_index), ((uint32_t)lang_id << 16) | (uint32_t)desc_length);
1185 #define EvrUSBH_Core_RequestGetDescriptor(...)
1199 #ifdef EvtUSBH_Core_RequestGetDescriptorFailed
1200 __STATIC_INLINE
void EvrUSBH_Core_RequestGetDescriptorFailed( uint8_t device, uint8_t recipient, uint8_t desc_type, uint8_t desc_index, uint16_t lang_id, uint16_t desc_length, usbStatus error) {
1201 EventRecord4( EvtUSBH_Core_RequestGetDescriptorFailed, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(desc_type) | TO_BYTE3(desc_index), ((uint32_t)lang_id << 16) | (uint32_t)desc_length, (uint32_t)error, 0U);
1204 #define EvrUSBH_Core_RequestGetDescriptorFailed(...)
1217 #ifdef EvtUSBH_Core_RequestSetDescriptor
1219 EventRecord2( EvtUSBH_Core_RequestSetDescriptor, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(desc_type) | TO_BYTE3(desc_index), ((uint32_t)lang_id << 16) | (uint32_t)desc_length);
1222 #define EvrUSBH_Core_RequestSetDescriptor(...)
1236 #ifdef EvtUSBH_Core_RequestSetDescriptorFailed
1237 __STATIC_INLINE
void EvrUSBH_Core_RequestSetDescriptorFailed( uint8_t device, uint8_t recipient, uint8_t desc_type, uint8_t desc_index, uint16_t lang_id, uint16_t desc_length, usbStatus error) {
1238 EventRecord4( EvtUSBH_Core_RequestSetDescriptorFailed, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(desc_type) | TO_BYTE3(desc_index), ((uint32_t)lang_id << 16) | (uint32_t)desc_length, (uint32_t)error, 0U);
1241 #define EvrUSBH_Core_RequestSetDescriptorFailed(...)
1250 #ifdef EvtUSBH_Core_RequestGetConfiguration
1252 EventRecord2( EvtUSBH_Core_RequestGetConfiguration, TO_BYTE0(device), (uint32_t)config);
1255 #define EvrUSBH_Core_RequestGetConfiguration(...)
1264 #ifdef EvtUSBH_Core_RequestGetConfigurationFailed
1266 EventRecord2( EvtUSBH_Core_RequestGetConfigurationFailed, TO_BYTE0(device), (uint32_t)error);
1269 #define EvrUSBH_Core_RequestGetConfigurationFailed(...)
1278 #ifdef EvtUSBH_Core_RequestSetConfiguration
1280 EventRecord2( EvtUSBH_Core_RequestSetConfiguration, TO_BYTE0(device) | TO_BYTE1(config), 0U);
1283 #define EvrUSBH_Core_RequestSetConfiguration(...)
1293 #ifdef EvtUSBH_Core_RequestSetConfigurationFailed
1295 EventRecord2( EvtUSBH_Core_RequestSetConfigurationFailed, TO_BYTE0(device) | TO_BYTE1(config), (uint32_t)error);
1298 #define EvrUSBH_Core_RequestSetConfigurationFailed(...)
1308 #ifdef EvtUSBH_Core_RequestGetInterface
1310 EventRecord2( EvtUSBH_Core_RequestGetInterface, TO_BYTE0(device) | TO_BYTE1(index), (uint32_t)alt);
1313 #define EvrUSBH_Core_RequestGetInterface(...)
1323 #ifdef EvtUSBH_Core_RequestGetInterfaceFailed
1325 EventRecord2( EvtUSBH_Core_RequestGetInterfaceFailed, TO_BYTE0(device) | TO_BYTE1(index), (uint32_t)error);
1328 #define EvrUSBH_Core_RequestGetInterfaceFailed(...)
1338 #ifdef EvtUSBH_Core_RequestSetInterface
1340 EventRecord2( EvtUSBH_Core_RequestSetInterface, TO_BYTE0(device) | TO_BYTE1(index) | TO_BYTE2(alt), 0U);
1343 #define EvrUSBH_Core_RequestSetInterface(...)
1354 #ifdef EvtUSBH_Core_RequestSetInterfaceFailed
1356 EventRecord2( EvtUSBH_Core_RequestSetInterfaceFailed, TO_BYTE0(device) | TO_BYTE1(index) | TO_BYTE2(alt), (uint32_t)error);
1359 #define EvrUSBH_Core_RequestSetInterfaceFailed(...)
1369 #ifdef EvtUSBH_Core_RequestSynchFrame
1371 EventRecord2( EvtUSBH_Core_RequestSynchFrame, TO_BYTE0(device) | TO_BYTE1(index), (uint32_t)frame_num);
1374 #define EvrUSBH_Core_RequestSynchFrame(...)
1384 #ifdef EvtUSBH_Core_RequestSynchFrameFailed
1386 EventRecord2( EvtUSBH_Core_RequestSynchFrameFailed, TO_BYTE0(device) | TO_BYTE1(index), (uint32_t)error);
1389 #define EvrUSBH_Core_RequestSynchFrameFailed(...)
1398 #ifdef EvtUSBH_Core_MemInitFailed
1400 EventRecord2( EvtUSBH_Core_MemInitFailed, TO_BYTE0(ctrl), (uint32_t)error);
1403 #define EvrUSBH_Core_MemInitFailed(...)
1411 #ifdef EvtUSBH_Core_MemInit
1413 EventRecord2( EvtUSBH_Core_MemInit, TO_BYTE0(ctrl), 0U);
1416 #define EvrUSBH_Core_MemInit(...)
1425 #ifdef EvtUSBH_Core_MemUninitFailed
1427 EventRecord2( EvtUSBH_Core_MemUninitFailed, TO_BYTE0(ctrl), (uint32_t)error);
1430 #define EvrUSBH_Core_MemUninitFailed(...)
1438 #ifdef EvtUSBH_Core_MemUninit
1440 EventRecord2( EvtUSBH_Core_MemUninit, TO_BYTE0(ctrl), 0U);
1443 #define EvrUSBH_Core_MemUninit(...)
1453 #ifdef EvtUSBH_Core_MemAllocFailed
1455 EventRecord2( EvtUSBH_Core_MemAllocFailed, TO_BYTE0(ctrl) | TO_BYTE1(error), size);
1458 #define EvrUSBH_Core_MemAllocFailed(...)
1468 #ifdef EvtUSBH_Core_MemAlloc
1470 EventRecord4( EvtUSBH_Core_MemAlloc, TO_BYTE0(ctrl), (uint32_t) ptr, size, 0U);
1473 #define EvrUSBH_Core_MemAlloc(...)
1483 #ifdef EvtUSBH_Core_MemFreeFailed
1485 EventRecord2( EvtUSBH_Core_MemFreeFailed, TO_BYTE0(ctrl) | TO_BYTE1(error), (uint32_t) ptr);
1488 #define EvrUSBH_Core_MemFreeFailed(...)
1497 #ifdef EvtUSBH_Core_MemFree
1499 EventRecord2( EvtUSBH_Core_MemFree, TO_BYTE0(ctrl), (uint32_t) ptr);
1502 #define EvrUSBH_Core_MemFree(...)
1513 #ifdef EvtUSBH_Core_Engine
1515 EventRecord2( EvtUSBH_Core_Engine, TO_BYTE0(ctrl) | TO_BYTE1(port) | TO_BYTE2(port_state), event);
1518 #define EvrUSBH_Core_Engine(...)
1528 #ifdef EvtUSBH_Core_EngineFailed
1530 EventRecord2( EvtUSBH_Core_EngineFailed, TO_BYTE0(ctrl) | TO_BYTE1(port), event);
1533 #define EvrUSBH_Core_EngineFailed(...)
1544 #ifdef EvtUSBH_Core_EngineDone
1546 EventRecord2( EvtUSBH_Core_EngineDone, TO_BYTE0(ctrl) | TO_BYTE1(port) | TO_BYTE2(port_state), event);
1549 #define EvrUSBH_Core_EngineDone(...)
1559 #ifdef EvtUSBH_Driver_Initialize
1561 EventRecord2( EvtUSBH_Driver_Initialize, TO_BYTE0(ctrl), 0U);
1564 #define EvrUSBH_Driver_Initialize(...)
1573 #ifdef EvtUSBH_Driver_InitializeFailed
1575 EventRecord2( EvtUSBH_Driver_InitializeFailed, TO_BYTE0(ctrl), (uint32_t)error);
1578 #define EvrUSBH_Driver_InitializeFailed(...)
1586 #ifdef EvtUSBH_Driver_Uninitialize
1588 EventRecord2( EvtUSBH_Driver_Uninitialize, TO_BYTE0(ctrl), 0U);
1591 #define EvrUSBH_Driver_Uninitialize(...)
1600 #ifdef EvtUSBH_Driver_UninitializeFailed
1602 EventRecord2( EvtUSBH_Driver_UninitializeFailed, TO_BYTE0(ctrl), (uint32_t)error);
1605 #define EvrUSBH_Driver_UninitializeFailed(...)
1614 #ifdef EvtUSBH_Driver_PowerControl
1616 EventRecord2( EvtUSBH_Driver_PowerControl, TO_BYTE0(ctrl) | TO_BYTE1(state), 0U);
1619 #define EvrUSBH_Driver_PowerControl(...)
1629 #ifdef EvtUSBH_Driver_PowerControlFailed
1631 EventRecord2( EvtUSBH_Driver_PowerControlFailed, TO_BYTE0(ctrl) | TO_BYTE1(state), (uint32_t)error);
1634 #define EvrUSBH_Driver_PowerControlFailed(...)
1646 #ifdef EvtUSBH_Driver_PortVbusOnOff
1648 EventRecord2( EvtUSBH_Driver_PortVbusOnOff, TO_BYTE0(ctrl) | TO_BYTE1(port) | TO_BYTE2(vbus), 0U);
1651 #define EvrUSBH_Driver_PortVbusOnOff(...)
1664 #ifdef EvtUSBH_Driver_PortVbusOnOffFailed
1666 EventRecord2( EvtUSBH_Driver_PortVbusOnOffFailed, TO_BYTE0(ctrl) | TO_BYTE1(port) | TO_BYTE2(vbus), (uint32_t)error);
1669 #define EvrUSBH_Driver_PortVbusOnOffFailed(...)
1678 #ifdef EvtUSBH_Driver_PortReset
1680 EventRecord2( EvtUSBH_Driver_PortReset, TO_BYTE0(ctrl) | TO_BYTE1(port), 0U);
1683 #define EvrUSBH_Driver_PortReset(...)
1693 #ifdef EvtUSBH_Driver_PortResetFailed
1695 EventRecord2( EvtUSBH_Driver_PortResetFailed, TO_BYTE0(ctrl) | TO_BYTE1(port), (uint32_t)error);
1698 #define EvrUSBH_Driver_PortResetFailed(...)
1707 #ifdef EvtUSBH_Driver_PortSuspend
1709 EventRecord2( EvtUSBH_Driver_PortSuspend, TO_BYTE0(ctrl) | TO_BYTE1(port), 0U);
1712 #define EvrUSBH_Driver_PortSuspend(...)
1722 #ifdef EvtUSBH_Driver_PortSuspendFailed
1724 EventRecord2( EvtUSBH_Driver_PortSuspendFailed, TO_BYTE0(ctrl) | TO_BYTE1(port), (uint32_t)error);
1727 #define EvrUSBH_Driver_PortSuspendFailed(...)
1736 #ifdef EvtUSBH_Driver_PortResume
1738 EventRecord2( EvtUSBH_Driver_PortResume, TO_BYTE0(ctrl) | TO_BYTE1(port), 0U);
1741 #define EvrUSBH_Driver_PortResume(...)
1751 #ifdef EvtUSBH_Driver_PortResumeFailed
1753 EventRecord2( EvtUSBH_Driver_PortResumeFailed, TO_BYTE0(ctrl) | TO_BYTE1(port), (uint32_t)error);
1756 #define EvrUSBH_Driver_PortResumeFailed(...)
1766 #ifdef EvtUSBH_Driver_PortGetState
1768 EventRecord2( EvtUSBH_Driver_PortGetState, TO_BYTE0(ctrl) | TO_BYTE1(port), (uint32_t)state.connected | ((uint32_t)(state.overcurrent) << 1) | ((uint32_t)(state.speed) << 2));
1771 #define EvrUSBH_Driver_PortGetState(...)
1790 #ifdef EvtUSBH_Driver_PipeCreate
1791 __STATIC_INLINE
void EvrUSBH_Driver_PipeCreate( uint8_t ctrl, uint8_t dev_addr, uint8_t dev_speed, uint8_t hub_addr, uint8_t hub_port, uint8_t ep_addr, uint8_t ep_type, uint16_t ep_max_packet_size, uint8_t ep_interval, ARM_USBH_EP_HANDLE pipe_hndl) {
1792 EventRecord4( EvtUSBH_Driver_PipeCreate, TO_BYTE0(ctrl) | TO_BYTE1(dev_addr) | TO_BYTE2(dev_speed) | TO_BYTE3(hub_addr), TO_BYTE0(hub_port) | TO_BYTE1(ep_addr) | TO_BYTE2(ep_type), (uint32_t)ep_max_packet_size | TO_BYTE2(ep_interval), (uint32_t)pipe_hndl);
1795 #define EvrUSBH_Driver_PipeCreate(...)
1813 #ifdef EvtUSBH_Driver_PipeCreateFailed
1814 __STATIC_INLINE
void EvrUSBH_Driver_PipeCreateFailed( uint8_t ctrl, uint8_t dev_addr, uint8_t dev_speed, uint8_t hub_addr, uint8_t hub_port, uint8_t ep_addr, uint8_t ep_type, uint16_t ep_max_packet_size, uint8_t ep_interval) {
1815 EventRecord4( EvtUSBH_Driver_PipeCreateFailed, TO_BYTE0(ctrl) | TO_BYTE1(dev_addr) | TO_BYTE2(dev_speed) | TO_BYTE3(hub_addr), TO_BYTE0(hub_port) | TO_BYTE1(ep_addr) | TO_BYTE2(ep_type), (uint32_t)ep_max_packet_size | TO_BYTE2(ep_interval), 0U);
1818 #define EvrUSBH_Driver_PipeCreateFailed(...)
1832 #ifdef EvtUSBH_Driver_PipeModify
1833 __STATIC_INLINE
void EvrUSBH_Driver_PipeModify( uint8_t ctrl, ARM_USBH_PIPE_HANDLE pipe_hndl, uint8_t dev_addr, uint8_t dev_speed, uint8_t hub_addr, uint8_t hub_port, uint16_t ep_max_packet_size) {
1834 EventRecord4( EvtUSBH_Driver_PipeModify, TO_BYTE0(ctrl) | TO_BYTE1(dev_addr) | TO_BYTE2(dev_speed) | TO_BYTE3(hub_addr), TO_BYTE2(hub_port) | (uint32_t)ep_max_packet_size, (uint32_t)pipe_hndl, 0U);
1837 #define EvrUSBH_Driver_PipeModify(...)
1852 #ifdef EvtUSBH_Driver_PipeModifyFailed
1853 __STATIC_INLINE
void EvrUSBH_Driver_PipeModifyFailed( uint8_t ctrl, ARM_USBH_PIPE_HANDLE pipe_hndl, uint8_t dev_addr, uint8_t dev_speed, uint8_t hub_addr, uint8_t hub_port, uint16_t ep_max_packet_size, int32_t error) {
1854 EventRecord4( EvtUSBH_Driver_PipeModifyFailed, TO_BYTE0(ctrl) | TO_BYTE1(dev_addr) | TO_BYTE2(dev_speed) | TO_BYTE3(hub_addr), TO_BYTE2(hub_port) | (uint32_t)ep_max_packet_size, (uint32_t)pipe_hndl, (uint32_t)error);
1857 #define EvrUSBH_Driver_PipeModifyFailed(...)
1866 #ifdef EvtUSBH_Driver_PipeDelete
1868 EventRecord2( EvtUSBH_Driver_PipeDelete, TO_BYTE0(ctrl), (uint32_t)pipe_hndl);
1871 #define EvrUSBH_Driver_PipeDelete(...)
1881 #ifdef EvtUSBH_Driver_PipeDeleteFailed
1883 EventRecord2( EvtUSBH_Driver_PipeDeleteFailed, TO_BYTE0(ctrl) | TO_BYTE1(error), (uint32_t)pipe_hndl);
1886 #define EvrUSBH_Driver_PipeDeleteFailed(...)
1895 #ifdef EvtUSBH_Driver_PipeReset
1897 EventRecord2( EvtUSBH_Driver_PipeReset, TO_BYTE0(ctrl), (uint32_t)pipe_hndl);
1900 #define EvrUSBH_Driver_PipeReset(...)
1910 #ifdef EvtUSBH_Driver_PipeResetFailed
1912 EventRecord2( EvtUSBH_Driver_PipeResetFailed, TO_BYTE0(ctrl) | TO_BYTE1(error), (uint32_t)pipe_hndl);
1915 #define EvrUSBH_Driver_PipeResetFailed(...)
1926 #ifdef EvtUSBH_Driver_PipeTransfer
1928 EventRecord4( EvtUSBH_Driver_PipeTransfer, TO_BYTE0(ctrl) | TO_BYTE1(packet), (uint32_t)pipe_hndl, num, 0U);
1931 #define EvrUSBH_Driver_PipeTransfer(...)
1943 #ifdef EvtUSBH_Driver_PipeTransferFailed
1945 EventRecord4( EvtUSBH_Driver_PipeTransferFailed, TO_BYTE0(ctrl) | TO_BYTE1(packet), (uint32_t)pipe_hndl, num, (uint32_t)error);
1948 #define EvrUSBH_Driver_PipeTransferFailed(...)
1958 #ifdef EvtUSBH_Driver_PipeTransferGetResult
1960 EventRecord4( EvtUSBH_Driver_PipeTransferGetResult, TO_BYTE0(ctrl), (uint32_t)pipe_hndl, num, 0U);
1963 #define EvrUSBH_Driver_PipeTransferGetResult(...)
1972 #ifdef EvtUSBH_Driver_PipeTransferAbort
1974 EventRecord2( EvtUSBH_Driver_PipeTransferAbort, TO_BYTE0(ctrl), (uint32_t)pipe_hndl);
1977 #define EvrUSBH_Driver_PipeTransferAbort(...)
1987 #ifdef EvtUSBH_Driver_PipeTransferAbortFailed
1989 EventRecord2( EvtUSBH_Driver_PipeTransferAbortFailed, TO_BYTE0(ctrl) | TO_BYTE1(error), (uint32_t)pipe_hndl);
1992 #define EvrUSBH_Driver_PipeTransferAbortFailed(...)
2001 #ifdef EvtUSBH_Driver_GetFrameNumber
2003 EventRecord2( EvtUSBH_Driver_GetFrameNumber, TO_BYTE0(ctrl), (uint32_t)frame_number);
2006 #define EvrUSBH_Driver_GetFrameNumber(...)
2016 #ifdef EvtUSBH_Driver_OnSignalPortEvent
2018 EventRecord2( EvtUSBH_Driver_OnSignalPortEvent, TO_BYTE0(ctrl) | TO_BYTE1(port), event);
2021 #define EvrUSBH_Driver_OnSignalPortEvent(...)
2031 #ifdef EvtUSBH_Driver_OnSignalPipeEvent
2033 EventRecord2( EvtUSBH_Driver_OnSignalPipeEvent, TO_BYTE0(ctrl) | TO_BYTE1(event), (uint32_t)pipe_hndl);
2036 #define EvrUSBH_Driver_OnSignalPipeEvent(...)
2049 #ifdef EvtUSBH_CC_GetDevice
2051 EventRecord2( EvtUSBH_CC_GetDevice, TO_BYTE0(instance), TO_BYTE0(device));
2054 #define EvrUSBH_CC_GetDevice(...)
2063 #ifdef EvtUSBH_CC_GetStatus
2065 EventRecord2( EvtUSBH_CC_GetStatus, TO_BYTE0(instance), (uint32_t)status);
2068 #define EvrUSBH_CC_GetStatus(...)
2083 #ifdef EvtUSBH_CC_OnConfigure
2084 __STATIC_INLINE
void EvrUSBH_CC_OnConfigure( uint8_t device, uint8_t
class, uint8_t sub_class, uint16_t vid, uint16_t pid, uint8_t instance) {
2085 EventRecord2( EvtUSBH_CC_OnConfigure, TO_BYTE0(device) | TO_BYTE1(
class) | TO_BYTE2(sub_class) | TO_BYTE3(instance), ((uint32_t)vid << 16) | (uint32_t)pid);
2088 #define EvrUSBH_CC_OnConfigure(...)
2097 #ifdef EvtUSBH_CC_OnUnconfigure
2099 EventRecord2( EvtUSBH_CC_OnUnconfigure, TO_BYTE0(instance), (uint32_t)status);
2102 #define EvrUSBH_CC_OnUnconfigure(...)
2111 #ifdef EvtUSBH_CC_OnInitialize
2113 EventRecord2( EvtUSBH_CC_OnInitialize, TO_BYTE0(instance), (uint32_t)status);
2116 #define EvrUSBH_CC_OnInitialize(...)
2125 #ifdef EvtUSBH_CC_OnUninitialize
2127 EventRecord2( EvtUSBH_CC_OnUninitialize, TO_BYTE0(instance), (uint32_t)status);
2130 #define EvrUSBH_CC_OnUninitialize(...)
2140 #ifdef EvtUSBH_CDC_ACM_Configure
2142 EventRecord2( EvtUSBH_CDC_ACM_Configure, TO_BYTE0(instance), 0U);
2145 #define EvrUSBH_CDC_ACM_Configure(...)
2153 #ifdef EvtUSBH_CDC_ACM_ConfigureFailed
2155 EventRecord2( EvtUSBH_CDC_ACM_ConfigureFailed, (uint32_t)error, 0U);
2158 #define EvrUSBH_CDC_ACM_ConfigureFailed(...)
2166 #ifdef EvtUSBH_CDC_ACM_Unconfigure
2168 EventRecord2( EvtUSBH_CDC_ACM_Unconfigure, TO_BYTE0(instance), 0U);
2171 #define EvrUSBH_CDC_ACM_Unconfigure(...)
2180 #ifdef EvtUSBH_CDC_ACM_UnconfigureFailed
2182 EventRecord2( EvtUSBH_CDC_ACM_UnconfigureFailed, TO_BYTE0(instance), (uint32_t)error);
2185 #define EvrUSBH_CDC_ACM_UnconfigureFailed(...)
2193 #ifdef EvtUSBH_CDC_ACM_Initialize
2195 EventRecord2( EvtUSBH_CDC_ACM_Initialize, TO_BYTE0(instance), 0U);
2198 #define EvrUSBH_CDC_ACM_Initialize(...)
2207 #ifdef EvtUSBH_CDC_ACM_InitializeFailed
2209 EventRecord2( EvtUSBH_CDC_ACM_InitializeFailed, TO_BYTE0(instance), (uint32_t)error);
2212 #define EvrUSBH_CDC_ACM_InitializeFailed(...)
2219 #ifdef EvtUSBH_CDC_ACM_OnInitialize
2221 EventRecord2( EvtUSBH_CDC_ACM_OnInitialize, TO_BYTE0(instance), 0U);
2224 #define EvrUSBH_CDC_ACM_OnInitialize(...)
2232 #ifdef EvtUSBH_CDC_ACM_Uninitialize
2234 EventRecord2( EvtUSBH_CDC_ACM_Uninitialize, TO_BYTE0(instance), 0U);
2237 #define EvrUSBH_CDC_ACM_Uninitialize(...)
2246 #ifdef EvtUSBH_CDC_ACM_UninitializeFailed
2248 EventRecord2( EvtUSBH_CDC_ACM_UninitializeFailed, TO_BYTE0(instance), (uint32_t)error);
2251 #define EvrUSBH_CDC_ACM_UninitializeFailed(...)
2259 #ifdef EvtUSBH_CDC_ACM_OnUninitialize
2261 EventRecord2( EvtUSBH_CDC_ACM_OnUninitialize, TO_BYTE0(instance), 0U);
2264 #define EvrUSBH_CDC_ACM_OnUninitialize(...)
2275 #ifdef EvtUSBH_CDC_ACM_GetDevice
2277 EventRecord2( EvtUSBH_CDC_ACM_GetDevice, TO_BYTE0(instance), TO_BYTE0(device));
2280 #define EvrUSBH_CDC_ACM_GetDevice(...)
2289 #ifdef EvtUSBH_CDC_ACM_GetStatus
2291 EventRecord2( EvtUSBH_CDC_ACM_GetStatus, TO_BYTE0(instance), (uint32_t)status);
2294 #define EvrUSBH_CDC_ACM_GetStatus(...)
2303 #ifdef EvtUSBH_CDC_ACM_Send
2305 EventRecord2( EvtUSBH_CDC_ACM_Send, TO_BYTE0(instance), num);
2308 #define EvrUSBH_CDC_ACM_Send(...)
2318 #ifdef EvtUSBH_CDC_ACM_SendFailed
2320 EventRecord2( EvtUSBH_CDC_ACM_SendFailed, TO_BYTE0(instance) | TO_BYTE1(error), num);
2323 #define EvrUSBH_CDC_ACM_SendFailed(...)
2332 #ifdef EvtUSBH_CDC_ACM_SendDone
2334 EventRecord2( EvtUSBH_CDC_ACM_SendDone, TO_BYTE0(instance), num);
2337 #define EvrUSBH_CDC_ACM_SendDone(...)
2346 #ifdef EvtUSBH_CDC_ACM_GetTxCount
2348 EventRecord2( EvtUSBH_CDC_ACM_GetTxCount, TO_BYTE0(instance), num);
2351 #define EvrUSBH_CDC_ACM_GetTxCount(...)
2359 #ifdef EvtUSBH_CDC_ACM_AbortSend
2361 EventRecord2( EvtUSBH_CDC_ACM_AbortSend, TO_BYTE0(instance), 0U);
2364 #define EvrUSBH_CDC_ACM_AbortSend(...)
2373 #ifdef EvtUSBH_CDC_ACM_AbortSendFailed
2375 EventRecord2( EvtUSBH_CDC_ACM_AbortSendFailed, TO_BYTE0(instance) | TO_BYTE1(error), 0U);
2378 #define EvrUSBH_CDC_ACM_AbortSendFailed(...)
2386 #ifdef EvtUSBH_CDC_ACM_AbortSendDone
2388 EventRecord2( EvtUSBH_CDC_ACM_AbortSendDone, TO_BYTE0(instance), 0U);
2391 #define EvrUSBH_CDC_ACM_AbortSendDone(...)
2400 #ifdef EvtUSBH_CDC_ACM_Receive
2402 EventRecord2( EvtUSBH_CDC_ACM_Receive, TO_BYTE0(instance), num);
2405 #define EvrUSBH_CDC_ACM_Receive(...)
2415 #ifdef EvtUSBH_CDC_ACM_ReceiveFailed
2417 EventRecord2( EvtUSBH_CDC_ACM_ReceiveFailed, TO_BYTE0(instance) | TO_BYTE1(error), num);
2420 #define EvrUSBH_CDC_ACM_ReceiveFailed(...)
2429 #ifdef EvtUSBH_CDC_ACM_ReceiveDone
2431 EventRecord2( EvtUSBH_CDC_ACM_ReceiveDone, TO_BYTE0(instance), num);
2434 #define EvrUSBH_CDC_ACM_ReceiveDone(...)
2443 #ifdef EvtUSBH_CDC_ACM_GetRxCount
2445 EventRecord2( EvtUSBH_CDC_ACM_GetRxCount, TO_BYTE0(instance), num);
2448 #define EvrUSBH_CDC_ACM_GetRxCount(...)
2456 #ifdef EvtUSBH_CDC_ACM_AbortReceive
2458 EventRecord2( EvtUSBH_CDC_ACM_AbortReceive, TO_BYTE0(instance), 0U);
2461 #define EvrUSBH_CDC_ACM_AbortReceive(...)
2470 #ifdef EvtUSBH_CDC_ACM_AbortReceiveFailed
2472 EventRecord2( EvtUSBH_CDC_ACM_AbortReceiveFailed, TO_BYTE0(instance) | TO_BYTE1(error), 0U);
2475 #define EvrUSBH_CDC_ACM_AbortReceiveFailed(...)
2483 #ifdef EvtUSBH_CDC_ACM_AbortReceiveDone
2485 EventRecord2( EvtUSBH_CDC_ACM_AbortReceiveDone, TO_BYTE0(instance), 0U);
2488 #define EvrUSBH_CDC_ACM_AbortReceiveDone(...)
2497 #ifdef EvtUSBH_CDC_ACM_SetLineCoding
2499 EventRecord2( EvtUSBH_CDC_ACM_SetLineCoding, TO_BYTE0(instance), rate);
2502 #define EvrUSBH_CDC_ACM_SetLineCoding(...)
2512 #ifdef EvtUSBH_CDC_ACM_SetLineCodingFailed
2514 EventRecord2( EvtUSBH_CDC_ACM_SetLineCodingFailed, TO_BYTE0(instance) | TO_BYTE1(error), rate);
2517 #define EvrUSBH_CDC_ACM_SetLineCodingFailed(...)
2527 #ifdef EvtUSBH_CDC_ACM_GetLineCodingFailed
2529 EventRecord2( EvtUSBH_CDC_ACM_GetLineCodingFailed, TO_BYTE0(instance) | TO_BYTE1(error), rate);
2532 #define EvrUSBH_CDC_ACM_GetLineCodingFailed(...)
2541 #ifdef EvtUSBH_CDC_ACM_GetLineCoding
2543 EventRecord2( EvtUSBH_CDC_ACM_GetLineCoding, TO_BYTE0(instance), rate);
2546 #define EvrUSBH_CDC_ACM_GetLineCoding(...)
2556 #ifdef EvtUSBH_CDC_ACM_SetControlLineState
2558 EventRecord2( EvtUSBH_CDC_ACM_SetControlLineState, TO_BYTE0(instance), TO_BYTE0(dtr) | TO_BYTE1(rts));
2561 #define EvrUSBH_CDC_ACM_SetControlLineState(...)
2572 #ifdef EvtUSBH_CDC_ACM_SetControlLineStateFailed
2574 EventRecord2( EvtUSBH_CDC_ACM_SetControlLineStateFailed, TO_BYTE0(instance) | TO_BYTE1(error), TO_BYTE0(dtr) | TO_BYTE1(rts));
2577 #define EvrUSBH_CDC_ACM_SetControlLineStateFailed(...)
2593 #ifdef EvtUSBH_CDC_ACM_OnNotify
2595 EventRecord2( EvtUSBH_CDC_ACM_OnNotify, TO_BYTE0(instance), (uint32_t)state);
2598 #define EvrUSBH_CDC_ACM_OnNotify(...)
2609 #ifdef EvtUSBH_CDC_ACM_SendBreak
2611 EventRecord2( EvtUSBH_CDC_ACM_SendBreak, TO_BYTE0(instance), (uint32_t)duration);
2614 #define EvrUSBH_CDC_ACM_SendBreak(...)
2626 #ifdef EvtUSBH_CDC_ACM_SendBreakFailed
2628 EventRecord2( EvtUSBH_CDC_ACM_SendBreakFailed, TO_BYTE0(instance) | TO_BYTE1(error), (uint32_t)duration);
2631 #define EvrUSBH_CDC_ACM_SendBreakFailed(...)
2641 #ifdef EvtUSBH_HID_Configure
2643 EventRecord2( EvtUSBH_HID_Configure, TO_BYTE0(instance), 0U);
2646 #define EvrUSBH_HID_Configure(...)
2654 #ifdef EvtUSBH_HID_ConfigureFailed
2656 EventRecord2( EvtUSBH_HID_ConfigureFailed, (uint32_t)error, 0U);
2659 #define EvrUSBH_HID_ConfigureFailed(...)
2667 #ifdef EvtUSBH_HID_Unconfigure
2669 EventRecord2( EvtUSBH_HID_Unconfigure, TO_BYTE0(instance), 0U);
2672 #define EvrUSBH_HID_Unconfigure(...)
2681 #ifdef EvtUSBH_HID_UnconfigureFailed
2683 EventRecord2( EvtUSBH_HID_UnconfigureFailed, TO_BYTE0(instance), (uint32_t)error);
2686 #define EvrUSBH_HID_UnconfigureFailed(...)
2694 #ifdef EvtUSBH_HID_Initialize
2696 EventRecord2( EvtUSBH_HID_Initialize, TO_BYTE0(instance), 0U);
2699 #define EvrUSBH_HID_Initialize(...)
2708 #ifdef EvtUSBH_HID_InitializeFailed
2710 EventRecord2( EvtUSBH_HID_InitializeFailed, TO_BYTE0(instance), (uint32_t)error);
2713 #define EvrUSBH_HID_InitializeFailed(...)
2720 #ifdef EvtUSBH_HID_OnInitialize
2722 EventRecord2( EvtUSBH_HID_OnInitialize, TO_BYTE0(instance), 0U);
2725 #define EvrUSBH_HID_OnInitialize(...)
2733 #ifdef EvtUSBH_HID_Uninitialize
2735 EventRecord2( EvtUSBH_HID_Uninitialize, TO_BYTE0(instance), 0U);
2738 #define EvrUSBH_HID_Uninitialize(...)
2747 #ifdef EvtUSBH_HID_UninitializeFailed
2749 EventRecord2( EvtUSBH_HID_UninitializeFailed, TO_BYTE0(instance), (uint32_t)error);
2752 #define EvrUSBH_HID_UninitializeFailed(...)
2760 #ifdef EvtUSBH_HID_OnUninitialize
2762 EventRecord2( EvtUSBH_HID_OnUninitialize, TO_BYTE0(instance), 0U);
2765 #define EvrUSBH_HID_OnUninitialize(...)
2776 #ifdef EvtUSBH_HID_GetDevice
2778 EventRecord2( EvtUSBH_HID_GetDevice, TO_BYTE0(instance), TO_BYTE0(device));
2781 #define EvrUSBH_HID_GetDevice(...)
2790 #ifdef EvtUSBH_HID_GetStatus
2792 EventRecord2( EvtUSBH_HID_GetStatus, TO_BYTE0(instance), (uint32_t)status);
2795 #define EvrUSBH_HID_GetStatus(...)
2804 #ifdef EvtUSBH_HID_Read
2806 EventRecord2( EvtUSBH_HID_Read, TO_BYTE0(instance), (uint32_t)len);
2809 #define EvrUSBH_HID_Read(...)
2819 #ifdef EvtUSBH_HID_ReadFailed
2821 EventRecord2( EvtUSBH_HID_ReadFailed, TO_BYTE0(instance) | TO_BYTE1(error), (uint32_t)len);
2824 #define EvrUSBH_HID_ReadFailed(...)
2834 #ifdef EvtUSBH_HID_ReadDone
2836 EventRecord4( EvtUSBH_HID_ReadDone, TO_BYTE0(instance), (uint32_t)len, (uint32_t)result, 0U);
2839 #define EvrUSBH_HID_ReadDone(...)
2848 #ifdef EvtUSBH_HID_Write
2850 EventRecord2( EvtUSBH_HID_Write, TO_BYTE0(instance), (uint32_t)len);
2853 #define EvrUSBH_HID_Write(...)
2863 #ifdef EvtUSBH_HID_WriteFailed
2865 EventRecord2( EvtUSBH_HID_WriteFailed, TO_BYTE0(instance) | TO_BYTE1(error), (uint32_t)len);
2868 #define EvrUSBH_HID_WriteFailed(...)
2878 #ifdef EvtUSBH_HID_WriteDone
2880 EventRecord4( EvtUSBH_HID_WriteDone, TO_BYTE0(instance), (uint32_t)len, (uint32_t)result, 0U);
2883 #define EvrUSBH_HID_WriteDone(...)
2891 #ifdef EvtUSBH_HID_GetKeyboardKey
2893 EventRecord2( EvtUSBH_HID_GetKeyboardKey, TO_BYTE0(instance), 0U);
2896 #define EvrUSBH_HID_GetKeyboardKey(...)
2905 #ifdef EvtUSBH_HID_GetKeyboardKeyDone
2907 EventRecord2( EvtUSBH_HID_GetKeyboardKeyDone, TO_BYTE0(instance), (uint32_t)ch);
2910 #define EvrUSBH_HID_GetKeyboardKeyDone(...)
2918 #ifdef EvtUSBH_HID_GetMouseState
2920 EventRecord2( EvtUSBH_HID_GetMouseState, TO_BYTE0(instance), 0U);
2923 #define EvrUSBH_HID_GetMouseState(...)
2932 #ifdef EvtUSBH_HID_GetMouseStateFailed
2934 EventRecord2( EvtUSBH_HID_GetMouseStateFailed, TO_BYTE0(instance), (uint32_t)error);
2937 #define EvrUSBH_HID_GetMouseStateFailed(...)
2946 #ifdef EvtUSBH_HID_GetMouseStateDone
2948 EventRecord4( EvtUSBH_HID_GetMouseStateDone, TO_BYTE0(instance), (uint32_t)state.
button, ((uint32_t)state.
x << 16) | (uint32_t)state.
y, 0U);
2951 #define EvrUSBH_HID_GetMouseStateDone(...)
2960 #ifdef EvtUSBH_HID_OnParseReportDescriptor
2962 EventRecord2( EvtUSBH_HID_OnParseReportDescriptor, TO_BYTE0(instance), len);
2965 #define EvrUSBH_HID_OnParseReportDescriptor(...)
2974 #ifdef EvtUSBH_HID_OnDataReceived
2976 EventRecord2( EvtUSBH_HID_OnDataReceived, TO_BYTE0(instance), len);
2979 #define EvrUSBH_HID_OnDataReceived(...)
2987 #ifdef EvtUSBH_HID_GetReport
2989 EventRecord2( EvtUSBH_HID_GetReport, TO_BYTE0(instance), 0U);
2992 #define EvrUSBH_HID_GetReport(...)
3001 #ifdef EvtUSBH_HID_GetReportFailed
3003 EventRecord2( EvtUSBH_HID_GetReportFailed, TO_BYTE0(instance), (uint32_t)error);
3006 #define EvrUSBH_HID_GetReportFailed(...)
3014 #ifdef EvtUSBH_HID_SetReport
3016 EventRecord2( EvtUSBH_HID_SetReport, TO_BYTE0(instance), 0U);
3019 #define EvrUSBH_HID_SetReport(...)
3028 #ifdef EvtUSBH_HID_SetReportFailed
3030 EventRecord2( EvtUSBH_HID_SetReportFailed, TO_BYTE0(instance), (uint32_t)error);
3033 #define EvrUSBH_HID_SetReportFailed(...)
3041 #ifdef EvtUSBH_HID_GetIdle
3043 EventRecord2( EvtUSBH_HID_GetIdle, TO_BYTE0(instance), 0U);
3046 #define EvrUSBH_HID_GetIdle(...)
3055 #ifdef EvtUSBH_HID_GetIdleFailed
3057 EventRecord2( EvtUSBH_HID_GetIdleFailed, TO_BYTE0(instance), (uint32_t)error);
3060 #define EvrUSBH_HID_GetIdleFailed(...)
3068 #ifdef EvtUSBH_HID_SetIdle
3070 EventRecord2( EvtUSBH_HID_SetIdle, TO_BYTE0(instance), 0U);
3073 #define EvrUSBH_HID_SetIdle(...)
3082 #ifdef EvtUSBH_HID_SetIdleFailed
3084 EventRecord2( EvtUSBH_HID_SetIdleFailed, TO_BYTE0(instance), (uint32_t)error);
3087 #define EvrUSBH_HID_SetIdleFailed(...)
3095 #ifdef EvtUSBH_HID_GetProtocol
3097 EventRecord2( EvtUSBH_HID_GetProtocol, TO_BYTE0(instance), 0U);
3100 #define EvrUSBH_HID_GetProtocol(...)
3109 #ifdef EvtUSBH_HID_GetProtocolFailed
3111 EventRecord2( EvtUSBH_HID_GetProtocolFailed, TO_BYTE0(instance), (uint32_t)error);
3114 #define EvrUSBH_HID_GetProtocolFailed(...)
3122 #ifdef EvtUSBH_HID_SetProtocol
3124 EventRecord2( EvtUSBH_HID_SetProtocol, TO_BYTE0(instance), 0U);
3127 #define EvrUSBH_HID_SetProtocol(...)
3136 #ifdef EvtUSBH_HID_SetProtocolFailed
3138 EventRecord2( EvtUSBH_HID_SetProtocolFailed, TO_BYTE0(instance), (uint32_t)error);
3141 #define EvrUSBH_HID_SetProtocolFailed(...)
3149 #ifdef EvtUSBH_HID_ReportOut
3151 EventRecord2( EvtUSBH_HID_ReportOut, TO_BYTE0(instance), 0U);
3154 #define EvrUSBH_HID_ReportOut(...)
3163 #ifdef EvtUSBH_HID_ReportOutFailed
3165 EventRecord2( EvtUSBH_HID_ReportOutFailed, TO_BYTE0(instance), (uint32_t)error);
3168 #define EvrUSBH_HID_ReportOutFailed(...)
3178 #ifdef EvtUSBH_MSC_Configure
3180 EventRecord2( EvtUSBH_MSC_Configure, TO_BYTE0(instance), 0U);
3183 #define EvrUSBH_MSC_Configure(...)
3191 #ifdef EvtUSBH_MSC_ConfigureFailed
3193 EventRecord2( EvtUSBH_MSC_ConfigureFailed, (uint32_t)error, 0U);
3196 #define EvrUSBH_MSC_ConfigureFailed(...)
3204 #ifdef EvtUSBH_MSC_Unconfigure
3206 EventRecord2( EvtUSBH_MSC_Unconfigure, TO_BYTE0(instance), 0U);
3209 #define EvrUSBH_MSC_Unconfigure(...)
3218 #ifdef EvtUSBH_MSC_UnconfigureFailed
3220 EventRecord2( EvtUSBH_MSC_UnconfigureFailed, TO_BYTE0(instance), (uint32_t)error);
3223 #define EvrUSBH_MSC_UnconfigureFailed(...)
3231 #ifdef EvtUSBH_MSC_Initialize
3233 EventRecord2( EvtUSBH_MSC_Initialize, TO_BYTE0(instance), 0U);
3236 #define EvrUSBH_MSC_Initialize(...)
3245 #ifdef EvtUSBH_MSC_InitializeFailed
3247 EventRecord2( EvtUSBH_MSC_InitializeFailed, TO_BYTE0(instance), (uint32_t)error);
3250 #define EvrUSBH_MSC_InitializeFailed(...)
3257 #ifdef EvtUSBH_MSC_OnInitialize
3259 EventRecord2( EvtUSBH_MSC_OnInitialize, TO_BYTE0(instance), 0U);
3262 #define EvrUSBH_MSC_OnInitialize(...)
3270 #ifdef EvtUSBH_MSC_Uninitialize
3272 EventRecord2( EvtUSBH_MSC_Uninitialize, TO_BYTE0(instance), 0U);
3275 #define EvrUSBH_MSC_Uninitialize(...)
3284 #ifdef EvtUSBH_MSC_UninitializeFailed
3286 EventRecord2( EvtUSBH_MSC_UninitializeFailed, TO_BYTE0(instance), (uint32_t)error);
3289 #define EvrUSBH_MSC_UninitializeFailed(...)
3297 #ifdef EvtUSBH_MSC_OnUninitialize
3299 EventRecord2( EvtUSBH_MSC_OnUninitialize, TO_BYTE0(instance), 0U);
3302 #define EvrUSBH_MSC_OnUninitialize(...)
3313 #ifdef EvtUSBH_MSC_GetDevice
3315 EventRecord2( EvtUSBH_MSC_GetDevice, TO_BYTE0(instance), TO_BYTE0(device));
3318 #define EvrUSBH_MSC_GetDevice(...)
3327 #ifdef EvtUSBH_MSC_GetStatus
3329 EventRecord2( EvtUSBH_MSC_GetStatus, TO_BYTE0(instance), (uint32_t)status);
3332 #define EvrUSBH_MSC_GetStatus(...)
3342 #ifdef EvtUSBH_MSC_Read
3344 EventRecord4( EvtUSBH_MSC_Read, TO_BYTE0(instance), lba, cnt, 0U);
3347 #define EvrUSBH_MSC_Read(...)
3358 #ifdef EvtUSBH_MSC_ReadFailed
3360 EventRecord4( EvtUSBH_MSC_ReadFailed, TO_BYTE0(instance), lba, cnt, (uint32_t)error);
3363 #define EvrUSBH_MSC_ReadFailed(...)
3373 #ifdef EvtUSBH_MSC_ReadDone
3375 EventRecord4( EvtUSBH_MSC_ReadDone, TO_BYTE0(instance), lba, cnt, 0U);
3378 #define EvrUSBH_MSC_ReadDone(...)
3388 #ifdef EvtUSBH_MSC_Write
3390 EventRecord4( EvtUSBH_MSC_Write, TO_BYTE0(instance), lba, cnt, 0U);
3393 #define EvrUSBH_MSC_Write(...)
3404 #ifdef EvtUSBH_MSC_WriteFailed
3406 EventRecord4( EvtUSBH_MSC_WriteFailed, TO_BYTE0(instance), lba, cnt, (uint32_t)error);
3409 #define EvrUSBH_MSC_WriteFailed(...)
3419 #ifdef EvtUSBH_MSC_WriteDone
3421 EventRecord4( EvtUSBH_MSC_WriteDone, TO_BYTE0(instance), lba, cnt, 0U);
3424 #define EvrUSBH_MSC_WriteDone(...)
3432 #ifdef EvtUSBH_MSC_ReadCapacity
3434 EventRecord2( EvtUSBH_MSC_ReadCapacity, TO_BYTE0(instance), 0U);
3437 #define EvrUSBH_MSC_ReadCapacity(...)
3446 #ifdef EvtUSBH_MSC_ReadCapacityFailed
3448 EventRecord2( EvtUSBH_MSC_ReadCapacityFailed, TO_BYTE0(instance), (uint32_t)error);
3451 #define EvrUSBH_MSC_ReadCapacityFailed(...)
3461 #ifdef EvtUSBH_MSC_ReadCapacityDone
3463 EventRecord4( EvtUSBH_MSC_ReadCapacityDone, TO_BYTE0(instance), block_count, block_size, 0U);
3466 #define EvrUSBH_MSC_ReadCapacityDone(...)
3474 #ifdef EvtUSBH_MSC_BomReset
3476 EventRecord2( EvtUSBH_MSC_BomReset, TO_BYTE0(instance), 0U);
3479 #define EvrUSBH_MSC_BomReset(...)
3488 #ifdef EvtUSBH_MSC_BomResetFailed
3490 EventRecord2( EvtUSBH_MSC_BomResetFailed, TO_BYTE0(instance), (uint32_t)error);
3493 #define EvrUSBH_MSC_BomResetFailed(...)
3501 #ifdef EvtUSBH_MSC_GetMaxLun
3503 EventRecord2( EvtUSBH_MSC_GetMaxLun, TO_BYTE0(instance), 0U);
3506 #define EvrUSBH_MSC_GetMaxLun(...)
3515 #ifdef EvtUSBH_MSC_GetMaxLunFailed
3517 EventRecord2( EvtUSBH_MSC_GetMaxLunFailed, TO_BYTE0(instance), (uint32_t)error);
3520 #define EvrUSBH_MSC_GetMaxLunFailed(...)
3528 #ifdef EvtUSBH_MSC_ScsiTestUnitReady
3530 EventRecord2( EvtUSBH_MSC_ScsiTestUnitReady, TO_BYTE0(instance), 0U);
3533 #define EvrUSBH_MSC_ScsiTestUnitReady(...)
3542 #ifdef EvtUSBH_MSC_ScsiTestUnitReadyFailed
3544 EventRecord2( EvtUSBH_MSC_ScsiTestUnitReadyFailed, TO_BYTE0(instance), (uint32_t)error);
3547 #define EvrUSBH_MSC_ScsiTestUnitReadyFailed(...)
3555 #ifdef EvtUSBH_MSC_ScsiRequestSense
3557 EventRecord2( EvtUSBH_MSC_ScsiRequestSense, TO_BYTE0(instance), 0U);
3560 #define EvrUSBH_MSC_ScsiRequestSense(...)
3569 #ifdef EvtUSBH_MSC_ScsiRequestSenseFailed
3571 EventRecord2( EvtUSBH_MSC_ScsiRequestSenseFailed, TO_BYTE0(instance), (uint32_t)error);
3574 #define EvrUSBH_MSC_ScsiRequestSenseFailed(...)
3582 #ifdef EvtUSBH_MSC_ScsiInquiry
3584 EventRecord2( EvtUSBH_MSC_ScsiInquiry, TO_BYTE0(instance), 0U);
3587 #define EvrUSBH_MSC_ScsiInquiry(...)
3596 #ifdef EvtUSBH_MSC_ScsiInquiryFailed
3598 EventRecord2( EvtUSBH_MSC_ScsiInquiryFailed, TO_BYTE0(instance), (uint32_t)error);
3601 #define EvrUSBH_MSC_ScsiInquiryFailed(...)
3609 #ifdef EvtUSBH_MSC_ScsiReadFormatCapacities
3611 EventRecord2( EvtUSBH_MSC_ScsiReadFormatCapacities, TO_BYTE0(instance), 0U);
3614 #define EvrUSBH_MSC_ScsiReadFormatCapacities(...)
3623 #ifdef EvtUSBH_MSC_ScsiReadFormatCapacitiesFailed
3625 EventRecord2( EvtUSBH_MSC_ScsiReadFormatCapacitiesFailed, TO_BYTE0(instance), (uint32_t)error);
3628 #define EvrUSBH_MSC_ScsiReadFormatCapacitiesFailed(...)
3636 #ifdef EvtUSBH_MSC_ScsiReadCapacity
3638 EventRecord2( EvtUSBH_MSC_ScsiReadCapacity, TO_BYTE0(instance), 0U);
3641 #define EvrUSBH_MSC_ScsiReadCapacity(...)
3650 #ifdef EvtUSBH_MSC_ScsiReadCapacityFailed
3652 EventRecord2( EvtUSBH_MSC_ScsiReadCapacityFailed, TO_BYTE0(instance), (uint32_t)error);
3655 #define EvrUSBH_MSC_ScsiReadCapacityFailed(...)
3665 #ifdef EvtUSBH_MSC_ScsiRead10
3667 EventRecord4( EvtUSBH_MSC_ScsiRead10, TO_BYTE0(instance), block_addr, block_num, 0U);
3670 #define EvrUSBH_MSC_ScsiRead10(...)
3681 #ifdef EvtUSBH_MSC_ScsiRead10Failed
3683 EventRecord4( EvtUSBH_MSC_ScsiRead10Failed, TO_BYTE0(instance), block_addr, block_num, (uint32_t)error);
3686 #define EvrUSBH_MSC_ScsiRead10Failed(...)
3696 #ifdef EvtUSBH_MSC_ScsiWrite10
3698 EventRecord4( EvtUSBH_MSC_ScsiWrite10, TO_BYTE0(instance), block_addr, block_num, 0U);
3701 #define EvrUSBH_MSC_ScsiWrite10(...)
3712 #ifdef EvtUSBH_MSC_ScsiWrite10Failed
3714 EventRecord4( EvtUSBH_MSC_ScsiWrite10Failed, TO_BYTE0(instance), block_addr, block_num, (uint32_t)error);
3717 #define EvrUSBH_MSC_ScsiWrite10Failed(...)
3725 #ifdef EvtUSBH_MSC_Recover
3727 EventRecord2( EvtUSBH_MSC_Recover, TO_BYTE0(instance), 0U);
3730 #define EvrUSBH_MSC_Recover(...)
3739 #ifdef EvtUSBH_MSC_RecoverFailed
3741 EventRecord2( EvtUSBH_MSC_RecoverFailed, TO_BYTE0(instance), (uint32_t)error);
3744 #define EvrUSBH_MSC_RecoverFailed(...)
3747 #endif // __USBH_EVR_H__
__STATIC_INLINE void EvrUSBH_HID_SetReportFailed(uint8_t instance, usbStatus error)
Event on internal operation Set Report failed (Error)
Definition: usbh_evr.h:3029
__STATIC_INLINE void EvrUSBH_Core_DeviceGetVID(uint8_t device, uint16_t vid)
Event on USBH_Device_GetVID finished (API)
Definition: usbh_evr.h:697
__STATIC_INLINE void EvrUSBH_HID_GetMouseState(uint8_t instance)
Event on USBH_HID_GetMouseState start (API)
Definition: usbh_evr.h:2919
__STATIC_INLINE void EvrUSBH_MSC_Uninitialize(uint8_t instance)
Event on internal operation MSC device uninitialization start (Operation)
Definition: usbh_evr.h:3271
__STATIC_INLINE void EvrUSBH_MSC_ReadDone(uint8_t instance, uint32_t lba, uint32_t cnt)
Event on USBH_MSC_Read finished successfully (Detail)
Definition: usbh_evr.h:3374
__STATIC_INLINE void EvrUSBH_MSC_ScsiTestUnitReadyFailed(uint8_t instance, usbStatus error)
Event on internal operation SCSI Test Unit Ready failed (Error)
Definition: usbh_evr.h:3543
__STATIC_INLINE void EvrUSBH_Core_EngineDone(uint8_t ctrl, uint8_t port, uint32_t event, uint8_t port_state)
Event on internal operation engine finished successfully (Detail)
Definition: usbh_evr.h:1545
__STATIC_INLINE void EvrUSBH_Core_PortResumeFailed(uint8_t ctrl, uint8_t port, usbStatus error)
Event on USBH_Port_Resume failed (Error)
Definition: usbh_evr.h:607
__STATIC_INLINE void EvrUSBH_Core_MemUninit(uint8_t ctrl)
Event on internal operation memory uninitialization finished successfully (Detail) ...
Definition: usbh_evr.h:1439
__STATIC_INLINE void EvrUSBH_Core_PipeSend(USBH_PIPE_HANDLE pipe_hndl, uint32_t len)
Event on USBH_PipeSend start (API)
Definition: usbh_evr.h:950
__STATIC_INLINE void EvrUSBH_MSC_Configure(uint8_t instance)
Event on internal operation MSC device configuration start (Operation)
Definition: usbh_evr.h:3179
__STATIC_INLINE void EvrUSBH_Core_MemFree(uint8_t ctrl, const uint8_t *ptr)
Event on internal operation memory free finished successfully (Detail)
Definition: usbh_evr.h:1498
__STATIC_INLINE void EvrUSBH_Core_DeviceGetController(uint8_t device, uint8_t ctrl)
Event on USBH_Device_GetController finished (API)
Definition: usbh_evr.h:623
__STATIC_INLINE void EvrUSBH_CDC_ACM_OnUninitialize(uint8_t instance)
Event on USBH_CDC_ACM_Uninitialize user callback function start (API)
Definition: usbh_evr.h:2260
__STATIC_INLINE void EvrUSBH_MSC_InitializeFailed(uint8_t instance, usbStatus error)
Event on internal operation MSC device initialization failed (Error)
Definition: usbh_evr.h:3246
__STATIC_INLINE void EvrUSBH_HID_ReportOutFailed(uint8_t instance, usbStatus error)
Event on internal operation Report Out failed (Error)
Definition: usbh_evr.h:3164
__STATIC_INLINE void EvrUSBH_Core_PortSuspend(uint8_t ctrl, uint8_t port)
Event on USBH_Port_Suspend start (API)
Definition: usbh_evr.h:563
__STATIC_INLINE void EvrUSBH_Core_Engine(uint8_t ctrl, uint8_t port, uint32_t event, uint8_t port_state)
Event on internal operation engine start (Detail)
Definition: usbh_evr.h:1514
__STATIC_INLINE void EvrUSBH_Driver_OnSignalPipeEvent(uint8_t ctrl, ARM_USBH_PIPE_HANDLE pipe_hndl, uint32_t event)
Event on ARM_USBH_SignalPipeEvent callback start (API)
Definition: usbh_evr.h:2032
__STATIC_INLINE void EvrUSBH_Core_RequestGetInterfaceFailed(uint8_t device, uint8_t index, usbStatus error)
Event on USBH_DeviceRequest_GetInterface failed (Error)
Definition: usbh_evr.h:1324
__STATIC_INLINE void EvrUSBH_CC_OnInitialize(uint8_t instance, usbStatus status)
Event on USBH_CustomClass_Initialize user callback function finished (API)
Definition: usbh_evr.h:2112
__STATIC_INLINE void EvrUSBH_Core_RequestClearFeatureFailed(uint8_t device, uint8_t recipient, uint8_t index, uint8_t feature, usbStatus error)
Event on USBH_DeviceRequest_ClearFeature failed (Error)
Definition: usbh_evr.h:1101
__STATIC_INLINE void EvrUSBH_Core_Uninitialize(uint8_t ctrl)
Event on USBH_Uninitialize start (API)
Definition: usbh_evr.h:535
__STATIC_INLINE void EvrUSBH_MSC_ScsiInquiryFailed(uint8_t instance, usbStatus error)
Event on internal operation SCSI Inquiry failed (Error)
Definition: usbh_evr.h:3597
__STATIC_INLINE void EvrUSBH_Core_DeviceGetSpeed(uint8_t device, uint8_t speed)
Event on USBH_Device_GetSpeed finished (API)
Definition: usbh_evr.h:667
__STATIC_INLINE void EvrUSBH_Driver_PipeDeleteFailed(uint8_t ctrl, ARM_USBH_PIPE_HANDLE pipe_hndl, int32_t error)
Event on ARM_USBH_PipeDelete failed (Error)
Definition: usbh_evr.h:1882
__STATIC_INLINE void EvrUSBH_Core_PipeCreate(uint8_t device, uint8_t ep_addr, uint8_t ep_type, uint16_t ep_max_packet_size, uint8_t ep_interval, USBH_PIPE_HANDLE pipe_hndl)
Event on USBH_PipeCreate start (API)
Definition: usbh_evr.h:793
__STATIC_INLINE void EvrUSBH_HID_GetStatus(uint8_t instance, uint8_t status)
Event on USBH_HID_GetStatus finished (API)
Definition: usbh_evr.h:2791
__STATIC_INLINE void EvrUSBH_Core_DeviceGetPID(uint8_t device, uint16_t pid)
Event on USBH_Device_GetPID finished (API)
Definition: usbh_evr.h:711
__STATIC_INLINE void EvrUSBH_Core_RequestGetConfigurationFailed(uint8_t device, usbStatus error)
Event on USBH_DeviceRequest_GetConfiguration failed (Error)
Definition: usbh_evr.h:1265
__STATIC_INLINE void EvrUSBH_Core_RequestSynchFrameFailed(uint8_t device, uint8_t index, usbStatus error)
Event on USBH_DeviceRequest_SynchFrame failed (Error)
Definition: usbh_evr.h:1385
__STATIC_INLINE void EvrUSBH_Core_RequestSetDescriptor(uint8_t device, uint8_t recipient, uint8_t desc_type, uint8_t desc_index, uint16_t lang_id, uint16_t desc_length)
Event on USBH_DeviceRequest_SetDescriptor start (API)
Definition: usbh_evr.h:1218
__STATIC_INLINE void EvrUSBH_Driver_PipeCreate(uint8_t ctrl, uint8_t dev_addr, uint8_t dev_speed, uint8_t hub_addr, uint8_t hub_port, uint8_t ep_addr, uint8_t ep_type, uint16_t ep_max_packet_size, uint8_t ep_interval, ARM_USBH_EP_HANDLE pipe_hndl)
Event on ARM_USBH_PipeCreate finished successfully (API)
Definition: usbh_evr.h:1791
__STATIC_INLINE void EvrUSBH_CDC_ACM_Initialize(uint8_t instance)
Event on internal operation CDC ACM device initialization start (Operation)
Definition: usbh_evr.h:2194
__STATIC_INLINE void EvrUSBH_CDC_ACM_SendFailed(uint8_t instance, uint32_t num, usbStatus error)
Event on USBH_CDC_ACM_Send failed (Error)
Definition: usbh_evr.h:2319
__STATIC_INLINE void EvrUSBH_CC_OnUninitialize(uint8_t instance, usbStatus status)
Event on USBH_CustomClass_Uninitialize user callback function finished (API)
Definition: usbh_evr.h:2126
__STATIC_INLINE void EvrUSBH_HID_GetKeyboardKeyDone(uint8_t instance, int32_t ch)
Event on USBH_HID_GetKeyboardKey finished successfully (Detail)
Definition: usbh_evr.h:2906
__STATIC_INLINE void EvrUSBH_Driver_PortResumeFailed(uint8_t ctrl, uint8_t port, int32_t error)
Event on ARM_USBH_PortResume failed (Error)
Definition: usbh_evr.h:1752
__STATIC_INLINE void EvrUSBH_HID_SetProtocol(uint8_t instance)
Event on internal operation Set Protocol start (Operation)
Definition: usbh_evr.h:3123
__STATIC_INLINE void EvrUSBH_HID_Uninitialize(uint8_t instance)
Event on internal operation HID device uninitialization start (Operation)
Definition: usbh_evr.h:2734
__STATIC_INLINE void EvrUSBH_Core_RequestSetConfigurationFailed(uint8_t device, uint8_t config, usbStatus error)
Event on USBH_DeviceRequest_SetConfiguration failed (Error)
Definition: usbh_evr.h:1294
__STATIC_INLINE void EvrUSBH_Driver_UninitializeFailed(uint8_t ctrl, int32_t error)
Event on ARM_USBH_Uninitialize failed (Error)
Definition: usbh_evr.h:1601
__STATIC_INLINE void EvrUSBH_Core_InitializeFailed(uint8_t ctrl, usbStatus error)
Event on USBH_Initialize failed (Error)
Definition: usbh_evr.h:522
__STATIC_INLINE void EvrUSBH_Core_RequestSetFeature(uint8_t device, uint8_t recipient, uint8_t index, uint8_t feature)
Event on USBH_DeviceRequest_SetFeature start (API)
Definition: usbh_evr.h:1117
__STATIC_INLINE void EvrUSBH_Core_RequestClearFeature(uint8_t device, uint8_t recipient, uint8_t index, uint8_t feature)
Event on USBH_DeviceRequest_ClearFeature start (API)
Definition: usbh_evr.h:1084
__STATIC_INLINE void EvrUSBH_MSC_ReadCapacity(uint8_t instance)
Event on USBH_MSC_ReadCapacity start (API)
Definition: usbh_evr.h:3433
__STATIC_INLINE void EvrUSBH_MSC_GetStatus(uint8_t instance, uint8_t status)
Event on USBH_MSC_GetStatus finished (API)
Definition: usbh_evr.h:3328
__STATIC_INLINE void EvrUSBH_Core_ControlTransferFailed(uint8_t device, const void *setup_packet, usbStatus error)
Event on USBH_ControlTransfer failed (Error)
Definition: usbh_evr.h:1036
__STATIC_INLINE void EvrUSBH_HID_GetKeyboardKey(uint8_t instance)
Event on USBH_HID_GetKeyboardKey start (API)
Definition: usbh_evr.h:2892
__STATIC_INLINE void EvrUSBH_Core_MemInitFailed(uint8_t ctrl, usbStatus error)
Event on internal operation memory initialization failed (Error)
Definition: usbh_evr.h:1399
__STATIC_INLINE void EvrUSBH_MSC_OnInitialize(uint8_t instance)
Event on USBH_MSC_Initialize user callback function start (API)
Definition: usbh_evr.h:3258
__STATIC_INLINE void EvrUSBH_Core_RequestGetStatusFailed(uint8_t device, uint8_t recipient, uint8_t index, usbStatus error)
Event on USBH_DeviceRequest_GetStatus failed (Error)
Definition: usbh_evr.h:1068
__STATIC_INLINE void EvrUSBH_MSC_ScsiReadFormatCapacitiesFailed(uint8_t instance, usbStatus error)
Event on internal operation SCSI Read Format Capacities failed (Error)
Definition: usbh_evr.h:3624
__STATIC_INLINE void EvrUSBH_CDC_ACM_OnInitialize(uint8_t instance)
Event on USBH_CDC_ACM_Initialize user callback function start (API)
Definition: usbh_evr.h:2220
__STATIC_INLINE void EvrUSBH_MSC_GetMaxLunFailed(uint8_t instance, usbStatus error)
Event on internal operation Get Max LUN failed (Error)
Definition: usbh_evr.h:3516
__STATIC_INLINE void EvrUSBH_Driver_PortSuspendFailed(uint8_t ctrl, uint8_t port, int32_t error)
Event on ARM_USBH_PortSuspend failed (Error)
Definition: usbh_evr.h:1723
__STATIC_INLINE void EvrUSBH_CDC_ACM_SendBreakFailed(uint8_t instance, uint16_t duration, usbStatus error)
Event on USBH_CDC_ACM_SendBreak failed (Error)
Definition: usbh_evr.h:2627
__STATIC_INLINE void EvrUSBH_Core_RequestSynchFrame(uint8_t device, uint8_t index, uint16_t frame_num)
Event on USBH_DeviceRequest_SynchFrame start (API)
Definition: usbh_evr.h:1370
__STATIC_INLINE void EvrUSBH_Driver_PortVbusOnOffFailed(uint8_t ctrl, uint8_t port, bool vbus, int32_t error)
Event on ARM_USBH_PortVbusOnOff failed (Error)
Definition: usbh_evr.h:1665
int16_t y
Absolute Y position change.
Definition: rl_usb.h:165
__STATIC_INLINE void EvrUSBH_HID_OnParseReportDescriptor(uint8_t instance, uint32_t len)
Event on USBH_HID_ParseReportDescriptor user callback function start (API)
Definition: usbh_evr.h:2961
__STATIC_INLINE void EvrUSBH_Driver_PipeResetFailed(uint8_t ctrl, ARM_USBH_PIPE_HANDLE pipe_hndl, int32_t error)
Event on ARM_USBH_PipeReset failed (Error)
Definition: usbh_evr.h:1911
__STATIC_INLINE void EvrUSBH_CDC_ACM_AbortReceiveDone(uint8_t instance)
Event on USBH_CDC_ACM_AbortReceive finished successfully (Detail)
Definition: usbh_evr.h:2484
__STATIC_INLINE void EvrUSBH_CDC_ACM_OnNotify(uint8_t instance, uint16_t state)
Event on USBH_CDC_ACM_Notify user callback function start (API)
Definition: usbh_evr.h:2594
__STATIC_INLINE void EvrUSBH_CDC_ACM_AbortReceiveFailed(uint8_t instance, usbStatus error)
Event on USBH_CDC_ACM_AbortReceive failed (Error)
Definition: usbh_evr.h:2471
__STATIC_INLINE void EvrUSBH_HID_WriteDone(uint8_t instance, int32_t len, int32_t result)
Event on USBH_HID_Write finished successfully (Detail)
Definition: usbh_evr.h:2879
__STATIC_INLINE void EvrUSBH_CDC_ACM_SendDone(uint8_t instance, uint32_t num)
Event on USBH_CDC_ACM_Send finished successfully (Detail)
Definition: usbh_evr.h:2333
__STATIC_INLINE void EvrUSBH_Core_RequestSetFeatureFailed(uint8_t device, uint8_t recipient, uint8_t index, uint8_t feature, usbStatus error)
Event on USBH_DeviceRequest_SetFeature failed (Error)
Definition: usbh_evr.h:1134
__STATIC_INLINE void EvrUSBH_HID_WriteFailed(uint8_t instance, int32_t len, usbStatus error)
Event on USBH_HID_Write failed (Error)
Definition: usbh_evr.h:2864
__STATIC_INLINE void EvrUSBH_MSC_ScsiTestUnitReady(uint8_t instance)
Event on internal operation SCSI Test Unit Ready start (Operation)
Definition: usbh_evr.h:3529
__STATIC_INLINE void EvrUSBH_Driver_PowerControl(uint8_t ctrl, ARM_POWER_STATE state)
Event on ARM_USBH_PowerControl finished successfully (API)
Definition: usbh_evr.h:1615
__STATIC_INLINE void EvrUSBH_HID_Write(uint8_t instance, int32_t len)
Event on USBH_HID_Write start (API)
Definition: usbh_evr.h:2849
__STATIC_INLINE void EvrUSBH_HID_ConfigureFailed(usbStatus error)
Event on internal operation HID device configuration failed (Error)
Definition: usbh_evr.h:2655
__STATIC_INLINE void EvrUSBH_CDC_ACM_Unconfigure(uint8_t instance)
Event on internal operation CDC ACM device unconfigure start (Operation)
Definition: usbh_evr.h:2167
__STATIC_INLINE void EvrUSBH_CDC_ACM_ReceiveFailed(uint8_t instance, uint32_t num, usbStatus error)
Event on USBH_CDC_ACM_Receive failed (Error)
Definition: usbh_evr.h:2416
__STATIC_INLINE void EvrUSBH_MSC_BomResetFailed(uint8_t instance, usbStatus error)
Event on internal operation Bulk-Only Mass Storage Reset failed (Error)
Definition: usbh_evr.h:3489
__STATIC_INLINE void EvrUSBH_Core_PortResume(uint8_t ctrl, uint8_t port)
Event on USBH_Port_Resume start (API)
Definition: usbh_evr.h:592
__STATIC_INLINE void EvrUSBH_Driver_PipeDelete(uint8_t ctrl, ARM_USBH_PIPE_HANDLE pipe_hndl)
Event on ARM_USBH_PipeDelete finished successfully (API)
Definition: usbh_evr.h:1867
__STATIC_INLINE void EvrUSBH_MSC_WriteFailed(uint8_t instance, uint32_t lba, uint32_t cnt, usbStatus error)
Event on USBH_MSC_Write failed (Error)
Definition: usbh_evr.h:3405
__STATIC_INLINE void EvrUSBH_MSC_ReadCapacityDone(uint8_t instance, uint32_t block_count, uint32_t block_size)
Event on USBH_MSC_ReadCapacity finished successfully (Detail)
Definition: usbh_evr.h:3462
__STATIC_INLINE void EvrUSBH_HID_OnDataReceived(uint8_t instance, uint32_t len)
Event on USBH_HID_DataReceived user callback function start (API)
Definition: usbh_evr.h:2975
__STATIC_INLINE void EvrUSBH_HID_GetReport(uint8_t instance)
Event on internal operation Get Report start (Operation)
Definition: usbh_evr.h:2988
__STATIC_INLINE void EvrUSBH_HID_GetReportFailed(uint8_t instance, usbStatus error)
Event on internal operation Get Report failed (Error)
Definition: usbh_evr.h:3002
__STATIC_INLINE void EvrUSBH_Driver_GetFrameNumber(uint8_t ctrl, uint16_t frame_number)
Event on ARM_USBH_GetFrameNumber finished (API)
Definition: usbh_evr.h:2002
__STATIC_INLINE void EvrUSBH_Core_PipeAbort(USBH_PIPE_HANDLE pipe_hndl)
Event on USBH_PipeAbort start (API)
Definition: usbh_evr.h:992
__STATIC_INLINE void EvrUSBH_CDC_ACM_InitializeFailed(uint8_t instance, usbStatus error)
Event on internal operation CDC ACM device initialization failed (Error)
Definition: usbh_evr.h:2208
__STATIC_INLINE void EvrUSBH_MSC_RecoverFailed(uint8_t instance, usbStatus error)
Event on internal operation recover failed (Error)
Definition: usbh_evr.h:3740
__STATIC_INLINE void EvrUSBH_HID_GetIdleFailed(uint8_t instance, usbStatus error)
Event on internal operation Get Idle failed (Error)
Definition: usbh_evr.h:3056
__STATIC_INLINE void EvrUSBH_HID_SetIdle(uint8_t instance)
Event on internal operation Set Idle start (Operation)
Definition: usbh_evr.h:3069
__STATIC_INLINE void EvrUSBH_HID_SetProtocolFailed(uint8_t instance, usbStatus error)
Event on internal operation Set Protocol failed (Error)
Definition: usbh_evr.h:3137
__STATIC_INLINE void EvrUSBH_MSC_GetMaxLun(uint8_t instance)
Event on internal operation Get Max LUN start (Operation)
Definition: usbh_evr.h:3502
__STATIC_INLINE void EvrUSBH_CDC_ACM_GetStatus(uint8_t instance, uint8_t status)
Event on USBH_CDC_ACM_GetStatus finished (API)
Definition: usbh_evr.h:2290
__STATIC_INLINE void EvrUSBH_Driver_PipeReset(uint8_t ctrl, ARM_USBH_PIPE_HANDLE pipe_hndl)
Event on ARM_USBH_PipeReset finished successfully (API)
Definition: usbh_evr.h:1896
__STATIC_INLINE void EvrUSBH_Driver_PipeTransfer(uint8_t ctrl, ARM_USBH_PIPE_HANDLE pipe_hndl, uint32_t packet, uint32_t num)
Event on ARM_USBH_PipeTransfer finished successfully (API)
Definition: usbh_evr.h:1927
__STATIC_INLINE void EvrUSBH_CDC_ACM_Send(uint8_t instance, uint32_t num)
Event on USBH_CDC_ACM_Send start (API)
Definition: usbh_evr.h:2304
__STATIC_INLINE void EvrUSBH_HID_SetIdleFailed(uint8_t instance, usbStatus error)
Event on internal operation Set Idle failed (Error)
Definition: usbh_evr.h:3083
__STATIC_INLINE void EvrUSBH_MSC_ReadFailed(uint8_t instance, uint32_t lba, uint32_t cnt, usbStatus error)
Event on USBH_MSC_Read failed (Error)
Definition: usbh_evr.h:3359
__STATIC_INLINE void EvrUSBH_HID_Configure(uint8_t instance)
Event on internal operation HID device configuration start (Operation)
Definition: usbh_evr.h:2642
__STATIC_INLINE void EvrUSBH_HID_GetProtocol(uint8_t instance)
Event on internal operation Get Protocol start (Operation)
Definition: usbh_evr.h:3096
__STATIC_INLINE void EvrUSBH_Core_RequestGetInterface(uint8_t device, uint8_t index, uint8_t alt)
Event on USBH_DeviceRequest_GetInterface start (API)
Definition: usbh_evr.h:1309
__STATIC_INLINE void EvrUSBH_MSC_ConfigureFailed(usbStatus error)
Event on internal operation MSC device configuration failed (Error)
Definition: usbh_evr.h:3192
__STATIC_INLINE void EvrUSBH_CDC_ACM_Receive(uint8_t instance, uint32_t num)
Event on USBH_CDC_ACM_Receive start (API)
Definition: usbh_evr.h:2401
__STATIC_INLINE void EvrUSBH_CDC_ACM_GetDevice(uint8_t instance, uint8_t device)
Event on USBH_CDC_ACM_GetDevice finished (API)
Definition: usbh_evr.h:2276
__STATIC_INLINE void EvrUSBH_HID_SetReport(uint8_t instance)
Event on internal operation Set Report start (Operation)
Definition: usbh_evr.h:3015
__STATIC_INLINE void EvrUSBH_HID_OnInitialize(uint8_t instance)
Event on USBH_HID_Initialize user callback function start (API)
Definition: usbh_evr.h:2721
__STATIC_INLINE void EvrUSBH_HID_UninitializeFailed(uint8_t instance, usbStatus error)
Event on internal operation HID device uninitialization failed (Error)
Definition: usbh_evr.h:2748
__STATIC_INLINE void EvrUSBH_HID_GetProtocolFailed(uint8_t instance, usbStatus error)
Event on internal operation Get Protocol failed (Error)
Definition: usbh_evr.h:3110
__STATIC_INLINE void EvrUSBH_Core_MemAllocFailed(uint8_t ctrl, uint32_t size, usbStatus error)
Event on internal operation memory allocation failed (Error)
Definition: usbh_evr.h:1454
uint8_t button
Current button states.
Definition: rl_usb.h:163
__STATIC_INLINE void EvrUSBH_Driver_PortSuspend(uint8_t ctrl, uint8_t port)
Event on ARM_USBH_PortSuspend finished successfully (API)
Definition: usbh_evr.h:1708
__STATIC_INLINE void EvrUSBH_MSC_Write(uint8_t instance, uint32_t lba, uint32_t cnt)
Event on USBH_MSC_Write start (API)
Definition: usbh_evr.h:3389
__STATIC_INLINE void EvrUSBH_Core_DeviceGetPort(uint8_t device, uint8_t port)
Event on USBH_Device_GetPort finished (API)
Definition: usbh_evr.h:639
__STATIC_INLINE void EvrUSBH_Core_PipeReset(USBH_PIPE_HANDLE pipe_hndl)
Event on USBH_PipeReset start (API)
Definition: usbh_evr.h:879
__STATIC_INLINE void EvrUSBH_HID_Unconfigure(uint8_t instance)
Event on internal operation HID device unconfigure start (Operation)
Definition: usbh_evr.h:2668
__STATIC_INLINE void EvrUSBH_MSC_UnconfigureFailed(uint8_t instance, usbStatus error)
Event on internal operation MSC device uninitialization failed (Error)
Definition: usbh_evr.h:3219
__STATIC_INLINE void EvrUSBH_MSC_ScsiWrite10Failed(uint8_t instance, uint32_t block_addr, uint32_t block_num, usbStatus error)
Event on internal operation SCSI Write10 failed (Error)
Definition: usbh_evr.h:3713
__STATIC_INLINE void EvrUSBH_HID_GetMouseStateFailed(uint8_t instance, usbStatus error)
Event on USBH_HID_GetMouseState failed (Error)
Definition: usbh_evr.h:2933
__STATIC_INLINE void EvrUSBH_CC_OnUnconfigure(uint8_t instance, usbStatus status)
Event on USBH_CustomClass_Unconfigure user callback function finished (API)
Definition: usbh_evr.h:2098
__STATIC_INLINE void EvrUSBH_HID_GetIdle(uint8_t instance)
Event on internal operation Get Idle start (Operation)
Definition: usbh_evr.h:3042
__STATIC_INLINE void EvrUSBH_CDC_ACM_Uninitialize(uint8_t instance)
Event on internal operation CDC ACM device uninitialization start (Operation)
Definition: usbh_evr.h:2233
__STATIC_INLINE void EvrUSBH_MSC_Read(uint8_t instance, uint32_t lba, uint32_t cnt)
Event on USBH_MSC_Read start (API)
Definition: usbh_evr.h:3343
__STATIC_INLINE void EvrUSBH_HID_InitializeFailed(uint8_t instance, usbStatus error)
Event on internal operation HID device initialization failed (Error)
Definition: usbh_evr.h:2709
__STATIC_INLINE void EvrUSBH_CDC_ACM_AbortSend(uint8_t instance)
Event on USBH_CDC_ACM_AbortSend start (API)
Definition: usbh_evr.h:2360
__STATIC_INLINE void EvrUSBH_Core_RequestGetStatus(uint8_t device, uint8_t recipient, uint8_t index, uint16_t status)
Event on USBH_DeviceRequest_GetStatus start (API)
Definition: usbh_evr.h:1052
__STATIC_INLINE void EvrUSBH_Driver_PipeModifyFailed(uint8_t ctrl, ARM_USBH_PIPE_HANDLE pipe_hndl, uint8_t dev_addr, uint8_t dev_speed, uint8_t hub_addr, uint8_t hub_port, uint16_t ep_max_packet_size, int32_t error)
Event on ARM_USBH_PipeModify failed (Error)
Definition: usbh_evr.h:1853
__STATIC_INLINE void EvrUSBH_Core_MemInit(uint8_t ctrl)
Event on internal operation memory initialization finished successfully (Detail)
Definition: usbh_evr.h:1412
__STATIC_INLINE void EvrUSBH_HID_ReportOut(uint8_t instance)
Event on internal operation Report Out start (Operation)
Definition: usbh_evr.h:3150
__STATIC_INLINE void EvrUSBH_MSC_ReadCapacityFailed(uint8_t instance, usbStatus error)
Event on USBH_MSC_ReadCapacity failed (Error)
Definition: usbh_evr.h:3447
__STATIC_INLINE void EvrUSBH_Driver_PortResetFailed(uint8_t ctrl, uint8_t port, int32_t error)
Event on ARM_USBH_PortReset failed (Error)
Definition: usbh_evr.h:1694
__STATIC_INLINE void EvrUSBH_Core_ControlTransfer(uint8_t device, const void *setup_packet, uint32_t len)
Event on USBH_ControlTransfer start (API)
Definition: usbh_evr.h:1021
__STATIC_INLINE void EvrUSBH_HID_Read(uint8_t instance, int32_t len)
Event on USBH_HID_Read start (API)
Definition: usbh_evr.h:2805
__STATIC_INLINE void EvrUSBH_Core_DeviceGetStatus(uint8_t device, usbStatus status)
Event on USBH_Device_GetStatus finished (API)
Definition: usbh_evr.h:653
__STATIC_INLINE void EvrUSBH_MSC_ScsiReadCapacityFailed(uint8_t instance, usbStatus error)
Event on internal operation SCSI Read Capacity failed (Error)
Definition: usbh_evr.h:3651
__STATIC_INLINE void EvrUSBH_Driver_PipeTransferAbortFailed(uint8_t ctrl, ARM_USBH_PIPE_HANDLE pipe_hndl, int32_t error)
Event on ARM_USBH_PipeTransferAbort failed (Error)
Definition: usbh_evr.h:1988
__STATIC_INLINE void EvrUSBH_HID_GetMouseStateDone(uint8_t instance, usbHID_MouseState state)
Event on USBH_HID_GetMouseState finished successfully (Detail)
Definition: usbh_evr.h:2947
__STATIC_INLINE void EvrUSBH_MSC_ScsiRead10Failed(uint8_t instance, uint32_t block_addr, uint32_t block_num, usbStatus error)
Event on internal operation SCSI Read10 failed (Error)
Definition: usbh_evr.h:3682
__STATIC_INLINE void EvrUSBH_Core_OnNotify(uint8_t ctrl, uint8_t port, uint8_t device, USBH_NOTIFY notify)
Event on USBH_Notify user callback function start (API)
Definition: usbh_evr.h:771
__STATIC_INLINE void EvrUSBH_MSC_GetDevice(uint8_t instance, uint8_t device)
Event on USBH_MSC_GetDevice finished (API)
Definition: usbh_evr.h:3314
__STATIC_INLINE void EvrUSBH_MSC_ScsiRequestSense(uint8_t instance)
Event on internal operation SCSI Request Sense start (Operation)
Definition: usbh_evr.h:3556
__STATIC_INLINE void EvrUSBH_CDC_ACM_SetLineCoding(uint8_t instance, uint32_t rate)
Event on USBH_CDC_ACM_SetLineCoding start (API)
Definition: usbh_evr.h:2498
__STATIC_INLINE void EvrUSBH_MSC_ScsiRequestSenseFailed(uint8_t instance, usbStatus error)
Event on internal operation SCSI Request Sense failed (Error)
Definition: usbh_evr.h:3570
__STATIC_INLINE void EvrUSBH_CDC_ACM_SendBreak(uint8_t instance, uint16_t duration)
Event on USBH_CDC_ACM_SendBreak start (API)
Definition: usbh_evr.h:2610
__STATIC_INLINE void EvrUSBH_Core_PipeUpdateFailed(USBH_PIPE_HANDLE pipe_hndl, usbStatus error)
Event on USBH_PipeUpdate failed (Error)
Definition: usbh_evr.h:839
__STATIC_INLINE void EvrUSBH_CDC_ACM_ReceiveDone(uint8_t instance, uint32_t num)
Event on USBH_CDC_ACM_Receive finished successfully (Detail)
Definition: usbh_evr.h:2430
__STATIC_INLINE void EvrUSBH_HID_ReadDone(uint8_t instance, int32_t len, int32_t result)
Event on USBH_HID_Read finished successfully (Detail)
Definition: usbh_evr.h:2835
__STATIC_INLINE void EvrUSBH_Driver_InitializeFailed(uint8_t ctrl, int32_t error)
Event on ARM_USBH_Initialize failed (Error)
Definition: usbh_evr.h:1574
__STATIC_INLINE void EvrUSBH_CDC_ACM_GetTxCount(uint8_t instance, uint32_t num)
Event on USBH_CDC_ACM_GetTxCount finished successfully (API)
Definition: usbh_evr.h:2347
__STATIC_INLINE void EvrUSBH_CC_GetDevice(uint8_t instance, uint8_t device)
Event on USBH_CustomClass_GetDevice finished (API)
Definition: usbh_evr.h:2050
__STATIC_INLINE void EvrUSBH_Driver_PipeTransferFailed(uint8_t ctrl, ARM_USBH_PIPE_HANDLE pipe_hndl, uint32_t packet, uint32_t num, int32_t error)
Event on ARM_USBH_PipeTransfer failed (Error)
Definition: usbh_evr.h:1944
Mouse state information.
Definition: rl_usb.h:161
__STATIC_INLINE void EvrUSBH_Core_PipeDeleteFailed(USBH_PIPE_HANDLE pipe_hndl, usbStatus error)
Event on USBH_PipeDelete failed (Error)
Definition: usbh_evr.h:866
__STATIC_INLINE void EvrUSBH_HID_GetDevice(uint8_t instance, uint8_t device)
Event on USBH_HID_GetDevice finished (API)
Definition: usbh_evr.h:2777
__STATIC_INLINE void EvrUSBH_Core_RequestSetConfiguration(uint8_t device, uint8_t config)
Event on USBH_DeviceRequest_SetConfiguration start (API)
Definition: usbh_evr.h:1279
__STATIC_INLINE void EvrUSBH_Core_DeviceGetStringDescriptorFailed(uint8_t device, uint8_t index, uint16_t lang_id, uint16_t desc_length, usbStatus error)
Event on USBH_Device_GetStringDescriptor failed (Error)
Definition: usbh_evr.h:744
__STATIC_INLINE void EvrUSBH_MSC_ScsiRead10(uint8_t instance, uint32_t block_addr, uint32_t block_num)
Event on internal operation SCSI Read10 start (Operation)
Definition: usbh_evr.h:3666
__STATIC_INLINE void EvrUSBH_Driver_PipeTransferGetResult(uint8_t ctrl, ARM_USBH_PIPE_HANDLE pipe_hndl, uint32_t num)
Event on ARM_USBH_PipeTransferGetResult finished (API)
Definition: usbh_evr.h:1959
__STATIC_INLINE void EvrUSBH_Driver_PipeCreateFailed(uint8_t ctrl, uint8_t dev_addr, uint8_t dev_speed, uint8_t hub_addr, uint8_t hub_port, uint8_t ep_addr, uint8_t ep_type, uint16_t ep_max_packet_size, uint8_t ep_interval)
Event on ARM_USBH_PipeCreate failed (Error)
Definition: usbh_evr.h:1814
__STATIC_INLINE void EvrUSBH_HID_OnUninitialize(uint8_t instance)
Event on USBH_HID_Uninitialize user callback function start (API)
Definition: usbh_evr.h:2761
__STATIC_INLINE void EvrUSBH_MSC_OnUninitialize(uint8_t instance)
Event on USBH_MSC_Uninitialize user callback function start (API)
Definition: usbh_evr.h:3298
__STATIC_INLINE void EvrUSBH_HID_Initialize(uint8_t instance)
Event on internal operation HID device initialization start (Operation)
Definition: usbh_evr.h:2695
__STATIC_INLINE void EvrUSBH_Core_PipeReceiveGetResult(USBH_PIPE_HANDLE pipe_hndl, uint32_t num)
Event on USBH_PipeReceiveGetResult finished (API)
Definition: usbh_evr.h:936
__STATIC_INLINE void EvrUSBH_Driver_PortVbusOnOff(uint8_t ctrl, uint8_t port, bool vbus)
Event on ARM_USBH_PortVbusOnOff finished successfully (API)
Definition: usbh_evr.h:1647
__STATIC_INLINE void EvrUSBH_CDC_ACM_SetControlLineStateFailed(uint8_t instance, uint8_t dtr, uint8_t rts, usbStatus error)
Event on USBH_CDC_ACM_SetControlLineState failed (Error)
Definition: usbh_evr.h:2573
__STATIC_INLINE void EvrUSBH_Core_RequestSetInterfaceFailed(uint8_t device, uint8_t index, uint8_t alt, usbStatus error)
Event on USBH_DeviceRequest_SetInterface failed (Error)
Definition: usbh_evr.h:1355
__STATIC_INLINE void EvrUSBH_Core_MemAlloc(uint8_t ctrl, const uint8_t *ptr, uint32_t size)
Event on internal operation memory allocation finished successfully (Detail)
Definition: usbh_evr.h:1469
__STATIC_INLINE void EvrUSBH_Core_EngineFailed(uint8_t ctrl, uint8_t port, uint32_t event)
Event on internal operation engine failed (Error)
Definition: usbh_evr.h:1529
__STATIC_INLINE void EvrUSBH_MSC_Recover(uint8_t instance)
Event on internal operation recover start (Operation)
Definition: usbh_evr.h:3726
__STATIC_INLINE void EvrUSBH_Driver_Initialize(uint8_t ctrl)
Event on ARM_USBH_Initialize finished successfully (API)
Definition: usbh_evr.h:1560
__STATIC_INLINE void EvrUSBH_HID_ReadFailed(uint8_t instance, int32_t len, usbStatus error)
Event on USBH_HID_Read failed (Error)
Definition: usbh_evr.h:2820
__STATIC_INLINE void EvrUSBH_Core_PipeResetFailed(USBH_PIPE_HANDLE pipe_hndl, usbStatus error)
Event on USBH_PipeReset failed (Error)
Definition: usbh_evr.h:893
__STATIC_INLINE void EvrUSBH_MSC_BomReset(uint8_t instance)
Event on internal operation Bulk-Only Mass Storage Reset start (Operation)
Definition: usbh_evr.h:3475
__STATIC_INLINE void EvrUSBH_HID_UnconfigureFailed(uint8_t instance, usbStatus error)
Event on internal operation HID device uninitialization failed (Error)
Definition: usbh_evr.h:2682
__STATIC_INLINE void EvrUSBH_Core_PipeUpdate(USBH_PIPE_HANDLE pipe_hndl)
Event on USBH_PipeUpdate start (API)
Definition: usbh_evr.h:825
__STATIC_INLINE void EvrUSBH_Core_PipeDelete(USBH_PIPE_HANDLE pipe_hndl)
Event on USBH_PipeDelete start (API)
Definition: usbh_evr.h:852
__STATIC_INLINE void EvrUSBH_Core_Initialize(uint8_t ctrl)
Event on USBH_Initialize start (API)
Definition: usbh_evr.h:508
__STATIC_INLINE void EvrUSBH_CDC_ACM_Configure(uint8_t instance)
Event on internal operation CDC ACM device configuration start (Operation)
Definition: usbh_evr.h:2141
__STATIC_INLINE void EvrUSBH_CDC_ACM_AbortSendFailed(uint8_t instance, usbStatus error)
Event on USBH_CDC_ACM_AbortSend failed (Error)
Definition: usbh_evr.h:2374
__STATIC_INLINE void EvrUSBH_Driver_PipeTransferAbort(uint8_t ctrl, ARM_USBH_PIPE_HANDLE pipe_hndl)
Event on ARM_USBH_PipeTransferAbort finished successfully (API)
Definition: usbh_evr.h:1973
__STATIC_INLINE void EvrUSBH_MSC_ScsiReadFormatCapacities(uint8_t instance)
Event on internal operation SCSI Read Format Capacities start (Operation)
Definition: usbh_evr.h:3610
__STATIC_INLINE void EvrUSBH_Core_PortSuspendFailed(uint8_t ctrl, uint8_t port, usbStatus error)
Event on USBH_Port_Suspend failed (Error)
Definition: usbh_evr.h:578
__STATIC_INLINE void EvrUSBH_CDC_ACM_SetControlLineState(uint8_t instance, uint8_t dtr, uint8_t rts)
Event on USBH_CDC_ACM_SetControlLineState start (API)
Definition: usbh_evr.h:2557
__STATIC_INLINE void EvrUSBH_Driver_PortGetState(uint8_t ctrl, uint8_t port, ARM_USBH_PORT_STATE state)
Event on ARM_USBH_PortGetState finished (API)
Definition: usbh_evr.h:1767
__STATIC_INLINE void EvrUSBH_CDC_ACM_SetLineCodingFailed(uint8_t instance, uint32_t rate, usbStatus error)
Event on USBH_CDC_ACM_SetLineCoding failed (Error)
Definition: usbh_evr.h:2513
__STATIC_INLINE void EvrUSBH_Core_PipeReceiveFailed(USBH_PIPE_HANDLE pipe_hndl, uint32_t len, usbStatus error)
Event on USBH_PipeReceive failed (Error)
Definition: usbh_evr.h:922
__STATIC_INLINE void EvrUSBH_CC_OnConfigure(uint8_t device, uint8_t class, uint8_t sub_class, uint16_t vid, uint16_t pid, uint8_t instance)
Event on USBH_CustomClass_Configure user callback function finished (API)
Definition: usbh_evr.h:2084
__STATIC_INLINE void EvrUSBH_Driver_OnSignalPortEvent(uint8_t ctrl, uint8_t port, uint32_t event)
Event on ARM_USBH_SignalPortEvent callback start (API)
Definition: usbh_evr.h:2017
__STATIC_INLINE void EvrUSBH_CDC_ACM_GetLineCoding(uint8_t instance, uint32_t rate)
Event on USBH_CDC_ACM_GetLineCoding finished successfully (API)
Definition: usbh_evr.h:2542
__STATIC_INLINE void EvrUSBH_CDC_ACM_AbortSendDone(uint8_t instance)
Event on USBH_CDC_ACM_AbortSend finished successfully (Detail)
Definition: usbh_evr.h:2387
__STATIC_INLINE void EvrUSBH_CC_GetStatus(uint8_t instance, uint8_t status)
Event on USBH_CustomClass_GetStatus finished (API)
Definition: usbh_evr.h:2064
__STATIC_INLINE void EvrUSBH_Driver_PowerControlFailed(uint8_t ctrl, ARM_POWER_STATE state, int32_t error)
Event on ARM_USBH_PowerControl failed (Error)
Definition: usbh_evr.h:1630
int16_t x
Absolute X position change.
Definition: rl_usb.h:164
__STATIC_INLINE void EvrUSBH_Core_RequestGetConfiguration(uint8_t device, uint8_t config)
Event on USBH_DeviceRequest_GetConfiguration start (API)
Definition: usbh_evr.h:1251
__STATIC_INLINE void EvrUSBH_CDC_ACM_AbortReceive(uint8_t instance)
Event on USBH_CDC_ACM_AbortReceive start (API)
Definition: usbh_evr.h:2457
__STATIC_INLINE void EvrUSBH_MSC_Unconfigure(uint8_t instance)
Event on internal operation MSC device unconfigure start (Operation)
Definition: usbh_evr.h:3205
__STATIC_INLINE void EvrUSBH_CDC_ACM_UninitializeFailed(uint8_t instance, usbStatus error)
Event on internal operation CDC ACM device uninitialization failed (Error)
Definition: usbh_evr.h:2247
__STATIC_INLINE void EvrUSBH_MSC_UninitializeFailed(uint8_t instance, usbStatus error)
Event on internal operation MSC device uninitialization failed (Error)
Definition: usbh_evr.h:3285
__STATIC_INLINE void EvrUSBH_Driver_Uninitialize(uint8_t ctrl)
Event on ARM_USBH_Uninitialize finished successfully (API)
Definition: usbh_evr.h:1587
__STATIC_INLINE void EvrUSBH_Core_UninitializeFailed(uint8_t ctrl, usbStatus error)
Event on USBH_Uninitialize failed (Error)
Definition: usbh_evr.h:549
__STATIC_INLINE void EvrUSBH_Core_MemUninitFailed(uint8_t ctrl, usbStatus error)
Event on internal operation memory uninitialization failed (Error)
Definition: usbh_evr.h:1426
__STATIC_INLINE void EvrUSBH_MSC_ScsiInquiry(uint8_t instance)
Event on internal operation SCSI Inquiry start (Operation)
Definition: usbh_evr.h:3583
__STATIC_INLINE void EvrUSBH_CDC_ACM_GetLineCodingFailed(uint8_t instance, uint32_t rate, usbStatus error)
Event on USBH_CDC_ACM_GetLineCoding failed (Error)
Definition: usbh_evr.h:2528
__STATIC_INLINE void EvrUSBH_MSC_Initialize(uint8_t instance)
Event on internal operation MSC device initialization start (Operation)
Definition: usbh_evr.h:3232
__STATIC_INLINE void EvrUSBH_Core_RequestGetDescriptor(uint8_t device, uint8_t recipient, uint8_t desc_type, uint8_t desc_index, uint16_t lang_id, uint16_t desc_length)
Event on USBH_DeviceRequest_GetDescriptor start (API)
Definition: usbh_evr.h:1181
__STATIC_INLINE void EvrUSBH_Driver_PipeModify(uint8_t ctrl, ARM_USBH_PIPE_HANDLE pipe_hndl, uint8_t dev_addr, uint8_t dev_speed, uint8_t hub_addr, uint8_t hub_port, uint16_t ep_max_packet_size)
Event on ARM_USBH_PipeModify finished successfully (API)
Definition: usbh_evr.h:1833
__STATIC_INLINE void EvrUSBH_Core_RequestSetAddress(uint8_t device, uint8_t address)
Event on USBH_DeviceRequest_SetAddress start (API)
Definition: usbh_evr.h:1148
__STATIC_INLINE void EvrUSBH_CDC_ACM_GetRxCount(uint8_t instance, uint32_t num)
Event on USBH_CDC_ACM_GetRxCount finished successfully (API)
Definition: usbh_evr.h:2444
__STATIC_INLINE void EvrUSBH_Core_DeviceGetStringDescriptor(uint8_t device, uint8_t index, uint16_t lang_id, uint16_t desc_length)
Event on USBH_Device_GetStringDescriptor start (API)
Definition: usbh_evr.h:727
__STATIC_INLINE void EvrUSBH_CDC_ACM_ConfigureFailed(usbStatus error)
Event on internal operation CDC ACM device configuration failed (Error)
Definition: usbh_evr.h:2154
__STATIC_INLINE void EvrUSBH_Driver_PortReset(uint8_t ctrl, uint8_t port)
Event on ARM_USBH_PortReset finished successfully (API)
Definition: usbh_evr.h:1679
__STATIC_INLINE void EvrUSBH_Core_PipeSendGetResult(USBH_PIPE_HANDLE pipe_hndl, uint32_t num)
Event on USBH_PipeSendGetResult finished (API)
Definition: usbh_evr.h:979
__STATIC_INLINE void EvrUSBH_Driver_PortResume(uint8_t ctrl, uint8_t port)
Event on ARM_USBH_PortResume finished successfully (API)
Definition: usbh_evr.h:1737
__STATIC_INLINE void EvrUSBH_Core_RequestSetInterface(uint8_t device, uint8_t index, uint8_t alt)
Event on USBH_DeviceRequest_SetInterface start (API)
Definition: usbh_evr.h:1339
__STATIC_INLINE void EvrUSBH_Core_PipeSendFailed(USBH_PIPE_HANDLE pipe_hndl, uint32_t len, usbStatus error)
Event on USBH_PipeSend failed (Error)
Definition: usbh_evr.h:965
__STATIC_INLINE void EvrUSBH_MSC_ScsiReadCapacity(uint8_t instance)
Event on internal operation SCSI Read Capacity start (Operation)
Definition: usbh_evr.h:3637
__STATIC_INLINE void EvrUSBH_MSC_ScsiWrite10(uint8_t instance, uint32_t block_addr, uint32_t block_num)
Event on internal operation SCSI Write10 start (Operation)
Definition: usbh_evr.h:3697
__STATIC_INLINE void EvrUSBH_CDC_ACM_UnconfigureFailed(uint8_t instance, usbStatus error)
Event on internal operation CDC ACM device uninitialization failed (Error)
Definition: usbh_evr.h:2181
__STATIC_INLINE void EvrUSBH_Core_PipeReceive(USBH_PIPE_HANDLE pipe_hndl, uint32_t len)
Event on USBH_PipeReceive start (API)
Definition: usbh_evr.h:907
__STATIC_INLINE void EvrUSBH_Core_RequestSetAddressFailed(uint8_t device, uint8_t address, usbStatus error)
Event on USBH_DeviceRequest_SetAddress failed (Error)
Definition: usbh_evr.h:1163
__STATIC_INLINE void EvrUSBH_Core_DeviceGetAddress(uint8_t device, uint8_t address)
Event on USBH_Device_GetAddress finished (API)
Definition: usbh_evr.h:683
__STATIC_INLINE void EvrUSBH_MSC_WriteDone(uint8_t instance, uint32_t lba, uint32_t cnt)
Event on USBH_MSC_Write finished successfully (Detail)
Definition: usbh_evr.h:3420
__STATIC_INLINE void EvrUSBH_Core_MemFreeFailed(uint8_t ctrl, const uint8_t *ptr, usbStatus error)
Event on internal operation memory free failed (Error)
Definition: usbh_evr.h:1484
__STATIC_INLINE void EvrUSBH_Core_PipeAbortFailed(USBH_PIPE_HANDLE pipe_hndl, usbStatus error)
Event on USBH_PipeAbort failed (Error)
Definition: usbh_evr.h:1006