10 #define __USBH_EVR_H__
12 #include "EventRecorder.h"
14 #include "Driver_USBH.h"
18 #define EvtCompNo_USBH_Core 0xB0U
19 #define EvtCompNo_USBH_Driver 0xB1U
20 #define EvtCompNo_USBH_CC 0xB2U
21 #define EvtCompNo_USBH_CDC 0xB3U
22 #define EvtCompNo_USBH_HID 0xB4U
23 #define EvtCompNo_USBH_MSC 0xB5U
27 #define EvtMsgNo_USBH_Core_Initialize 0x00U
28 #define EvtMsgNo_USBH_Core_InitializeFailed 0x01U
29 #define EvtMsgNo_USBH_Core_Uninitialize 0x02U
30 #define EvtMsgNo_USBH_Core_UninitializeFailed 0x03U
31 #define EvtMsgNo_USBH_Core_PortSuspend 0x04U
32 #define EvtMsgNo_USBH_Core_PortSuspendFailed 0x05U
33 #define EvtMsgNo_USBH_Core_PortResume 0x06U
34 #define EvtMsgNo_USBH_Core_PortResumeFailed 0x07U
35 #define EvtMsgNo_USBH_Core_DeviceGetController 0x08U
36 #define EvtMsgNo_USBH_Core_DeviceGetPort 0x09U
37 #define EvtMsgNo_USBH_Core_DeviceGetStatus 0x0AU
38 #define EvtMsgNo_USBH_Core_DeviceGetSpeed 0x0BU
39 #define EvtMsgNo_USBH_Core_DeviceGetAddress 0x0CU
40 #define EvtMsgNo_USBH_Core_DeviceGetVID 0x0DU
41 #define EvtMsgNo_USBH_Core_DeviceGetPID 0x0EU
42 #define EvtMsgNo_USBH_Core_OnNotify 0x0FU
43 #define EvtMsgNo_USBH_Core_PipeCreate 0x10U
44 #define EvtMsgNo_USBH_Core_PipeCreateFailed 0x11U
45 #define EvtMsgNo_USBH_Core_PipeUpdate 0x12U
46 #define EvtMsgNo_USBH_Core_PipeUpdateFailed 0x13U
47 #define EvtMsgNo_USBH_Core_PipeDelete 0x14U
48 #define EvtMsgNo_USBH_Core_PipeDeleteFailed 0x15U
49 #define EvtMsgNo_USBH_Core_PipeReset 0x16U
50 #define EvtMsgNo_USBH_Core_PipeResetFailed 0x17U
51 #define EvtMsgNo_USBH_Core_PipeReceive 0x18U
52 #define EvtMsgNo_USBH_Core_PipeReceiveFailed 0x19U
53 #define EvtMsgNo_USBH_Core_PipeReceiveGetResult 0x1AU
54 #define EvtMsgNo_USBH_Core_PipeSend 0x1BU
55 #define EvtMsgNo_USBH_Core_PipeSendFailed 0x1CU
56 #define EvtMsgNo_USBH_Core_PipeSendGetResult 0x1DU
57 #define EvtMsgNo_USBH_Core_PipeAbort 0x1EU
58 #define EvtMsgNo_USBH_Core_PipeAbortFailed 0x1FU
59 #define EvtMsgNo_USBH_Core_ControlTransfer 0x2AU
60 #define EvtMsgNo_USBH_Core_ControlTransferFailed 0x2BU
61 #define EvtMsgNo_USBH_Core_RequestGetStatus 0x2CU
62 #define EvtMsgNo_USBH_Core_RequestGetStatusFailed 0x2DU
63 #define EvtMsgNo_USBH_Core_RequestClearFeature 0x2EU
64 #define EvtMsgNo_USBH_Core_RequestClearFeatureFailed 0x2FU
65 #define EvtMsgNo_USBH_Core_RequestSetFeature 0x30U
66 #define EvtMsgNo_USBH_Core_RequestSetFeatureFailed 0x31U
67 #define EvtMsgNo_USBH_Core_RequestSetAddress 0x32U
68 #define EvtMsgNo_USBH_Core_RequestSetAddressFailed 0x33U
69 #define EvtMsgNo_USBH_Core_RequestGetDescriptor 0x34U
70 #define EvtMsgNo_USBH_Core_RequestGetDescriptorFailed 0x35U
71 #define EvtMsgNo_USBH_Core_RequestSetDescriptor 0x36U
72 #define EvtMsgNo_USBH_Core_RequestSetDescriptorFailed 0x37U
73 #define EvtMsgNo_USBH_Core_RequestGetConfiguration 0x38U
74 #define EvtMsgNo_USBH_Core_RequestGetConfigurationFailed 0x39U
75 #define EvtMsgNo_USBH_Core_RequestSetConfiguration 0x3AU
76 #define EvtMsgNo_USBH_Core_RequestSetConfigurationFailed 0x3BU
77 #define EvtMsgNo_USBH_Core_RequestGetInterface 0x3CU
78 #define EvtMsgNo_USBH_Core_RequestGetInterfaceFailed 0x3DU
79 #define EvtMsgNo_USBH_Core_RequestSetInterface 0x3EU
80 #define EvtMsgNo_USBH_Core_RequestSetInterfaceFailed 0x3FU
81 #define EvtMsgNo_USBH_Core_RequestSynchFrame 0x40U
82 #define EvtMsgNo_USBH_Core_RequestSynchFrameFailed 0x41U
83 #define EvtMsgNo_USBH_Core_MemInitFailed 0x42U
84 #define EvtMsgNo_USBH_Core_MemInit 0x43U
85 #define EvtMsgNo_USBH_Core_MemUninitFailed 0x44U
86 #define EvtMsgNo_USBH_Core_MemUninit 0x45U
87 #define EvtMsgNo_USBH_Core_MemAllocFailed 0x46U
88 #define EvtMsgNo_USBH_Core_MemAlloc 0x47U
89 #define EvtMsgNo_USBH_Core_MemFreeFailed 0x48U
90 #define EvtMsgNo_USBH_Core_MemFree 0x49U
91 #define EvtMsgNo_USBH_Core_Engine 0x4AU
92 #define EvtMsgNo_USBH_Core_EngineFailed 0x4BU
93 #define EvtMsgNo_USBH_Core_EngineDone 0x4CU
94 #define EvtMsgNo_USBH_Core_DeviceGetStringDescriptorFailed 0x4DU
95 #define EvtMsgNo_USBH_Core_DeviceGetStringDescriptor 0x4EU
97 #define EvtMsgNo_USBH_Driver_Initialize 0x00U
98 #define EvtMsgNo_USBH_Driver_InitializeFailed 0x01U
99 #define EvtMsgNo_USBH_Driver_Uninitialize 0x02U
100 #define EvtMsgNo_USBH_Driver_UninitializeFailed 0x03U
101 #define EvtMsgNo_USBH_Driver_PowerControl 0x04U
102 #define EvtMsgNo_USBH_Driver_PowerControlFailed 0x05U
103 #define EvtMsgNo_USBH_Driver_PortVbusOnOff 0x06U
104 #define EvtMsgNo_USBH_Driver_PortVbusOnOffFailed 0x07U
105 #define EvtMsgNo_USBH_Driver_PortReset 0x08U
106 #define EvtMsgNo_USBH_Driver_PortResetFailed 0x09U
107 #define EvtMsgNo_USBH_Driver_PortSuspend 0x0AU
108 #define EvtMsgNo_USBH_Driver_PortSuspendFailed 0x0BU
109 #define EvtMsgNo_USBH_Driver_PortResume 0x0CU
110 #define EvtMsgNo_USBH_Driver_PortResumeFailed 0x0DU
111 #define EvtMsgNo_USBH_Driver_PortGetState 0x0EU
112 #define EvtMsgNo_USBH_Driver_PipeCreate 0x0FU
113 #define EvtMsgNo_USBH_Driver_PipeCreateFailed 0x10U
114 #define EvtMsgNo_USBH_Driver_PipeModify 0x11U
115 #define EvtMsgNo_USBH_Driver_PipeModifyFailed 0x12U
116 #define EvtMsgNo_USBH_Driver_PipeDelete 0x13U
117 #define EvtMsgNo_USBH_Driver_PipeDeleteFailed 0x14U
118 #define EvtMsgNo_USBH_Driver_PipeReset 0x15U
119 #define EvtMsgNo_USBH_Driver_PipeResetFailed 0x16U
120 #define EvtMsgNo_USBH_Driver_PipeTransfer 0x17U
121 #define EvtMsgNo_USBH_Driver_PipeTransferFailed 0x18U
122 #define EvtMsgNo_USBH_Driver_PipeTransferGetResult 0x19U
123 #define EvtMsgNo_USBH_Driver_PipeTransferAbort 0x1AU
124 #define EvtMsgNo_USBH_Driver_PipeTransferAbortFailed 0x1BU
125 #define EvtMsgNo_USBH_Driver_GetFrameNumber 0x1CU
126 #define EvtMsgNo_USBH_Driver_OnSignalPortEvent 0x1DU
127 #define EvtMsgNo_USBH_Driver_OnSignalPipeEvent 0x1EU
129 #define EvtMsgNo_USBH_CC_GetDevice 0x00U
130 #define EvtMsgNo_USBH_CC_GetStatus 0x01U
131 #define EvtMsgNo_USBH_CC_OnConfigure 0x02U
132 #define EvtMsgNo_USBH_CC_OnUnconfigure 0x03U
133 #define EvtMsgNo_USBH_CC_OnInitialize 0x04U
134 #define EvtMsgNo_USBH_CC_OnUninitialize 0x05U
136 #define EvtMsgNo_USBH_CDC_ACM_Configure 0x00U
137 #define EvtMsgNo_USBH_CDC_ACM_ConfigureFailed 0x01U
138 #define EvtMsgNo_USBH_CDC_ACM_Unconfigure 0x02U
139 #define EvtMsgNo_USBH_CDC_ACM_UnconfigureFailed 0x03U
140 #define EvtMsgNo_USBH_CDC_ACM_Initialize 0x04U
141 #define EvtMsgNo_USBH_CDC_ACM_InitializeFailed 0x05U
142 #define EvtMsgNo_USBH_CDC_ACM_OnInitialize 0x06U
143 #define EvtMsgNo_USBH_CDC_ACM_Uninitialize 0x07U
144 #define EvtMsgNo_USBH_CDC_ACM_UninitializeFailed 0x08U
145 #define EvtMsgNo_USBH_CDC_ACM_OnUninitialize 0x09U
146 #define EvtMsgNo_USBH_CDC_ACM_GetDevice 0x0AU
147 #define EvtMsgNo_USBH_CDC_ACM_GetStatus 0x0BU
148 #define EvtMsgNo_USBH_CDC_ACM_Send 0x0CU
149 #define EvtMsgNo_USBH_CDC_ACM_SendFailed 0x0DU
150 #define EvtMsgNo_USBH_CDC_ACM_SendDone 0x0EU
151 #define EvtMsgNo_USBH_CDC_ACM_GetTxCount 0x0FU
152 #define EvtMsgNo_USBH_CDC_ACM_Receive 0x10U
153 #define EvtMsgNo_USBH_CDC_ACM_ReceiveFailed 0x11U
154 #define EvtMsgNo_USBH_CDC_ACM_ReceiveDone 0x12U
155 #define EvtMsgNo_USBH_CDC_ACM_GetRxCount 0x13U
156 #define EvtMsgNo_USBH_CDC_ACM_SetLineCoding 0x14U
157 #define EvtMsgNo_USBH_CDC_ACM_SetLineCodingFailed 0x15U
158 #define EvtMsgNo_USBH_CDC_ACM_GetLineCodingFailed 0x16U
159 #define EvtMsgNo_USBH_CDC_ACM_GetLineCoding 0x17U
160 #define EvtMsgNo_USBH_CDC_ACM_SetControlLineState 0x18U
161 #define EvtMsgNo_USBH_CDC_ACM_SetControlLineStateFailed 0x19U
162 #define EvtMsgNo_USBH_CDC_ACM_OnNotify 0x1AU
163 #define EvtMsgNo_USBH_CDC_ACM_SendBreak 0x1BU
164 #define EvtMsgNo_USBH_CDC_ACM_SendBreakFailed 0x1CU
166 #define EvtMsgNo_USBH_HID_Configure 0x00U
167 #define EvtMsgNo_USBH_HID_ConfigureFailed 0x01U
168 #define EvtMsgNo_USBH_HID_Unconfigure 0x02U
169 #define EvtMsgNo_USBH_HID_UnconfigureFailed 0x03U
170 #define EvtMsgNo_USBH_HID_Initialize 0x04U
171 #define EvtMsgNo_USBH_HID_InitializeFailed 0x05U
172 #define EvtMsgNo_USBH_HID_OnInitialize 0x06U
173 #define EvtMsgNo_USBH_HID_Uninitialize 0x07U
174 #define EvtMsgNo_USBH_HID_UninitializeFailed 0x08U
175 #define EvtMsgNo_USBH_HID_OnUninitialize 0x09U
176 #define EvtMsgNo_USBH_HID_GetDevice 0x0AU
177 #define EvtMsgNo_USBH_HID_GetStatus 0x0BU
178 #define EvtMsgNo_USBH_HID_Read 0x0CU
179 #define EvtMsgNo_USBH_HID_ReadFailed 0x0DU
180 #define EvtMsgNo_USBH_HID_ReadDone 0x0EU
181 #define EvtMsgNo_USBH_HID_Write 0x0FU
182 #define EvtMsgNo_USBH_HID_WriteFailed 0x10U
183 #define EvtMsgNo_USBH_HID_WriteDone 0x11U
184 #define EvtMsgNo_USBH_HID_GetKeyboardKey 0x12U
185 #define EvtMsgNo_USBH_HID_GetKeyboardKeyDone 0x13U
186 #define EvtMsgNo_USBH_HID_GetMouseState 0x14U
187 #define EvtMsgNo_USBH_HID_GetMouseStateFailed 0x15U
188 #define EvtMsgNo_USBH_HID_GetMouseStateDone 0x16U
189 #define EvtMsgNo_USBH_HID_OnParseReportDescriptor 0x17U
190 #define EvtMsgNo_USBH_HID_OnDataReceived 0x18U
191 #define EvtMsgNo_USBH_HID_GetReport 0x19U
192 #define EvtMsgNo_USBH_HID_GetReportFailed 0x1AU
193 #define EvtMsgNo_USBH_HID_SetReport 0x1BU
194 #define EvtMsgNo_USBH_HID_SetReportFailed 0x1CU
195 #define EvtMsgNo_USBH_HID_GetIdle 0x1DU
196 #define EvtMsgNo_USBH_HID_GetIdleFailed 0x1EU
197 #define EvtMsgNo_USBH_HID_SetIdle 0x1FU
198 #define EvtMsgNo_USBH_HID_SetIdleFailed 0x20U
199 #define EvtMsgNo_USBH_HID_GetProtocol 0x21U
200 #define EvtMsgNo_USBH_HID_GetProtocolFailed 0x22U
201 #define EvtMsgNo_USBH_HID_SetProtocol 0x23U
202 #define EvtMsgNo_USBH_HID_SetProtocolFailed 0x24U
203 #define EvtMsgNo_USBH_HID_ReportOut 0x25U
204 #define EvtMsgNo_USBH_HID_ReportOutFailed 0x26U
206 #define EvtMsgNo_USBH_MSC_Configure 0x00U
207 #define EvtMsgNo_USBH_MSC_ConfigureFailed 0x01U
208 #define EvtMsgNo_USBH_MSC_Unconfigure 0x02U
209 #define EvtMsgNo_USBH_MSC_UnconfigureFailed 0x03U
210 #define EvtMsgNo_USBH_MSC_Initialize 0x04U
211 #define EvtMsgNo_USBH_MSC_InitializeFailed 0x05U
212 #define EvtMsgNo_USBH_MSC_OnInitialize 0x06U
213 #define EvtMsgNo_USBH_MSC_Uninitialize 0x07U
214 #define EvtMsgNo_USBH_MSC_UninitializeFailed 0x08U
215 #define EvtMsgNo_USBH_MSC_OnUninitialize 0x09U
216 #define EvtMsgNo_USBH_MSC_GetDevice 0x0AU
217 #define EvtMsgNo_USBH_MSC_GetStatus 0x0BU
218 #define EvtMsgNo_USBH_MSC_Read 0x0CU
219 #define EvtMsgNo_USBH_MSC_ReadFailed 0x0DU
220 #define EvtMsgNo_USBH_MSC_ReadDone 0x0EU
221 #define EvtMsgNo_USBH_MSC_Write 0x0FU
222 #define EvtMsgNo_USBH_MSC_WriteFailed 0x10U
223 #define EvtMsgNo_USBH_MSC_WriteDone 0x11U
224 #define EvtMsgNo_USBH_MSC_ReadCapacity 0x12U
225 #define EvtMsgNo_USBH_MSC_ReadCapacityFailed 0x13U
226 #define EvtMsgNo_USBH_MSC_ReadCapacityDone 0x14U
227 #define EvtMsgNo_USBH_MSC_BomReset 0x15U
228 #define EvtMsgNo_USBH_MSC_BomResetFailed 0x16U
229 #define EvtMsgNo_USBH_MSC_GetMaxLun 0x17U
230 #define EvtMsgNo_USBH_MSC_GetMaxLunFailed 0x18U
231 #define EvtMsgNo_USBH_MSC_ScsiTestUnitReady 0x19U
232 #define EvtMsgNo_USBH_MSC_ScsiTestUnitReadyFailed 0x1AU
233 #define EvtMsgNo_USBH_MSC_ScsiRequestSense 0x1BU
234 #define EvtMsgNo_USBH_MSC_ScsiRequestSenseFailed 0x1CU
235 #define EvtMsgNo_USBH_MSC_ScsiInquiry 0x1DU
236 #define EvtMsgNo_USBH_MSC_ScsiInquiryFailed 0x1EU
237 #define EvtMsgNo_USBH_MSC_ScsiReadFormatCapacities 0x1FU
238 #define EvtMsgNo_USBH_MSC_ScsiReadFormatCapacitiesFailed 0x20U
239 #define EvtMsgNo_USBH_MSC_ScsiReadCapacity 0x21U
240 #define EvtMsgNo_USBH_MSC_ScsiReadCapacityFailed 0x22U
241 #define EvtMsgNo_USBH_MSC_ScsiRead10 0x23U
242 #define EvtMsgNo_USBH_MSC_ScsiRead10Failed 0x24U
243 #define EvtMsgNo_USBH_MSC_ScsiWrite10 0x25U
244 #define EvtMsgNo_USBH_MSC_ScsiWrite10Failed 0x26U
245 #define EvtMsgNo_USBH_MSC_Recover 0x27U
246 #define EvtMsgNo_USBH_MSC_RecoverFailed 0x28U
248 #if (defined(USBH_DEBUG) && (USBH_DEBUG == 1)) // Define USB Host Library debug events
251 #define TO_BYTE0(x) (((uint32_t)(x) & 0xFFU))
252 #define TO_BYTE1(x) (((uint32_t)(x) & 0xFFU) << 8)
253 #define TO_BYTE2(x) (((uint32_t)(x) & 0xFFU) << 16)
254 #define TO_BYTE3(x) (((uint32_t)(x) & 0xFFU) << 24)
257 #define EvtUSBH_Core_Initialize EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_Initialize)
258 #define EvtUSBH_Core_InitializeFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_InitializeFailed)
259 #define EvtUSBH_Core_Uninitialize EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_Uninitialize)
260 #define EvtUSBH_Core_UninitializeFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_UninitializeFailed)
261 #define EvtUSBH_Core_PortSuspend EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PortSuspend)
262 #define EvtUSBH_Core_PortSuspendFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PortSuspendFailed)
263 #define EvtUSBH_Core_PortResume EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PortResume)
264 #define EvtUSBH_Core_PortResumeFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PortResumeFailed)
265 #define EvtUSBH_Core_DeviceGetController EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetController)
266 #define EvtUSBH_Core_DeviceGetPort EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetPort)
267 #define EvtUSBH_Core_DeviceGetStatus EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetStatus)
268 #define EvtUSBH_Core_DeviceGetSpeed EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetSpeed)
269 #define EvtUSBH_Core_DeviceGetAddress EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetAddress)
270 #define EvtUSBH_Core_DeviceGetVID EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetVID)
271 #define EvtUSBH_Core_DeviceGetPID EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetPID)
272 #define EvtUSBH_Core_OnNotify EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_OnNotify)
273 #define EvtUSBH_Core_PipeCreate EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeCreate)
274 #define EvtUSBH_Core_PipeCreateFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeCreateFailed)
275 #define EvtUSBH_Core_PipeUpdate EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeUpdate)
276 #define EvtUSBH_Core_PipeUpdateFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeUpdateFailed)
277 #define EvtUSBH_Core_PipeDelete EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeDelete)
278 #define EvtUSBH_Core_PipeDeleteFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeDeleteFailed)
279 #define EvtUSBH_Core_PipeReset EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeReset)
280 #define EvtUSBH_Core_PipeResetFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeResetFailed)
281 #define EvtUSBH_Core_PipeReceive EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeReceive)
282 #define EvtUSBH_Core_PipeReceiveFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeReceiveFailed)
283 #define EvtUSBH_Core_PipeReceiveGetResult EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeReceiveGetResult)
284 #define EvtUSBH_Core_PipeSend EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeSend)
285 #define EvtUSBH_Core_PipeSendFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeSendFailed)
286 #define EvtUSBH_Core_PipeSendGetResult EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeSendGetResult)
287 #define EvtUSBH_Core_PipeAbort EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeAbort)
288 #define EvtUSBH_Core_PipeAbortFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeAbortFailed)
289 #define EvtUSBH_Core_ControlTransfer EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_ControlTransfer)
290 #define EvtUSBH_Core_ControlTransferFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_ControlTransferFailed)
291 #define EvtUSBH_Core_RequestGetStatus EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetStatus)
292 #define EvtUSBH_Core_RequestGetStatusFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetStatusFailed)
293 #define EvtUSBH_Core_RequestClearFeature EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestClearFeature)
294 #define EvtUSBH_Core_RequestClearFeatureFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestClearFeatureFailed)
295 #define EvtUSBH_Core_RequestSetFeature EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetFeature)
296 #define EvtUSBH_Core_RequestSetFeatureFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetFeatureFailed)
297 #define EvtUSBH_Core_RequestSetAddress EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetAddress)
298 #define EvtUSBH_Core_RequestSetAddressFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetAddressFailed)
299 #define EvtUSBH_Core_RequestGetDescriptor EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetDescriptor)
300 #define EvtUSBH_Core_RequestGetDescriptorFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetDescriptorFailed)
301 #define EvtUSBH_Core_RequestSetDescriptor EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetDescriptor)
302 #define EvtUSBH_Core_RequestSetDescriptorFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetDescriptorFailed)
303 #define EvtUSBH_Core_RequestGetConfiguration EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetConfiguration)
304 #define EvtUSBH_Core_RequestGetConfigurationFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetConfigurationFailed)
305 #define EvtUSBH_Core_RequestSetConfiguration EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetConfiguration)
306 #define EvtUSBH_Core_RequestSetConfigurationFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetConfigurationFailed)
307 #define EvtUSBH_Core_RequestGetInterface EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetInterface)
308 #define EvtUSBH_Core_RequestGetInterfaceFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetInterfaceFailed)
309 #define EvtUSBH_Core_RequestSetInterface EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetInterface)
310 #define EvtUSBH_Core_RequestSetInterfaceFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetInterfaceFailed)
311 #define EvtUSBH_Core_RequestSynchFrame EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSynchFrame)
312 #define EvtUSBH_Core_RequestSynchFrameFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSynchFrameFailed)
313 #define EvtUSBH_Core_MemInitFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemInitFailed)
314 #define EvtUSBH_Core_MemInit EventID(EventLevelDetail, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemInit)
315 #define EvtUSBH_Core_MemUninitFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemUninitFailed)
316 #define EvtUSBH_Core_MemUninit EventID(EventLevelDetail, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemUninit)
317 #define EvtUSBH_Core_MemAllocFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemAllocFailed)
318 #define EvtUSBH_Core_MemAlloc EventID(EventLevelDetail, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemAlloc)
319 #define EvtUSBH_Core_MemFreeFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemFreeFailed)
320 #define EvtUSBH_Core_MemFree EventID(EventLevelDetail, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemFree)
321 #define EvtUSBH_Core_Engine EventID(EventLevelDetail, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_Engine)
322 #define EvtUSBH_Core_EngineFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_EngineFailed)
323 #define EvtUSBH_Core_EngineDone EventID(EventLevelDetail, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_EngineDone)
324 #define EvtUSBH_Core_DeviceGetStringDescriptor EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetStringDescriptor)
325 #define EvtUSBH_Core_DeviceGetStringDescriptorFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetStringDescriptorFailed)
328 #define EvtUSBH_Driver_Initialize EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_Initialize)
329 #define EvtUSBH_Driver_InitializeFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_InitializeFailed)
330 #define EvtUSBH_Driver_Uninitialize EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_Uninitialize)
331 #define EvtUSBH_Driver_UninitializeFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_UninitializeFailed)
332 #define EvtUSBH_Driver_PowerControl EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PowerControl)
333 #define EvtUSBH_Driver_PowerControlFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PowerControlFailed)
334 #define EvtUSBH_Driver_PortVbusOnOff EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortVbusOnOff)
335 #define EvtUSBH_Driver_PortVbusOnOffFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortVbusOnOffFailed)
336 #define EvtUSBH_Driver_PortReset EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortReset)
337 #define EvtUSBH_Driver_PortResetFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortResetFailed)
338 #define EvtUSBH_Driver_PortSuspend EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortSuspend)
339 #define EvtUSBH_Driver_PortSuspendFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortSuspendFailed)
340 #define EvtUSBH_Driver_PortResume EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortResume)
341 #define EvtUSBH_Driver_PortResumeFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortResumeFailed)
342 #define EvtUSBH_Driver_PortGetState EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortGetState)
343 #define EvtUSBH_Driver_PipeCreate EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeCreate)
344 #define EvtUSBH_Driver_PipeCreateFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeCreateFailed)
345 #define EvtUSBH_Driver_PipeModify EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeModify)
346 #define EvtUSBH_Driver_PipeModifyFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeModifyFailed)
347 #define EvtUSBH_Driver_PipeDelete EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeDelete)
348 #define EvtUSBH_Driver_PipeDeleteFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeDeleteFailed)
349 #define EvtUSBH_Driver_PipeReset EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeReset)
350 #define EvtUSBH_Driver_PipeResetFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeResetFailed)
351 #define EvtUSBH_Driver_PipeTransfer EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeTransfer)
352 #define EvtUSBH_Driver_PipeTransferFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeTransferFailed)
353 #define EvtUSBH_Driver_PipeTransferGetResult EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeTransferGetResult)
354 #define EvtUSBH_Driver_PipeTransferAbort EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeTransferAbort)
355 #define EvtUSBH_Driver_PipeTransferAbortFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeTransferAbortFailed)
356 #define EvtUSBH_Driver_GetFrameNumber EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_GetFrameNumber)
357 #define EvtUSBH_Driver_OnSignalPortEvent EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_OnSignalPortEvent)
358 #define EvtUSBH_Driver_OnSignalPipeEvent EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_OnSignalPipeEvent)
361 #define EvtUSBH_CC_GetDevice EventID(EventLevelAPI, EvtCompNo_USBH_CC, EvtMsgNo_USBH_CC_GetDevice)
362 #define EvtUSBH_CC_GetStatus EventID(EventLevelAPI, EvtCompNo_USBH_CC, EvtMsgNo_USBH_CC_GetStatus)
363 #define EvtUSBH_CC_OnConfigure EventID(EventLevelAPI, EvtCompNo_USBH_CC, EvtMsgNo_USBH_CC_OnConfigure)
364 #define EvtUSBH_CC_OnUnconfigure EventID(EventLevelAPI, EvtCompNo_USBH_CC, EvtMsgNo_USBH_CC_OnUnconfigure)
365 #define EvtUSBH_CC_OnInitialize EventID(EventLevelAPI, EvtCompNo_USBH_CC, EvtMsgNo_USBH_CC_OnInitialize)
366 #define EvtUSBH_CC_OnUninitialize EventID(EventLevelAPI, EvtCompNo_USBH_CC, EvtMsgNo_USBH_CC_OnUninitialize)
369 #define EvtUSBH_CDC_ACM_Configure EventID(EventLevelOp, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_Configure)
370 #define EvtUSBH_CDC_ACM_ConfigureFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_ConfigureFailed)
371 #define EvtUSBH_CDC_ACM_Unconfigure EventID(EventLevelOp, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_Unconfigure)
372 #define EvtUSBH_CDC_ACM_UnconfigureFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_UnconfigureFailed)
373 #define EvtUSBH_CDC_ACM_Initialize EventID(EventLevelOp, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_Initialize)
374 #define EvtUSBH_CDC_ACM_InitializeFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_InitializeFailed)
375 #define EvtUSBH_CDC_ACM_OnInitialize EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_OnInitialize)
376 #define EvtUSBH_CDC_ACM_Uninitialize EventID(EventLevelOp, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_Uninitialize)
377 #define EvtUSBH_CDC_ACM_UninitializeFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_UninitializeFailed)
378 #define EvtUSBH_CDC_ACM_OnUninitialize EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_OnUninitialize)
379 #define EvtUSBH_CDC_ACM_GetDevice EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_GetDevice)
380 #define EvtUSBH_CDC_ACM_GetStatus EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_GetStatus)
381 #define EvtUSBH_CDC_ACM_Send EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_Send)
382 #define EvtUSBH_CDC_ACM_SendFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SendFailed)
383 #define EvtUSBH_CDC_ACM_SendDone EventID(EventLevelDetail, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SendDone)
384 #define EvtUSBH_CDC_ACM_GetTxCount EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_GetTxCount)
385 #define EvtUSBH_CDC_ACM_Receive EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_Receive)
386 #define EvtUSBH_CDC_ACM_ReceiveFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_ReceiveFailed)
387 #define EvtUSBH_CDC_ACM_ReceiveDone EventID(EventLevelDetail, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_ReceiveDone)
388 #define EvtUSBH_CDC_ACM_GetRxCount EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_GetRxCount)
389 #define EvtUSBH_CDC_ACM_SetLineCoding EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SetLineCoding)
390 #define EvtUSBH_CDC_ACM_SetLineCodingFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SetLineCodingFailed)
391 #define EvtUSBH_CDC_ACM_GetLineCodingFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_GetLineCodingFailed)
392 #define EvtUSBH_CDC_ACM_GetLineCoding EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_GetLineCoding)
393 #define EvtUSBH_CDC_ACM_SetControlLineState EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SetControlLineState)
394 #define EvtUSBH_CDC_ACM_SetControlLineStateFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SetControlLineStateFailed)
395 #define EvtUSBH_CDC_ACM_OnNotify EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_OnNotify)
396 #define EvtUSBH_CDC_ACM_SendBreak EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SendBreak)
397 #define EvtUSBH_CDC_ACM_SendBreakFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SendBreakFailed)
400 #define EvtUSBH_HID_Configure EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_Configure)
401 #define EvtUSBH_HID_ConfigureFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_ConfigureFailed)
402 #define EvtUSBH_HID_Unconfigure EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_Unconfigure)
403 #define EvtUSBH_HID_UnconfigureFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_UnconfigureFailed)
404 #define EvtUSBH_HID_Initialize EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_Initialize)
405 #define EvtUSBH_HID_InitializeFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_InitializeFailed)
406 #define EvtUSBH_HID_OnInitialize EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_OnInitialize)
407 #define EvtUSBH_HID_Uninitialize EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_Uninitialize)
408 #define EvtUSBH_HID_UninitializeFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_UninitializeFailed)
409 #define EvtUSBH_HID_OnUninitialize EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_OnUninitialize)
410 #define EvtUSBH_HID_GetDevice EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetDevice)
411 #define EvtUSBH_HID_GetStatus EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetStatus)
412 #define EvtUSBH_HID_Read EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_Read)
413 #define EvtUSBH_HID_ReadFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_ReadFailed)
414 #define EvtUSBH_HID_ReadDone EventID(EventLevelDetail, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_ReadDone)
415 #define EvtUSBH_HID_Write EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_Write)
416 #define EvtUSBH_HID_WriteFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_WriteFailed)
417 #define EvtUSBH_HID_WriteDone EventID(EventLevelDetail, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_WriteDone)
418 #define EvtUSBH_HID_GetKeyboardKey EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetKeyboardKey)
419 #define EvtUSBH_HID_GetKeyboardKeyDone EventID(EventLevelDetail, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetKeyboardKeyDone)
420 #define EvtUSBH_HID_GetMouseState EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetMouseState)
421 #define EvtUSBH_HID_GetMouseStateFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetMouseStateFailed)
422 #define EvtUSBH_HID_GetMouseStateDone EventID(EventLevelDetail, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetMouseStateDone)
423 #define EvtUSBH_HID_OnParseReportDescriptor EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_OnParseReportDescriptor)
424 #define EvtUSBH_HID_OnDataReceived EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_OnDataReceived)
425 #define EvtUSBH_HID_GetReport EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetReport)
426 #define EvtUSBH_HID_GetReportFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetReportFailed)
427 #define EvtUSBH_HID_SetReport EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_SetReport)
428 #define EvtUSBH_HID_SetReportFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_SetReportFailed)
429 #define EvtUSBH_HID_GetIdle EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetIdle)
430 #define EvtUSBH_HID_GetIdleFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetIdleFailed)
431 #define EvtUSBH_HID_SetIdle EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_SetIdle)
432 #define EvtUSBH_HID_SetIdleFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_SetIdleFailed)
433 #define EvtUSBH_HID_GetProtocol EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetProtocol)
434 #define EvtUSBH_HID_GetProtocolFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetProtocolFailed)
435 #define EvtUSBH_HID_SetProtocol EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_SetProtocol)
436 #define EvtUSBH_HID_SetProtocolFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_SetProtocolFailed)
437 #define EvtUSBH_HID_ReportOut EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_ReportOut)
438 #define EvtUSBH_HID_ReportOutFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_ReportOutFailed)
441 #define EvtUSBH_MSC_Configure EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Configure)
442 #define EvtUSBH_MSC_ConfigureFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ConfigureFailed)
443 #define EvtUSBH_MSC_Unconfigure EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Unconfigure)
444 #define EvtUSBH_MSC_UnconfigureFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_UnconfigureFailed)
445 #define EvtUSBH_MSC_Initialize EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Initialize)
446 #define EvtUSBH_MSC_InitializeFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_InitializeFailed)
447 #define EvtUSBH_MSC_OnInitialize EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_OnInitialize)
448 #define EvtUSBH_MSC_Uninitialize EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Uninitialize)
449 #define EvtUSBH_MSC_UninitializeFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_UninitializeFailed)
450 #define EvtUSBH_MSC_OnUninitialize EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_OnUninitialize)
451 #define EvtUSBH_MSC_GetDevice EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_GetDevice)
452 #define EvtUSBH_MSC_GetStatus EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_GetStatus)
453 #define EvtUSBH_MSC_Read EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Read)
454 #define EvtUSBH_MSC_ReadFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ReadFailed)
455 #define EvtUSBH_MSC_ReadDone EventID(EventLevelDetail, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ReadDone)
456 #define EvtUSBH_MSC_Write EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Write)
457 #define EvtUSBH_MSC_WriteFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_WriteFailed)
458 #define EvtUSBH_MSC_WriteDone EventID(EventLevelDetail, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_WriteDone)
459 #define EvtUSBH_MSC_ReadCapacity EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ReadCapacity)
460 #define EvtUSBH_MSC_ReadCapacityFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ReadCapacityFailed)
461 #define EvtUSBH_MSC_ReadCapacityDone EventID(EventLevelDetail, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ReadCapacityDone)
462 #define EvtUSBH_MSC_BomReset EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_BomReset)
463 #define EvtUSBH_MSC_BomResetFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_BomResetFailed)
464 #define EvtUSBH_MSC_GetMaxLun EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_GetMaxLun)
465 #define EvtUSBH_MSC_GetMaxLunFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_GetMaxLunFailed)
466 #define EvtUSBH_MSC_ScsiTestUnitReady EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiTestUnitReady)
467 #define EvtUSBH_MSC_ScsiTestUnitReadyFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiTestUnitReadyFailed)
468 #define EvtUSBH_MSC_ScsiRequestSense EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiRequestSense)
469 #define EvtUSBH_MSC_ScsiRequestSenseFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiRequestSenseFailed)
470 #define EvtUSBH_MSC_ScsiInquiry EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiInquiry)
471 #define EvtUSBH_MSC_ScsiInquiryFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiInquiryFailed)
472 #define EvtUSBH_MSC_ScsiReadFormatCapacities EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiReadFormatCapacities)
473 #define EvtUSBH_MSC_ScsiReadFormatCapacitiesFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiReadFormatCapacitiesFailed)
474 #define EvtUSBH_MSC_ScsiReadCapacity EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiReadCapacity)
475 #define EvtUSBH_MSC_ScsiReadCapacityFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiReadCapacityFailed)
476 #define EvtUSBH_MSC_ScsiRead10 EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiRead10)
477 #define EvtUSBH_MSC_ScsiRead10Failed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiRead10Failed)
478 #define EvtUSBH_MSC_ScsiWrite10 EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiWrite10)
479 #define EvtUSBH_MSC_ScsiWrite10Failed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiWrite10Failed)
480 #define EvtUSBH_MSC_Recover EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Recover)
481 #define EvtUSBH_MSC_RecoverFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_RecoverFailed)
492 #ifdef EvtUSBH_Core_Initialize
494 EventRecord2( EvtUSBH_Core_Initialize, TO_BYTE0(ctrl), 0U);
497 #define EvrUSBH_Core_Initialize(...)
506 #ifdef EvtUSBH_Core_InitializeFailed
508 EventRecord2( EvtUSBH_Core_InitializeFailed, TO_BYTE0(ctrl), (uint32_t)error);
511 #define EvrUSBH_Core_InitializeFailed(...)
519 #ifdef EvtUSBH_Core_Uninitialize
521 EventRecord2( EvtUSBH_Core_Uninitialize, TO_BYTE0(ctrl), 0U);
524 #define EvrUSBH_Core_Uninitialize(...)
533 #ifdef EvtUSBH_Core_UninitializeFailed
535 EventRecord2( EvtUSBH_Core_UninitializeFailed, TO_BYTE0(ctrl), (uint32_t)error);
538 #define EvrUSBH_Core_UninitializeFailed(...)
547 #ifdef EvtUSBH_Core_PortSuspend
549 EventRecord2( EvtUSBH_Core_PortSuspend, TO_BYTE0(ctrl) | TO_BYTE1(port), 0U);
552 #define EvrUSBH_Core_PortSuspend(...)
562 #ifdef EvtUSBH_Core_PortSuspendFailed
564 EventRecord2( EvtUSBH_Core_PortSuspendFailed, TO_BYTE0(ctrl) | TO_BYTE1(port), (uint32_t)error);
567 #define EvrUSBH_Core_PortSuspendFailed(...)
576 #ifdef EvtUSBH_Core_PortResume
578 EventRecord2( EvtUSBH_Core_PortResume, TO_BYTE0(ctrl) | TO_BYTE1(port), 0U);
581 #define EvrUSBH_Core_PortResume(...)
591 #ifdef EvtUSBH_Core_PortResumeFailed
593 EventRecord2( EvtUSBH_Core_PortResumeFailed, TO_BYTE0(ctrl) | TO_BYTE1(port), (uint32_t)error);
596 #define EvrUSBH_Core_PortResumeFailed(...)
607 #ifdef EvtUSBH_Core_DeviceGetController
609 EventRecord2( EvtUSBH_Core_DeviceGetController, TO_BYTE0(device), TO_BYTE0(ctrl));
612 #define EvrUSBH_Core_DeviceGetController(...)
623 #ifdef EvtUSBH_Core_DeviceGetPort
625 EventRecord2( EvtUSBH_Core_DeviceGetPort, TO_BYTE0(device), TO_BYTE0(port));
628 #define EvrUSBH_Core_DeviceGetPort(...)
637 #ifdef EvtUSBH_Core_DeviceGetStatus
639 EventRecord2( EvtUSBH_Core_DeviceGetStatus, TO_BYTE0(device), (uint32_t)status);
642 #define EvrUSBH_Core_DeviceGetStatus(...)
651 #ifdef EvtUSBH_Core_DeviceGetSpeed
653 EventRecord2( EvtUSBH_Core_DeviceGetSpeed, TO_BYTE0(device), TO_BYTE0(speed));
656 #define EvrUSBH_Core_DeviceGetSpeed(...)
667 #ifdef EvtUSBH_Core_DeviceGetAddress
669 EventRecord2( EvtUSBH_Core_DeviceGetAddress, TO_BYTE0(device), TO_BYTE0(address));
672 #define EvrUSBH_Core_DeviceGetAddress(...)
681 #ifdef EvtUSBH_Core_DeviceGetVID
683 EventRecord2( EvtUSBH_Core_DeviceGetVID, TO_BYTE0(device), (uint32_t)(vid));
686 #define EvrUSBH_Core_DeviceGetVID(...)
695 #ifdef EvtUSBH_Core_DeviceGetPID
697 EventRecord2( EvtUSBH_Core_DeviceGetPID, TO_BYTE0(device), (uint32_t)(pid));
700 #define EvrUSBH_Core_DeviceGetPID(...)
711 #ifdef EvtUSBH_Core_DeviceGetStringDescriptor
713 EventRecord2( EvtUSBH_Core_DeviceGetStringDescriptor, TO_BYTE0(device) | TO_BYTE3(index), TO_BYTE2(lang_id) | (uint32_t)desc_length);
716 #define EvrUSBH_Core_DeviceGetStringDescriptor(...)
728 #ifdef EvtUSBH_Core_DeviceGetStringDescriptorFailed
730 EventRecord2( EvtUSBH_Core_DeviceGetStringDescriptorFailed, TO_BYTE0(device) | TO_BYTE3(index), TO_BYTE2(lang_id) | (uint32_t)desc_length | TO_BYTE3(error));
733 #define EvrUSBH_Core_DeviceGetStringDescriptorFailed(...)
755 #ifdef EvtUSBH_Core_OnNotify
757 EventRecord2( EvtUSBH_Core_OnNotify, TO_BYTE0(ctrl) | TO_BYTE1(port) | TO_BYTE2(device), (uint32_t)notify);
760 #define EvrUSBH_Core_OnNotify(...)
777 #ifdef EvtUSBH_Core_PipeCreate
778 __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) {
779 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);
782 #define EvrUSBH_Core_PipeCreate(...)
796 #ifdef EvtUSBH_Core_PipeCreateFailed
797 __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) {
798 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));
801 #define EvrUSBH_Core_PipeCreateFailed(...)
809 #ifdef EvtUSBH_Core_PipeUpdate
811 EventRecord2( EvtUSBH_Core_PipeUpdate, (uint32_t)pipe_hndl, 0U);
814 #define EvrUSBH_Core_PipeUpdate(...)
823 #ifdef EvtUSBH_Core_PipeUpdateFailed
825 EventRecord2( EvtUSBH_Core_PipeUpdateFailed, (uint32_t)pipe_hndl, (uint32_t)error);
828 #define EvrUSBH_Core_PipeUpdateFailed(...)
836 #ifdef EvtUSBH_Core_PipeDelete
838 EventRecord2( EvtUSBH_Core_PipeDelete, (uint32_t)pipe_hndl, 0U);
841 #define EvrUSBH_Core_PipeDelete(...)
850 #ifdef EvtUSBH_Core_PipeDeleteFailed
852 EventRecord2( EvtUSBH_Core_PipeDeleteFailed, (uint32_t)pipe_hndl, (uint32_t)error);
855 #define EvrUSBH_Core_PipeDeleteFailed(...)
863 #ifdef EvtUSBH_Core_PipeReset
865 EventRecord2( EvtUSBH_Core_PipeReset, (uint32_t)pipe_hndl, 0U);
868 #define EvrUSBH_Core_PipeReset(...)
877 #ifdef EvtUSBH_Core_PipeResetFailed
879 EventRecord2( EvtUSBH_Core_PipeResetFailed, (uint32_t)pipe_hndl, (uint32_t)error);
882 #define EvrUSBH_Core_PipeResetFailed(...)
891 #ifdef EvtUSBH_Core_PipeReceive
893 EventRecord2( EvtUSBH_Core_PipeReceive, (uint32_t)pipe_hndl, len);
896 #define EvrUSBH_Core_PipeReceive(...)
906 #ifdef EvtUSBH_Core_PipeReceiveFailed
908 EventRecord4( EvtUSBH_Core_PipeReceiveFailed, (uint32_t)pipe_hndl, len, (uint32_t)error, 0U);
911 #define EvrUSBH_Core_PipeReceiveFailed(...)
920 #ifdef EvtUSBH_Core_PipeReceiveGetResult
922 EventRecord2( EvtUSBH_Core_PipeReceiveGetResult, (uint32_t)pipe_hndl, num);
925 #define EvrUSBH_Core_PipeReceiveGetResult(...)
934 #ifdef EvtUSBH_Core_PipeSend
936 EventRecord2( EvtUSBH_Core_PipeSend, (uint32_t)pipe_hndl, len);
939 #define EvrUSBH_Core_PipeSend(...)
949 #ifdef EvtUSBH_Core_PipeSendFailed
951 EventRecord4( EvtUSBH_Core_PipeSendFailed, (uint32_t)pipe_hndl, len, (uint32_t)error, 0U);
954 #define EvrUSBH_Core_PipeSendFailed(...)
963 #ifdef EvtUSBH_Core_PipeSendGetResult
965 EventRecord2( EvtUSBH_Core_PipeSendGetResult, (uint32_t)pipe_hndl, num);
968 #define EvrUSBH_Core_PipeSendGetResult(...)
976 #ifdef EvtUSBH_Core_PipeAbort
978 EventRecord2( EvtUSBH_Core_PipeAbort, (uint32_t)pipe_hndl, 0U);
981 #define EvrUSBH_Core_PipeAbort(...)
990 #ifdef EvtUSBH_Core_PipeAbortFailed
992 EventRecord2( EvtUSBH_Core_PipeAbortFailed, (uint32_t)pipe_hndl, (uint32_t)error);
995 #define EvrUSBH_Core_PipeAbortFailed(...)
1005 #ifdef EvtUSBH_Core_ControlTransfer
1007 EventRecord4( EvtUSBH_Core_ControlTransfer, TO_BYTE0(device), *((uint32_t *)setup_packet), *((uint32_t *)setup_packet+1U), len);
1010 #define EvrUSBH_Core_ControlTransfer(...)
1020 #ifdef EvtUSBH_Core_ControlTransferFailed
1022 EventRecord4( EvtUSBH_Core_ControlTransferFailed, TO_BYTE0(device), *((uint32_t *)setup_packet), *((uint32_t *)setup_packet+1U), (uint32_t)error);
1025 #define EvrUSBH_Core_ControlTransferFailed(...)
1036 #ifdef EvtUSBH_Core_RequestGetStatus
1038 EventRecord2( EvtUSBH_Core_RequestGetStatus, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(index), (uint32_t)status);
1041 #define EvrUSBH_Core_RequestGetStatus(...)
1052 #ifdef EvtUSBH_Core_RequestGetStatusFailed
1054 EventRecord2( EvtUSBH_Core_RequestGetStatusFailed, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(index), (uint32_t)error);
1057 #define EvrUSBH_Core_RequestGetStatusFailed(...)
1068 #ifdef EvtUSBH_Core_RequestClearFeature
1070 EventRecord2( EvtUSBH_Core_RequestClearFeature, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(index) | TO_BYTE3(feature), 0U);
1073 #define EvrUSBH_Core_RequestClearFeature(...)
1085 #ifdef EvtUSBH_Core_RequestClearFeatureFailed
1087 EventRecord2( EvtUSBH_Core_RequestClearFeatureFailed, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(index) | TO_BYTE3(feature), (uint32_t)error);
1090 #define EvrUSBH_Core_RequestClearFeatureFailed(...)
1101 #ifdef EvtUSBH_Core_RequestSetFeature
1103 EventRecord2( EvtUSBH_Core_RequestSetFeature, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(index) | TO_BYTE3(feature), 0U);
1106 #define EvrUSBH_Core_RequestSetFeature(...)
1118 #ifdef EvtUSBH_Core_RequestSetFeatureFailed
1120 EventRecord2( EvtUSBH_Core_RequestSetFeatureFailed, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(index) | TO_BYTE3(feature), (uint32_t)error);
1123 #define EvrUSBH_Core_RequestSetFeatureFailed(...)
1132 #ifdef EvtUSBH_Core_RequestSetAddress
1134 EventRecord2( EvtUSBH_Core_RequestSetAddress, TO_BYTE0(device) | TO_BYTE1(address), 0U);
1137 #define EvrUSBH_Core_RequestSetAddress(...)
1147 #ifdef EvtUSBH_Core_RequestSetAddressFailed
1149 EventRecord2( EvtUSBH_Core_RequestSetAddressFailed, TO_BYTE0(device) | TO_BYTE1(address), (uint32_t)error);
1152 #define EvrUSBH_Core_RequestSetAddressFailed(...)
1165 #ifdef EvtUSBH_Core_RequestGetDescriptor
1167 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);
1170 #define EvrUSBH_Core_RequestGetDescriptor(...)
1184 #ifdef EvtUSBH_Core_RequestGetDescriptorFailed
1185 __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) {
1186 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);
1189 #define EvrUSBH_Core_RequestGetDescriptorFailed(...)
1202 #ifdef EvtUSBH_Core_RequestSetDescriptor
1204 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);
1207 #define EvrUSBH_Core_RequestSetDescriptor(...)
1221 #ifdef EvtUSBH_Core_RequestSetDescriptorFailed
1222 __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) {
1223 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);
1226 #define EvrUSBH_Core_RequestSetDescriptorFailed(...)
1235 #ifdef EvtUSBH_Core_RequestGetConfiguration
1237 EventRecord2( EvtUSBH_Core_RequestGetConfiguration, TO_BYTE0(device), (uint32_t)config);
1240 #define EvrUSBH_Core_RequestGetConfiguration(...)
1249 #ifdef EvtUSBH_Core_RequestGetConfigurationFailed
1251 EventRecord2( EvtUSBH_Core_RequestGetConfigurationFailed, TO_BYTE0(device), (uint32_t)error);
1254 #define EvrUSBH_Core_RequestGetConfigurationFailed(...)
1263 #ifdef EvtUSBH_Core_RequestSetConfiguration
1265 EventRecord2( EvtUSBH_Core_RequestSetConfiguration, TO_BYTE0(device) | TO_BYTE1(config), 0U);
1268 #define EvrUSBH_Core_RequestSetConfiguration(...)
1278 #ifdef EvtUSBH_Core_RequestSetConfigurationFailed
1280 EventRecord2( EvtUSBH_Core_RequestSetConfigurationFailed, TO_BYTE0(device) | TO_BYTE1(config), (uint32_t)error);
1283 #define EvrUSBH_Core_RequestSetConfigurationFailed(...)
1293 #ifdef EvtUSBH_Core_RequestGetInterface
1295 EventRecord2( EvtUSBH_Core_RequestGetInterface, TO_BYTE0(device) | TO_BYTE1(index), (uint32_t)alt);
1298 #define EvrUSBH_Core_RequestGetInterface(...)
1308 #ifdef EvtUSBH_Core_RequestGetInterfaceFailed
1310 EventRecord2( EvtUSBH_Core_RequestGetInterfaceFailed, TO_BYTE0(device) | TO_BYTE1(index), (uint32_t)error);
1313 #define EvrUSBH_Core_RequestGetInterfaceFailed(...)
1323 #ifdef EvtUSBH_Core_RequestSetInterface
1325 EventRecord2( EvtUSBH_Core_RequestSetInterface, TO_BYTE0(device) | TO_BYTE1(index) | TO_BYTE2(alt), 0U);
1328 #define EvrUSBH_Core_RequestSetInterface(...)
1339 #ifdef EvtUSBH_Core_RequestSetInterfaceFailed
1341 EventRecord2( EvtUSBH_Core_RequestSetInterfaceFailed, TO_BYTE0(device) | TO_BYTE1(index) | TO_BYTE2(alt), (uint32_t)error);
1344 #define EvrUSBH_Core_RequestSetInterfaceFailed(...)
1354 #ifdef EvtUSBH_Core_RequestSynchFrame
1356 EventRecord2( EvtUSBH_Core_RequestSynchFrame, TO_BYTE0(device) | TO_BYTE1(index), (uint32_t)frame_num);
1359 #define EvrUSBH_Core_RequestSynchFrame(...)
1369 #ifdef EvtUSBH_Core_RequestSynchFrameFailed
1371 EventRecord2( EvtUSBH_Core_RequestSynchFrameFailed, TO_BYTE0(device) | TO_BYTE1(index), (uint32_t)error);
1374 #define EvrUSBH_Core_RequestSynchFrameFailed(...)
1383 #ifdef EvtUSBH_Core_MemInitFailed
1385 EventRecord2( EvtUSBH_Core_MemInitFailed, TO_BYTE0(ctrl), (uint32_t)error);
1388 #define EvrUSBH_Core_MemInitFailed(...)
1396 #ifdef EvtUSBH_Core_MemInit
1398 EventRecord2( EvtUSBH_Core_MemInit, TO_BYTE0(ctrl), 0U);
1401 #define EvrUSBH_Core_MemInit(...)
1410 #ifdef EvtUSBH_Core_MemUninitFailed
1412 EventRecord2( EvtUSBH_Core_MemUninitFailed, TO_BYTE0(ctrl), (uint32_t)error);
1415 #define EvrUSBH_Core_MemUninitFailed(...)
1423 #ifdef EvtUSBH_Core_MemUninit
1425 EventRecord2( EvtUSBH_Core_MemUninit, TO_BYTE0(ctrl), 0U);
1428 #define EvrUSBH_Core_MemUninit(...)
1438 #ifdef EvtUSBH_Core_MemAllocFailed
1440 EventRecord2( EvtUSBH_Core_MemAllocFailed, TO_BYTE0(ctrl) | TO_BYTE1(error), size);
1443 #define EvrUSBH_Core_MemAllocFailed(...)
1453 #ifdef EvtUSBH_Core_MemAlloc
1455 EventRecord4( EvtUSBH_Core_MemAlloc, TO_BYTE0(ctrl), (uint32_t)ptr, size, 0U);
1458 #define EvrUSBH_Core_MemAlloc(...)
1468 #ifdef EvtUSBH_Core_MemFreeFailed
1470 EventRecord2( EvtUSBH_Core_MemFreeFailed, TO_BYTE0(ctrl) | TO_BYTE1(error), (uint32_t)ptr);
1473 #define EvrUSBH_Core_MemFreeFailed(...)
1482 #ifdef EvtUSBH_Core_MemFree
1484 EventRecord2( EvtUSBH_Core_MemFree, TO_BYTE0(ctrl), (uint32_t)ptr);
1487 #define EvrUSBH_Core_MemFree(...)
1498 #ifdef EvtUSBH_Core_Engine
1500 EventRecord2( EvtUSBH_Core_Engine, TO_BYTE0(ctrl) | TO_BYTE1(port) | TO_BYTE2(port_state), event);
1503 #define EvrUSBH_Core_Engine(...)
1513 #ifdef EvtUSBH_Core_EngineFailed
1515 EventRecord2( EvtUSBH_Core_EngineFailed, TO_BYTE0(ctrl) | TO_BYTE1(port), event);
1518 #define EvrUSBH_Core_EngineFailed(...)
1529 #ifdef EvtUSBH_Core_EngineDone
1531 EventRecord2( EvtUSBH_Core_EngineDone, TO_BYTE0(ctrl) | TO_BYTE1(port) | TO_BYTE2(port_state), event);
1534 #define EvrUSBH_Core_EngineDone(...)
1544 #ifdef EvtUSBH_Driver_Initialize
1546 EventRecord2( EvtUSBH_Driver_Initialize, TO_BYTE0(ctrl), 0U);
1549 #define EvrUSBH_Driver_Initialize(...)
1558 #ifdef EvtUSBH_Driver_InitializeFailed
1560 EventRecord2( EvtUSBH_Driver_InitializeFailed, TO_BYTE0(ctrl), (uint32_t)error);
1563 #define EvrUSBH_Driver_InitializeFailed(...)
1571 #ifdef EvtUSBH_Driver_Uninitialize
1573 EventRecord2( EvtUSBH_Driver_Uninitialize, TO_BYTE0(ctrl), 0U);
1576 #define EvrUSBH_Driver_Uninitialize(...)
1585 #ifdef EvtUSBH_Driver_UninitializeFailed
1587 EventRecord2( EvtUSBH_Driver_UninitializeFailed, TO_BYTE0(ctrl), (uint32_t)error);
1590 #define EvrUSBH_Driver_UninitializeFailed(...)
1599 #ifdef EvtUSBH_Driver_PowerControl
1601 EventRecord2( EvtUSBH_Driver_PowerControl, TO_BYTE0(ctrl) | TO_BYTE1(state), 0U);
1604 #define EvrUSBH_Driver_PowerControl(...)
1614 #ifdef EvtUSBH_Driver_PowerControlFailed
1616 EventRecord2( EvtUSBH_Driver_PowerControlFailed, TO_BYTE0(ctrl) | TO_BYTE1(state), (uint32_t)error);
1619 #define EvrUSBH_Driver_PowerControlFailed(...)
1631 #ifdef EvtUSBH_Driver_PortVbusOnOff
1633 EventRecord2( EvtUSBH_Driver_PortVbusOnOff, TO_BYTE0(ctrl) | TO_BYTE1(port) | TO_BYTE2(vbus), 0U);
1636 #define EvrUSBH_Driver_PortVbusOnOff(...)
1649 #ifdef EvtUSBH_Driver_PortVbusOnOffFailed
1651 EventRecord2( EvtUSBH_Driver_PortVbusOnOffFailed, TO_BYTE0(ctrl) | TO_BYTE1(port) | TO_BYTE2(vbus), (uint32_t)error);
1654 #define EvrUSBH_Driver_PortVbusOnOffFailed(...)
1663 #ifdef EvtUSBH_Driver_PortReset
1665 EventRecord2( EvtUSBH_Driver_PortReset, TO_BYTE0(ctrl) | TO_BYTE1(port), 0U);
1668 #define EvrUSBH_Driver_PortReset(...)
1678 #ifdef EvtUSBH_Driver_PortResetFailed
1680 EventRecord2( EvtUSBH_Driver_PortResetFailed, TO_BYTE0(ctrl) | TO_BYTE1(port), (uint32_t)error);
1683 #define EvrUSBH_Driver_PortResetFailed(...)
1692 #ifdef EvtUSBH_Driver_PortSuspend
1694 EventRecord2( EvtUSBH_Driver_PortSuspend, TO_BYTE0(ctrl) | TO_BYTE1(port), 0U);
1697 #define EvrUSBH_Driver_PortSuspend(...)
1707 #ifdef EvtUSBH_Driver_PortSuspendFailed
1709 EventRecord2( EvtUSBH_Driver_PortSuspendFailed, TO_BYTE0(ctrl) | TO_BYTE1(port), (uint32_t)error);
1712 #define EvrUSBH_Driver_PortSuspendFailed(...)
1721 #ifdef EvtUSBH_Driver_PortResume
1723 EventRecord2( EvtUSBH_Driver_PortResume, TO_BYTE0(ctrl) | TO_BYTE1(port), 0U);
1726 #define EvrUSBH_Driver_PortResume(...)
1736 #ifdef EvtUSBH_Driver_PortResumeFailed
1738 EventRecord2( EvtUSBH_Driver_PortResumeFailed, TO_BYTE0(ctrl) | TO_BYTE1(port), (uint32_t)error);
1741 #define EvrUSBH_Driver_PortResumeFailed(...)
1751 #ifdef EvtUSBH_Driver_PortGetState
1753 EventRecord2( EvtUSBH_Driver_PortGetState, TO_BYTE0(ctrl) | TO_BYTE1(port), (uint32_t)state.connected | ((uint32_t)(state.overcurrent) << 1) | ((uint32_t)(state.speed) << 2));
1756 #define EvrUSBH_Driver_PortGetState(...)
1775 #ifdef EvtUSBH_Driver_PipeCreate
1776 __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) {
1777 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);
1780 #define EvrUSBH_Driver_PipeCreate(...)
1798 #ifdef EvtUSBH_Driver_PipeCreateFailed
1799 __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) {
1800 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);
1803 #define EvrUSBH_Driver_PipeCreateFailed(...)
1817 #ifdef EvtUSBH_Driver_PipeModify
1818 __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) {
1819 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);
1822 #define EvrUSBH_Driver_PipeModify(...)
1837 #ifdef EvtUSBH_Driver_PipeModifyFailed
1838 __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) {
1839 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);
1842 #define EvrUSBH_Driver_PipeModifyFailed(...)
1851 #ifdef EvtUSBH_Driver_PipeDelete
1853 EventRecord2( EvtUSBH_Driver_PipeDelete, TO_BYTE0(ctrl), (uint32_t)pipe_hndl);
1856 #define EvrUSBH_Driver_PipeDelete(...)
1866 #ifdef EvtUSBH_Driver_PipeDeleteFailed
1868 EventRecord2( EvtUSBH_Driver_PipeDeleteFailed, TO_BYTE0(ctrl) | TO_BYTE1(error), (uint32_t)pipe_hndl);
1871 #define EvrUSBH_Driver_PipeDeleteFailed(...)
1880 #ifdef EvtUSBH_Driver_PipeReset
1882 EventRecord2( EvtUSBH_Driver_PipeReset, TO_BYTE0(ctrl), (uint32_t)pipe_hndl);
1885 #define EvrUSBH_Driver_PipeReset(...)
1895 #ifdef EvtUSBH_Driver_PipeResetFailed
1897 EventRecord2( EvtUSBH_Driver_PipeResetFailed, TO_BYTE0(ctrl) | TO_BYTE1(error), (uint32_t)pipe_hndl);
1900 #define EvrUSBH_Driver_PipeResetFailed(...)
1911 #ifdef EvtUSBH_Driver_PipeTransfer
1913 EventRecord4( EvtUSBH_Driver_PipeTransfer, TO_BYTE0(ctrl) | TO_BYTE1(packet), (uint32_t)pipe_hndl, num, 0U);
1916 #define EvrUSBH_Driver_PipeTransfer(...)
1928 #ifdef EvtUSBH_Driver_PipeTransferFailed
1930 EventRecord4( EvtUSBH_Driver_PipeTransferFailed, TO_BYTE0(ctrl) | TO_BYTE1(packet), (uint32_t)pipe_hndl, num, (uint32_t)error);
1933 #define EvrUSBH_Driver_PipeTransferFailed(...)
1943 #ifdef EvtUSBH_Driver_PipeTransferGetResult
1945 EventRecord4( EvtUSBH_Driver_PipeTransferGetResult, TO_BYTE0(ctrl), (uint32_t)pipe_hndl, num, 0U);
1948 #define EvrUSBH_Driver_PipeTransferGetResult(...)
1957 #ifdef EvtUSBH_Driver_PipeTransferAbort
1959 EventRecord2( EvtUSBH_Driver_PipeTransferAbort, TO_BYTE0(ctrl), (uint32_t)pipe_hndl);
1962 #define EvrUSBH_Driver_PipeTransferAbort(...)
1972 #ifdef EvtUSBH_Driver_PipeTransferAbortFailed
1974 EventRecord2( EvtUSBH_Driver_PipeTransferAbortFailed, TO_BYTE0(ctrl) | TO_BYTE1(error), (uint32_t)pipe_hndl);
1977 #define EvrUSBH_Driver_PipeTransferAbortFailed(...)
1986 #ifdef EvtUSBH_Driver_GetFrameNumber
1988 EventRecord2( EvtUSBH_Driver_GetFrameNumber, TO_BYTE0(ctrl), (uint32_t)frame_number);
1991 #define EvrUSBH_Driver_GetFrameNumber(...)
2001 #ifdef EvtUSBH_Driver_OnSignalPortEvent
2003 EventRecord2( EvtUSBH_Driver_OnSignalPortEvent, TO_BYTE0(ctrl) | TO_BYTE1(port), event);
2006 #define EvrUSBH_Driver_OnSignalPortEvent(...)
2016 #ifdef EvtUSBH_Driver_OnSignalPipeEvent
2018 EventRecord2( EvtUSBH_Driver_OnSignalPipeEvent, TO_BYTE0(ctrl) | TO_BYTE1(event), (uint32_t)pipe_hndl);
2021 #define EvrUSBH_Driver_OnSignalPipeEvent(...)
2034 #ifdef EvtUSBH_CC_GetDevice
2036 EventRecord2( EvtUSBH_CC_GetDevice, TO_BYTE0(instance), TO_BYTE0(device));
2039 #define EvrUSBH_CC_GetDevice(...)
2048 #ifdef EvtUSBH_CC_GetStatus
2050 EventRecord2( EvtUSBH_CC_GetStatus, TO_BYTE0(instance), (uint32_t)status);
2053 #define EvrUSBH_CC_GetStatus(...)
2068 #ifdef EvtUSBH_CC_OnConfigure
2069 __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) {
2070 EventRecord2( EvtUSBH_CC_OnConfigure, TO_BYTE0(device) | TO_BYTE1(
class) | TO_BYTE2(sub_class) | TO_BYTE3(instance), ((uint32_t)vid << 16) | (uint32_t)pid);
2073 #define EvrUSBH_CC_OnConfigure(...)
2082 #ifdef EvtUSBH_CC_OnUnconfigure
2084 EventRecord2( EvtUSBH_CC_OnUnconfigure, TO_BYTE0(instance), (uint32_t)status);
2087 #define EvrUSBH_CC_OnUnconfigure(...)
2096 #ifdef EvtUSBH_CC_OnInitialize
2098 EventRecord2( EvtUSBH_CC_OnInitialize, TO_BYTE0(instance), (uint32_t)status);
2101 #define EvrUSBH_CC_OnInitialize(...)
2110 #ifdef EvtUSBH_CC_OnUninitialize
2112 EventRecord2( EvtUSBH_CC_OnUninitialize, TO_BYTE0(instance), (uint32_t)status);
2115 #define EvrUSBH_CC_OnUninitialize(...)
2125 #ifdef EvtUSBH_CDC_ACM_Configure
2127 EventRecord2( EvtUSBH_CDC_ACM_Configure, TO_BYTE0(instance), 0U);
2130 #define EvrUSBH_CDC_ACM_Configure(...)
2138 #ifdef EvtUSBH_CDC_ACM_ConfigureFailed
2140 EventRecord2( EvtUSBH_CDC_ACM_ConfigureFailed, (uint32_t)error, 0U);
2143 #define EvrUSBH_CDC_ACM_ConfigureFailed(...)
2151 #ifdef EvtUSBH_CDC_ACM_Unconfigure
2153 EventRecord2( EvtUSBH_CDC_ACM_Unconfigure, TO_BYTE0(instance), 0U);
2156 #define EvrUSBH_CDC_ACM_Unconfigure(...)
2165 #ifdef EvtUSBH_CDC_ACM_UnconfigureFailed
2167 EventRecord2( EvtUSBH_CDC_ACM_UnconfigureFailed, TO_BYTE0(instance), (uint32_t)error);
2170 #define EvrUSBH_CDC_ACM_UnconfigureFailed(...)
2178 #ifdef EvtUSBH_CDC_ACM_Initialize
2180 EventRecord2( EvtUSBH_CDC_ACM_Initialize, TO_BYTE0(instance), 0U);
2183 #define EvrUSBH_CDC_ACM_Initialize(...)
2192 #ifdef EvtUSBH_CDC_ACM_InitializeFailed
2194 EventRecord2( EvtUSBH_CDC_ACM_InitializeFailed, TO_BYTE0(instance), (uint32_t)error);
2197 #define EvrUSBH_CDC_ACM_InitializeFailed(...)
2204 #ifdef EvtUSBH_CDC_ACM_OnInitialize
2206 EventRecord2( EvtUSBH_CDC_ACM_OnInitialize, TO_BYTE0(instance), 0U);
2209 #define EvrUSBH_CDC_ACM_OnInitialize(...)
2217 #ifdef EvtUSBH_CDC_ACM_Uninitialize
2219 EventRecord2( EvtUSBH_CDC_ACM_Uninitialize, TO_BYTE0(instance), 0U);
2222 #define EvrUSBH_CDC_ACM_Uninitialize(...)
2231 #ifdef EvtUSBH_CDC_ACM_UninitializeFailed
2233 EventRecord2( EvtUSBH_CDC_ACM_UninitializeFailed, TO_BYTE0(instance), (uint32_t)error);
2236 #define EvrUSBH_CDC_ACM_UninitializeFailed(...)
2244 #ifdef EvtUSBH_CDC_ACM_OnUninitialize
2246 EventRecord2( EvtUSBH_CDC_ACM_OnUninitialize, TO_BYTE0(instance), 0U);
2249 #define EvrUSBH_CDC_ACM_OnUninitialize(...)
2260 #ifdef EvtUSBH_CDC_ACM_GetDevice
2262 EventRecord2( EvtUSBH_CDC_ACM_GetDevice, TO_BYTE0(instance), TO_BYTE0(device));
2265 #define EvrUSBH_CDC_ACM_GetDevice(...)
2274 #ifdef EvtUSBH_CDC_ACM_GetStatus
2276 EventRecord2( EvtUSBH_CDC_ACM_GetStatus, TO_BYTE0(instance), (uint32_t)status);
2279 #define EvrUSBH_CDC_ACM_GetStatus(...)
2288 #ifdef EvtUSBH_CDC_ACM_Send
2290 EventRecord2( EvtUSBH_CDC_ACM_Send, TO_BYTE0(instance), num);
2293 #define EvrUSBH_CDC_ACM_Send(...)
2303 #ifdef EvtUSBH_CDC_ACM_SendFailed
2305 EventRecord2( EvtUSBH_CDC_ACM_SendFailed, TO_BYTE0(instance) | TO_BYTE1(error), num);
2308 #define EvrUSBH_CDC_ACM_SendFailed(...)
2317 #ifdef EvtUSBH_CDC_ACM_SendDone
2319 EventRecord2( EvtUSBH_CDC_ACM_SendDone, TO_BYTE0(instance), num);
2322 #define EvrUSBH_CDC_ACM_SendDone(...)
2331 #ifdef EvtUSBH_CDC_ACM_GetTxCount
2333 EventRecord2( EvtUSBH_CDC_ACM_GetTxCount, TO_BYTE0(instance), num);
2336 #define EvrUSBH_CDC_ACM_GetTxCount(...)
2345 #ifdef EvtUSBH_CDC_ACM_Receive
2347 EventRecord2( EvtUSBH_CDC_ACM_Receive, TO_BYTE0(instance), num);
2350 #define EvrUSBH_CDC_ACM_Receive(...)
2360 #ifdef EvtUSBH_CDC_ACM_ReceiveFailed
2362 EventRecord2( EvtUSBH_CDC_ACM_ReceiveFailed, TO_BYTE0(instance) | TO_BYTE1(error), num);
2365 #define EvrUSBH_CDC_ACM_ReceiveFailed(...)
2374 #ifdef EvtUSBH_CDC_ACM_ReceiveDone
2376 EventRecord2( EvtUSBH_CDC_ACM_ReceiveDone, TO_BYTE0(instance), num);
2379 #define EvrUSBH_CDC_ACM_ReceiveDone(...)
2388 #ifdef EvtUSBH_CDC_ACM_GetRxCount
2390 EventRecord2( EvtUSBH_CDC_ACM_GetRxCount, TO_BYTE0(instance), num);
2393 #define EvrUSBH_CDC_ACM_GetRxCount(...)
2402 #ifdef EvtUSBH_CDC_ACM_SetLineCoding
2404 EventRecord2( EvtUSBH_CDC_ACM_SetLineCoding, TO_BYTE0(instance), rate);
2407 #define EvrUSBH_CDC_ACM_SetLineCoding(...)
2417 #ifdef EvtUSBH_CDC_ACM_SetLineCodingFailed
2419 EventRecord2( EvtUSBH_CDC_ACM_SetLineCodingFailed, TO_BYTE0(instance) | TO_BYTE1(error), rate);
2422 #define EvrUSBH_CDC_ACM_SetLineCodingFailed(...)
2432 #ifdef EvtUSBH_CDC_ACM_GetLineCodingFailed
2434 EventRecord2( EvtUSBH_CDC_ACM_GetLineCodingFailed, TO_BYTE0(instance) | TO_BYTE1(error), rate);
2437 #define EvrUSBH_CDC_ACM_GetLineCodingFailed(...)
2446 #ifdef EvtUSBH_CDC_ACM_GetLineCoding
2448 EventRecord2( EvtUSBH_CDC_ACM_GetLineCoding, TO_BYTE0(instance), rate);
2451 #define EvrUSBH_CDC_ACM_GetLineCoding(...)
2461 #ifdef EvtUSBH_CDC_ACM_SetControlLineState
2463 EventRecord2( EvtUSBH_CDC_ACM_SetControlLineState, TO_BYTE0(instance), TO_BYTE0(dtr) | TO_BYTE1(rts));
2466 #define EvrUSBH_CDC_ACM_SetControlLineState(...)
2477 #ifdef EvtUSBH_CDC_ACM_SetControlLineStateFailed
2479 EventRecord2( EvtUSBH_CDC_ACM_SetControlLineStateFailed, TO_BYTE0(instance) | TO_BYTE1(error), TO_BYTE0(dtr) | TO_BYTE1(rts));
2482 #define EvrUSBH_CDC_ACM_SetControlLineStateFailed(...)
2498 #ifdef EvtUSBH_CDC_ACM_OnNotify
2500 EventRecord2( EvtUSBH_CDC_ACM_OnNotify, TO_BYTE0(instance), (uint32_t)state);
2503 #define EvrUSBH_CDC_ACM_OnNotify(...)
2514 #ifdef EvtUSBH_CDC_ACM_SendBreak
2516 EventRecord2( EvtUSBH_CDC_ACM_SendBreak, TO_BYTE0(instance), (uint32_t)duration);
2519 #define EvrUSBH_CDC_ACM_SendBreak(...)
2531 #ifdef EvtUSBH_CDC_ACM_SendBreakFailed
2533 EventRecord2( EvtUSBH_CDC_ACM_SendBreakFailed, TO_BYTE0(instance) | TO_BYTE1(error), (uint32_t)duration);
2536 #define EvrUSBH_CDC_ACM_SendBreakFailed(...)
2546 #ifdef EvtUSBH_HID_Configure
2548 EventRecord2( EvtUSBH_HID_Configure, TO_BYTE0(instance), 0U);
2551 #define EvrUSBH_HID_Configure(...)
2559 #ifdef EvtUSBH_HID_ConfigureFailed
2561 EventRecord2( EvtUSBH_HID_ConfigureFailed, (uint32_t)error, 0U);
2564 #define EvrUSBH_HID_ConfigureFailed(...)
2572 #ifdef EvtUSBH_HID_Unconfigure
2574 EventRecord2( EvtUSBH_HID_Unconfigure, TO_BYTE0(instance), 0U);
2577 #define EvrUSBH_HID_Unconfigure(...)
2586 #ifdef EvtUSBH_HID_UnconfigureFailed
2588 EventRecord2( EvtUSBH_HID_UnconfigureFailed, TO_BYTE0(instance), (uint32_t)error);
2591 #define EvrUSBH_HID_UnconfigureFailed(...)
2599 #ifdef EvtUSBH_HID_Initialize
2601 EventRecord2( EvtUSBH_HID_Initialize, TO_BYTE0(instance), 0U);
2604 #define EvrUSBH_HID_Initialize(...)
2613 #ifdef EvtUSBH_HID_InitializeFailed
2615 EventRecord2( EvtUSBH_HID_InitializeFailed, TO_BYTE0(instance), (uint32_t)error);
2618 #define EvrUSBH_HID_InitializeFailed(...)
2625 #ifdef EvtUSBH_HID_OnInitialize
2627 EventRecord2( EvtUSBH_HID_OnInitialize, TO_BYTE0(instance), 0U);
2630 #define EvrUSBH_HID_OnInitialize(...)
2638 #ifdef EvtUSBH_HID_Uninitialize
2640 EventRecord2( EvtUSBH_HID_Uninitialize, TO_BYTE0(instance), 0U);
2643 #define EvrUSBH_HID_Uninitialize(...)
2652 #ifdef EvtUSBH_HID_UninitializeFailed
2654 EventRecord2( EvtUSBH_HID_UninitializeFailed, TO_BYTE0(instance), (uint32_t)error);
2657 #define EvrUSBH_HID_UninitializeFailed(...)
2665 #ifdef EvtUSBH_HID_OnUninitialize
2667 EventRecord2( EvtUSBH_HID_OnUninitialize, TO_BYTE0(instance), 0U);
2670 #define EvrUSBH_HID_OnUninitialize(...)
2681 #ifdef EvtUSBH_HID_GetDevice
2683 EventRecord2( EvtUSBH_HID_GetDevice, TO_BYTE0(instance), TO_BYTE0(device));
2686 #define EvrUSBH_HID_GetDevice(...)
2695 #ifdef EvtUSBH_HID_GetStatus
2697 EventRecord2( EvtUSBH_HID_GetStatus, TO_BYTE0(instance), (uint32_t)status);
2700 #define EvrUSBH_HID_GetStatus(...)
2709 #ifdef EvtUSBH_HID_Read
2711 EventRecord2( EvtUSBH_HID_Read, TO_BYTE0(instance), (uint32_t)len);
2714 #define EvrUSBH_HID_Read(...)
2724 #ifdef EvtUSBH_HID_ReadFailed
2726 EventRecord2( EvtUSBH_HID_ReadFailed, TO_BYTE0(instance) | TO_BYTE1(error), (uint32_t)len);
2729 #define EvrUSBH_HID_ReadFailed(...)
2739 #ifdef EvtUSBH_HID_ReadDone
2741 EventRecord4( EvtUSBH_HID_ReadDone, TO_BYTE0(instance), (uint32_t)len, (uint32_t)result, 0U);
2744 #define EvrUSBH_HID_ReadDone(...)
2753 #ifdef EvtUSBH_HID_Write
2755 EventRecord2( EvtUSBH_HID_Write, TO_BYTE0(instance), (uint32_t)len);
2758 #define EvrUSBH_HID_Write(...)
2768 #ifdef EvtUSBH_HID_WriteFailed
2770 EventRecord2( EvtUSBH_HID_WriteFailed, TO_BYTE0(instance) | TO_BYTE1(error), (uint32_t)len);
2773 #define EvrUSBH_HID_WriteFailed(...)
2783 #ifdef EvtUSBH_HID_WriteDone
2785 EventRecord4( EvtUSBH_HID_WriteDone, TO_BYTE0(instance), (uint32_t)len, (uint32_t)result, 0U);
2788 #define EvrUSBH_HID_WriteDone(...)
2796 #ifdef EvtUSBH_HID_GetKeyboardKey
2798 EventRecord2( EvtUSBH_HID_GetKeyboardKey, TO_BYTE0(instance), 0U);
2801 #define EvrUSBH_HID_GetKeyboardKey(...)
2810 #ifdef EvtUSBH_HID_GetKeyboardKeyDone
2812 EventRecord2( EvtUSBH_HID_GetKeyboardKeyDone, TO_BYTE0(instance), (uint32_t)ch);
2815 #define EvrUSBH_HID_GetKeyboardKeyDone(...)
2823 #ifdef EvtUSBH_HID_GetMouseState
2825 EventRecord2( EvtUSBH_HID_GetMouseState, TO_BYTE0(instance), 0U);
2828 #define EvrUSBH_HID_GetMouseState(...)
2837 #ifdef EvtUSBH_HID_GetMouseStateFailed
2839 EventRecord2( EvtUSBH_HID_GetMouseStateFailed, TO_BYTE0(instance), (uint32_t)error);
2842 #define EvrUSBH_HID_GetMouseStateFailed(...)
2851 #ifdef EvtUSBH_HID_GetMouseStateDone
2853 EventRecord4( EvtUSBH_HID_GetMouseStateDone, TO_BYTE0(instance), (uint32_t)state.
button, ((uint32_t)state.
x << 16) | (uint32_t)state.
y, 0U);
2856 #define EvrUSBH_HID_GetMouseStateDone(...)
2865 #ifdef EvtUSBH_HID_OnParseReportDescriptor
2867 EventRecord2( EvtUSBH_HID_OnParseReportDescriptor, TO_BYTE0(instance), len);
2870 #define EvrUSBH_HID_OnParseReportDescriptor(...)
2879 #ifdef EvtUSBH_HID_OnDataReceived
2881 EventRecord2( EvtUSBH_HID_OnDataReceived, TO_BYTE0(instance), len);
2884 #define EvrUSBH_HID_OnDataReceived(...)
2892 #ifdef EvtUSBH_HID_GetReport
2894 EventRecord2( EvtUSBH_HID_GetReport, TO_BYTE0(instance), 0U);
2897 #define EvrUSBH_HID_GetReport(...)
2906 #ifdef EvtUSBH_HID_GetReportFailed
2908 EventRecord2( EvtUSBH_HID_GetReportFailed, TO_BYTE0(instance), (uint32_t)error);
2911 #define EvrUSBH_HID_GetReportFailed(...)
2919 #ifdef EvtUSBH_HID_SetReport
2921 EventRecord2( EvtUSBH_HID_SetReport, TO_BYTE0(instance), 0U);
2924 #define EvrUSBH_HID_SetReport(...)
2933 #ifdef EvtUSBH_HID_SetReportFailed
2935 EventRecord2( EvtUSBH_HID_SetReportFailed, TO_BYTE0(instance), (uint32_t)error);
2938 #define EvrUSBH_HID_SetReportFailed(...)
2946 #ifdef EvtUSBH_HID_GetIdle
2948 EventRecord2( EvtUSBH_HID_GetIdle, TO_BYTE0(instance), 0U);
2951 #define EvrUSBH_HID_GetIdle(...)
2960 #ifdef EvtUSBH_HID_GetIdleFailed
2962 EventRecord2( EvtUSBH_HID_GetIdleFailed, TO_BYTE0(instance), (uint32_t)error);
2965 #define EvrUSBH_HID_GetIdleFailed(...)
2973 #ifdef EvtUSBH_HID_SetIdle
2975 EventRecord2( EvtUSBH_HID_SetIdle, TO_BYTE0(instance), 0U);
2978 #define EvrUSBH_HID_SetIdle(...)
2987 #ifdef EvtUSBH_HID_SetIdleFailed
2989 EventRecord2( EvtUSBH_HID_SetIdleFailed, TO_BYTE0(instance), (uint32_t)error);
2992 #define EvrUSBH_HID_SetIdleFailed(...)
3000 #ifdef EvtUSBH_HID_GetProtocol
3002 EventRecord2( EvtUSBH_HID_GetProtocol, TO_BYTE0(instance), 0U);
3005 #define EvrUSBH_HID_GetProtocol(...)
3014 #ifdef EvtUSBH_HID_GetProtocolFailed
3016 EventRecord2( EvtUSBH_HID_GetProtocolFailed, TO_BYTE0(instance), (uint32_t)error);
3019 #define EvrUSBH_HID_GetProtocolFailed(...)
3027 #ifdef EvtUSBH_HID_SetProtocol
3029 EventRecord2( EvtUSBH_HID_SetProtocol, TO_BYTE0(instance), 0U);
3032 #define EvrUSBH_HID_SetProtocol(...)
3041 #ifdef EvtUSBH_HID_SetProtocolFailed
3043 EventRecord2( EvtUSBH_HID_SetProtocolFailed, TO_BYTE0(instance), (uint32_t)error);
3046 #define EvrUSBH_HID_SetProtocolFailed(...)
3054 #ifdef EvtUSBH_HID_ReportOut
3056 EventRecord2( EvtUSBH_HID_ReportOut, TO_BYTE0(instance), 0U);
3059 #define EvrUSBH_HID_ReportOut(...)
3068 #ifdef EvtUSBH_HID_ReportOutFailed
3070 EventRecord2( EvtUSBH_HID_ReportOutFailed, TO_BYTE0(instance), (uint32_t)error);
3073 #define EvrUSBH_HID_ReportOutFailed(...)
3083 #ifdef EvtUSBH_MSC_Configure
3085 EventRecord2( EvtUSBH_MSC_Configure, TO_BYTE0(instance), 0U);
3088 #define EvrUSBH_MSC_Configure(...)
3096 #ifdef EvtUSBH_MSC_ConfigureFailed
3098 EventRecord2( EvtUSBH_MSC_ConfigureFailed, (uint32_t)error, 0U);
3101 #define EvrUSBH_MSC_ConfigureFailed(...)
3109 #ifdef EvtUSBH_MSC_Unconfigure
3111 EventRecord2( EvtUSBH_MSC_Unconfigure, TO_BYTE0(instance), 0U);
3114 #define EvrUSBH_MSC_Unconfigure(...)
3123 #ifdef EvtUSBH_MSC_UnconfigureFailed
3125 EventRecord2( EvtUSBH_MSC_UnconfigureFailed, TO_BYTE0(instance), (uint32_t)error);
3128 #define EvrUSBH_MSC_UnconfigureFailed(...)
3136 #ifdef EvtUSBH_MSC_Initialize
3138 EventRecord2( EvtUSBH_MSC_Initialize, TO_BYTE0(instance), 0U);
3141 #define EvrUSBH_MSC_Initialize(...)
3150 #ifdef EvtUSBH_MSC_InitializeFailed
3152 EventRecord2( EvtUSBH_MSC_InitializeFailed, TO_BYTE0(instance), (uint32_t)error);
3155 #define EvrUSBH_MSC_InitializeFailed(...)
3162 #ifdef EvtUSBH_MSC_OnInitialize
3164 EventRecord2( EvtUSBH_MSC_OnInitialize, TO_BYTE0(instance), 0U);
3167 #define EvrUSBH_MSC_OnInitialize(...)
3175 #ifdef EvtUSBH_MSC_Uninitialize
3177 EventRecord2( EvtUSBH_MSC_Uninitialize, TO_BYTE0(instance), 0U);
3180 #define EvrUSBH_MSC_Uninitialize(...)
3189 #ifdef EvtUSBH_MSC_UninitializeFailed
3191 EventRecord2( EvtUSBH_MSC_UninitializeFailed, TO_BYTE0(instance), (uint32_t)error);
3194 #define EvrUSBH_MSC_UninitializeFailed(...)
3202 #ifdef EvtUSBH_MSC_OnUninitialize
3204 EventRecord2( EvtUSBH_MSC_OnUninitialize, TO_BYTE0(instance), 0U);
3207 #define EvrUSBH_MSC_OnUninitialize(...)
3218 #ifdef EvtUSBH_MSC_GetDevice
3220 EventRecord2( EvtUSBH_MSC_GetDevice, TO_BYTE0(instance), TO_BYTE0(device));
3223 #define EvrUSBH_MSC_GetDevice(...)
3232 #ifdef EvtUSBH_MSC_GetStatus
3234 EventRecord2( EvtUSBH_MSC_GetStatus, TO_BYTE0(instance), (uint32_t)status);
3237 #define EvrUSBH_MSC_GetStatus(...)
3247 #ifdef EvtUSBH_MSC_Read
3249 EventRecord4( EvtUSBH_MSC_Read, TO_BYTE0(instance), lba, cnt, 0U);
3252 #define EvrUSBH_MSC_Read(...)
3263 #ifdef EvtUSBH_MSC_ReadFailed
3265 EventRecord4( EvtUSBH_MSC_ReadFailed, TO_BYTE0(instance), lba, cnt, (uint32_t)error);
3268 #define EvrUSBH_MSC_ReadFailed(...)
3278 #ifdef EvtUSBH_MSC_ReadDone
3280 EventRecord4( EvtUSBH_MSC_ReadDone, TO_BYTE0(instance), lba, cnt, 0U);
3283 #define EvrUSBH_MSC_ReadDone(...)
3293 #ifdef EvtUSBH_MSC_Write
3295 EventRecord4( EvtUSBH_MSC_Write, TO_BYTE0(instance), lba, cnt, 0U);
3298 #define EvrUSBH_MSC_Write(...)
3309 #ifdef EvtUSBH_MSC_WriteFailed
3311 EventRecord4( EvtUSBH_MSC_WriteFailed, TO_BYTE0(instance), lba, cnt, (uint32_t)error);
3314 #define EvrUSBH_MSC_WriteFailed(...)
3324 #ifdef EvtUSBH_MSC_WriteDone
3326 EventRecord4( EvtUSBH_MSC_WriteDone, TO_BYTE0(instance), lba, cnt, 0U);
3329 #define EvrUSBH_MSC_WriteDone(...)
3337 #ifdef EvtUSBH_MSC_ReadCapacity
3339 EventRecord2( EvtUSBH_MSC_ReadCapacity, TO_BYTE0(instance), 0U);
3342 #define EvrUSBH_MSC_ReadCapacity(...)
3351 #ifdef EvtUSBH_MSC_ReadCapacityFailed
3353 EventRecord2( EvtUSBH_MSC_ReadCapacityFailed, TO_BYTE0(instance), (uint32_t)error);
3356 #define EvrUSBH_MSC_ReadCapacityFailed(...)
3366 #ifdef EvtUSBH_MSC_ReadCapacityDone
3368 EventRecord4( EvtUSBH_MSC_ReadCapacityDone, TO_BYTE0(instance), block_count, block_size, 0U);
3371 #define EvrUSBH_MSC_ReadCapacityDone(...)
3379 #ifdef EvtUSBH_MSC_BomReset
3381 EventRecord2( EvtUSBH_MSC_BomReset, TO_BYTE0(instance), 0U);
3384 #define EvrUSBH_MSC_BomReset(...)
3393 #ifdef EvtUSBH_MSC_BomResetFailed
3395 EventRecord2( EvtUSBH_MSC_BomResetFailed, TO_BYTE0(instance), (uint32_t)error);
3398 #define EvrUSBH_MSC_BomResetFailed(...)
3406 #ifdef EvtUSBH_MSC_GetMaxLun
3408 EventRecord2( EvtUSBH_MSC_GetMaxLun, TO_BYTE0(instance), 0U);
3411 #define EvrUSBH_MSC_GetMaxLun(...)
3420 #ifdef EvtUSBH_MSC_GetMaxLunFailed
3422 EventRecord2( EvtUSBH_MSC_GetMaxLunFailed, TO_BYTE0(instance), (uint32_t)error);
3425 #define EvrUSBH_MSC_GetMaxLunFailed(...)
3433 #ifdef EvtUSBH_MSC_ScsiTestUnitReady
3435 EventRecord2( EvtUSBH_MSC_ScsiTestUnitReady, TO_BYTE0(instance), 0U);
3438 #define EvrUSBH_MSC_ScsiTestUnitReady(...)
3447 #ifdef EvtUSBH_MSC_ScsiTestUnitReadyFailed
3449 EventRecord2( EvtUSBH_MSC_ScsiTestUnitReadyFailed, TO_BYTE0(instance), (uint32_t)error);
3452 #define EvrUSBH_MSC_ScsiTestUnitReadyFailed(...)
3460 #ifdef EvtUSBH_MSC_ScsiRequestSense
3462 EventRecord2( EvtUSBH_MSC_ScsiRequestSense, TO_BYTE0(instance), 0U);
3465 #define EvrUSBH_MSC_ScsiRequestSense(...)
3474 #ifdef EvtUSBH_MSC_ScsiRequestSenseFailed
3476 EventRecord2( EvtUSBH_MSC_ScsiRequestSenseFailed, TO_BYTE0(instance), (uint32_t)error);
3479 #define EvrUSBH_MSC_ScsiRequestSenseFailed(...)
3487 #ifdef EvtUSBH_MSC_ScsiInquiry
3489 EventRecord2( EvtUSBH_MSC_ScsiInquiry, TO_BYTE0(instance), 0U);
3492 #define EvrUSBH_MSC_ScsiInquiry(...)
3501 #ifdef EvtUSBH_MSC_ScsiInquiryFailed
3503 EventRecord2( EvtUSBH_MSC_ScsiInquiryFailed, TO_BYTE0(instance), (uint32_t)error);
3506 #define EvrUSBH_MSC_ScsiInquiryFailed(...)
3514 #ifdef EvtUSBH_MSC_ScsiReadFormatCapacities
3516 EventRecord2( EvtUSBH_MSC_ScsiReadFormatCapacities, TO_BYTE0(instance), 0U);
3519 #define EvrUSBH_MSC_ScsiReadFormatCapacities(...)
3528 #ifdef EvtUSBH_MSC_ScsiReadFormatCapacitiesFailed
3530 EventRecord2( EvtUSBH_MSC_ScsiReadFormatCapacitiesFailed, TO_BYTE0(instance), (uint32_t)error);
3533 #define EvrUSBH_MSC_ScsiReadFormatCapacitiesFailed(...)
3541 #ifdef EvtUSBH_MSC_ScsiReadCapacity
3543 EventRecord2( EvtUSBH_MSC_ScsiReadCapacity, TO_BYTE0(instance), 0U);
3546 #define EvrUSBH_MSC_ScsiReadCapacity(...)
3555 #ifdef EvtUSBH_MSC_ScsiReadCapacityFailed
3557 EventRecord2( EvtUSBH_MSC_ScsiReadCapacityFailed, TO_BYTE0(instance), (uint32_t)error);
3560 #define EvrUSBH_MSC_ScsiReadCapacityFailed(...)
3570 #ifdef EvtUSBH_MSC_ScsiRead10
3572 EventRecord4( EvtUSBH_MSC_ScsiRead10, TO_BYTE0(instance), block_addr, block_num, 0U);
3575 #define EvrUSBH_MSC_ScsiRead10(...)
3586 #ifdef EvtUSBH_MSC_ScsiRead10Failed
3588 EventRecord4( EvtUSBH_MSC_ScsiRead10Failed, TO_BYTE0(instance), block_addr, block_num, (uint32_t)error);
3591 #define EvrUSBH_MSC_ScsiRead10Failed(...)
3601 #ifdef EvtUSBH_MSC_ScsiWrite10
3603 EventRecord4( EvtUSBH_MSC_ScsiWrite10, TO_BYTE0(instance), block_addr, block_num, 0U);
3606 #define EvrUSBH_MSC_ScsiWrite10(...)
3617 #ifdef EvtUSBH_MSC_ScsiWrite10Failed
3619 EventRecord4( EvtUSBH_MSC_ScsiWrite10Failed, TO_BYTE0(instance), block_addr, block_num, (uint32_t)error);
3622 #define EvrUSBH_MSC_ScsiWrite10Failed(...)
3630 #ifdef EvtUSBH_MSC_Recover
3632 EventRecord2( EvtUSBH_MSC_Recover, TO_BYTE0(instance), 0U);
3635 #define EvrUSBH_MSC_Recover(...)
3644 #ifdef EvtUSBH_MSC_RecoverFailed
3646 EventRecord2( EvtUSBH_MSC_RecoverFailed, TO_BYTE0(instance), (uint32_t)error);
3649 #define EvrUSBH_MSC_RecoverFailed(...)
3652 #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:2934
__STATIC_INLINE void EvrUSBH_Core_DeviceGetVID(uint8_t device, uint16_t vid)
Event on USBH_Device_GetVID finished (API)
Definition: usbh_evr.h:682
__STATIC_INLINE void EvrUSBH_HID_GetMouseState(uint8_t instance)
Event on USBH_HID_GetMouseState start (API)
Definition: usbh_evr.h:2824
__STATIC_INLINE void EvrUSBH_MSC_Uninitialize(uint8_t instance)
Event on internal operation MSC device uninitialization start (Operation)
Definition: usbh_evr.h:3176
__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:3279
__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:3448
__STATIC_INLINE void EvrUSBH_Core_MemAlloc(uint8_t ctrl, uint8_t *ptr, uint32_t size)
Event on internal operation memory allocation finished successfully (Detail)
Definition: usbh_evr.h:1454
__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:1530
__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:592
__STATIC_INLINE void EvrUSBH_Core_MemUninit(uint8_t ctrl)
Event on internal operation memory uninitialization finished successfully (Detail) ...
Definition: usbh_evr.h:1424
__STATIC_INLINE void EvrUSBH_Core_PipeSend(USBH_PIPE_HANDLE pipe_hndl, uint32_t len)
Event on USBH_PipeSend start (API)
Definition: usbh_evr.h:935
__STATIC_INLINE void EvrUSBH_MSC_Configure(uint8_t instance)
Event on internal operation MSC device configuration start (Operation)
Definition: usbh_evr.h:3084
__STATIC_INLINE void EvrUSBH_Core_DeviceGetController(uint8_t device, uint8_t ctrl)
Event on USBH_Device_GetController finished (API)
Definition: usbh_evr.h:608
__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:2245
__STATIC_INLINE void EvrUSBH_MSC_InitializeFailed(uint8_t instance, usbStatus error)
Event on internal operation MSC device initialization failed (Error)
Definition: usbh_evr.h:3151
__STATIC_INLINE void EvrUSBH_HID_ReportOutFailed(uint8_t instance, usbStatus error)
Event on internal operation Report Out failed (Error)
Definition: usbh_evr.h:3069
__STATIC_INLINE void EvrUSBH_Core_PortSuspend(uint8_t ctrl, uint8_t port)
Event on USBH_Port_Suspend start (API)
Definition: usbh_evr.h:548
__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:1499
__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:2017
__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:1309
__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:2097
__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:1086
__STATIC_INLINE void EvrUSBH_Core_Uninitialize(uint8_t ctrl)
Event on USBH_Uninitialize start (API)
Definition: usbh_evr.h:520
__STATIC_INLINE void EvrUSBH_MSC_ScsiInquiryFailed(uint8_t instance, usbStatus error)
Event on internal operation SCSI Inquiry failed (Error)
Definition: usbh_evr.h:3502
__STATIC_INLINE void EvrUSBH_Core_DeviceGetSpeed(uint8_t device, uint8_t speed)
Event on USBH_Device_GetSpeed finished (API)
Definition: usbh_evr.h:652
__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:1867
__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:778
__STATIC_INLINE void EvrUSBH_HID_GetStatus(uint8_t instance, uint8_t status)
Event on USBH_HID_GetStatus finished (API)
Definition: usbh_evr.h:2696
__STATIC_INLINE void EvrUSBH_Core_DeviceGetPID(uint8_t device, uint16_t pid)
Event on USBH_Device_GetPID finished (API)
Definition: usbh_evr.h:696
__STATIC_INLINE void EvrUSBH_Core_RequestGetConfigurationFailed(uint8_t device, usbStatus error)
Event on USBH_DeviceRequest_GetConfiguration failed (Error)
Definition: usbh_evr.h:1250
__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:1370
__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:1203
__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:1776
__STATIC_INLINE void EvrUSBH_CDC_ACM_Initialize(uint8_t instance)
Event on internal operation CDC ACM device initialization start (Operation)
Definition: usbh_evr.h:2179
__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:2304
__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:2111
__STATIC_INLINE void EvrUSBH_HID_GetKeyboardKeyDone(uint8_t instance, int32_t ch)
Event on USBH_HID_GetKeyboardKey finished successfully (Detail)
Definition: usbh_evr.h:2811
__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:1737
__STATIC_INLINE void EvrUSBH_HID_SetProtocol(uint8_t instance)
Event on internal operation Set Protocol start (Operation)
Definition: usbh_evr.h:3028
__STATIC_INLINE void EvrUSBH_HID_Uninitialize(uint8_t instance)
Event on internal operation HID device uninitialization start (Operation)
Definition: usbh_evr.h:2639
__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:1279
__STATIC_INLINE void EvrUSBH_Driver_UninitializeFailed(uint8_t ctrl, int32_t error)
Event on ARM_USBH_Uninitialize failed (Error)
Definition: usbh_evr.h:1586
__STATIC_INLINE void EvrUSBH_Core_InitializeFailed(uint8_t ctrl, usbStatus error)
Event on USBH_Initialize failed (Error)
Definition: usbh_evr.h:507
__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:1102
__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:1069
__STATIC_INLINE void EvrUSBH_MSC_ReadCapacity(uint8_t instance)
Event on USBH_MSC_ReadCapacity start (API)
Definition: usbh_evr.h:3338
__STATIC_INLINE void EvrUSBH_MSC_GetStatus(uint8_t instance, uint8_t status)
Event on USBH_MSC_GetStatus finished (API)
Definition: usbh_evr.h:3233
__STATIC_INLINE void EvrUSBH_HID_GetKeyboardKey(uint8_t instance)
Event on USBH_HID_GetKeyboardKey start (API)
Definition: usbh_evr.h:2797
__STATIC_INLINE void EvrUSBH_Core_MemInitFailed(uint8_t ctrl, usbStatus error)
Event on internal operation memory initialization failed (Error)
Definition: usbh_evr.h:1384
__STATIC_INLINE void EvrUSBH_MSC_OnInitialize(uint8_t instance)
Event on USBH_MSC_Initialize user callback function start (API)
Definition: usbh_evr.h:3163
__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:1053
__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:3529
__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:2205
__STATIC_INLINE void EvrUSBH_MSC_GetMaxLunFailed(uint8_t instance, usbStatus error)
Event on internal operation Get Max LUN failed (Error)
Definition: usbh_evr.h:3421
__STATIC_INLINE void EvrUSBH_Core_MemFree(uint8_t ctrl, uint8_t *ptr)
Event on internal operation memory free finished successfully (Detail)
Definition: usbh_evr.h:1483
__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:1708
__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:2532
__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:1355
__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:1650
int16_t y
Absolute Y position change.
Definition: rl_usb.h:163
__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:2866
__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:1896
__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:2499
__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:2784
__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:2318
__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:1119
__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:2769
__STATIC_INLINE void EvrUSBH_MSC_ScsiTestUnitReady(uint8_t instance)
Event on internal operation SCSI Test Unit Ready start (Operation)
Definition: usbh_evr.h:3434
__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:1600
__STATIC_INLINE void EvrUSBH_HID_Write(uint8_t instance, int32_t len)
Event on USBH_HID_Write start (API)
Definition: usbh_evr.h:2754
__STATIC_INLINE void EvrUSBH_HID_ConfigureFailed(usbStatus error)
Event on internal operation HID device configuration failed (Error)
Definition: usbh_evr.h:2560
__STATIC_INLINE void EvrUSBH_CDC_ACM_Unconfigure(uint8_t instance)
Event on internal operation CDC ACM device unconfigure start (Operation)
Definition: usbh_evr.h:2152
__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:2361
__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:3394
__STATIC_INLINE void EvrUSBH_Core_PortResume(uint8_t ctrl, uint8_t port)
Event on USBH_Port_Resume start (API)
Definition: usbh_evr.h:577
__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:1852
__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:3310
__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:3367
__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:2880
__STATIC_INLINE void EvrUSBH_HID_GetReport(uint8_t instance)
Event on internal operation Get Report start (Operation)
Definition: usbh_evr.h:2893
__STATIC_INLINE void EvrUSBH_HID_GetReportFailed(uint8_t instance, usbStatus error)
Event on internal operation Get Report failed (Error)
Definition: usbh_evr.h:2907
__STATIC_INLINE void EvrUSBH_Driver_GetFrameNumber(uint8_t ctrl, uint16_t frame_number)
Event on ARM_USBH_GetFrameNumber finished (API)
Definition: usbh_evr.h:1987
__STATIC_INLINE void EvrUSBH_Core_PipeAbort(USBH_PIPE_HANDLE pipe_hndl)
Event on USBH_PipeAbort start (API)
Definition: usbh_evr.h:977
__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:2193
__STATIC_INLINE void EvrUSBH_MSC_RecoverFailed(uint8_t instance, usbStatus error)
Event on internal operation recover failed (Error)
Definition: usbh_evr.h:3645
__STATIC_INLINE void EvrUSBH_HID_GetIdleFailed(uint8_t instance, usbStatus error)
Event on internal operation Get Idle failed (Error)
Definition: usbh_evr.h:2961
__STATIC_INLINE void EvrUSBH_HID_SetIdle(uint8_t instance)
Event on internal operation Set Idle start (Operation)
Definition: usbh_evr.h:2974
__STATIC_INLINE void EvrUSBH_HID_SetProtocolFailed(uint8_t instance, usbStatus error)
Event on internal operation Set Protocol failed (Error)
Definition: usbh_evr.h:3042
__STATIC_INLINE void EvrUSBH_MSC_GetMaxLun(uint8_t instance)
Event on internal operation Get Max LUN start (Operation)
Definition: usbh_evr.h:3407
__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:2275
__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:1881
__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:1912
__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:2289
__STATIC_INLINE void EvrUSBH_HID_SetIdleFailed(uint8_t instance, usbStatus error)
Event on internal operation Set Idle failed (Error)
Definition: usbh_evr.h:2988
__STATIC_INLINE void EvrUSBH_Core_ControlTransfer(uint8_t device, void *setup_packet, uint32_t len)
Event on USBH_ControlTransfer start (API)
Definition: usbh_evr.h:1006
__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:3264
__STATIC_INLINE void EvrUSBH_HID_Configure(uint8_t instance)
Event on internal operation HID device configuration start (Operation)
Definition: usbh_evr.h:2547
__STATIC_INLINE void EvrUSBH_HID_GetProtocol(uint8_t instance)
Event on internal operation Get Protocol start (Operation)
Definition: usbh_evr.h:3001
__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:1294
__STATIC_INLINE void EvrUSBH_MSC_ConfigureFailed(usbStatus error)
Event on internal operation MSC device configuration failed (Error)
Definition: usbh_evr.h:3097
__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:2346
__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:2261
__STATIC_INLINE void EvrUSBH_HID_SetReport(uint8_t instance)
Event on internal operation Set Report start (Operation)
Definition: usbh_evr.h:2920
__STATIC_INLINE void EvrUSBH_HID_OnInitialize(uint8_t instance)
Event on USBH_HID_Initialize user callback function start (API)
Definition: usbh_evr.h:2626
__STATIC_INLINE void EvrUSBH_HID_UninitializeFailed(uint8_t instance, usbStatus error)
Event on internal operation HID device uninitialization failed (Error)
Definition: usbh_evr.h:2653
__STATIC_INLINE void EvrUSBH_HID_GetProtocolFailed(uint8_t instance, usbStatus error)
Event on internal operation Get Protocol failed (Error)
Definition: usbh_evr.h:3015
__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:1439
__STATIC_INLINE void EvrUSBH_Core_MemFreeFailed(uint8_t ctrl, uint8_t *ptr, usbStatus error)
Event on internal operation memory free failed (Error)
Definition: usbh_evr.h:1469
uint8_t button
Current button states.
Definition: rl_usb.h:161
__STATIC_INLINE void EvrUSBH_Driver_PortSuspend(uint8_t ctrl, uint8_t port)
Event on ARM_USBH_PortSuspend finished successfully (API)
Definition: usbh_evr.h:1693
__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:3294
__STATIC_INLINE void EvrUSBH_Core_DeviceGetPort(uint8_t device, uint8_t port)
Event on USBH_Device_GetPort finished (API)
Definition: usbh_evr.h:624
__STATIC_INLINE void EvrUSBH_Core_PipeReset(USBH_PIPE_HANDLE pipe_hndl)
Event on USBH_PipeReset start (API)
Definition: usbh_evr.h:864
__STATIC_INLINE void EvrUSBH_HID_Unconfigure(uint8_t instance)
Event on internal operation HID device unconfigure start (Operation)
Definition: usbh_evr.h:2573
__STATIC_INLINE void EvrUSBH_MSC_UnconfigureFailed(uint8_t instance, usbStatus error)
Event on internal operation MSC device uninitialization failed (Error)
Definition: usbh_evr.h:3124
__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:3618
__STATIC_INLINE void EvrUSBH_HID_GetMouseStateFailed(uint8_t instance, usbStatus error)
Event on USBH_HID_GetMouseState failed (Error)
Definition: usbh_evr.h:2838
__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:2083
__STATIC_INLINE void EvrUSBH_HID_GetIdle(uint8_t instance)
Event on internal operation Get Idle start (Operation)
Definition: usbh_evr.h:2947
__STATIC_INLINE void EvrUSBH_CDC_ACM_Uninitialize(uint8_t instance)
Event on internal operation CDC ACM device uninitialization start (Operation)
Definition: usbh_evr.h:2218
__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:3248
__STATIC_INLINE void EvrUSBH_HID_InitializeFailed(uint8_t instance, usbStatus error)
Event on internal operation HID device initialization failed (Error)
Definition: usbh_evr.h:2614
__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:1037
__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:1838
__STATIC_INLINE void EvrUSBH_Core_MemInit(uint8_t ctrl)
Event on internal operation memory initialization finished successfully (Detail)
Definition: usbh_evr.h:1397
__STATIC_INLINE void EvrUSBH_HID_ReportOut(uint8_t instance)
Event on internal operation Report Out start (Operation)
Definition: usbh_evr.h:3055
__STATIC_INLINE void EvrUSBH_MSC_ReadCapacityFailed(uint8_t instance, usbStatus error)
Event on USBH_MSC_ReadCapacity failed (Error)
Definition: usbh_evr.h:3352
__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:1679
__STATIC_INLINE void EvrUSBH_HID_Read(uint8_t instance, int32_t len)
Event on USBH_HID_Read start (API)
Definition: usbh_evr.h:2710
__STATIC_INLINE void EvrUSBH_Core_DeviceGetStatus(uint8_t device, usbStatus status)
Event on USBH_Device_GetStatus finished (API)
Definition: usbh_evr.h:638
__STATIC_INLINE void EvrUSBH_MSC_ScsiReadCapacityFailed(uint8_t instance, usbStatus error)
Event on internal operation SCSI Read Capacity failed (Error)
Definition: usbh_evr.h:3556
__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:1973
__STATIC_INLINE void EvrUSBH_HID_GetMouseStateDone(uint8_t instance, usbHID_MouseState state)
Event on USBH_HID_GetMouseState finished successfully (Detail)
Definition: usbh_evr.h:2852
__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:3587
__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:756
__STATIC_INLINE void EvrUSBH_MSC_GetDevice(uint8_t instance, uint8_t device)
Event on USBH_MSC_GetDevice finished (API)
Definition: usbh_evr.h:3219
__STATIC_INLINE void EvrUSBH_MSC_ScsiRequestSense(uint8_t instance)
Event on internal operation SCSI Request Sense start (Operation)
Definition: usbh_evr.h:3461
__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:2403
__STATIC_INLINE void EvrUSBH_MSC_ScsiRequestSenseFailed(uint8_t instance, usbStatus error)
Event on internal operation SCSI Request Sense failed (Error)
Definition: usbh_evr.h:3475
__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:2515
__STATIC_INLINE void EvrUSBH_Core_PipeUpdateFailed(USBH_PIPE_HANDLE pipe_hndl, usbStatus error)
Event on USBH_PipeUpdate failed (Error)
Definition: usbh_evr.h:824
__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:2375
__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:2740
__STATIC_INLINE void EvrUSBH_Driver_InitializeFailed(uint8_t ctrl, int32_t error)
Event on ARM_USBH_Initialize failed (Error)
Definition: usbh_evr.h:1559
__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:2332
__STATIC_INLINE void EvrUSBH_CC_GetDevice(uint8_t instance, uint8_t device)
Event on USBH_CustomClass_GetDevice finished (API)
Definition: usbh_evr.h:2035
__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:1929
Mouse state information.
Definition: rl_usb.h:159
__STATIC_INLINE void EvrUSBH_Core_PipeDeleteFailed(USBH_PIPE_HANDLE pipe_hndl, usbStatus error)
Event on USBH_PipeDelete failed (Error)
Definition: usbh_evr.h:851
__STATIC_INLINE void EvrUSBH_HID_GetDevice(uint8_t instance, uint8_t device)
Event on USBH_HID_GetDevice finished (API)
Definition: usbh_evr.h:2682
__STATIC_INLINE void EvrUSBH_Core_RequestSetConfiguration(uint8_t device, uint8_t config)
Event on USBH_DeviceRequest_SetConfiguration start (API)
Definition: usbh_evr.h:1264
__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:729
__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:3571
__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:1944
__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:1799
__STATIC_INLINE void EvrUSBH_HID_OnUninitialize(uint8_t instance)
Event on USBH_HID_Uninitialize user callback function start (API)
Definition: usbh_evr.h:2666
__STATIC_INLINE void EvrUSBH_MSC_OnUninitialize(uint8_t instance)
Event on USBH_MSC_Uninitialize user callback function start (API)
Definition: usbh_evr.h:3203
__STATIC_INLINE void EvrUSBH_HID_Initialize(uint8_t instance)
Event on internal operation HID device initialization start (Operation)
Definition: usbh_evr.h:2600
__STATIC_INLINE void EvrUSBH_Core_PipeReceiveGetResult(USBH_PIPE_HANDLE pipe_hndl, uint32_t num)
Event on USBH_PipeReceiveGetResult finished (API)
Definition: usbh_evr.h:921
__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:1632
__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:2478
__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:1340
__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:1514
__STATIC_INLINE void EvrUSBH_MSC_Recover(uint8_t instance)
Event on internal operation recover start (Operation)
Definition: usbh_evr.h:3631
__STATIC_INLINE void EvrUSBH_Driver_Initialize(uint8_t ctrl)
Event on ARM_USBH_Initialize finished successfully (API)
Definition: usbh_evr.h:1545
__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:2725
__STATIC_INLINE void EvrUSBH_Core_PipeResetFailed(USBH_PIPE_HANDLE pipe_hndl, usbStatus error)
Event on USBH_PipeReset failed (Error)
Definition: usbh_evr.h:878
__STATIC_INLINE void EvrUSBH_MSC_BomReset(uint8_t instance)
Event on internal operation Bulk-Only Mass Storage Reset start (Operation)
Definition: usbh_evr.h:3380
__STATIC_INLINE void EvrUSBH_HID_UnconfigureFailed(uint8_t instance, usbStatus error)
Event on internal operation HID device uninitialization failed (Error)
Definition: usbh_evr.h:2587
__STATIC_INLINE void EvrUSBH_Core_PipeUpdate(USBH_PIPE_HANDLE pipe_hndl)
Event on USBH_PipeUpdate start (API)
Definition: usbh_evr.h:810
__STATIC_INLINE void EvrUSBH_Core_PipeDelete(USBH_PIPE_HANDLE pipe_hndl)
Event on USBH_PipeDelete start (API)
Definition: usbh_evr.h:837
__STATIC_INLINE void EvrUSBH_Core_Initialize(uint8_t ctrl)
Event on USBH_Initialize start (API)
Definition: usbh_evr.h:493
__STATIC_INLINE void EvrUSBH_CDC_ACM_Configure(uint8_t instance)
Event on internal operation CDC ACM device configuration start (Operation)
Definition: usbh_evr.h:2126
__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:1958
__STATIC_INLINE void EvrUSBH_MSC_ScsiReadFormatCapacities(uint8_t instance)
Event on internal operation SCSI Read Format Capacities start (Operation)
Definition: usbh_evr.h:3515
__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:563
__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:2462
__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:1752
__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:2418
__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:907
__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:2069
__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:2002
__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:2447
__STATIC_INLINE void EvrUSBH_CC_GetStatus(uint8_t instance, uint8_t status)
Event on USBH_CustomClass_GetStatus finished (API)
Definition: usbh_evr.h:2049
__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:1615
int16_t x
Absolute X position change.
Definition: rl_usb.h:162
__STATIC_INLINE void EvrUSBH_Core_RequestGetConfiguration(uint8_t device, uint8_t config)
Event on USBH_DeviceRequest_GetConfiguration start (API)
Definition: usbh_evr.h:1236
__STATIC_INLINE void EvrUSBH_MSC_Unconfigure(uint8_t instance)
Event on internal operation MSC device unconfigure start (Operation)
Definition: usbh_evr.h:3110
__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:2232
__STATIC_INLINE void EvrUSBH_MSC_UninitializeFailed(uint8_t instance, usbStatus error)
Event on internal operation MSC device uninitialization failed (Error)
Definition: usbh_evr.h:3190
__STATIC_INLINE void EvrUSBH_Driver_Uninitialize(uint8_t ctrl)
Event on ARM_USBH_Uninitialize finished successfully (API)
Definition: usbh_evr.h:1572
__STATIC_INLINE void EvrUSBH_Core_UninitializeFailed(uint8_t ctrl, usbStatus error)
Event on USBH_Uninitialize failed (Error)
Definition: usbh_evr.h:534
__STATIC_INLINE void EvrUSBH_Core_ControlTransferFailed(uint8_t device, void *setup_packet, usbStatus error)
Event on USBH_ControlTransfer failed (Error)
Definition: usbh_evr.h:1021
__STATIC_INLINE void EvrUSBH_Core_MemUninitFailed(uint8_t ctrl, usbStatus error)
Event on internal operation memory uninitialization failed (Error)
Definition: usbh_evr.h:1411
__STATIC_INLINE void EvrUSBH_MSC_ScsiInquiry(uint8_t instance)
Event on internal operation SCSI Inquiry start (Operation)
Definition: usbh_evr.h:3488
__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:2433
__STATIC_INLINE void EvrUSBH_MSC_Initialize(uint8_t instance)
Event on internal operation MSC device initialization start (Operation)
Definition: usbh_evr.h:3137
__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:1166
__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:1818
__STATIC_INLINE void EvrUSBH_Core_RequestSetAddress(uint8_t device, uint8_t address)
Event on USBH_DeviceRequest_SetAddress start (API)
Definition: usbh_evr.h:1133
__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:2389
__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:712
__STATIC_INLINE void EvrUSBH_CDC_ACM_ConfigureFailed(usbStatus error)
Event on internal operation CDC ACM device configuration failed (Error)
Definition: usbh_evr.h:2139
__STATIC_INLINE void EvrUSBH_Driver_PortReset(uint8_t ctrl, uint8_t port)
Event on ARM_USBH_PortReset finished successfully (API)
Definition: usbh_evr.h:1664
__STATIC_INLINE void EvrUSBH_Core_PipeSendGetResult(USBH_PIPE_HANDLE pipe_hndl, uint32_t num)
Event on USBH_PipeSendGetResult finished (API)
Definition: usbh_evr.h:964
__STATIC_INLINE void EvrUSBH_Driver_PortResume(uint8_t ctrl, uint8_t port)
Event on ARM_USBH_PortResume finished successfully (API)
Definition: usbh_evr.h:1722
__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:1324
__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:950
__STATIC_INLINE void EvrUSBH_MSC_ScsiReadCapacity(uint8_t instance)
Event on internal operation SCSI Read Capacity start (Operation)
Definition: usbh_evr.h:3542
__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:3602
__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:2166
__STATIC_INLINE void EvrUSBH_Core_PipeReceive(USBH_PIPE_HANDLE pipe_hndl, uint32_t len)
Event on USBH_PipeReceive start (API)
Definition: usbh_evr.h:892
__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:1148
__STATIC_INLINE void EvrUSBH_Core_DeviceGetAddress(uint8_t device, uint8_t address)
Event on USBH_Device_GetAddress finished (API)
Definition: usbh_evr.h:668
__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:3325
__STATIC_INLINE void EvrUSBH_Core_PipeAbortFailed(USBH_PIPE_HANDLE pipe_hndl, usbStatus error)
Event on USBH_PipeAbort failed (Error)
Definition: usbh_evr.h:991