USB Component
Version 6.17.0
MDK Middleware for USB Device and Host Communication
|
Events generated by USB Host - Core functions. More...
Functions | |
__STATIC_INLINE void | EvrUSBH_Core_Initialize (uint8_t ctrl) |
Event on USBH_Initialize start (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_InitializeFailed (uint8_t ctrl, usbStatus error) |
Event on USBH_Initialize failed (Error) More... | |
__STATIC_INLINE void | EvrUSBH_Core_Uninitialize (uint8_t ctrl) |
Event on USBH_Uninitialize start (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_UninitializeFailed (uint8_t ctrl, usbStatus error) |
Event on USBH_Uninitialize failed (Error) More... | |
__STATIC_INLINE void | EvrUSBH_Core_PortSuspend (uint8_t ctrl, uint8_t port) |
Event on USBH_Port_Suspend start (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_PortSuspendFailed (uint8_t ctrl, uint8_t port, usbStatus error) |
Event on USBH_Port_Suspend failed (Error) More... | |
__STATIC_INLINE void | EvrUSBH_Core_PortResume (uint8_t ctrl, uint8_t port) |
Event on USBH_Port_Resume start (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_PortResumeFailed (uint8_t ctrl, uint8_t port, usbStatus error) |
Event on USBH_Port_Resume failed (Error) More... | |
__STATIC_INLINE void | EvrUSBH_Core_DeviceGetController (uint8_t device, uint8_t ctrl) |
Event on USBH_Device_GetController finished (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_DeviceGetPort (uint8_t device, uint8_t port) |
Event on USBH_Device_GetPort finished (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_DeviceGetStatus (uint8_t device, usbStatus status) |
Event on USBH_Device_GetStatus finished (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_DeviceGetSpeed (uint8_t device, uint8_t speed) |
Event on USBH_Device_GetSpeed finished (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_DeviceGetAddress (uint8_t device, uint8_t address) |
Event on USBH_Device_GetAddress finished (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_DeviceGetVID (uint8_t device, uint16_t vid) |
Event on USBH_Device_GetVID finished (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_DeviceGetPID (uint8_t device, uint16_t pid) |
Event on USBH_Device_GetPID finished (API) More... | |
__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) More... | |
__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) More... | |
__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) More... | |
__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) More... | |
__STATIC_INLINE void | EvrUSBH_Core_PipeUpdate (USBH_PIPE_HANDLE pipe_hndl) |
Event on USBH_PipeUpdate start (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_PipeUpdateFailed (USBH_PIPE_HANDLE pipe_hndl, usbStatus error) |
Event on USBH_PipeUpdate failed (Error) More... | |
__STATIC_INLINE void | EvrUSBH_Core_PipeDelete (USBH_PIPE_HANDLE pipe_hndl) |
Event on USBH_PipeDelete start (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_PipeDeleteFailed (USBH_PIPE_HANDLE pipe_hndl, usbStatus error) |
Event on USBH_PipeDelete failed (Error) More... | |
__STATIC_INLINE void | EvrUSBH_Core_PipeReset (USBH_PIPE_HANDLE pipe_hndl) |
Event on USBH_PipeReset start (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_PipeResetFailed (USBH_PIPE_HANDLE pipe_hndl, usbStatus error) |
Event on USBH_PipeReset failed (Error) More... | |
__STATIC_INLINE void | EvrUSBH_Core_PipeReceive (USBH_PIPE_HANDLE pipe_hndl, uint32_t len) |
Event on USBH_PipeReceive start (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_PipeReceiveFailed (USBH_PIPE_HANDLE pipe_hndl, uint32_t len, usbStatus error) |
Event on USBH_PipeReceive failed (Error) More... | |
__STATIC_INLINE void | EvrUSBH_Core_PipeReceiveGetResult (USBH_PIPE_HANDLE pipe_hndl, uint32_t num) |
Event on USBH_PipeReceiveGetResult finished (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_PipeSend (USBH_PIPE_HANDLE pipe_hndl, uint32_t len) |
Event on USBH_PipeSend start (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_PipeSendFailed (USBH_PIPE_HANDLE pipe_hndl, uint32_t len, usbStatus error) |
Event on USBH_PipeSend failed (Error) More... | |
__STATIC_INLINE void | EvrUSBH_Core_PipeSendGetResult (USBH_PIPE_HANDLE pipe_hndl, uint32_t num) |
Event on USBH_PipeSendGetResult finished (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_PipeAbort (USBH_PIPE_HANDLE pipe_hndl) |
Event on USBH_PipeAbort start (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_PipeAbortFailed (USBH_PIPE_HANDLE pipe_hndl, usbStatus error) |
Event on USBH_PipeAbort failed (Error) More... | |
__STATIC_INLINE void | EvrUSBH_Core_ControlTransfer (uint8_t device, const void *setup_packet, uint32_t len) |
Event on USBH_ControlTransfer start (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_ControlTransferFailed (uint8_t device, const void *setup_packet, usbStatus error) |
Event on USBH_ControlTransfer failed (Error) More... | |
__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) More... | |
__STATIC_INLINE void | EvrUSBH_Core_RequestGetStatusFailed (uint8_t device, uint8_t recipient, uint8_t index, usbStatus error) |
Event on USBH_DeviceRequest_GetStatus failed (Error) More... | |
__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) More... | |
__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) More... | |
__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) More... | |
__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) More... | |
__STATIC_INLINE void | EvrUSBH_Core_RequestSetAddress (uint8_t device, uint8_t address) |
Event on USBH_DeviceRequest_SetAddress start (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_RequestSetAddressFailed (uint8_t device, uint8_t address, usbStatus error) |
Event on USBH_DeviceRequest_SetAddress failed (Error) More... | |
__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) More... | |
__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) More... | |
__STATIC_INLINE void | EvrUSBH_Core_RequestGetConfiguration (uint8_t device, uint8_t config) |
Event on USBH_DeviceRequest_GetConfiguration start (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_RequestGetConfigurationFailed (uint8_t device, usbStatus error) |
Event on USBH_DeviceRequest_GetConfiguration failed (Error) More... | |
__STATIC_INLINE void | EvrUSBH_Core_RequestSetConfiguration (uint8_t device, uint8_t config) |
Event on USBH_DeviceRequest_SetConfiguration start (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_RequestSetConfigurationFailed (uint8_t device, uint8_t config, usbStatus error) |
Event on USBH_DeviceRequest_SetConfiguration failed (Error) More... | |
__STATIC_INLINE void | EvrUSBH_Core_RequestGetInterface (uint8_t device, uint8_t index, uint8_t alt) |
Event on USBH_DeviceRequest_GetInterface start (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_RequestGetInterfaceFailed (uint8_t device, uint8_t index, usbStatus error) |
Event on USBH_DeviceRequest_GetInterface failed (Error) More... | |
__STATIC_INLINE void | EvrUSBH_Core_RequestSetInterface (uint8_t device, uint8_t index, uint8_t alt) |
Event on USBH_DeviceRequest_SetInterface start (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_RequestSetInterfaceFailed (uint8_t device, uint8_t index, uint8_t alt, usbStatus error) |
Event on USBH_DeviceRequest_SetInterface failed (Error) More... | |
__STATIC_INLINE void | EvrUSBH_Core_RequestSynchFrame (uint8_t device, uint8_t index, uint16_t frame_num) |
Event on USBH_DeviceRequest_SynchFrame start (API) More... | |
__STATIC_INLINE void | EvrUSBH_Core_RequestSynchFrameFailed (uint8_t device, uint8_t index, usbStatus error) |
Event on USBH_DeviceRequest_SynchFrame failed (Error) More... | |
__STATIC_INLINE void | EvrUSBH_Core_MemInitFailed (uint8_t ctrl, usbStatus error) |
Event on internal operation memory initialization failed (Error) More... | |
__STATIC_INLINE void | EvrUSBH_Core_MemInit (uint8_t ctrl) |
Event on internal operation memory initialization finished successfully (Detail) More... | |
__STATIC_INLINE void | EvrUSBH_Core_MemUninitFailed (uint8_t ctrl, usbStatus error) |
Event on internal operation memory uninitialization failed (Error) More... | |
__STATIC_INLINE void | EvrUSBH_Core_MemUninit (uint8_t ctrl) |
Event on internal operation memory uninitialization finished successfully (Detail) More... | |
__STATIC_INLINE void | EvrUSBH_Core_MemAllocFailed (uint8_t ctrl, uint32_t size, usbStatus error) |
Event on internal operation memory allocation failed (Error) More... | |
__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) More... | |
__STATIC_INLINE void | EvrUSBH_Core_MemFreeFailed (uint8_t ctrl, const uint8_t *ptr, usbStatus error) |
Event on internal operation memory free failed (Error) More... | |
__STATIC_INLINE void | EvrUSBH_Core_MemFree (uint8_t ctrl, const uint8_t *ptr) |
Event on internal operation memory free finished successfully (Detail) More... | |
__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) More... | |
__STATIC_INLINE void | EvrUSBH_Core_EngineFailed (uint8_t ctrl, uint8_t port, uint32_t event) |
Event on internal operation engine failed (Error) More... | |
__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) More... | |
Events generated by USB Host - Core functions.
__STATIC_INLINE void EvrUSBH_Core_Initialize | ( | uint8_t | ctrl | ) |
Event on USBH_Initialize start (API)
ctrl | controller index |
__STATIC_INLINE void EvrUSBH_Core_InitializeFailed | ( | uint8_t | ctrl, |
usbStatus | error | ||
) |
Event on USBH_Initialize failed (Error)
ctrl | controller index |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBH_Core_Uninitialize | ( | uint8_t | ctrl | ) |
Event on USBH_Uninitialize start (API)
ctrl | controller index |
__STATIC_INLINE void EvrUSBH_Core_UninitializeFailed | ( | uint8_t | ctrl, |
usbStatus | error | ||
) |
Event on USBH_Uninitialize failed (Error)
ctrl | controller index |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBH_Core_PortSuspend | ( | uint8_t | ctrl, |
uint8_t | port | ||
) |
Event on USBH_Port_Suspend start (API)
ctrl | controller index |
port | root HUB port |
__STATIC_INLINE void EvrUSBH_Core_PortSuspendFailed | ( | uint8_t | ctrl, |
uint8_t | port, | ||
usbStatus | error | ||
) |
Event on USBH_Port_Suspend failed (Error)
ctrl | controller index |
port | root HUB port |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBH_Core_PortResume | ( | uint8_t | ctrl, |
uint8_t | port | ||
) |
Event on USBH_Port_Resume start (API)
ctrl | controller index |
port | root HUB port |
__STATIC_INLINE void EvrUSBH_Core_PortResumeFailed | ( | uint8_t | ctrl, |
uint8_t | port, | ||
usbStatus | error | ||
) |
Event on USBH_Port_Resume failed (Error)
ctrl | controller index |
port | root HUB port |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBH_Core_DeviceGetController | ( | uint8_t | device, |
uint8_t | ctrl | ||
) |
Event on USBH_Device_GetController finished (API)
device | device index |
ctrl | controller index
|
__STATIC_INLINE void EvrUSBH_Core_DeviceGetPort | ( | uint8_t | device, |
uint8_t | port | ||
) |
Event on USBH_Device_GetPort finished (API)
device | device index |
port | root HUB port index
|
__STATIC_INLINE void EvrUSBH_Core_DeviceGetStatus | ( | uint8_t | device, |
usbStatus | status | ||
) |
Event on USBH_Device_GetStatus finished (API)
device | device index |
status | device status usbStatus |
__STATIC_INLINE void EvrUSBH_Core_DeviceGetSpeed | ( | uint8_t | device, |
uint8_t | speed | ||
) |
Event on USBH_Device_GetSpeed finished (API)
device | device index |
speed | communication speed |
__STATIC_INLINE void EvrUSBH_Core_DeviceGetAddress | ( | uint8_t | device, |
uint8_t | address | ||
) |
Event on USBH_Device_GetAddress finished (API)
device | device index |
address | enumerated address
|
__STATIC_INLINE void EvrUSBH_Core_DeviceGetVID | ( | uint8_t | device, |
uint16_t | vid | ||
) |
Event on USBH_Device_GetVID finished (API)
device | device index |
vid | vendor ID |
__STATIC_INLINE void EvrUSBH_Core_DeviceGetPID | ( | uint8_t | device, |
uint16_t | pid | ||
) |
Event on USBH_Device_GetPID finished (API)
device | device index |
pid | product ID |
__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)
device | device index |
index | string descriptor index |
lang_id | language ID |
desc_length | descriptor length |
__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)
device | device index |
index | string descriptor index |
lang_id | language ID |
desc_length | descriptor length |
error | error code usbStatus |
__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)
ctrl | index of USB Host controller. |
port | index of Root HUB port. |
device | index of USB Device
|
notify | notification:
|
__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)
device | index of USB Device. |
ep_addr | endpoint address
|
ep_type | endpoint type. |
ep_max_packet_size | endpoint maximum packet size. |
ep_interval | endpoint polling interval. |
pipe_hndl | pipe handle or pipe creation failed
|
__STATIC_INLINE void EvrUSBH_Core_PipeUpdate | ( | USBH_PIPE_HANDLE | pipe_hndl | ) |
Event on USBH_PipeUpdate start (API)
pipe_hndl | pipe handle. |
__STATIC_INLINE void EvrUSBH_Core_PipeUpdateFailed | ( | USBH_PIPE_HANDLE | pipe_hndl, |
usbStatus | error | ||
) |
Event on USBH_PipeUpdate failed (Error)
pipe_hndl | pipe handle. |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBH_Core_PipeDelete | ( | USBH_PIPE_HANDLE | pipe_hndl | ) |
Event on USBH_PipeDelete start (API)
pipe_hndl | pipe handle. |
__STATIC_INLINE void EvrUSBH_Core_PipeDeleteFailed | ( | USBH_PIPE_HANDLE | pipe_hndl, |
usbStatus | error | ||
) |
Event on USBH_PipeDelete failed (Error)
pipe_hndl | pipe handle. |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBH_Core_PipeReset | ( | USBH_PIPE_HANDLE | pipe_hndl | ) |
Event on USBH_PipeReset start (API)
pipe_hndl | pipe handle. |
__STATIC_INLINE void EvrUSBH_Core_PipeResetFailed | ( | USBH_PIPE_HANDLE | pipe_hndl, |
usbStatus | error | ||
) |
Event on USBH_PipeReset failed (Error)
pipe_hndl | pipe handle. |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBH_Core_PipeReceive | ( | USBH_PIPE_HANDLE | pipe_hndl, |
uint32_t | len | ||
) |
Event on USBH_PipeReceive start (API)
pipe_hndl | pipe handle. |
len | maximum number of bytes to receive |
__STATIC_INLINE void EvrUSBH_Core_PipeReceiveFailed | ( | USBH_PIPE_HANDLE | pipe_hndl, |
uint32_t | len, | ||
usbStatus | error | ||
) |
Event on USBH_PipeReceive failed (Error)
pipe_hndl | pipe handle. |
len | maximum number of bytes to receive |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBH_Core_PipeReceiveGetResult | ( | USBH_PIPE_HANDLE | pipe_hndl, |
uint32_t | num | ||
) |
Event on USBH_PipeReceiveGetResult finished (API)
pipe_hndl | pipe handle. |
num | number of successfully received data bytes |
__STATIC_INLINE void EvrUSBH_Core_PipeSend | ( | USBH_PIPE_HANDLE | pipe_hndl, |
uint32_t | len | ||
) |
Event on USBH_PipeSend start (API)
pipe_hndl | pipe handle. |
len | maximum number of bytes to send |
__STATIC_INLINE void EvrUSBH_Core_PipeSendFailed | ( | USBH_PIPE_HANDLE | pipe_hndl, |
uint32_t | len, | ||
usbStatus | error | ||
) |
Event on USBH_PipeSend failed (Error)
pipe_hndl | pipe handle. |
len | number of bytes to send |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBH_Core_PipeSendGetResult | ( | USBH_PIPE_HANDLE | pipe_hndl, |
uint32_t | num | ||
) |
Event on USBH_PipeSendGetResult finished (API)
pipe_hndl | pipe handle. |
num | number of successfully sent data bytes |
__STATIC_INLINE void EvrUSBH_Core_PipeAbort | ( | USBH_PIPE_HANDLE | pipe_hndl | ) |
Event on USBH_PipeAbort start (API)
pipe_hndl | pipe handle. |
__STATIC_INLINE void EvrUSBH_Core_PipeAbortFailed | ( | USBH_PIPE_HANDLE | pipe_hndl, |
usbStatus | error | ||
) |
Event on USBH_PipeAbort failed (Error)
pipe_hndl | pipe handle. |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBH_Core_ControlTransfer | ( | uint8_t | device, |
const void * | setup_packet, | ||
uint32_t | len | ||
) |
Event on USBH_ControlTransfer start (API)
device | device index |
setup_packet | setup packet content |
len | number of data bytes in data stage |
__STATIC_INLINE void EvrUSBH_Core_ControlTransferFailed | ( | uint8_t | device, |
const void * | setup_packet, | ||
usbStatus | error | ||
) |
Event on USBH_ControlTransfer failed (Error)
device | device index |
setup_packet | setup packet content |
error | error code usbStatus |
__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)
device | device index |
recipient | recipient |
index | interface or endpoint index |
status | received status |
__STATIC_INLINE void EvrUSBH_Core_RequestGetStatusFailed | ( | uint8_t | device, |
uint8_t | recipient, | ||
uint8_t | index, | ||
usbStatus | error | ||
) |
Event on USBH_DeviceRequest_GetStatus failed (Error)
device | device index |
recipient | recipient |
index | interface or endpoint index |
error | error code usbStatus |
__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)
device | device index |
recipient | recipient |
index | interface or endpoint index |
feature | feature selector |
__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)
device | device index |
recipient | recipient |
index | interface or endpoint index |
feature | feature selector |
error | error code usbStatus |
__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)
device | device index |
recipient | recipient |
index | interface or endpoint index |
feature | feature selector |
__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)
device | device index |
recipient | recipient |
index | interface or endpoint index |
feature | feature selector |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBH_Core_RequestSetAddress | ( | uint8_t | device, |
uint8_t | address | ||
) |
Event on USBH_DeviceRequest_SetAddress start (API)
device | device index |
address | device address |
__STATIC_INLINE void EvrUSBH_Core_RequestSetAddressFailed | ( | uint8_t | device, |
uint8_t | address, | ||
usbStatus | error | ||
) |
Event on USBH_DeviceRequest_SetAddress failed (Error)
device | device index |
address | device address |
error | error code usbStatus |
__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)
device | device index |
recipient | recipient |
desc_type | descriptor type |
desc_index | descriptor index |
lang_id | language ID |
desc_length | descriptor length |
__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)
device | device index |
recipient | recipient |
desc_type | descriptor type |
desc_index | descriptor index |
lang_id | language ID |
desc_length | descriptor length |
__STATIC_INLINE void EvrUSBH_Core_RequestGetConfiguration | ( | uint8_t | device, |
uint8_t | config | ||
) |
Event on USBH_DeviceRequest_GetConfiguration start (API)
device | device index |
config | configuration |
__STATIC_INLINE void EvrUSBH_Core_RequestGetConfigurationFailed | ( | uint8_t | device, |
usbStatus | error | ||
) |
Event on USBH_DeviceRequest_GetConfiguration failed (Error)
device | device index |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBH_Core_RequestSetConfiguration | ( | uint8_t | device, |
uint8_t | config | ||
) |
Event on USBH_DeviceRequest_SetConfiguration start (API)
device | device index |
config | configuration |
__STATIC_INLINE void EvrUSBH_Core_RequestSetConfigurationFailed | ( | uint8_t | device, |
uint8_t | config, | ||
usbStatus | error | ||
) |
Event on USBH_DeviceRequest_SetConfiguration failed (Error)
device | device index |
config | configuration |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBH_Core_RequestGetInterface | ( | uint8_t | device, |
uint8_t | index, | ||
uint8_t | alt | ||
) |
Event on USBH_DeviceRequest_GetInterface start (API)
device | device index |
index | interface index |
alt | alternate setting |
__STATIC_INLINE void EvrUSBH_Core_RequestGetInterfaceFailed | ( | uint8_t | device, |
uint8_t | index, | ||
usbStatus | error | ||
) |
Event on USBH_DeviceRequest_GetInterface failed (Error)
device | device index |
index | interface index |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBH_Core_RequestSetInterface | ( | uint8_t | device, |
uint8_t | index, | ||
uint8_t | alt | ||
) |
Event on USBH_DeviceRequest_SetInterface start (API)
device | device index |
index | interface index |
alt | alternate setting |
__STATIC_INLINE void EvrUSBH_Core_RequestSetInterfaceFailed | ( | uint8_t | device, |
uint8_t | index, | ||
uint8_t | alt, | ||
usbStatus | error | ||
) |
Event on USBH_DeviceRequest_SetInterface failed (Error)
device | device index |
index | interface index |
alt | alternate setting |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBH_Core_RequestSynchFrame | ( | uint8_t | device, |
uint8_t | index, | ||
uint16_t | frame_num | ||
) |
Event on USBH_DeviceRequest_SynchFrame start (API)
device | device index |
index | interface index |
frame_num | frame number |
__STATIC_INLINE void EvrUSBH_Core_RequestSynchFrameFailed | ( | uint8_t | device, |
uint8_t | index, | ||
usbStatus | error | ||
) |
Event on USBH_DeviceRequest_SynchFrame failed (Error)
device | device index |
index | interface index |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBH_Core_MemInitFailed | ( | uint8_t | ctrl, |
usbStatus | error | ||
) |
Event on internal operation memory initialization failed (Error)
ctrl | controller index |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBH_Core_MemInit | ( | uint8_t | ctrl | ) |
Event on internal operation memory initialization finished successfully (Detail)
ctrl | controller index |
__STATIC_INLINE void EvrUSBH_Core_MemUninitFailed | ( | uint8_t | ctrl, |
usbStatus | error | ||
) |
Event on internal operation memory uninitialization failed (Error)
ctrl | controller index |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBH_Core_MemUninit | ( | uint8_t | ctrl | ) |
Event on internal operation memory uninitialization finished successfully (Detail)
ctrl | controller index |
__STATIC_INLINE void EvrUSBH_Core_MemAllocFailed | ( | uint8_t | ctrl, |
uint32_t | size, | ||
usbStatus | error | ||
) |
Event on internal operation memory allocation failed (Error)
ctrl | controller index |
size | size of memory chunk to be allocated |
error | error code usbStatus |
__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)
ctrl | controller index |
ptr | pointer to allocated memory |
size | size of memory chunk to be allocated |
__STATIC_INLINE void EvrUSBH_Core_MemFreeFailed | ( | uint8_t | ctrl, |
const uint8_t * | ptr, | ||
usbStatus | error | ||
) |
Event on internal operation memory free failed (Error)
ctrl | controller index |
ptr | pointer to allocated memory chunk to be released |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBH_Core_MemFree | ( | uint8_t | ctrl, |
const uint8_t * | ptr | ||
) |
Event on internal operation memory free finished successfully (Detail)
ctrl | controller index |
ptr | pointer to allocated memory chunk to be released |
__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)
ctrl | controller index |
port | root HUB port |
event | event |
port_state | current port state |
__STATIC_INLINE void EvrUSBH_Core_EngineFailed | ( | uint8_t | ctrl, |
uint8_t | port, | ||
uint32_t | event | ||
) |
Event on internal operation engine failed (Error)
ctrl | controller index |
port | root HUB port |
event | event |
__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)
ctrl | controller index |
port | root HUB port |
event | event |
port_state | current port state |