10 #define __USBH_EVR_H__
13 #include "Driver_USBH.h"
15 #if (defined(USBH_DEBUG) && (USBH_DEBUG == 1))
16 #include "EventRecorder.h"
21 #define EvtCompNo_USBH_Core 0xB0U
22 #define EvtCompNo_USBH_Driver 0xB1U
23 #define EvtCompNo_USBH_CC 0xB2U
24 #define EvtCompNo_USBH_CDC 0xB3U
25 #define EvtCompNo_USBH_HID 0xB4U
26 #define EvtCompNo_USBH_MSC 0xB5U
30 #define EvtMsgNo_USBH_Core_Initialize 0x00U
31 #define EvtMsgNo_USBH_Core_InitializeFailed 0x01U
32 #define EvtMsgNo_USBH_Core_Uninitialize 0x02U
33 #define EvtMsgNo_USBH_Core_UninitializeFailed 0x03U
34 #define EvtMsgNo_USBH_Core_PortSuspend 0x04U
35 #define EvtMsgNo_USBH_Core_PortSuspendFailed 0x05U
36 #define EvtMsgNo_USBH_Core_PortResume 0x06U
37 #define EvtMsgNo_USBH_Core_PortResumeFailed 0x07U
38 #define EvtMsgNo_USBH_Core_DeviceGetController 0x08U
39 #define EvtMsgNo_USBH_Core_DeviceGetPort 0x09U
40 #define EvtMsgNo_USBH_Core_DeviceGetStatus 0x0AU
41 #define EvtMsgNo_USBH_Core_DeviceGetSpeed 0x0BU
42 #define EvtMsgNo_USBH_Core_DeviceGetAddress 0x0CU
43 #define EvtMsgNo_USBH_Core_DeviceGetVID 0x0DU
44 #define EvtMsgNo_USBH_Core_DeviceGetPID 0x0EU
45 #define EvtMsgNo_USBH_Core_OnNotify 0x0FU
46 #define EvtMsgNo_USBH_Core_PipeCreate 0x10U
47 #define EvtMsgNo_USBH_Core_PipeCreateFailed 0x11U
48 #define EvtMsgNo_USBH_Core_PipeUpdate 0x12U
49 #define EvtMsgNo_USBH_Core_PipeUpdateFailed 0x13U
50 #define EvtMsgNo_USBH_Core_PipeDelete 0x14U
51 #define EvtMsgNo_USBH_Core_PipeDeleteFailed 0x15U
52 #define EvtMsgNo_USBH_Core_PipeReset 0x16U
53 #define EvtMsgNo_USBH_Core_PipeResetFailed 0x17U
54 #define EvtMsgNo_USBH_Core_PipeReceive 0x18U
55 #define EvtMsgNo_USBH_Core_PipeReceiveFailed 0x19U
56 #define EvtMsgNo_USBH_Core_PipeReceiveGetResult 0x1AU
57 #define EvtMsgNo_USBH_Core_PipeSend 0x1BU
58 #define EvtMsgNo_USBH_Core_PipeSendFailed 0x1CU
59 #define EvtMsgNo_USBH_Core_PipeSendGetResult 0x1DU
60 #define EvtMsgNo_USBH_Core_PipeAbort 0x1EU
61 #define EvtMsgNo_USBH_Core_PipeAbortFailed 0x1FU
62 #define EvtMsgNo_USBH_Core_ControlTransfer 0x2AU
63 #define EvtMsgNo_USBH_Core_ControlTransferFailed 0x2BU
64 #define EvtMsgNo_USBH_Core_RequestGetStatus 0x2CU
65 #define EvtMsgNo_USBH_Core_RequestGetStatusFailed 0x2DU
66 #define EvtMsgNo_USBH_Core_RequestClearFeature 0x2EU
67 #define EvtMsgNo_USBH_Core_RequestClearFeatureFailed 0x2FU
68 #define EvtMsgNo_USBH_Core_RequestSetFeature 0x30U
69 #define EvtMsgNo_USBH_Core_RequestSetFeatureFailed 0x31U
70 #define EvtMsgNo_USBH_Core_RequestSetAddress 0x32U
71 #define EvtMsgNo_USBH_Core_RequestSetAddressFailed 0x33U
72 #define EvtMsgNo_USBH_Core_RequestGetDescriptor 0x34U
73 #define EvtMsgNo_USBH_Core_RequestGetDescriptorFailed 0x35U
74 #define EvtMsgNo_USBH_Core_RequestSetDescriptor 0x36U
75 #define EvtMsgNo_USBH_Core_RequestSetDescriptorFailed 0x37U
76 #define EvtMsgNo_USBH_Core_RequestGetConfiguration 0x38U
77 #define EvtMsgNo_USBH_Core_RequestGetConfigurationFailed 0x39U
78 #define EvtMsgNo_USBH_Core_RequestSetConfiguration 0x3AU
79 #define EvtMsgNo_USBH_Core_RequestSetConfigurationFailed 0x3BU
80 #define EvtMsgNo_USBH_Core_RequestGetInterface 0x3CU
81 #define EvtMsgNo_USBH_Core_RequestGetInterfaceFailed 0x3DU
82 #define EvtMsgNo_USBH_Core_RequestSetInterface 0x3EU
83 #define EvtMsgNo_USBH_Core_RequestSetInterfaceFailed 0x3FU
84 #define EvtMsgNo_USBH_Core_RequestSynchFrame 0x40U
85 #define EvtMsgNo_USBH_Core_RequestSynchFrameFailed 0x41U
86 #define EvtMsgNo_USBH_Core_MemInitFailed 0x42U
87 #define EvtMsgNo_USBH_Core_MemInit 0x43U
88 #define EvtMsgNo_USBH_Core_MemUninitFailed 0x44U
89 #define EvtMsgNo_USBH_Core_MemUninit 0x45U
90 #define EvtMsgNo_USBH_Core_MemAllocFailed 0x46U
91 #define EvtMsgNo_USBH_Core_MemAlloc 0x47U
92 #define EvtMsgNo_USBH_Core_MemFreeFailed 0x48U
93 #define EvtMsgNo_USBH_Core_MemFree 0x49U
94 #define EvtMsgNo_USBH_Core_Engine 0x4AU
95 #define EvtMsgNo_USBH_Core_EngineFailed 0x4BU
96 #define EvtMsgNo_USBH_Core_EngineDone 0x4CU
97 #define EvtMsgNo_USBH_Core_DeviceGetStringDescriptorFailed 0x4DU
98 #define EvtMsgNo_USBH_Core_DeviceGetStringDescriptor 0x4EU
100 #define EvtMsgNo_USBH_Driver_Initialize 0x00U
101 #define EvtMsgNo_USBH_Driver_InitializeFailed 0x01U
102 #define EvtMsgNo_USBH_Driver_Uninitialize 0x02U
103 #define EvtMsgNo_USBH_Driver_UninitializeFailed 0x03U
104 #define EvtMsgNo_USBH_Driver_PowerControl 0x04U
105 #define EvtMsgNo_USBH_Driver_PowerControlFailed 0x05U
106 #define EvtMsgNo_USBH_Driver_PortVbusOnOff 0x06U
107 #define EvtMsgNo_USBH_Driver_PortVbusOnOffFailed 0x07U
108 #define EvtMsgNo_USBH_Driver_PortReset 0x08U
109 #define EvtMsgNo_USBH_Driver_PortResetFailed 0x09U
110 #define EvtMsgNo_USBH_Driver_PortSuspend 0x0AU
111 #define EvtMsgNo_USBH_Driver_PortSuspendFailed 0x0BU
112 #define EvtMsgNo_USBH_Driver_PortResume 0x0CU
113 #define EvtMsgNo_USBH_Driver_PortResumeFailed 0x0DU
114 #define EvtMsgNo_USBH_Driver_PortGetState 0x0EU
115 #define EvtMsgNo_USBH_Driver_PipeCreate 0x0FU
116 #define EvtMsgNo_USBH_Driver_PipeCreateFailed 0x10U
117 #define EvtMsgNo_USBH_Driver_PipeModify 0x11U
118 #define EvtMsgNo_USBH_Driver_PipeModifyFailed 0x12U
119 #define EvtMsgNo_USBH_Driver_PipeDelete 0x13U
120 #define EvtMsgNo_USBH_Driver_PipeDeleteFailed 0x14U
121 #define EvtMsgNo_USBH_Driver_PipeReset 0x15U
122 #define EvtMsgNo_USBH_Driver_PipeResetFailed 0x16U
123 #define EvtMsgNo_USBH_Driver_PipeTransfer 0x17U
124 #define EvtMsgNo_USBH_Driver_PipeTransferFailed 0x18U
125 #define EvtMsgNo_USBH_Driver_PipeTransferGetResult 0x19U
126 #define EvtMsgNo_USBH_Driver_PipeTransferAbort 0x1AU
127 #define EvtMsgNo_USBH_Driver_PipeTransferAbortFailed 0x1BU
128 #define EvtMsgNo_USBH_Driver_GetFrameNumber 0x1CU
129 #define EvtMsgNo_USBH_Driver_OnSignalPortEvent 0x1DU
130 #define EvtMsgNo_USBH_Driver_OnSignalPipeEvent 0x1EU
132 #define EvtMsgNo_USBH_CC_GetDevice 0x00U
133 #define EvtMsgNo_USBH_CC_GetStatus 0x01U
134 #define EvtMsgNo_USBH_CC_OnConfigure 0x02U
135 #define EvtMsgNo_USBH_CC_OnUnconfigure 0x03U
136 #define EvtMsgNo_USBH_CC_OnInitialize 0x04U
137 #define EvtMsgNo_USBH_CC_OnUninitialize 0x05U
139 #define EvtMsgNo_USBH_CDC_ACM_Configure 0x00U
140 #define EvtMsgNo_USBH_CDC_ACM_ConfigureFailed 0x01U
141 #define EvtMsgNo_USBH_CDC_ACM_Unconfigure 0x02U
142 #define EvtMsgNo_USBH_CDC_ACM_UnconfigureFailed 0x03U
143 #define EvtMsgNo_USBH_CDC_ACM_Initialize 0x04U
144 #define EvtMsgNo_USBH_CDC_ACM_InitializeFailed 0x05U
145 #define EvtMsgNo_USBH_CDC_ACM_OnInitialize 0x06U
146 #define EvtMsgNo_USBH_CDC_ACM_Uninitialize 0x07U
147 #define EvtMsgNo_USBH_CDC_ACM_UninitializeFailed 0x08U
148 #define EvtMsgNo_USBH_CDC_ACM_OnUninitialize 0x09U
149 #define EvtMsgNo_USBH_CDC_ACM_GetDevice 0x0AU
150 #define EvtMsgNo_USBH_CDC_ACM_GetStatus 0x0BU
151 #define EvtMsgNo_USBH_CDC_ACM_Send 0x0CU
152 #define EvtMsgNo_USBH_CDC_ACM_SendFailed 0x0DU
153 #define EvtMsgNo_USBH_CDC_ACM_SendDone 0x0EU
154 #define EvtMsgNo_USBH_CDC_ACM_GetTxCount 0x0FU
155 #define EvtMsgNo_USBH_CDC_ACM_Receive 0x10U
156 #define EvtMsgNo_USBH_CDC_ACM_ReceiveFailed 0x11U
157 #define EvtMsgNo_USBH_CDC_ACM_ReceiveDone 0x12U
158 #define EvtMsgNo_USBH_CDC_ACM_GetRxCount 0x13U
159 #define EvtMsgNo_USBH_CDC_ACM_SetLineCoding 0x14U
160 #define EvtMsgNo_USBH_CDC_ACM_SetLineCodingFailed 0x15U
161 #define EvtMsgNo_USBH_CDC_ACM_GetLineCodingFailed 0x16U
162 #define EvtMsgNo_USBH_CDC_ACM_GetLineCoding 0x17U
163 #define EvtMsgNo_USBH_CDC_ACM_SetControlLineState 0x18U
164 #define EvtMsgNo_USBH_CDC_ACM_SetControlLineStateFailed 0x19U
165 #define EvtMsgNo_USBH_CDC_ACM_OnNotify 0x1AU
166 #define EvtMsgNo_USBH_CDC_ACM_SendBreak 0x1BU
167 #define EvtMsgNo_USBH_CDC_ACM_SendBreakFailed 0x1CU
169 #define EvtMsgNo_USBH_HID_Configure 0x00U
170 #define EvtMsgNo_USBH_HID_ConfigureFailed 0x01U
171 #define EvtMsgNo_USBH_HID_Unconfigure 0x02U
172 #define EvtMsgNo_USBH_HID_UnconfigureFailed 0x03U
173 #define EvtMsgNo_USBH_HID_Initialize 0x04U
174 #define EvtMsgNo_USBH_HID_InitializeFailed 0x05U
175 #define EvtMsgNo_USBH_HID_OnInitialize 0x06U
176 #define EvtMsgNo_USBH_HID_Uninitialize 0x07U
177 #define EvtMsgNo_USBH_HID_UninitializeFailed 0x08U
178 #define EvtMsgNo_USBH_HID_OnUninitialize 0x09U
179 #define EvtMsgNo_USBH_HID_GetDevice 0x0AU
180 #define EvtMsgNo_USBH_HID_GetStatus 0x0BU
181 #define EvtMsgNo_USBH_HID_Read 0x0CU
182 #define EvtMsgNo_USBH_HID_ReadFailed 0x0DU
183 #define EvtMsgNo_USBH_HID_ReadDone 0x0EU
184 #define EvtMsgNo_USBH_HID_Write 0x0FU
185 #define EvtMsgNo_USBH_HID_WriteFailed 0x10U
186 #define EvtMsgNo_USBH_HID_WriteDone 0x11U
187 #define EvtMsgNo_USBH_HID_GetKeyboardKey 0x12U
188 #define EvtMsgNo_USBH_HID_GetKeyboardKeyDone 0x13U
189 #define EvtMsgNo_USBH_HID_GetMouseState 0x14U
190 #define EvtMsgNo_USBH_HID_GetMouseStateFailed 0x15U
191 #define EvtMsgNo_USBH_HID_GetMouseStateDone 0x16U
192 #define EvtMsgNo_USBH_HID_OnParseReportDescriptor 0x17U
193 #define EvtMsgNo_USBH_HID_OnDataReceived 0x18U
194 #define EvtMsgNo_USBH_HID_GetReport 0x19U
195 #define EvtMsgNo_USBH_HID_GetReportFailed 0x1AU
196 #define EvtMsgNo_USBH_HID_SetReport 0x1BU
197 #define EvtMsgNo_USBH_HID_SetReportFailed 0x1CU
198 #define EvtMsgNo_USBH_HID_GetIdle 0x1DU
199 #define EvtMsgNo_USBH_HID_GetIdleFailed 0x1EU
200 #define EvtMsgNo_USBH_HID_SetIdle 0x1FU
201 #define EvtMsgNo_USBH_HID_SetIdleFailed 0x20U
202 #define EvtMsgNo_USBH_HID_GetProtocol 0x21U
203 #define EvtMsgNo_USBH_HID_GetProtocolFailed 0x22U
204 #define EvtMsgNo_USBH_HID_SetProtocol 0x23U
205 #define EvtMsgNo_USBH_HID_SetProtocolFailed 0x24U
206 #define EvtMsgNo_USBH_HID_ReportOut 0x25U
207 #define EvtMsgNo_USBH_HID_ReportOutFailed 0x26U
209 #define EvtMsgNo_USBH_MSC_Configure 0x00U
210 #define EvtMsgNo_USBH_MSC_ConfigureFailed 0x01U
211 #define EvtMsgNo_USBH_MSC_Unconfigure 0x02U
212 #define EvtMsgNo_USBH_MSC_UnconfigureFailed 0x03U
213 #define EvtMsgNo_USBH_MSC_Initialize 0x04U
214 #define EvtMsgNo_USBH_MSC_InitializeFailed 0x05U
215 #define EvtMsgNo_USBH_MSC_OnInitialize 0x06U
216 #define EvtMsgNo_USBH_MSC_Uninitialize 0x07U
217 #define EvtMsgNo_USBH_MSC_UninitializeFailed 0x08U
218 #define EvtMsgNo_USBH_MSC_OnUninitialize 0x09U
219 #define EvtMsgNo_USBH_MSC_GetDevice 0x0AU
220 #define EvtMsgNo_USBH_MSC_GetStatus 0x0BU
221 #define EvtMsgNo_USBH_MSC_Read 0x0CU
222 #define EvtMsgNo_USBH_MSC_ReadFailed 0x0DU
223 #define EvtMsgNo_USBH_MSC_ReadDone 0x0EU
224 #define EvtMsgNo_USBH_MSC_Write 0x0FU
225 #define EvtMsgNo_USBH_MSC_WriteFailed 0x10U
226 #define EvtMsgNo_USBH_MSC_WriteDone 0x11U
227 #define EvtMsgNo_USBH_MSC_ReadCapacity 0x12U
228 #define EvtMsgNo_USBH_MSC_ReadCapacityFailed 0x13U
229 #define EvtMsgNo_USBH_MSC_ReadCapacityDone 0x14U
230 #define EvtMsgNo_USBH_MSC_BomReset 0x15U
231 #define EvtMsgNo_USBH_MSC_BomResetFailed 0x16U
232 #define EvtMsgNo_USBH_MSC_GetMaxLun 0x17U
233 #define EvtMsgNo_USBH_MSC_GetMaxLunFailed 0x18U
234 #define EvtMsgNo_USBH_MSC_ScsiTestUnitReady 0x19U
235 #define EvtMsgNo_USBH_MSC_ScsiTestUnitReadyFailed 0x1AU
236 #define EvtMsgNo_USBH_MSC_ScsiRequestSense 0x1BU
237 #define EvtMsgNo_USBH_MSC_ScsiRequestSenseFailed 0x1CU
238 #define EvtMsgNo_USBH_MSC_ScsiInquiry 0x1DU
239 #define EvtMsgNo_USBH_MSC_ScsiInquiryFailed 0x1EU
240 #define EvtMsgNo_USBH_MSC_ScsiReadFormatCapacities 0x1FU
241 #define EvtMsgNo_USBH_MSC_ScsiReadFormatCapacitiesFailed 0x20U
242 #define EvtMsgNo_USBH_MSC_ScsiReadCapacity 0x21U
243 #define EvtMsgNo_USBH_MSC_ScsiReadCapacityFailed 0x22U
244 #define EvtMsgNo_USBH_MSC_ScsiRead10 0x23U
245 #define EvtMsgNo_USBH_MSC_ScsiRead10Failed 0x24U
246 #define EvtMsgNo_USBH_MSC_ScsiWrite10 0x25U
247 #define EvtMsgNo_USBH_MSC_ScsiWrite10Failed 0x26U
248 #define EvtMsgNo_USBH_MSC_Recover 0x27U
249 #define EvtMsgNo_USBH_MSC_RecoverFailed 0x28U
251 #if (defined(USBH_DEBUG) && (USBH_DEBUG == 1)) // Define USB Host Library debug events
254 #define TO_BYTE0(x) (((uint32_t)(x) & 0xFFU))
255 #define TO_BYTE1(x) (((uint32_t)(x) & 0xFFU) << 8)
256 #define TO_BYTE2(x) (((uint32_t)(x) & 0xFFU) << 16)
257 #define TO_BYTE3(x) (((uint32_t)(x) & 0xFFU) << 24)
260 #define EvtUSBH_Core_Initialize EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_Initialize)
261 #define EvtUSBH_Core_InitializeFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_InitializeFailed)
262 #define EvtUSBH_Core_Uninitialize EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_Uninitialize)
263 #define EvtUSBH_Core_UninitializeFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_UninitializeFailed)
264 #define EvtUSBH_Core_PortSuspend EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PortSuspend)
265 #define EvtUSBH_Core_PortSuspendFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PortSuspendFailed)
266 #define EvtUSBH_Core_PortResume EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PortResume)
267 #define EvtUSBH_Core_PortResumeFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PortResumeFailed)
268 #define EvtUSBH_Core_DeviceGetController EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetController)
269 #define EvtUSBH_Core_DeviceGetPort EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetPort)
270 #define EvtUSBH_Core_DeviceGetStatus EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetStatus)
271 #define EvtUSBH_Core_DeviceGetSpeed EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetSpeed)
272 #define EvtUSBH_Core_DeviceGetAddress EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetAddress)
273 #define EvtUSBH_Core_DeviceGetVID EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetVID)
274 #define EvtUSBH_Core_DeviceGetPID EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetPID)
275 #define EvtUSBH_Core_OnNotify EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_OnNotify)
276 #define EvtUSBH_Core_PipeCreate EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeCreate)
277 #define EvtUSBH_Core_PipeCreateFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeCreateFailed)
278 #define EvtUSBH_Core_PipeUpdate EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeUpdate)
279 #define EvtUSBH_Core_PipeUpdateFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeUpdateFailed)
280 #define EvtUSBH_Core_PipeDelete EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeDelete)
281 #define EvtUSBH_Core_PipeDeleteFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeDeleteFailed)
282 #define EvtUSBH_Core_PipeReset EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeReset)
283 #define EvtUSBH_Core_PipeResetFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeResetFailed)
284 #define EvtUSBH_Core_PipeReceive EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeReceive)
285 #define EvtUSBH_Core_PipeReceiveFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeReceiveFailed)
286 #define EvtUSBH_Core_PipeReceiveGetResult EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeReceiveGetResult)
287 #define EvtUSBH_Core_PipeSend EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeSend)
288 #define EvtUSBH_Core_PipeSendFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeSendFailed)
289 #define EvtUSBH_Core_PipeSendGetResult EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeSendGetResult)
290 #define EvtUSBH_Core_PipeAbort EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeAbort)
291 #define EvtUSBH_Core_PipeAbortFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_PipeAbortFailed)
292 #define EvtUSBH_Core_ControlTransfer EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_ControlTransfer)
293 #define EvtUSBH_Core_ControlTransferFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_ControlTransferFailed)
294 #define EvtUSBH_Core_RequestGetStatus EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetStatus)
295 #define EvtUSBH_Core_RequestGetStatusFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetStatusFailed)
296 #define EvtUSBH_Core_RequestClearFeature EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestClearFeature)
297 #define EvtUSBH_Core_RequestClearFeatureFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestClearFeatureFailed)
298 #define EvtUSBH_Core_RequestSetFeature EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetFeature)
299 #define EvtUSBH_Core_RequestSetFeatureFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetFeatureFailed)
300 #define EvtUSBH_Core_RequestSetAddress EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetAddress)
301 #define EvtUSBH_Core_RequestSetAddressFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetAddressFailed)
302 #define EvtUSBH_Core_RequestGetDescriptor EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetDescriptor)
303 #define EvtUSBH_Core_RequestGetDescriptorFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetDescriptorFailed)
304 #define EvtUSBH_Core_RequestSetDescriptor EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetDescriptor)
305 #define EvtUSBH_Core_RequestSetDescriptorFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetDescriptorFailed)
306 #define EvtUSBH_Core_RequestGetConfiguration EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetConfiguration)
307 #define EvtUSBH_Core_RequestGetConfigurationFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetConfigurationFailed)
308 #define EvtUSBH_Core_RequestSetConfiguration EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetConfiguration)
309 #define EvtUSBH_Core_RequestSetConfigurationFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetConfigurationFailed)
310 #define EvtUSBH_Core_RequestGetInterface EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetInterface)
311 #define EvtUSBH_Core_RequestGetInterfaceFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestGetInterfaceFailed)
312 #define EvtUSBH_Core_RequestSetInterface EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetInterface)
313 #define EvtUSBH_Core_RequestSetInterfaceFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSetInterfaceFailed)
314 #define EvtUSBH_Core_RequestSynchFrame EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSynchFrame)
315 #define EvtUSBH_Core_RequestSynchFrameFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_RequestSynchFrameFailed)
316 #define EvtUSBH_Core_MemInitFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemInitFailed)
317 #define EvtUSBH_Core_MemInit EventID(EventLevelDetail, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemInit)
318 #define EvtUSBH_Core_MemUninitFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemUninitFailed)
319 #define EvtUSBH_Core_MemUninit EventID(EventLevelDetail, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemUninit)
320 #define EvtUSBH_Core_MemAllocFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemAllocFailed)
321 #define EvtUSBH_Core_MemAlloc EventID(EventLevelDetail, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemAlloc)
322 #define EvtUSBH_Core_MemFreeFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemFreeFailed)
323 #define EvtUSBH_Core_MemFree EventID(EventLevelDetail, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_MemFree)
324 #define EvtUSBH_Core_Engine EventID(EventLevelDetail, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_Engine)
325 #define EvtUSBH_Core_EngineFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_EngineFailed)
326 #define EvtUSBH_Core_EngineDone EventID(EventLevelDetail, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_EngineDone)
327 #define EvtUSBH_Core_DeviceGetStringDescriptor EventID(EventLevelAPI, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetStringDescriptor)
328 #define EvtUSBH_Core_DeviceGetStringDescriptorFailed EventID(EventLevelError, EvtCompNo_USBH_Core, EvtMsgNo_USBH_Core_DeviceGetStringDescriptorFailed)
331 #define EvtUSBH_Driver_Initialize EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_Initialize)
332 #define EvtUSBH_Driver_InitializeFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_InitializeFailed)
333 #define EvtUSBH_Driver_Uninitialize EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_Uninitialize)
334 #define EvtUSBH_Driver_UninitializeFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_UninitializeFailed)
335 #define EvtUSBH_Driver_PowerControl EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PowerControl)
336 #define EvtUSBH_Driver_PowerControlFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PowerControlFailed)
337 #define EvtUSBH_Driver_PortVbusOnOff EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortVbusOnOff)
338 #define EvtUSBH_Driver_PortVbusOnOffFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortVbusOnOffFailed)
339 #define EvtUSBH_Driver_PortReset EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortReset)
340 #define EvtUSBH_Driver_PortResetFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortResetFailed)
341 #define EvtUSBH_Driver_PortSuspend EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortSuspend)
342 #define EvtUSBH_Driver_PortSuspendFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortSuspendFailed)
343 #define EvtUSBH_Driver_PortResume EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortResume)
344 #define EvtUSBH_Driver_PortResumeFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortResumeFailed)
345 #define EvtUSBH_Driver_PortGetState EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PortGetState)
346 #define EvtUSBH_Driver_PipeCreate EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeCreate)
347 #define EvtUSBH_Driver_PipeCreateFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeCreateFailed)
348 #define EvtUSBH_Driver_PipeModify EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeModify)
349 #define EvtUSBH_Driver_PipeModifyFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeModifyFailed)
350 #define EvtUSBH_Driver_PipeDelete EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeDelete)
351 #define EvtUSBH_Driver_PipeDeleteFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeDeleteFailed)
352 #define EvtUSBH_Driver_PipeReset EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeReset)
353 #define EvtUSBH_Driver_PipeResetFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeResetFailed)
354 #define EvtUSBH_Driver_PipeTransfer EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeTransfer)
355 #define EvtUSBH_Driver_PipeTransferFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeTransferFailed)
356 #define EvtUSBH_Driver_PipeTransferGetResult EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeTransferGetResult)
357 #define EvtUSBH_Driver_PipeTransferAbort EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeTransferAbort)
358 #define EvtUSBH_Driver_PipeTransferAbortFailed EventID(EventLevelError, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_PipeTransferAbortFailed)
359 #define EvtUSBH_Driver_GetFrameNumber EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_GetFrameNumber)
360 #define EvtUSBH_Driver_OnSignalPortEvent EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_OnSignalPortEvent)
361 #define EvtUSBH_Driver_OnSignalPipeEvent EventID(EventLevelAPI, EvtCompNo_USBH_Driver, EvtMsgNo_USBH_Driver_OnSignalPipeEvent)
364 #define EvtUSBH_CC_GetDevice EventID(EventLevelAPI, EvtCompNo_USBH_CC, EvtMsgNo_USBH_CC_GetDevice)
365 #define EvtUSBH_CC_GetStatus EventID(EventLevelAPI, EvtCompNo_USBH_CC, EvtMsgNo_USBH_CC_GetStatus)
366 #define EvtUSBH_CC_OnConfigure EventID(EventLevelAPI, EvtCompNo_USBH_CC, EvtMsgNo_USBH_CC_OnConfigure)
367 #define EvtUSBH_CC_OnUnconfigure EventID(EventLevelAPI, EvtCompNo_USBH_CC, EvtMsgNo_USBH_CC_OnUnconfigure)
368 #define EvtUSBH_CC_OnInitialize EventID(EventLevelAPI, EvtCompNo_USBH_CC, EvtMsgNo_USBH_CC_OnInitialize)
369 #define EvtUSBH_CC_OnUninitialize EventID(EventLevelAPI, EvtCompNo_USBH_CC, EvtMsgNo_USBH_CC_OnUninitialize)
372 #define EvtUSBH_CDC_ACM_Configure EventID(EventLevelOp, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_Configure)
373 #define EvtUSBH_CDC_ACM_ConfigureFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_ConfigureFailed)
374 #define EvtUSBH_CDC_ACM_Unconfigure EventID(EventLevelOp, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_Unconfigure)
375 #define EvtUSBH_CDC_ACM_UnconfigureFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_UnconfigureFailed)
376 #define EvtUSBH_CDC_ACM_Initialize EventID(EventLevelOp, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_Initialize)
377 #define EvtUSBH_CDC_ACM_InitializeFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_InitializeFailed)
378 #define EvtUSBH_CDC_ACM_OnInitialize EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_OnInitialize)
379 #define EvtUSBH_CDC_ACM_Uninitialize EventID(EventLevelOp, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_Uninitialize)
380 #define EvtUSBH_CDC_ACM_UninitializeFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_UninitializeFailed)
381 #define EvtUSBH_CDC_ACM_OnUninitialize EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_OnUninitialize)
382 #define EvtUSBH_CDC_ACM_GetDevice EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_GetDevice)
383 #define EvtUSBH_CDC_ACM_GetStatus EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_GetStatus)
384 #define EvtUSBH_CDC_ACM_Send EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_Send)
385 #define EvtUSBH_CDC_ACM_SendFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SendFailed)
386 #define EvtUSBH_CDC_ACM_SendDone EventID(EventLevelDetail, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SendDone)
387 #define EvtUSBH_CDC_ACM_GetTxCount EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_GetTxCount)
388 #define EvtUSBH_CDC_ACM_Receive EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_Receive)
389 #define EvtUSBH_CDC_ACM_ReceiveFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_ReceiveFailed)
390 #define EvtUSBH_CDC_ACM_ReceiveDone EventID(EventLevelDetail, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_ReceiveDone)
391 #define EvtUSBH_CDC_ACM_GetRxCount EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_GetRxCount)
392 #define EvtUSBH_CDC_ACM_SetLineCoding EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SetLineCoding)
393 #define EvtUSBH_CDC_ACM_SetLineCodingFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SetLineCodingFailed)
394 #define EvtUSBH_CDC_ACM_GetLineCodingFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_GetLineCodingFailed)
395 #define EvtUSBH_CDC_ACM_GetLineCoding EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_GetLineCoding)
396 #define EvtUSBH_CDC_ACM_SetControlLineState EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SetControlLineState)
397 #define EvtUSBH_CDC_ACM_SetControlLineStateFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SetControlLineStateFailed)
398 #define EvtUSBH_CDC_ACM_OnNotify EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_OnNotify)
399 #define EvtUSBH_CDC_ACM_SendBreak EventID(EventLevelAPI, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SendBreak)
400 #define EvtUSBH_CDC_ACM_SendBreakFailed EventID(EventLevelError, EvtCompNo_USBH_CDC, EvtMsgNo_USBH_CDC_ACM_SendBreakFailed)
403 #define EvtUSBH_HID_Configure EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_Configure)
404 #define EvtUSBH_HID_ConfigureFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_ConfigureFailed)
405 #define EvtUSBH_HID_Unconfigure EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_Unconfigure)
406 #define EvtUSBH_HID_UnconfigureFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_UnconfigureFailed)
407 #define EvtUSBH_HID_Initialize EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_Initialize)
408 #define EvtUSBH_HID_InitializeFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_InitializeFailed)
409 #define EvtUSBH_HID_OnInitialize EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_OnInitialize)
410 #define EvtUSBH_HID_Uninitialize EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_Uninitialize)
411 #define EvtUSBH_HID_UninitializeFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_UninitializeFailed)
412 #define EvtUSBH_HID_OnUninitialize EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_OnUninitialize)
413 #define EvtUSBH_HID_GetDevice EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetDevice)
414 #define EvtUSBH_HID_GetStatus EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetStatus)
415 #define EvtUSBH_HID_Read EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_Read)
416 #define EvtUSBH_HID_ReadFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_ReadFailed)
417 #define EvtUSBH_HID_ReadDone EventID(EventLevelDetail, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_ReadDone)
418 #define EvtUSBH_HID_Write EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_Write)
419 #define EvtUSBH_HID_WriteFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_WriteFailed)
420 #define EvtUSBH_HID_WriteDone EventID(EventLevelDetail, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_WriteDone)
421 #define EvtUSBH_HID_GetKeyboardKey EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetKeyboardKey)
422 #define EvtUSBH_HID_GetKeyboardKeyDone EventID(EventLevelDetail, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetKeyboardKeyDone)
423 #define EvtUSBH_HID_GetMouseState EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetMouseState)
424 #define EvtUSBH_HID_GetMouseStateFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetMouseStateFailed)
425 #define EvtUSBH_HID_GetMouseStateDone EventID(EventLevelDetail, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetMouseStateDone)
426 #define EvtUSBH_HID_OnParseReportDescriptor EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_OnParseReportDescriptor)
427 #define EvtUSBH_HID_OnDataReceived EventID(EventLevelAPI, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_OnDataReceived)
428 #define EvtUSBH_HID_GetReport EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetReport)
429 #define EvtUSBH_HID_GetReportFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetReportFailed)
430 #define EvtUSBH_HID_SetReport EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_SetReport)
431 #define EvtUSBH_HID_SetReportFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_SetReportFailed)
432 #define EvtUSBH_HID_GetIdle EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetIdle)
433 #define EvtUSBH_HID_GetIdleFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetIdleFailed)
434 #define EvtUSBH_HID_SetIdle EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_SetIdle)
435 #define EvtUSBH_HID_SetIdleFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_SetIdleFailed)
436 #define EvtUSBH_HID_GetProtocol EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetProtocol)
437 #define EvtUSBH_HID_GetProtocolFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_GetProtocolFailed)
438 #define EvtUSBH_HID_SetProtocol EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_SetProtocol)
439 #define EvtUSBH_HID_SetProtocolFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_SetProtocolFailed)
440 #define EvtUSBH_HID_ReportOut EventID(EventLevelOp, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_ReportOut)
441 #define EvtUSBH_HID_ReportOutFailed EventID(EventLevelError, EvtCompNo_USBH_HID, EvtMsgNo_USBH_HID_ReportOutFailed)
444 #define EvtUSBH_MSC_Configure EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Configure)
445 #define EvtUSBH_MSC_ConfigureFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ConfigureFailed)
446 #define EvtUSBH_MSC_Unconfigure EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Unconfigure)
447 #define EvtUSBH_MSC_UnconfigureFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_UnconfigureFailed)
448 #define EvtUSBH_MSC_Initialize EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Initialize)
449 #define EvtUSBH_MSC_InitializeFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_InitializeFailed)
450 #define EvtUSBH_MSC_OnInitialize EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_OnInitialize)
451 #define EvtUSBH_MSC_Uninitialize EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Uninitialize)
452 #define EvtUSBH_MSC_UninitializeFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_UninitializeFailed)
453 #define EvtUSBH_MSC_OnUninitialize EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_OnUninitialize)
454 #define EvtUSBH_MSC_GetDevice EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_GetDevice)
455 #define EvtUSBH_MSC_GetStatus EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_GetStatus)
456 #define EvtUSBH_MSC_Read EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Read)
457 #define EvtUSBH_MSC_ReadFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ReadFailed)
458 #define EvtUSBH_MSC_ReadDone EventID(EventLevelDetail, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ReadDone)
459 #define EvtUSBH_MSC_Write EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Write)
460 #define EvtUSBH_MSC_WriteFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_WriteFailed)
461 #define EvtUSBH_MSC_WriteDone EventID(EventLevelDetail, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_WriteDone)
462 #define EvtUSBH_MSC_ReadCapacity EventID(EventLevelAPI, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ReadCapacity)
463 #define EvtUSBH_MSC_ReadCapacityFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ReadCapacityFailed)
464 #define EvtUSBH_MSC_ReadCapacityDone EventID(EventLevelDetail, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ReadCapacityDone)
465 #define EvtUSBH_MSC_BomReset EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_BomReset)
466 #define EvtUSBH_MSC_BomResetFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_BomResetFailed)
467 #define EvtUSBH_MSC_GetMaxLun EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_GetMaxLun)
468 #define EvtUSBH_MSC_GetMaxLunFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_GetMaxLunFailed)
469 #define EvtUSBH_MSC_ScsiTestUnitReady EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiTestUnitReady)
470 #define EvtUSBH_MSC_ScsiTestUnitReadyFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiTestUnitReadyFailed)
471 #define EvtUSBH_MSC_ScsiRequestSense EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiRequestSense)
472 #define EvtUSBH_MSC_ScsiRequestSenseFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiRequestSenseFailed)
473 #define EvtUSBH_MSC_ScsiInquiry EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiInquiry)
474 #define EvtUSBH_MSC_ScsiInquiryFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiInquiryFailed)
475 #define EvtUSBH_MSC_ScsiReadFormatCapacities EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiReadFormatCapacities)
476 #define EvtUSBH_MSC_ScsiReadFormatCapacitiesFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiReadFormatCapacitiesFailed)
477 #define EvtUSBH_MSC_ScsiReadCapacity EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiReadCapacity)
478 #define EvtUSBH_MSC_ScsiReadCapacityFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiReadCapacityFailed)
479 #define EvtUSBH_MSC_ScsiRead10 EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiRead10)
480 #define EvtUSBH_MSC_ScsiRead10Failed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiRead10Failed)
481 #define EvtUSBH_MSC_ScsiWrite10 EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiWrite10)
482 #define EvtUSBH_MSC_ScsiWrite10Failed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_ScsiWrite10Failed)
483 #define EvtUSBH_MSC_Recover EventID(EventLevelOp, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_Recover)
484 #define EvtUSBH_MSC_RecoverFailed EventID(EventLevelError, EvtCompNo_USBH_MSC, EvtMsgNo_USBH_MSC_RecoverFailed)
495 #ifdef EvtUSBH_Core_Initialize
497 EventRecord2( EvtUSBH_Core_Initialize, TO_BYTE0(ctrl), 0U);
500 #define EvrUSBH_Core_Initialize(...)
509 #ifdef EvtUSBH_Core_InitializeFailed
511 EventRecord2( EvtUSBH_Core_InitializeFailed, TO_BYTE0(ctrl), (uint32_t)error);
514 #define EvrUSBH_Core_InitializeFailed(...)
522 #ifdef EvtUSBH_Core_Uninitialize
524 EventRecord2( EvtUSBH_Core_Uninitialize, TO_BYTE0(ctrl), 0U);
527 #define EvrUSBH_Core_Uninitialize(...)
536 #ifdef EvtUSBH_Core_UninitializeFailed
538 EventRecord2( EvtUSBH_Core_UninitializeFailed, TO_BYTE0(ctrl), (uint32_t)error);
541 #define EvrUSBH_Core_UninitializeFailed(...)
550 #ifdef EvtUSBH_Core_PortSuspend
552 EventRecord2( EvtUSBH_Core_PortSuspend, TO_BYTE0(ctrl) | TO_BYTE1(port), 0U);
555 #define EvrUSBH_Core_PortSuspend(...)
565 #ifdef EvtUSBH_Core_PortSuspendFailed
567 EventRecord2( EvtUSBH_Core_PortSuspendFailed, TO_BYTE0(ctrl) | TO_BYTE1(port), (uint32_t)error);
570 #define EvrUSBH_Core_PortSuspendFailed(...)
579 #ifdef EvtUSBH_Core_PortResume
581 EventRecord2( EvtUSBH_Core_PortResume, TO_BYTE0(ctrl) | TO_BYTE1(port), 0U);
584 #define EvrUSBH_Core_PortResume(...)
594 #ifdef EvtUSBH_Core_PortResumeFailed
596 EventRecord2( EvtUSBH_Core_PortResumeFailed, TO_BYTE0(ctrl) | TO_BYTE1(port), (uint32_t)error);
599 #define EvrUSBH_Core_PortResumeFailed(...)
610 #ifdef EvtUSBH_Core_DeviceGetController
612 EventRecord2( EvtUSBH_Core_DeviceGetController, TO_BYTE0(device), TO_BYTE0(ctrl));
615 #define EvrUSBH_Core_DeviceGetController(...)
626 #ifdef EvtUSBH_Core_DeviceGetPort
628 EventRecord2( EvtUSBH_Core_DeviceGetPort, TO_BYTE0(device), TO_BYTE0(port));
631 #define EvrUSBH_Core_DeviceGetPort(...)
640 #ifdef EvtUSBH_Core_DeviceGetStatus
642 EventRecord2( EvtUSBH_Core_DeviceGetStatus, TO_BYTE0(device), (uint32_t)status);
645 #define EvrUSBH_Core_DeviceGetStatus(...)
654 #ifdef EvtUSBH_Core_DeviceGetSpeed
656 EventRecord2( EvtUSBH_Core_DeviceGetSpeed, TO_BYTE0(device), TO_BYTE0(speed));
659 #define EvrUSBH_Core_DeviceGetSpeed(...)
670 #ifdef EvtUSBH_Core_DeviceGetAddress
672 EventRecord2( EvtUSBH_Core_DeviceGetAddress, TO_BYTE0(device), TO_BYTE0(address));
675 #define EvrUSBH_Core_DeviceGetAddress(...)
684 #ifdef EvtUSBH_Core_DeviceGetVID
686 EventRecord2( EvtUSBH_Core_DeviceGetVID, TO_BYTE0(device), (uint32_t)(vid));
689 #define EvrUSBH_Core_DeviceGetVID(...)
698 #ifdef EvtUSBH_Core_DeviceGetPID
700 EventRecord2( EvtUSBH_Core_DeviceGetPID, TO_BYTE0(device), (uint32_t)(pid));
703 #define EvrUSBH_Core_DeviceGetPID(...)
714 #ifdef EvtUSBH_Core_DeviceGetStringDescriptor
716 EventRecord2( EvtUSBH_Core_DeviceGetStringDescriptor, TO_BYTE0(device) | TO_BYTE3(index), TO_BYTE2(lang_id) | (uint32_t)desc_length);
719 #define EvrUSBH_Core_DeviceGetStringDescriptor(...)
731 #ifdef EvtUSBH_Core_DeviceGetStringDescriptorFailed
733 EventRecord2( EvtUSBH_Core_DeviceGetStringDescriptorFailed, TO_BYTE0(device) | TO_BYTE3(index), TO_BYTE2(lang_id) | (uint32_t)desc_length | TO_BYTE3(error));
736 #define EvrUSBH_Core_DeviceGetStringDescriptorFailed(...)
758 #ifdef EvtUSBH_Core_OnNotify
760 EventRecord2( EvtUSBH_Core_OnNotify, TO_BYTE0(ctrl) | TO_BYTE1(port) | TO_BYTE2(device), (uint32_t)notify);
763 #define EvrUSBH_Core_OnNotify(...)
780 #ifdef EvtUSBH_Core_PipeCreate
781 __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) {
782 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);
785 #define EvrUSBH_Core_PipeCreate(...)
799 #ifdef EvtUSBH_Core_PipeCreateFailed
800 __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) {
801 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));
804 #define EvrUSBH_Core_PipeCreateFailed(...)
812 #ifdef EvtUSBH_Core_PipeUpdate
814 EventRecord2( EvtUSBH_Core_PipeUpdate, (uint32_t)pipe_hndl, 0U);
817 #define EvrUSBH_Core_PipeUpdate(...)
826 #ifdef EvtUSBH_Core_PipeUpdateFailed
828 EventRecord2( EvtUSBH_Core_PipeUpdateFailed, (uint32_t)pipe_hndl, (uint32_t)error);
831 #define EvrUSBH_Core_PipeUpdateFailed(...)
839 #ifdef EvtUSBH_Core_PipeDelete
841 EventRecord2( EvtUSBH_Core_PipeDelete, (uint32_t)pipe_hndl, 0U);
844 #define EvrUSBH_Core_PipeDelete(...)
853 #ifdef EvtUSBH_Core_PipeDeleteFailed
855 EventRecord2( EvtUSBH_Core_PipeDeleteFailed, (uint32_t)pipe_hndl, (uint32_t)error);
858 #define EvrUSBH_Core_PipeDeleteFailed(...)
866 #ifdef EvtUSBH_Core_PipeReset
868 EventRecord2( EvtUSBH_Core_PipeReset, (uint32_t)pipe_hndl, 0U);
871 #define EvrUSBH_Core_PipeReset(...)
880 #ifdef EvtUSBH_Core_PipeResetFailed
882 EventRecord2( EvtUSBH_Core_PipeResetFailed, (uint32_t)pipe_hndl, (uint32_t)error);
885 #define EvrUSBH_Core_PipeResetFailed(...)
894 #ifdef EvtUSBH_Core_PipeReceive
896 EventRecord2( EvtUSBH_Core_PipeReceive, (uint32_t)pipe_hndl, len);
899 #define EvrUSBH_Core_PipeReceive(...)
909 #ifdef EvtUSBH_Core_PipeReceiveFailed
911 EventRecord4( EvtUSBH_Core_PipeReceiveFailed, (uint32_t)pipe_hndl, len, (uint32_t)error, 0U);
914 #define EvrUSBH_Core_PipeReceiveFailed(...)
923 #ifdef EvtUSBH_Core_PipeReceiveGetResult
925 EventRecord2( EvtUSBH_Core_PipeReceiveGetResult, (uint32_t)pipe_hndl, num);
928 #define EvrUSBH_Core_PipeReceiveGetResult(...)
937 #ifdef EvtUSBH_Core_PipeSend
939 EventRecord2( EvtUSBH_Core_PipeSend, (uint32_t)pipe_hndl, len);
942 #define EvrUSBH_Core_PipeSend(...)
952 #ifdef EvtUSBH_Core_PipeSendFailed
954 EventRecord4( EvtUSBH_Core_PipeSendFailed, (uint32_t)pipe_hndl, len, (uint32_t)error, 0U);
957 #define EvrUSBH_Core_PipeSendFailed(...)
966 #ifdef EvtUSBH_Core_PipeSendGetResult
968 EventRecord2( EvtUSBH_Core_PipeSendGetResult, (uint32_t)pipe_hndl, num);
971 #define EvrUSBH_Core_PipeSendGetResult(...)
979 #ifdef EvtUSBH_Core_PipeAbort
981 EventRecord2( EvtUSBH_Core_PipeAbort, (uint32_t)pipe_hndl, 0U);
984 #define EvrUSBH_Core_PipeAbort(...)
993 #ifdef EvtUSBH_Core_PipeAbortFailed
995 EventRecord2( EvtUSBH_Core_PipeAbortFailed, (uint32_t)pipe_hndl, (uint32_t)error);
998 #define EvrUSBH_Core_PipeAbortFailed(...)
1008 #ifdef EvtUSBH_Core_ControlTransfer
1010 EventRecord4( EvtUSBH_Core_ControlTransfer, TO_BYTE0(device), *((
const uint32_t *)setup_packet), *((
const uint32_t *)setup_packet+1U), len);
1013 #define EvrUSBH_Core_ControlTransfer(...)
1023 #ifdef EvtUSBH_Core_ControlTransferFailed
1025 EventRecord4( EvtUSBH_Core_ControlTransferFailed, TO_BYTE0(device), *((
const uint32_t *)setup_packet), *((
const uint32_t *)setup_packet+1U), (uint32_t)error);
1028 #define EvrUSBH_Core_ControlTransferFailed(...)
1039 #ifdef EvtUSBH_Core_RequestGetStatus
1041 EventRecord2( EvtUSBH_Core_RequestGetStatus, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(index), (uint32_t)status);
1044 #define EvrUSBH_Core_RequestGetStatus(...)
1055 #ifdef EvtUSBH_Core_RequestGetStatusFailed
1057 EventRecord2( EvtUSBH_Core_RequestGetStatusFailed, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(index), (uint32_t)error);
1060 #define EvrUSBH_Core_RequestGetStatusFailed(...)
1071 #ifdef EvtUSBH_Core_RequestClearFeature
1073 EventRecord2( EvtUSBH_Core_RequestClearFeature, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(index) | TO_BYTE3(feature), 0U);
1076 #define EvrUSBH_Core_RequestClearFeature(...)
1088 #ifdef EvtUSBH_Core_RequestClearFeatureFailed
1090 EventRecord2( EvtUSBH_Core_RequestClearFeatureFailed, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(index) | TO_BYTE3(feature), (uint32_t)error);
1093 #define EvrUSBH_Core_RequestClearFeatureFailed(...)
1104 #ifdef EvtUSBH_Core_RequestSetFeature
1106 EventRecord2( EvtUSBH_Core_RequestSetFeature, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(index) | TO_BYTE3(feature), 0U);
1109 #define EvrUSBH_Core_RequestSetFeature(...)
1121 #ifdef EvtUSBH_Core_RequestSetFeatureFailed
1123 EventRecord2( EvtUSBH_Core_RequestSetFeatureFailed, TO_BYTE0(device) | TO_BYTE1(recipient) | TO_BYTE2(index) | TO_BYTE3(feature), (uint32_t)error);
1126 #define EvrUSBH_Core_RequestSetFeatureFailed(...)
1135 #ifdef EvtUSBH_Core_RequestSetAddress
1137 EventRecord2( EvtUSBH_Core_RequestSetAddress, TO_BYTE0(device) | TO_BYTE1(address), 0U);
1140 #define EvrUSBH_Core_RequestSetAddress(...)
1150 #ifdef EvtUSBH_Core_RequestSetAddressFailed
1152 EventRecord2( EvtUSBH_Core_RequestSetAddressFailed, TO_BYTE0(device) | TO_BYTE1(address), (uint32_t)error);
1155 #define EvrUSBH_Core_RequestSetAddressFailed(...)
1168 #ifdef EvtUSBH_Core_RequestGetDescriptor
1170 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);
1173 #define EvrUSBH_Core_RequestGetDescriptor(...)
1187 #ifdef EvtUSBH_Core_RequestGetDescriptorFailed
1188 __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) {
1189 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);
1192 #define EvrUSBH_Core_RequestGetDescriptorFailed(...)
1205 #ifdef EvtUSBH_Core_RequestSetDescriptor
1207 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);
1210 #define EvrUSBH_Core_RequestSetDescriptor(...)
1224 #ifdef EvtUSBH_Core_RequestSetDescriptorFailed
1225 __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) {
1226 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);
1229 #define EvrUSBH_Core_RequestSetDescriptorFailed(...)
1238 #ifdef EvtUSBH_Core_RequestGetConfiguration
1240 EventRecord2( EvtUSBH_Core_RequestGetConfiguration, TO_BYTE0(device), (uint32_t)config);
1243 #define EvrUSBH_Core_RequestGetConfiguration(...)
1252 #ifdef EvtUSBH_Core_RequestGetConfigurationFailed
1254 EventRecord2( EvtUSBH_Core_RequestGetConfigurationFailed, TO_BYTE0(device), (uint32_t)error);
1257 #define EvrUSBH_Core_RequestGetConfigurationFailed(...)
1266 #ifdef EvtUSBH_Core_RequestSetConfiguration
1268 EventRecord2( EvtUSBH_Core_RequestSetConfiguration, TO_BYTE0(device) | TO_BYTE1(config), 0U);
1271 #define EvrUSBH_Core_RequestSetConfiguration(...)
1281 #ifdef EvtUSBH_Core_RequestSetConfigurationFailed
1283 EventRecord2( EvtUSBH_Core_RequestSetConfigurationFailed, TO_BYTE0(device) | TO_BYTE1(config), (uint32_t)error);
1286 #define EvrUSBH_Core_RequestSetConfigurationFailed(...)
1296 #ifdef EvtUSBH_Core_RequestGetInterface
1298 EventRecord2( EvtUSBH_Core_RequestGetInterface, TO_BYTE0(device) | TO_BYTE1(index), (uint32_t)alt);
1301 #define EvrUSBH_Core_RequestGetInterface(...)
1311 #ifdef EvtUSBH_Core_RequestGetInterfaceFailed
1313 EventRecord2( EvtUSBH_Core_RequestGetInterfaceFailed, TO_BYTE0(device) | TO_BYTE1(index), (uint32_t)error);
1316 #define EvrUSBH_Core_RequestGetInterfaceFailed(...)
1326 #ifdef EvtUSBH_Core_RequestSetInterface
1328 EventRecord2( EvtUSBH_Core_RequestSetInterface, TO_BYTE0(device) | TO_BYTE1(index) | TO_BYTE2(alt), 0U);
1331 #define EvrUSBH_Core_RequestSetInterface(...)
1342 #ifdef EvtUSBH_Core_RequestSetInterfaceFailed
1344 EventRecord2( EvtUSBH_Core_RequestSetInterfaceFailed, TO_BYTE0(device) | TO_BYTE1(index) | TO_BYTE2(alt), (uint32_t)error);
1347 #define EvrUSBH_Core_RequestSetInterfaceFailed(...)
1357 #ifdef EvtUSBH_Core_RequestSynchFrame
1359 EventRecord2( EvtUSBH_Core_RequestSynchFrame, TO_BYTE0(device) | TO_BYTE1(index), (uint32_t)frame_num);
1362 #define EvrUSBH_Core_RequestSynchFrame(...)
1372 #ifdef EvtUSBH_Core_RequestSynchFrameFailed
1374 EventRecord2( EvtUSBH_Core_RequestSynchFrameFailed, TO_BYTE0(device) | TO_BYTE1(index), (uint32_t)error);
1377 #define EvrUSBH_Core_RequestSynchFrameFailed(...)
1386 #ifdef EvtUSBH_Core_MemInitFailed
1388 EventRecord2( EvtUSBH_Core_MemInitFailed, TO_BYTE0(ctrl), (uint32_t)error);
1391 #define EvrUSBH_Core_MemInitFailed(...)
1399 #ifdef EvtUSBH_Core_MemInit
1401 EventRecord2( EvtUSBH_Core_MemInit, TO_BYTE0(ctrl), 0U);
1404 #define EvrUSBH_Core_MemInit(...)
1413 #ifdef EvtUSBH_Core_MemUninitFailed
1415 EventRecord2( EvtUSBH_Core_MemUninitFailed, TO_BYTE0(ctrl), (uint32_t)error);
1418 #define EvrUSBH_Core_MemUninitFailed(...)
1426 #ifdef EvtUSBH_Core_MemUninit
1428 EventRecord2( EvtUSBH_Core_MemUninit, TO_BYTE0(ctrl), 0U);
1431 #define EvrUSBH_Core_MemUninit(...)
1441 #ifdef EvtUSBH_Core_MemAllocFailed
1443 EventRecord2( EvtUSBH_Core_MemAllocFailed, TO_BYTE0(ctrl) | TO_BYTE1(error), size);
1446 #define EvrUSBH_Core_MemAllocFailed(...)
1456 #ifdef EvtUSBH_Core_MemAlloc
1458 EventRecord4( EvtUSBH_Core_MemAlloc, TO_BYTE0(ctrl), (uint32_t) ptr, size, 0U);
1461 #define EvrUSBH_Core_MemAlloc(...)
1471 #ifdef EvtUSBH_Core_MemFreeFailed
1473 EventRecord2( EvtUSBH_Core_MemFreeFailed, TO_BYTE0(ctrl) | TO_BYTE1(error), (uint32_t) ptr);
1476 #define EvrUSBH_Core_MemFreeFailed(...)
1485 #ifdef EvtUSBH_Core_MemFree
1487 EventRecord2( EvtUSBH_Core_MemFree, TO_BYTE0(ctrl), (uint32_t) ptr);
1490 #define EvrUSBH_Core_MemFree(...)
1501 #ifdef EvtUSBH_Core_Engine
1503 EventRecord2( EvtUSBH_Core_Engine, TO_BYTE0(ctrl) | TO_BYTE1(port) | TO_BYTE2(port_state), event);
1506 #define EvrUSBH_Core_Engine(...)
1516 #ifdef EvtUSBH_Core_EngineFailed
1518 EventRecord2( EvtUSBH_Core_EngineFailed, TO_BYTE0(ctrl) | TO_BYTE1(port), event);
1521 #define EvrUSBH_Core_EngineFailed(...)
1532 #ifdef EvtUSBH_Core_EngineDone
1534 EventRecord2( EvtUSBH_Core_EngineDone, TO_BYTE0(ctrl) | TO_BYTE1(port) | TO_BYTE2(port_state), event);
1537 #define EvrUSBH_Core_EngineDone(...)
1547 #ifdef EvtUSBH_Driver_Initialize
1549 EventRecord2( EvtUSBH_Driver_Initialize, TO_BYTE0(ctrl), 0U);
1552 #define EvrUSBH_Driver_Initialize(...)
1561 #ifdef EvtUSBH_Driver_InitializeFailed
1563 EventRecord2( EvtUSBH_Driver_InitializeFailed, TO_BYTE0(ctrl), (uint32_t)error);
1566 #define EvrUSBH_Driver_InitializeFailed(...)
1574 #ifdef EvtUSBH_Driver_Uninitialize
1576 EventRecord2( EvtUSBH_Driver_Uninitialize, TO_BYTE0(ctrl), 0U);
1579 #define EvrUSBH_Driver_Uninitialize(...)
1588 #ifdef EvtUSBH_Driver_UninitializeFailed
1590 EventRecord2( EvtUSBH_Driver_UninitializeFailed, TO_BYTE0(ctrl), (uint32_t)error);
1593 #define EvrUSBH_Driver_UninitializeFailed(...)
1602 #ifdef EvtUSBH_Driver_PowerControl
1604 EventRecord2( EvtUSBH_Driver_PowerControl, TO_BYTE0(ctrl) | TO_BYTE1(state), 0U);
1607 #define EvrUSBH_Driver_PowerControl(...)
1617 #ifdef EvtUSBH_Driver_PowerControlFailed
1619 EventRecord2( EvtUSBH_Driver_PowerControlFailed, TO_BYTE0(ctrl) | TO_BYTE1(state), (uint32_t)error);
1622 #define EvrUSBH_Driver_PowerControlFailed(...)
1634 #ifdef EvtUSBH_Driver_PortVbusOnOff
1636 EventRecord2( EvtUSBH_Driver_PortVbusOnOff, TO_BYTE0(ctrl) | TO_BYTE1(port) | TO_BYTE2(vbus), 0U);
1639 #define EvrUSBH_Driver_PortVbusOnOff(...)
1652 #ifdef EvtUSBH_Driver_PortVbusOnOffFailed
1654 EventRecord2( EvtUSBH_Driver_PortVbusOnOffFailed, TO_BYTE0(ctrl) | TO_BYTE1(port) | TO_BYTE2(vbus), (uint32_t)error);
1657 #define EvrUSBH_Driver_PortVbusOnOffFailed(...)
1666 #ifdef EvtUSBH_Driver_PortReset
1668 EventRecord2( EvtUSBH_Driver_PortReset, TO_BYTE0(ctrl) | TO_BYTE1(port), 0U);
1671 #define EvrUSBH_Driver_PortReset(...)
1681 #ifdef EvtUSBH_Driver_PortResetFailed
1683 EventRecord2( EvtUSBH_Driver_PortResetFailed, TO_BYTE0(ctrl) | TO_BYTE1(port), (uint32_t)error);
1686 #define EvrUSBH_Driver_PortResetFailed(...)
1695 #ifdef EvtUSBH_Driver_PortSuspend
1697 EventRecord2( EvtUSBH_Driver_PortSuspend, TO_BYTE0(ctrl) | TO_BYTE1(port), 0U);
1700 #define EvrUSBH_Driver_PortSuspend(...)
1710 #ifdef EvtUSBH_Driver_PortSuspendFailed
1712 EventRecord2( EvtUSBH_Driver_PortSuspendFailed, TO_BYTE0(ctrl) | TO_BYTE1(port), (uint32_t)error);
1715 #define EvrUSBH_Driver_PortSuspendFailed(...)
1724 #ifdef EvtUSBH_Driver_PortResume
1726 EventRecord2( EvtUSBH_Driver_PortResume, TO_BYTE0(ctrl) | TO_BYTE1(port), 0U);
1729 #define EvrUSBH_Driver_PortResume(...)
1739 #ifdef EvtUSBH_Driver_PortResumeFailed
1741 EventRecord2( EvtUSBH_Driver_PortResumeFailed, TO_BYTE0(ctrl) | TO_BYTE1(port), (uint32_t)error);
1744 #define EvrUSBH_Driver_PortResumeFailed(...)
1754 #ifdef EvtUSBH_Driver_PortGetState
1756 EventRecord2( EvtUSBH_Driver_PortGetState, TO_BYTE0(ctrl) | TO_BYTE1(port), (uint32_t)state.connected | ((uint32_t)(state.overcurrent) << 1) | ((uint32_t)(state.speed) << 2));
1759 #define EvrUSBH_Driver_PortGetState(...)
1778 #ifdef EvtUSBH_Driver_PipeCreate
1779 __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) {
1780 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);
1783 #define EvrUSBH_Driver_PipeCreate(...)
1801 #ifdef EvtUSBH_Driver_PipeCreateFailed
1802 __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) {
1803 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);
1806 #define EvrUSBH_Driver_PipeCreateFailed(...)
1820 #ifdef EvtUSBH_Driver_PipeModify
1821 __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) {
1822 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);
1825 #define EvrUSBH_Driver_PipeModify(...)
1840 #ifdef EvtUSBH_Driver_PipeModifyFailed
1841 __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) {
1842 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);
1845 #define EvrUSBH_Driver_PipeModifyFailed(...)
1854 #ifdef EvtUSBH_Driver_PipeDelete
1856 EventRecord2( EvtUSBH_Driver_PipeDelete, TO_BYTE0(ctrl), (uint32_t)pipe_hndl);
1859 #define EvrUSBH_Driver_PipeDelete(...)
1869 #ifdef EvtUSBH_Driver_PipeDeleteFailed
1871 EventRecord2( EvtUSBH_Driver_PipeDeleteFailed, TO_BYTE0(ctrl) | TO_BYTE1(error), (uint32_t)pipe_hndl);
1874 #define EvrUSBH_Driver_PipeDeleteFailed(...)
1883 #ifdef EvtUSBH_Driver_PipeReset
1885 EventRecord2( EvtUSBH_Driver_PipeReset, TO_BYTE0(ctrl), (uint32_t)pipe_hndl);
1888 #define EvrUSBH_Driver_PipeReset(...)
1898 #ifdef EvtUSBH_Driver_PipeResetFailed
1900 EventRecord2( EvtUSBH_Driver_PipeResetFailed, TO_BYTE0(ctrl) | TO_BYTE1(error), (uint32_t)pipe_hndl);
1903 #define EvrUSBH_Driver_PipeResetFailed(...)
1914 #ifdef EvtUSBH_Driver_PipeTransfer
1916 EventRecord4( EvtUSBH_Driver_PipeTransfer, TO_BYTE0(ctrl) | TO_BYTE1(packet), (uint32_t)pipe_hndl, num, 0U);
1919 #define EvrUSBH_Driver_PipeTransfer(...)
1931 #ifdef EvtUSBH_Driver_PipeTransferFailed
1933 EventRecord4( EvtUSBH_Driver_PipeTransferFailed, TO_BYTE0(ctrl) | TO_BYTE1(packet), (uint32_t)pipe_hndl, num, (uint32_t)error);
1936 #define EvrUSBH_Driver_PipeTransferFailed(...)
1946 #ifdef EvtUSBH_Driver_PipeTransferGetResult
1948 EventRecord4( EvtUSBH_Driver_PipeTransferGetResult, TO_BYTE0(ctrl), (uint32_t)pipe_hndl, num, 0U);
1951 #define EvrUSBH_Driver_PipeTransferGetResult(...)
1960 #ifdef EvtUSBH_Driver_PipeTransferAbort
1962 EventRecord2( EvtUSBH_Driver_PipeTransferAbort, TO_BYTE0(ctrl), (uint32_t)pipe_hndl);
1965 #define EvrUSBH_Driver_PipeTransferAbort(...)
1975 #ifdef EvtUSBH_Driver_PipeTransferAbortFailed
1977 EventRecord2( EvtUSBH_Driver_PipeTransferAbortFailed, TO_BYTE0(ctrl) | TO_BYTE1(error), (uint32_t)pipe_hndl);
1980 #define EvrUSBH_Driver_PipeTransferAbortFailed(...)
1989 #ifdef EvtUSBH_Driver_GetFrameNumber
1991 EventRecord2( EvtUSBH_Driver_GetFrameNumber, TO_BYTE0(ctrl), (uint32_t)frame_number);
1994 #define EvrUSBH_Driver_GetFrameNumber(...)
2004 #ifdef EvtUSBH_Driver_OnSignalPortEvent
2006 EventRecord2( EvtUSBH_Driver_OnSignalPortEvent, TO_BYTE0(ctrl) | TO_BYTE1(port), event);
2009 #define EvrUSBH_Driver_OnSignalPortEvent(...)
2019 #ifdef EvtUSBH_Driver_OnSignalPipeEvent
2021 EventRecord2( EvtUSBH_Driver_OnSignalPipeEvent, TO_BYTE0(ctrl) | TO_BYTE1(event), (uint32_t)pipe_hndl);
2024 #define EvrUSBH_Driver_OnSignalPipeEvent(...)
2037 #ifdef EvtUSBH_CC_GetDevice
2039 EventRecord2( EvtUSBH_CC_GetDevice, TO_BYTE0(instance), TO_BYTE0(device));
2042 #define EvrUSBH_CC_GetDevice(...)
2051 #ifdef EvtUSBH_CC_GetStatus
2053 EventRecord2( EvtUSBH_CC_GetStatus, TO_BYTE0(instance), (uint32_t)status);
2056 #define EvrUSBH_CC_GetStatus(...)
2071 #ifdef EvtUSBH_CC_OnConfigure
2072 __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) {
2073 EventRecord2( EvtUSBH_CC_OnConfigure, TO_BYTE0(device) | TO_BYTE1(
class) | TO_BYTE2(sub_class) | TO_BYTE3(instance), ((uint32_t)vid << 16) | (uint32_t)pid);
2076 #define EvrUSBH_CC_OnConfigure(...)
2085 #ifdef EvtUSBH_CC_OnUnconfigure
2087 EventRecord2( EvtUSBH_CC_OnUnconfigure, TO_BYTE0(instance), (uint32_t)status);
2090 #define EvrUSBH_CC_OnUnconfigure(...)
2099 #ifdef EvtUSBH_CC_OnInitialize
2101 EventRecord2( EvtUSBH_CC_OnInitialize, TO_BYTE0(instance), (uint32_t)status);
2104 #define EvrUSBH_CC_OnInitialize(...)
2113 #ifdef EvtUSBH_CC_OnUninitialize
2115 EventRecord2( EvtUSBH_CC_OnUninitialize, TO_BYTE0(instance), (uint32_t)status);
2118 #define EvrUSBH_CC_OnUninitialize(...)
2128 #ifdef EvtUSBH_CDC_ACM_Configure
2130 EventRecord2( EvtUSBH_CDC_ACM_Configure, TO_BYTE0(instance), 0U);
2133 #define EvrUSBH_CDC_ACM_Configure(...)
2141 #ifdef EvtUSBH_CDC_ACM_ConfigureFailed
2143 EventRecord2( EvtUSBH_CDC_ACM_ConfigureFailed, (uint32_t)error, 0U);
2146 #define EvrUSBH_CDC_ACM_ConfigureFailed(...)
2154 #ifdef EvtUSBH_CDC_ACM_Unconfigure
2156 EventRecord2( EvtUSBH_CDC_ACM_Unconfigure, TO_BYTE0(instance), 0U);
2159 #define EvrUSBH_CDC_ACM_Unconfigure(...)
2168 #ifdef EvtUSBH_CDC_ACM_UnconfigureFailed
2170 EventRecord2( EvtUSBH_CDC_ACM_UnconfigureFailed, TO_BYTE0(instance), (uint32_t)error);
2173 #define EvrUSBH_CDC_ACM_UnconfigureFailed(...)
2181 #ifdef EvtUSBH_CDC_ACM_Initialize
2183 EventRecord2( EvtUSBH_CDC_ACM_Initialize, TO_BYTE0(instance), 0U);
2186 #define EvrUSBH_CDC_ACM_Initialize(...)
2195 #ifdef EvtUSBH_CDC_ACM_InitializeFailed
2197 EventRecord2( EvtUSBH_CDC_ACM_InitializeFailed, TO_BYTE0(instance), (uint32_t)error);
2200 #define EvrUSBH_CDC_ACM_InitializeFailed(...)
2207 #ifdef EvtUSBH_CDC_ACM_OnInitialize
2209 EventRecord2( EvtUSBH_CDC_ACM_OnInitialize, TO_BYTE0(instance), 0U);
2212 #define EvrUSBH_CDC_ACM_OnInitialize(...)
2220 #ifdef EvtUSBH_CDC_ACM_Uninitialize
2222 EventRecord2( EvtUSBH_CDC_ACM_Uninitialize, TO_BYTE0(instance), 0U);
2225 #define EvrUSBH_CDC_ACM_Uninitialize(...)
2234 #ifdef EvtUSBH_CDC_ACM_UninitializeFailed
2236 EventRecord2( EvtUSBH_CDC_ACM_UninitializeFailed, TO_BYTE0(instance), (uint32_t)error);
2239 #define EvrUSBH_CDC_ACM_UninitializeFailed(...)
2247 #ifdef EvtUSBH_CDC_ACM_OnUninitialize
2249 EventRecord2( EvtUSBH_CDC_ACM_OnUninitialize, TO_BYTE0(instance), 0U);
2252 #define EvrUSBH_CDC_ACM_OnUninitialize(...)
2263 #ifdef EvtUSBH_CDC_ACM_GetDevice
2265 EventRecord2( EvtUSBH_CDC_ACM_GetDevice, TO_BYTE0(instance), TO_BYTE0(device));
2268 #define EvrUSBH_CDC_ACM_GetDevice(...)
2277 #ifdef EvtUSBH_CDC_ACM_GetStatus
2279 EventRecord2( EvtUSBH_CDC_ACM_GetStatus, TO_BYTE0(instance), (uint32_t)status);
2282 #define EvrUSBH_CDC_ACM_GetStatus(...)
2291 #ifdef EvtUSBH_CDC_ACM_Send
2293 EventRecord2( EvtUSBH_CDC_ACM_Send, TO_BYTE0(instance), num);
2296 #define EvrUSBH_CDC_ACM_Send(...)
2306 #ifdef EvtUSBH_CDC_ACM_SendFailed
2308 EventRecord2( EvtUSBH_CDC_ACM_SendFailed, TO_BYTE0(instance) | TO_BYTE1(error), num);
2311 #define EvrUSBH_CDC_ACM_SendFailed(...)
2320 #ifdef EvtUSBH_CDC_ACM_SendDone
2322 EventRecord2( EvtUSBH_CDC_ACM_SendDone, TO_BYTE0(instance), num);
2325 #define EvrUSBH_CDC_ACM_SendDone(...)
2334 #ifdef EvtUSBH_CDC_ACM_GetTxCount
2336 EventRecord2( EvtUSBH_CDC_ACM_GetTxCount, TO_BYTE0(instance), num);
2339 #define EvrUSBH_CDC_ACM_GetTxCount(...)
2348 #ifdef EvtUSBH_CDC_ACM_Receive
2350 EventRecord2( EvtUSBH_CDC_ACM_Receive, TO_BYTE0(instance), num);
2353 #define EvrUSBH_CDC_ACM_Receive(...)
2363 #ifdef EvtUSBH_CDC_ACM_ReceiveFailed
2365 EventRecord2( EvtUSBH_CDC_ACM_ReceiveFailed, TO_BYTE0(instance) | TO_BYTE1(error), num);
2368 #define EvrUSBH_CDC_ACM_ReceiveFailed(...)
2377 #ifdef EvtUSBH_CDC_ACM_ReceiveDone
2379 EventRecord2( EvtUSBH_CDC_ACM_ReceiveDone, TO_BYTE0(instance), num);
2382 #define EvrUSBH_CDC_ACM_ReceiveDone(...)
2391 #ifdef EvtUSBH_CDC_ACM_GetRxCount
2393 EventRecord2( EvtUSBH_CDC_ACM_GetRxCount, TO_BYTE0(instance), num);
2396 #define EvrUSBH_CDC_ACM_GetRxCount(...)
2405 #ifdef EvtUSBH_CDC_ACM_SetLineCoding
2407 EventRecord2( EvtUSBH_CDC_ACM_SetLineCoding, TO_BYTE0(instance), rate);
2410 #define EvrUSBH_CDC_ACM_SetLineCoding(...)
2420 #ifdef EvtUSBH_CDC_ACM_SetLineCodingFailed
2422 EventRecord2( EvtUSBH_CDC_ACM_SetLineCodingFailed, TO_BYTE0(instance) | TO_BYTE1(error), rate);
2425 #define EvrUSBH_CDC_ACM_SetLineCodingFailed(...)
2435 #ifdef EvtUSBH_CDC_ACM_GetLineCodingFailed
2437 EventRecord2( EvtUSBH_CDC_ACM_GetLineCodingFailed, TO_BYTE0(instance) | TO_BYTE1(error), rate);
2440 #define EvrUSBH_CDC_ACM_GetLineCodingFailed(...)
2449 #ifdef EvtUSBH_CDC_ACM_GetLineCoding
2451 EventRecord2( EvtUSBH_CDC_ACM_GetLineCoding, TO_BYTE0(instance), rate);
2454 #define EvrUSBH_CDC_ACM_GetLineCoding(...)
2464 #ifdef EvtUSBH_CDC_ACM_SetControlLineState
2466 EventRecord2( EvtUSBH_CDC_ACM_SetControlLineState, TO_BYTE0(instance), TO_BYTE0(dtr) | TO_BYTE1(rts));
2469 #define EvrUSBH_CDC_ACM_SetControlLineState(...)
2480 #ifdef EvtUSBH_CDC_ACM_SetControlLineStateFailed
2482 EventRecord2( EvtUSBH_CDC_ACM_SetControlLineStateFailed, TO_BYTE0(instance) | TO_BYTE1(error), TO_BYTE0(dtr) | TO_BYTE1(rts));
2485 #define EvrUSBH_CDC_ACM_SetControlLineStateFailed(...)
2501 #ifdef EvtUSBH_CDC_ACM_OnNotify
2503 EventRecord2( EvtUSBH_CDC_ACM_OnNotify, TO_BYTE0(instance), (uint32_t)state);
2506 #define EvrUSBH_CDC_ACM_OnNotify(...)
2517 #ifdef EvtUSBH_CDC_ACM_SendBreak
2519 EventRecord2( EvtUSBH_CDC_ACM_SendBreak, TO_BYTE0(instance), (uint32_t)duration);
2522 #define EvrUSBH_CDC_ACM_SendBreak(...)
2534 #ifdef EvtUSBH_CDC_ACM_SendBreakFailed
2536 EventRecord2( EvtUSBH_CDC_ACM_SendBreakFailed, TO_BYTE0(instance) | TO_BYTE1(error), (uint32_t)duration);
2539 #define EvrUSBH_CDC_ACM_SendBreakFailed(...)
2549 #ifdef EvtUSBH_HID_Configure
2551 EventRecord2( EvtUSBH_HID_Configure, TO_BYTE0(instance), 0U);
2554 #define EvrUSBH_HID_Configure(...)
2562 #ifdef EvtUSBH_HID_ConfigureFailed
2564 EventRecord2( EvtUSBH_HID_ConfigureFailed, (uint32_t)error, 0U);
2567 #define EvrUSBH_HID_ConfigureFailed(...)
2575 #ifdef EvtUSBH_HID_Unconfigure
2577 EventRecord2( EvtUSBH_HID_Unconfigure, TO_BYTE0(instance), 0U);
2580 #define EvrUSBH_HID_Unconfigure(...)
2589 #ifdef EvtUSBH_HID_UnconfigureFailed
2591 EventRecord2( EvtUSBH_HID_UnconfigureFailed, TO_BYTE0(instance), (uint32_t)error);
2594 #define EvrUSBH_HID_UnconfigureFailed(...)
2602 #ifdef EvtUSBH_HID_Initialize
2604 EventRecord2( EvtUSBH_HID_Initialize, TO_BYTE0(instance), 0U);
2607 #define EvrUSBH_HID_Initialize(...)
2616 #ifdef EvtUSBH_HID_InitializeFailed
2618 EventRecord2( EvtUSBH_HID_InitializeFailed, TO_BYTE0(instance), (uint32_t)error);
2621 #define EvrUSBH_HID_InitializeFailed(...)
2628 #ifdef EvtUSBH_HID_OnInitialize
2630 EventRecord2( EvtUSBH_HID_OnInitialize, TO_BYTE0(instance), 0U);
2633 #define EvrUSBH_HID_OnInitialize(...)
2641 #ifdef EvtUSBH_HID_Uninitialize
2643 EventRecord2( EvtUSBH_HID_Uninitialize, TO_BYTE0(instance), 0U);
2646 #define EvrUSBH_HID_Uninitialize(...)
2655 #ifdef EvtUSBH_HID_UninitializeFailed
2657 EventRecord2( EvtUSBH_HID_UninitializeFailed, TO_BYTE0(instance), (uint32_t)error);
2660 #define EvrUSBH_HID_UninitializeFailed(...)
2668 #ifdef EvtUSBH_HID_OnUninitialize
2670 EventRecord2( EvtUSBH_HID_OnUninitialize, TO_BYTE0(instance), 0U);
2673 #define EvrUSBH_HID_OnUninitialize(...)
2684 #ifdef EvtUSBH_HID_GetDevice
2686 EventRecord2( EvtUSBH_HID_GetDevice, TO_BYTE0(instance), TO_BYTE0(device));
2689 #define EvrUSBH_HID_GetDevice(...)
2698 #ifdef EvtUSBH_HID_GetStatus
2700 EventRecord2( EvtUSBH_HID_GetStatus, TO_BYTE0(instance), (uint32_t)status);
2703 #define EvrUSBH_HID_GetStatus(...)
2712 #ifdef EvtUSBH_HID_Read
2714 EventRecord2( EvtUSBH_HID_Read, TO_BYTE0(instance), (uint32_t)len);
2717 #define EvrUSBH_HID_Read(...)
2727 #ifdef EvtUSBH_HID_ReadFailed
2729 EventRecord2( EvtUSBH_HID_ReadFailed, TO_BYTE0(instance) | TO_BYTE1(error), (uint32_t)len);
2732 #define EvrUSBH_HID_ReadFailed(...)
2742 #ifdef EvtUSBH_HID_ReadDone
2744 EventRecord4( EvtUSBH_HID_ReadDone, TO_BYTE0(instance), (uint32_t)len, (uint32_t)result, 0U);
2747 #define EvrUSBH_HID_ReadDone(...)
2756 #ifdef EvtUSBH_HID_Write
2758 EventRecord2( EvtUSBH_HID_Write, TO_BYTE0(instance), (uint32_t)len);
2761 #define EvrUSBH_HID_Write(...)
2771 #ifdef EvtUSBH_HID_WriteFailed
2773 EventRecord2( EvtUSBH_HID_WriteFailed, TO_BYTE0(instance) | TO_BYTE1(error), (uint32_t)len);
2776 #define EvrUSBH_HID_WriteFailed(...)
2786 #ifdef EvtUSBH_HID_WriteDone
2788 EventRecord4( EvtUSBH_HID_WriteDone, TO_BYTE0(instance), (uint32_t)len, (uint32_t)result, 0U);
2791 #define EvrUSBH_HID_WriteDone(...)
2799 #ifdef EvtUSBH_HID_GetKeyboardKey
2801 EventRecord2( EvtUSBH_HID_GetKeyboardKey, TO_BYTE0(instance), 0U);
2804 #define EvrUSBH_HID_GetKeyboardKey(...)
2813 #ifdef EvtUSBH_HID_GetKeyboardKeyDone
2815 EventRecord2( EvtUSBH_HID_GetKeyboardKeyDone, TO_BYTE0(instance), (uint32_t)ch);
2818 #define EvrUSBH_HID_GetKeyboardKeyDone(...)
2826 #ifdef EvtUSBH_HID_GetMouseState
2828 EventRecord2( EvtUSBH_HID_GetMouseState, TO_BYTE0(instance), 0U);
2831 #define EvrUSBH_HID_GetMouseState(...)
2840 #ifdef EvtUSBH_HID_GetMouseStateFailed
2842 EventRecord2( EvtUSBH_HID_GetMouseStateFailed, TO_BYTE0(instance), (uint32_t)error);
2845 #define EvrUSBH_HID_GetMouseStateFailed(...)
2854 #ifdef EvtUSBH_HID_GetMouseStateDone
2856 EventRecord4( EvtUSBH_HID_GetMouseStateDone, TO_BYTE0(instance), (uint32_t)state.
button, ((uint32_t)state.
x << 16) | (uint32_t)state.
y, 0U);
2859 #define EvrUSBH_HID_GetMouseStateDone(...)
2868 #ifdef EvtUSBH_HID_OnParseReportDescriptor
2870 EventRecord2( EvtUSBH_HID_OnParseReportDescriptor, TO_BYTE0(instance), len);
2873 #define EvrUSBH_HID_OnParseReportDescriptor(...)
2882 #ifdef EvtUSBH_HID_OnDataReceived
2884 EventRecord2( EvtUSBH_HID_OnDataReceived, TO_BYTE0(instance), len);
2887 #define EvrUSBH_HID_OnDataReceived(...)
2895 #ifdef EvtUSBH_HID_GetReport
2897 EventRecord2( EvtUSBH_HID_GetReport, TO_BYTE0(instance), 0U);
2900 #define EvrUSBH_HID_GetReport(...)
2909 #ifdef EvtUSBH_HID_GetReportFailed
2911 EventRecord2( EvtUSBH_HID_GetReportFailed, TO_BYTE0(instance), (uint32_t)error);
2914 #define EvrUSBH_HID_GetReportFailed(...)
2922 #ifdef EvtUSBH_HID_SetReport
2924 EventRecord2( EvtUSBH_HID_SetReport, TO_BYTE0(instance), 0U);
2927 #define EvrUSBH_HID_SetReport(...)
2936 #ifdef EvtUSBH_HID_SetReportFailed
2938 EventRecord2( EvtUSBH_HID_SetReportFailed, TO_BYTE0(instance), (uint32_t)error);
2941 #define EvrUSBH_HID_SetReportFailed(...)
2949 #ifdef EvtUSBH_HID_GetIdle
2951 EventRecord2( EvtUSBH_HID_GetIdle, TO_BYTE0(instance), 0U);
2954 #define EvrUSBH_HID_GetIdle(...)
2963 #ifdef EvtUSBH_HID_GetIdleFailed
2965 EventRecord2( EvtUSBH_HID_GetIdleFailed, TO_BYTE0(instance), (uint32_t)error);
2968 #define EvrUSBH_HID_GetIdleFailed(...)
2976 #ifdef EvtUSBH_HID_SetIdle
2978 EventRecord2( EvtUSBH_HID_SetIdle, TO_BYTE0(instance), 0U);
2981 #define EvrUSBH_HID_SetIdle(...)
2990 #ifdef EvtUSBH_HID_SetIdleFailed
2992 EventRecord2( EvtUSBH_HID_SetIdleFailed, TO_BYTE0(instance), (uint32_t)error);
2995 #define EvrUSBH_HID_SetIdleFailed(...)
3003 #ifdef EvtUSBH_HID_GetProtocol
3005 EventRecord2( EvtUSBH_HID_GetProtocol, TO_BYTE0(instance), 0U);
3008 #define EvrUSBH_HID_GetProtocol(...)
3017 #ifdef EvtUSBH_HID_GetProtocolFailed
3019 EventRecord2( EvtUSBH_HID_GetProtocolFailed, TO_BYTE0(instance), (uint32_t)error);
3022 #define EvrUSBH_HID_GetProtocolFailed(...)
3030 #ifdef EvtUSBH_HID_SetProtocol
3032 EventRecord2( EvtUSBH_HID_SetProtocol, TO_BYTE0(instance), 0U);
3035 #define EvrUSBH_HID_SetProtocol(...)
3044 #ifdef EvtUSBH_HID_SetProtocolFailed
3046 EventRecord2( EvtUSBH_HID_SetProtocolFailed, TO_BYTE0(instance), (uint32_t)error);
3049 #define EvrUSBH_HID_SetProtocolFailed(...)
3057 #ifdef EvtUSBH_HID_ReportOut
3059 EventRecord2( EvtUSBH_HID_ReportOut, TO_BYTE0(instance), 0U);
3062 #define EvrUSBH_HID_ReportOut(...)
3071 #ifdef EvtUSBH_HID_ReportOutFailed
3073 EventRecord2( EvtUSBH_HID_ReportOutFailed, TO_BYTE0(instance), (uint32_t)error);
3076 #define EvrUSBH_HID_ReportOutFailed(...)
3086 #ifdef EvtUSBH_MSC_Configure
3088 EventRecord2( EvtUSBH_MSC_Configure, TO_BYTE0(instance), 0U);
3091 #define EvrUSBH_MSC_Configure(...)
3099 #ifdef EvtUSBH_MSC_ConfigureFailed
3101 EventRecord2( EvtUSBH_MSC_ConfigureFailed, (uint32_t)error, 0U);
3104 #define EvrUSBH_MSC_ConfigureFailed(...)
3112 #ifdef EvtUSBH_MSC_Unconfigure
3114 EventRecord2( EvtUSBH_MSC_Unconfigure, TO_BYTE0(instance), 0U);
3117 #define EvrUSBH_MSC_Unconfigure(...)
3126 #ifdef EvtUSBH_MSC_UnconfigureFailed
3128 EventRecord2( EvtUSBH_MSC_UnconfigureFailed, TO_BYTE0(instance), (uint32_t)error);
3131 #define EvrUSBH_MSC_UnconfigureFailed(...)
3139 #ifdef EvtUSBH_MSC_Initialize
3141 EventRecord2( EvtUSBH_MSC_Initialize, TO_BYTE0(instance), 0U);
3144 #define EvrUSBH_MSC_Initialize(...)
3153 #ifdef EvtUSBH_MSC_InitializeFailed
3155 EventRecord2( EvtUSBH_MSC_InitializeFailed, TO_BYTE0(instance), (uint32_t)error);
3158 #define EvrUSBH_MSC_InitializeFailed(...)
3165 #ifdef EvtUSBH_MSC_OnInitialize
3167 EventRecord2( EvtUSBH_MSC_OnInitialize, TO_BYTE0(instance), 0U);
3170 #define EvrUSBH_MSC_OnInitialize(...)
3178 #ifdef EvtUSBH_MSC_Uninitialize
3180 EventRecord2( EvtUSBH_MSC_Uninitialize, TO_BYTE0(instance), 0U);
3183 #define EvrUSBH_MSC_Uninitialize(...)
3192 #ifdef EvtUSBH_MSC_UninitializeFailed
3194 EventRecord2( EvtUSBH_MSC_UninitializeFailed, TO_BYTE0(instance), (uint32_t)error);
3197 #define EvrUSBH_MSC_UninitializeFailed(...)
3205 #ifdef EvtUSBH_MSC_OnUninitialize
3207 EventRecord2( EvtUSBH_MSC_OnUninitialize, TO_BYTE0(instance), 0U);
3210 #define EvrUSBH_MSC_OnUninitialize(...)
3221 #ifdef EvtUSBH_MSC_GetDevice
3223 EventRecord2( EvtUSBH_MSC_GetDevice, TO_BYTE0(instance), TO_BYTE0(device));
3226 #define EvrUSBH_MSC_GetDevice(...)
3235 #ifdef EvtUSBH_MSC_GetStatus
3237 EventRecord2( EvtUSBH_MSC_GetStatus, TO_BYTE0(instance), (uint32_t)status);
3240 #define EvrUSBH_MSC_GetStatus(...)
3250 #ifdef EvtUSBH_MSC_Read
3252 EventRecord4( EvtUSBH_MSC_Read, TO_BYTE0(instance), lba, cnt, 0U);
3255 #define EvrUSBH_MSC_Read(...)
3266 #ifdef EvtUSBH_MSC_ReadFailed
3268 EventRecord4( EvtUSBH_MSC_ReadFailed, TO_BYTE0(instance), lba, cnt, (uint32_t)error);
3271 #define EvrUSBH_MSC_ReadFailed(...)
3281 #ifdef EvtUSBH_MSC_ReadDone
3283 EventRecord4( EvtUSBH_MSC_ReadDone, TO_BYTE0(instance), lba, cnt, 0U);
3286 #define EvrUSBH_MSC_ReadDone(...)
3296 #ifdef EvtUSBH_MSC_Write
3298 EventRecord4( EvtUSBH_MSC_Write, TO_BYTE0(instance), lba, cnt, 0U);
3301 #define EvrUSBH_MSC_Write(...)
3312 #ifdef EvtUSBH_MSC_WriteFailed
3314 EventRecord4( EvtUSBH_MSC_WriteFailed, TO_BYTE0(instance), lba, cnt, (uint32_t)error);
3317 #define EvrUSBH_MSC_WriteFailed(...)
3327 #ifdef EvtUSBH_MSC_WriteDone
3329 EventRecord4( EvtUSBH_MSC_WriteDone, TO_BYTE0(instance), lba, cnt, 0U);
3332 #define EvrUSBH_MSC_WriteDone(...)
3340 #ifdef EvtUSBH_MSC_ReadCapacity
3342 EventRecord2( EvtUSBH_MSC_ReadCapacity, TO_BYTE0(instance), 0U);
3345 #define EvrUSBH_MSC_ReadCapacity(...)
3354 #ifdef EvtUSBH_MSC_ReadCapacityFailed
3356 EventRecord2( EvtUSBH_MSC_ReadCapacityFailed, TO_BYTE0(instance), (uint32_t)error);
3359 #define EvrUSBH_MSC_ReadCapacityFailed(...)
3369 #ifdef EvtUSBH_MSC_ReadCapacityDone
3371 EventRecord4( EvtUSBH_MSC_ReadCapacityDone, TO_BYTE0(instance), block_count, block_size, 0U);
3374 #define EvrUSBH_MSC_ReadCapacityDone(...)
3382 #ifdef EvtUSBH_MSC_BomReset
3384 EventRecord2( EvtUSBH_MSC_BomReset, TO_BYTE0(instance), 0U);
3387 #define EvrUSBH_MSC_BomReset(...)
3396 #ifdef EvtUSBH_MSC_BomResetFailed
3398 EventRecord2( EvtUSBH_MSC_BomResetFailed, TO_BYTE0(instance), (uint32_t)error);
3401 #define EvrUSBH_MSC_BomResetFailed(...)
3409 #ifdef EvtUSBH_MSC_GetMaxLun
3411 EventRecord2( EvtUSBH_MSC_GetMaxLun, TO_BYTE0(instance), 0U);
3414 #define EvrUSBH_MSC_GetMaxLun(...)
3423 #ifdef EvtUSBH_MSC_GetMaxLunFailed
3425 EventRecord2( EvtUSBH_MSC_GetMaxLunFailed, TO_BYTE0(instance), (uint32_t)error);
3428 #define EvrUSBH_MSC_GetMaxLunFailed(...)
3436 #ifdef EvtUSBH_MSC_ScsiTestUnitReady
3438 EventRecord2( EvtUSBH_MSC_ScsiTestUnitReady, TO_BYTE0(instance), 0U);
3441 #define EvrUSBH_MSC_ScsiTestUnitReady(...)
3450 #ifdef EvtUSBH_MSC_ScsiTestUnitReadyFailed
3452 EventRecord2( EvtUSBH_MSC_ScsiTestUnitReadyFailed, TO_BYTE0(instance), (uint32_t)error);
3455 #define EvrUSBH_MSC_ScsiTestUnitReadyFailed(...)
3463 #ifdef EvtUSBH_MSC_ScsiRequestSense
3465 EventRecord2( EvtUSBH_MSC_ScsiRequestSense, TO_BYTE0(instance), 0U);
3468 #define EvrUSBH_MSC_ScsiRequestSense(...)
3477 #ifdef EvtUSBH_MSC_ScsiRequestSenseFailed
3479 EventRecord2( EvtUSBH_MSC_ScsiRequestSenseFailed, TO_BYTE0(instance), (uint32_t)error);
3482 #define EvrUSBH_MSC_ScsiRequestSenseFailed(...)
3490 #ifdef EvtUSBH_MSC_ScsiInquiry
3492 EventRecord2( EvtUSBH_MSC_ScsiInquiry, TO_BYTE0(instance), 0U);
3495 #define EvrUSBH_MSC_ScsiInquiry(...)
3504 #ifdef EvtUSBH_MSC_ScsiInquiryFailed
3506 EventRecord2( EvtUSBH_MSC_ScsiInquiryFailed, TO_BYTE0(instance), (uint32_t)error);
3509 #define EvrUSBH_MSC_ScsiInquiryFailed(...)
3517 #ifdef EvtUSBH_MSC_ScsiReadFormatCapacities
3519 EventRecord2( EvtUSBH_MSC_ScsiReadFormatCapacities, TO_BYTE0(instance), 0U);
3522 #define EvrUSBH_MSC_ScsiReadFormatCapacities(...)
3531 #ifdef EvtUSBH_MSC_ScsiReadFormatCapacitiesFailed
3533 EventRecord2( EvtUSBH_MSC_ScsiReadFormatCapacitiesFailed, TO_BYTE0(instance), (uint32_t)error);
3536 #define EvrUSBH_MSC_ScsiReadFormatCapacitiesFailed(...)
3544 #ifdef EvtUSBH_MSC_ScsiReadCapacity
3546 EventRecord2( EvtUSBH_MSC_ScsiReadCapacity, TO_BYTE0(instance), 0U);
3549 #define EvrUSBH_MSC_ScsiReadCapacity(...)
3558 #ifdef EvtUSBH_MSC_ScsiReadCapacityFailed
3560 EventRecord2( EvtUSBH_MSC_ScsiReadCapacityFailed, TO_BYTE0(instance), (uint32_t)error);
3563 #define EvrUSBH_MSC_ScsiReadCapacityFailed(...)
3573 #ifdef EvtUSBH_MSC_ScsiRead10
3575 EventRecord4( EvtUSBH_MSC_ScsiRead10, TO_BYTE0(instance), block_addr, block_num, 0U);
3578 #define EvrUSBH_MSC_ScsiRead10(...)
3589 #ifdef EvtUSBH_MSC_ScsiRead10Failed
3591 EventRecord4( EvtUSBH_MSC_ScsiRead10Failed, TO_BYTE0(instance), block_addr, block_num, (uint32_t)error);
3594 #define EvrUSBH_MSC_ScsiRead10Failed(...)
3604 #ifdef EvtUSBH_MSC_ScsiWrite10
3606 EventRecord4( EvtUSBH_MSC_ScsiWrite10, TO_BYTE0(instance), block_addr, block_num, 0U);
3609 #define EvrUSBH_MSC_ScsiWrite10(...)
3620 #ifdef EvtUSBH_MSC_ScsiWrite10Failed
3622 EventRecord4( EvtUSBH_MSC_ScsiWrite10Failed, TO_BYTE0(instance), block_addr, block_num, (uint32_t)error);
3625 #define EvrUSBH_MSC_ScsiWrite10Failed(...)
3633 #ifdef EvtUSBH_MSC_Recover
3635 EventRecord2( EvtUSBH_MSC_Recover, TO_BYTE0(instance), 0U);
3638 #define EvrUSBH_MSC_Recover(...)
3647 #ifdef EvtUSBH_MSC_RecoverFailed
3649 EventRecord2( EvtUSBH_MSC_RecoverFailed, TO_BYTE0(instance), (uint32_t)error);
3652 #define EvrUSBH_MSC_RecoverFailed(...)
3655 #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:2937
__STATIC_INLINE void EvrUSBH_Core_DeviceGetVID(uint8_t device, uint16_t vid)
Event on USBH_Device_GetVID finished (API)
Definition: usbh_evr.h:685
__STATIC_INLINE void EvrUSBH_HID_GetMouseState(uint8_t instance)
Event on USBH_HID_GetMouseState start (API)
Definition: usbh_evr.h:2827
__STATIC_INLINE void EvrUSBH_MSC_Uninitialize(uint8_t instance)
Event on internal operation MSC device uninitialization start (Operation)
Definition: usbh_evr.h:3179
__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:3282
__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:3451
__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:1533
__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:595
__STATIC_INLINE void EvrUSBH_Core_MemUninit(uint8_t ctrl)
Event on internal operation memory uninitialization finished successfully (Detail) ...
Definition: usbh_evr.h:1427
__STATIC_INLINE void EvrUSBH_Core_PipeSend(USBH_PIPE_HANDLE pipe_hndl, uint32_t len)
Event on USBH_PipeSend start (API)
Definition: usbh_evr.h:938
__STATIC_INLINE void EvrUSBH_MSC_Configure(uint8_t instance)
Event on internal operation MSC device configuration start (Operation)
Definition: usbh_evr.h:3087
__STATIC_INLINE void EvrUSBH_Core_MemFree(uint8_t ctrl, const uint8_t *ptr)
Event on internal operation memory free finished successfully (Detail)
Definition: usbh_evr.h:1486
__STATIC_INLINE void EvrUSBH_Core_DeviceGetController(uint8_t device, uint8_t ctrl)
Event on USBH_Device_GetController finished (API)
Definition: usbh_evr.h:611
__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:2248
__STATIC_INLINE void EvrUSBH_MSC_InitializeFailed(uint8_t instance, usbStatus error)
Event on internal operation MSC device initialization failed (Error)
Definition: usbh_evr.h:3154
__STATIC_INLINE void EvrUSBH_HID_ReportOutFailed(uint8_t instance, usbStatus error)
Event on internal operation Report Out failed (Error)
Definition: usbh_evr.h:3072
__STATIC_INLINE void EvrUSBH_Core_PortSuspend(uint8_t ctrl, uint8_t port)
Event on USBH_Port_Suspend start (API)
Definition: usbh_evr.h:551
__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:1502
__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:2020
__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:1312
__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:2100
__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:1089
__STATIC_INLINE void EvrUSBH_Core_Uninitialize(uint8_t ctrl)
Event on USBH_Uninitialize start (API)
Definition: usbh_evr.h:523
__STATIC_INLINE void EvrUSBH_MSC_ScsiInquiryFailed(uint8_t instance, usbStatus error)
Event on internal operation SCSI Inquiry failed (Error)
Definition: usbh_evr.h:3505
__STATIC_INLINE void EvrUSBH_Core_DeviceGetSpeed(uint8_t device, uint8_t speed)
Event on USBH_Device_GetSpeed finished (API)
Definition: usbh_evr.h:655
__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:1870
__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:781
__STATIC_INLINE void EvrUSBH_HID_GetStatus(uint8_t instance, uint8_t status)
Event on USBH_HID_GetStatus finished (API)
Definition: usbh_evr.h:2699
__STATIC_INLINE void EvrUSBH_Core_DeviceGetPID(uint8_t device, uint16_t pid)
Event on USBH_Device_GetPID finished (API)
Definition: usbh_evr.h:699
__STATIC_INLINE void EvrUSBH_Core_RequestGetConfigurationFailed(uint8_t device, usbStatus error)
Event on USBH_DeviceRequest_GetConfiguration failed (Error)
Definition: usbh_evr.h:1253
__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:1373
__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:1206
__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:1779
__STATIC_INLINE void EvrUSBH_CDC_ACM_Initialize(uint8_t instance)
Event on internal operation CDC ACM device initialization start (Operation)
Definition: usbh_evr.h:2182
__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:2307
__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:2114
__STATIC_INLINE void EvrUSBH_HID_GetKeyboardKeyDone(uint8_t instance, int32_t ch)
Event on USBH_HID_GetKeyboardKey finished successfully (Detail)
Definition: usbh_evr.h:2814
__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:1740
__STATIC_INLINE void EvrUSBH_HID_SetProtocol(uint8_t instance)
Event on internal operation Set Protocol start (Operation)
Definition: usbh_evr.h:3031
__STATIC_INLINE void EvrUSBH_HID_Uninitialize(uint8_t instance)
Event on internal operation HID device uninitialization start (Operation)
Definition: usbh_evr.h:2642
__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:1282
__STATIC_INLINE void EvrUSBH_Driver_UninitializeFailed(uint8_t ctrl, int32_t error)
Event on ARM_USBH_Uninitialize failed (Error)
Definition: usbh_evr.h:1589
__STATIC_INLINE void EvrUSBH_Core_InitializeFailed(uint8_t ctrl, usbStatus error)
Event on USBH_Initialize failed (Error)
Definition: usbh_evr.h:510
__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:1105
__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:1072
__STATIC_INLINE void EvrUSBH_MSC_ReadCapacity(uint8_t instance)
Event on USBH_MSC_ReadCapacity start (API)
Definition: usbh_evr.h:3341
__STATIC_INLINE void EvrUSBH_MSC_GetStatus(uint8_t instance, uint8_t status)
Event on USBH_MSC_GetStatus finished (API)
Definition: usbh_evr.h:3236
__STATIC_INLINE void EvrUSBH_Core_ControlTransferFailed(uint8_t device, const void *setup_packet, usbStatus error)
Event on USBH_ControlTransfer failed (Error)
Definition: usbh_evr.h:1024
__STATIC_INLINE void EvrUSBH_HID_GetKeyboardKey(uint8_t instance)
Event on USBH_HID_GetKeyboardKey start (API)
Definition: usbh_evr.h:2800
__STATIC_INLINE void EvrUSBH_Core_MemInitFailed(uint8_t ctrl, usbStatus error)
Event on internal operation memory initialization failed (Error)
Definition: usbh_evr.h:1387
__STATIC_INLINE void EvrUSBH_MSC_OnInitialize(uint8_t instance)
Event on USBH_MSC_Initialize user callback function start (API)
Definition: usbh_evr.h:3166
__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:1056
__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:3532
__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:2208
__STATIC_INLINE void EvrUSBH_MSC_GetMaxLunFailed(uint8_t instance, usbStatus error)
Event on internal operation Get Max LUN failed (Error)
Definition: usbh_evr.h:3424
__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:1711
__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:2535
__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:1358
__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:1653
int16_t y
Absolute Y position change.
Definition: rl_usb.h:164
__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:2869
__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:1899
__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:2502
__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:2787
__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:2321
__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:1122
__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:2772
__STATIC_INLINE void EvrUSBH_MSC_ScsiTestUnitReady(uint8_t instance)
Event on internal operation SCSI Test Unit Ready start (Operation)
Definition: usbh_evr.h:3437
__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:1603
__STATIC_INLINE void EvrUSBH_HID_Write(uint8_t instance, int32_t len)
Event on USBH_HID_Write start (API)
Definition: usbh_evr.h:2757
__STATIC_INLINE void EvrUSBH_HID_ConfigureFailed(usbStatus error)
Event on internal operation HID device configuration failed (Error)
Definition: usbh_evr.h:2563
__STATIC_INLINE void EvrUSBH_CDC_ACM_Unconfigure(uint8_t instance)
Event on internal operation CDC ACM device unconfigure start (Operation)
Definition: usbh_evr.h:2155
__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:2364
__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:3397
__STATIC_INLINE void EvrUSBH_Core_PortResume(uint8_t ctrl, uint8_t port)
Event on USBH_Port_Resume start (API)
Definition: usbh_evr.h:580
__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:1855
__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:3313
__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:3370
__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:2883
__STATIC_INLINE void EvrUSBH_HID_GetReport(uint8_t instance)
Event on internal operation Get Report start (Operation)
Definition: usbh_evr.h:2896
__STATIC_INLINE void EvrUSBH_HID_GetReportFailed(uint8_t instance, usbStatus error)
Event on internal operation Get Report failed (Error)
Definition: usbh_evr.h:2910
__STATIC_INLINE void EvrUSBH_Driver_GetFrameNumber(uint8_t ctrl, uint16_t frame_number)
Event on ARM_USBH_GetFrameNumber finished (API)
Definition: usbh_evr.h:1990
__STATIC_INLINE void EvrUSBH_Core_PipeAbort(USBH_PIPE_HANDLE pipe_hndl)
Event on USBH_PipeAbort start (API)
Definition: usbh_evr.h:980
__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:2196
__STATIC_INLINE void EvrUSBH_MSC_RecoverFailed(uint8_t instance, usbStatus error)
Event on internal operation recover failed (Error)
Definition: usbh_evr.h:3648
__STATIC_INLINE void EvrUSBH_HID_GetIdleFailed(uint8_t instance, usbStatus error)
Event on internal operation Get Idle failed (Error)
Definition: usbh_evr.h:2964
__STATIC_INLINE void EvrUSBH_HID_SetIdle(uint8_t instance)
Event on internal operation Set Idle start (Operation)
Definition: usbh_evr.h:2977
__STATIC_INLINE void EvrUSBH_HID_SetProtocolFailed(uint8_t instance, usbStatus error)
Event on internal operation Set Protocol failed (Error)
Definition: usbh_evr.h:3045
__STATIC_INLINE void EvrUSBH_MSC_GetMaxLun(uint8_t instance)
Event on internal operation Get Max LUN start (Operation)
Definition: usbh_evr.h:3410
__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:2278
__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:1884
__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:1915
__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:2292
__STATIC_INLINE void EvrUSBH_HID_SetIdleFailed(uint8_t instance, usbStatus error)
Event on internal operation Set Idle failed (Error)
Definition: usbh_evr.h:2991
__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:3267
__STATIC_INLINE void EvrUSBH_HID_Configure(uint8_t instance)
Event on internal operation HID device configuration start (Operation)
Definition: usbh_evr.h:2550
__STATIC_INLINE void EvrUSBH_HID_GetProtocol(uint8_t instance)
Event on internal operation Get Protocol start (Operation)
Definition: usbh_evr.h:3004
__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:1297
__STATIC_INLINE void EvrUSBH_MSC_ConfigureFailed(usbStatus error)
Event on internal operation MSC device configuration failed (Error)
Definition: usbh_evr.h:3100
__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:2349
__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:2264
__STATIC_INLINE void EvrUSBH_HID_SetReport(uint8_t instance)
Event on internal operation Set Report start (Operation)
Definition: usbh_evr.h:2923
__STATIC_INLINE void EvrUSBH_HID_OnInitialize(uint8_t instance)
Event on USBH_HID_Initialize user callback function start (API)
Definition: usbh_evr.h:2629
__STATIC_INLINE void EvrUSBH_HID_UninitializeFailed(uint8_t instance, usbStatus error)
Event on internal operation HID device uninitialization failed (Error)
Definition: usbh_evr.h:2656
__STATIC_INLINE void EvrUSBH_HID_GetProtocolFailed(uint8_t instance, usbStatus error)
Event on internal operation Get Protocol failed (Error)
Definition: usbh_evr.h:3018
__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:1442
uint8_t button
Current button states.
Definition: rl_usb.h:162
__STATIC_INLINE void EvrUSBH_Driver_PortSuspend(uint8_t ctrl, uint8_t port)
Event on ARM_USBH_PortSuspend finished successfully (API)
Definition: usbh_evr.h:1696
__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:3297
__STATIC_INLINE void EvrUSBH_Core_DeviceGetPort(uint8_t device, uint8_t port)
Event on USBH_Device_GetPort finished (API)
Definition: usbh_evr.h:627
__STATIC_INLINE void EvrUSBH_Core_PipeReset(USBH_PIPE_HANDLE pipe_hndl)
Event on USBH_PipeReset start (API)
Definition: usbh_evr.h:867
__STATIC_INLINE void EvrUSBH_HID_Unconfigure(uint8_t instance)
Event on internal operation HID device unconfigure start (Operation)
Definition: usbh_evr.h:2576
__STATIC_INLINE void EvrUSBH_MSC_UnconfigureFailed(uint8_t instance, usbStatus error)
Event on internal operation MSC device uninitialization failed (Error)
Definition: usbh_evr.h:3127
__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:3621
__STATIC_INLINE void EvrUSBH_HID_GetMouseStateFailed(uint8_t instance, usbStatus error)
Event on USBH_HID_GetMouseState failed (Error)
Definition: usbh_evr.h:2841
__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:2086
__STATIC_INLINE void EvrUSBH_HID_GetIdle(uint8_t instance)
Event on internal operation Get Idle start (Operation)
Definition: usbh_evr.h:2950
__STATIC_INLINE void EvrUSBH_CDC_ACM_Uninitialize(uint8_t instance)
Event on internal operation CDC ACM device uninitialization start (Operation)
Definition: usbh_evr.h:2221
__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:3251
__STATIC_INLINE void EvrUSBH_HID_InitializeFailed(uint8_t instance, usbStatus error)
Event on internal operation HID device initialization failed (Error)
Definition: usbh_evr.h:2617
__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:1040
__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:1841
__STATIC_INLINE void EvrUSBH_Core_MemInit(uint8_t ctrl)
Event on internal operation memory initialization finished successfully (Detail)
Definition: usbh_evr.h:1400
__STATIC_INLINE void EvrUSBH_HID_ReportOut(uint8_t instance)
Event on internal operation Report Out start (Operation)
Definition: usbh_evr.h:3058
__STATIC_INLINE void EvrUSBH_MSC_ReadCapacityFailed(uint8_t instance, usbStatus error)
Event on USBH_MSC_ReadCapacity failed (Error)
Definition: usbh_evr.h:3355
__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:1682
__STATIC_INLINE void EvrUSBH_Core_ControlTransfer(uint8_t device, const void *setup_packet, uint32_t len)
Event on USBH_ControlTransfer start (API)
Definition: usbh_evr.h:1009
__STATIC_INLINE void EvrUSBH_HID_Read(uint8_t instance, int32_t len)
Event on USBH_HID_Read start (API)
Definition: usbh_evr.h:2713
__STATIC_INLINE void EvrUSBH_Core_DeviceGetStatus(uint8_t device, usbStatus status)
Event on USBH_Device_GetStatus finished (API)
Definition: usbh_evr.h:641
__STATIC_INLINE void EvrUSBH_MSC_ScsiReadCapacityFailed(uint8_t instance, usbStatus error)
Event on internal operation SCSI Read Capacity failed (Error)
Definition: usbh_evr.h:3559
__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:1976
__STATIC_INLINE void EvrUSBH_HID_GetMouseStateDone(uint8_t instance, usbHID_MouseState state)
Event on USBH_HID_GetMouseState finished successfully (Detail)
Definition: usbh_evr.h:2855
__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:3590
__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:759
__STATIC_INLINE void EvrUSBH_MSC_GetDevice(uint8_t instance, uint8_t device)
Event on USBH_MSC_GetDevice finished (API)
Definition: usbh_evr.h:3222
__STATIC_INLINE void EvrUSBH_MSC_ScsiRequestSense(uint8_t instance)
Event on internal operation SCSI Request Sense start (Operation)
Definition: usbh_evr.h:3464
__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:2406
__STATIC_INLINE void EvrUSBH_MSC_ScsiRequestSenseFailed(uint8_t instance, usbStatus error)
Event on internal operation SCSI Request Sense failed (Error)
Definition: usbh_evr.h:3478
__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:2518
__STATIC_INLINE void EvrUSBH_Core_PipeUpdateFailed(USBH_PIPE_HANDLE pipe_hndl, usbStatus error)
Event on USBH_PipeUpdate failed (Error)
Definition: usbh_evr.h:827
__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:2378
__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:2743
__STATIC_INLINE void EvrUSBH_Driver_InitializeFailed(uint8_t ctrl, int32_t error)
Event on ARM_USBH_Initialize failed (Error)
Definition: usbh_evr.h:1562
__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:2335
__STATIC_INLINE void EvrUSBH_CC_GetDevice(uint8_t instance, uint8_t device)
Event on USBH_CustomClass_GetDevice finished (API)
Definition: usbh_evr.h:2038
__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:1932
Mouse state information.
Definition: rl_usb.h:160
__STATIC_INLINE void EvrUSBH_Core_PipeDeleteFailed(USBH_PIPE_HANDLE pipe_hndl, usbStatus error)
Event on USBH_PipeDelete failed (Error)
Definition: usbh_evr.h:854
__STATIC_INLINE void EvrUSBH_HID_GetDevice(uint8_t instance, uint8_t device)
Event on USBH_HID_GetDevice finished (API)
Definition: usbh_evr.h:2685
__STATIC_INLINE void EvrUSBH_Core_RequestSetConfiguration(uint8_t device, uint8_t config)
Event on USBH_DeviceRequest_SetConfiguration start (API)
Definition: usbh_evr.h:1267
__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:732
__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:3574
__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:1947
__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:1802
__STATIC_INLINE void EvrUSBH_HID_OnUninitialize(uint8_t instance)
Event on USBH_HID_Uninitialize user callback function start (API)
Definition: usbh_evr.h:2669
__STATIC_INLINE void EvrUSBH_MSC_OnUninitialize(uint8_t instance)
Event on USBH_MSC_Uninitialize user callback function start (API)
Definition: usbh_evr.h:3206
__STATIC_INLINE void EvrUSBH_HID_Initialize(uint8_t instance)
Event on internal operation HID device initialization start (Operation)
Definition: usbh_evr.h:2603
__STATIC_INLINE void EvrUSBH_Core_PipeReceiveGetResult(USBH_PIPE_HANDLE pipe_hndl, uint32_t num)
Event on USBH_PipeReceiveGetResult finished (API)
Definition: usbh_evr.h:924
__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:1635
__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:2481
__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:1343
__STATIC_INLINE void EvrUSBH_Core_MemAlloc(uint8_t ctrl, const uint8_t *ptr, uint32_t size)
Event on internal operation memory allocation finished successfully (Detail)
Definition: usbh_evr.h:1457
__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:1517
__STATIC_INLINE void EvrUSBH_MSC_Recover(uint8_t instance)
Event on internal operation recover start (Operation)
Definition: usbh_evr.h:3634
__STATIC_INLINE void EvrUSBH_Driver_Initialize(uint8_t ctrl)
Event on ARM_USBH_Initialize finished successfully (API)
Definition: usbh_evr.h:1548
__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:2728
__STATIC_INLINE void EvrUSBH_Core_PipeResetFailed(USBH_PIPE_HANDLE pipe_hndl, usbStatus error)
Event on USBH_PipeReset failed (Error)
Definition: usbh_evr.h:881
__STATIC_INLINE void EvrUSBH_MSC_BomReset(uint8_t instance)
Event on internal operation Bulk-Only Mass Storage Reset start (Operation)
Definition: usbh_evr.h:3383
__STATIC_INLINE void EvrUSBH_HID_UnconfigureFailed(uint8_t instance, usbStatus error)
Event on internal operation HID device uninitialization failed (Error)
Definition: usbh_evr.h:2590
__STATIC_INLINE void EvrUSBH_Core_PipeUpdate(USBH_PIPE_HANDLE pipe_hndl)
Event on USBH_PipeUpdate start (API)
Definition: usbh_evr.h:813
__STATIC_INLINE void EvrUSBH_Core_PipeDelete(USBH_PIPE_HANDLE pipe_hndl)
Event on USBH_PipeDelete start (API)
Definition: usbh_evr.h:840
__STATIC_INLINE void EvrUSBH_Core_Initialize(uint8_t ctrl)
Event on USBH_Initialize start (API)
Definition: usbh_evr.h:496
__STATIC_INLINE void EvrUSBH_CDC_ACM_Configure(uint8_t instance)
Event on internal operation CDC ACM device configuration start (Operation)
Definition: usbh_evr.h:2129
__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:1961
__STATIC_INLINE void EvrUSBH_MSC_ScsiReadFormatCapacities(uint8_t instance)
Event on internal operation SCSI Read Format Capacities start (Operation)
Definition: usbh_evr.h:3518
__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:566
__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:2465
__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:1755
__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:2421
__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:910
__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:2072
__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:2005
__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:2450
__STATIC_INLINE void EvrUSBH_CC_GetStatus(uint8_t instance, uint8_t status)
Event on USBH_CustomClass_GetStatus finished (API)
Definition: usbh_evr.h:2052
__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:1618
int16_t x
Absolute X position change.
Definition: rl_usb.h:163
__STATIC_INLINE void EvrUSBH_Core_RequestGetConfiguration(uint8_t device, uint8_t config)
Event on USBH_DeviceRequest_GetConfiguration start (API)
Definition: usbh_evr.h:1239
__STATIC_INLINE void EvrUSBH_MSC_Unconfigure(uint8_t instance)
Event on internal operation MSC device unconfigure start (Operation)
Definition: usbh_evr.h:3113
__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:2235
__STATIC_INLINE void EvrUSBH_MSC_UninitializeFailed(uint8_t instance, usbStatus error)
Event on internal operation MSC device uninitialization failed (Error)
Definition: usbh_evr.h:3193
__STATIC_INLINE void EvrUSBH_Driver_Uninitialize(uint8_t ctrl)
Event on ARM_USBH_Uninitialize finished successfully (API)
Definition: usbh_evr.h:1575
__STATIC_INLINE void EvrUSBH_Core_UninitializeFailed(uint8_t ctrl, usbStatus error)
Event on USBH_Uninitialize failed (Error)
Definition: usbh_evr.h:537
__STATIC_INLINE void EvrUSBH_Core_MemUninitFailed(uint8_t ctrl, usbStatus error)
Event on internal operation memory uninitialization failed (Error)
Definition: usbh_evr.h:1414
__STATIC_INLINE void EvrUSBH_MSC_ScsiInquiry(uint8_t instance)
Event on internal operation SCSI Inquiry start (Operation)
Definition: usbh_evr.h:3491
__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:2436
__STATIC_INLINE void EvrUSBH_MSC_Initialize(uint8_t instance)
Event on internal operation MSC device initialization start (Operation)
Definition: usbh_evr.h:3140
__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:1169
__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:1821
__STATIC_INLINE void EvrUSBH_Core_RequestSetAddress(uint8_t device, uint8_t address)
Event on USBH_DeviceRequest_SetAddress start (API)
Definition: usbh_evr.h:1136
__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:2392
__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:715
__STATIC_INLINE void EvrUSBH_CDC_ACM_ConfigureFailed(usbStatus error)
Event on internal operation CDC ACM device configuration failed (Error)
Definition: usbh_evr.h:2142
__STATIC_INLINE void EvrUSBH_Driver_PortReset(uint8_t ctrl, uint8_t port)
Event on ARM_USBH_PortReset finished successfully (API)
Definition: usbh_evr.h:1667
__STATIC_INLINE void EvrUSBH_Core_PipeSendGetResult(USBH_PIPE_HANDLE pipe_hndl, uint32_t num)
Event on USBH_PipeSendGetResult finished (API)
Definition: usbh_evr.h:967
__STATIC_INLINE void EvrUSBH_Driver_PortResume(uint8_t ctrl, uint8_t port)
Event on ARM_USBH_PortResume finished successfully (API)
Definition: usbh_evr.h:1725
__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:1327
__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:953
__STATIC_INLINE void EvrUSBH_MSC_ScsiReadCapacity(uint8_t instance)
Event on internal operation SCSI Read Capacity start (Operation)
Definition: usbh_evr.h:3545
__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:3605
__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:2169
__STATIC_INLINE void EvrUSBH_Core_PipeReceive(USBH_PIPE_HANDLE pipe_hndl, uint32_t len)
Event on USBH_PipeReceive start (API)
Definition: usbh_evr.h:895
__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:1151
__STATIC_INLINE void EvrUSBH_Core_DeviceGetAddress(uint8_t device, uint8_t address)
Event on USBH_Device_GetAddress finished (API)
Definition: usbh_evr.h:671
__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:3328
__STATIC_INLINE void EvrUSBH_Core_MemFreeFailed(uint8_t ctrl, const uint8_t *ptr, usbStatus error)
Event on internal operation memory free failed (Error)
Definition: usbh_evr.h:1472
__STATIC_INLINE void EvrUSBH_Core_PipeAbortFailed(USBH_PIPE_HANDLE pipe_hndl, usbStatus error)
Event on USBH_PipeAbort failed (Error)
Definition: usbh_evr.h:994