Events generated by USB Host - Driver functions. More...
Functions | |
__STATIC_INLINE void | EvrUSBH_Driver_Initialize (uint8_t ctrl) |
Event on ARM_USBH_Initialize finished successfully (API) | |
__STATIC_INLINE void | EvrUSBH_Driver_InitializeFailed (uint8_t ctrl, int32_t error) |
Event on ARM_USBH_Initialize failed (Error) | |
__STATIC_INLINE void | EvrUSBH_Driver_Uninitialize (uint8_t ctrl) |
Event on ARM_USBH_Uninitialize finished successfully (API) | |
__STATIC_INLINE void | EvrUSBH_Driver_UninitializeFailed (uint8_t ctrl, int32_t error) |
Event on ARM_USBH_Uninitialize failed (Error) | |
__STATIC_INLINE void | EvrUSBH_Driver_PowerControl (uint8_t ctrl, ARM_POWER_STATE state) |
Event on ARM_USBH_PowerControl finished successfully (API) | |
__STATIC_INLINE void | EvrUSBH_Driver_PowerControlFailed (uint8_t ctrl, ARM_POWER_STATE state, int32_t error) |
Event on ARM_USBH_PowerControl failed (Error) | |
__STATIC_INLINE void | EvrUSBH_Driver_PortVbusOnOff (uint8_t ctrl, uint8_t port, bool vbus) |
Event on ARM_USBH_PortVbusOnOff finished successfully (API) | |
__STATIC_INLINE void | EvrUSBH_Driver_PortVbusOnOffFailed (uint8_t ctrl, uint8_t port, bool vbus, int32_t error) |
Event on ARM_USBH_PortVbusOnOff failed (Error) | |
__STATIC_INLINE void | EvrUSBH_Driver_PortReset (uint8_t ctrl, uint8_t port) |
Event on ARM_USBH_PortReset finished successfully (API) | |
__STATIC_INLINE void | EvrUSBH_Driver_PortResetFailed (uint8_t ctrl, uint8_t port, int32_t error) |
Event on ARM_USBH_PortReset failed (Error) | |
__STATIC_INLINE void | EvrUSBH_Driver_PortSuspend (uint8_t ctrl, uint8_t port) |
Event on ARM_USBH_PortSuspend finished successfully (API) | |
__STATIC_INLINE void | EvrUSBH_Driver_PortSuspendFailed (uint8_t ctrl, uint8_t port, int32_t error) |
Event on ARM_USBH_PortSuspend failed (Error) | |
__STATIC_INLINE void | EvrUSBH_Driver_PortResume (uint8_t ctrl, uint8_t port) |
Event on ARM_USBH_PortResume finished successfully (API) | |
__STATIC_INLINE void | EvrUSBH_Driver_PortResumeFailed (uint8_t ctrl, uint8_t port, int32_t error) |
Event on ARM_USBH_PortResume failed (Error) | |
__STATIC_INLINE void | EvrUSBH_Driver_PortGetState (uint8_t ctrl, uint8_t port, ARM_USBH_PORT_STATE state) |
Event on ARM_USBH_PortGetState finished (API) | |
__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) | |
__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) | |
__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) | |
__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) | |
__STATIC_INLINE void | EvrUSBH_Driver_PipeDelete (uint8_t ctrl, ARM_USBH_PIPE_HANDLE pipe_hndl) |
Event on ARM_USBH_PipeDelete finished successfully (API) | |
__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) | |
__STATIC_INLINE void | EvrUSBH_Driver_PipeReset (uint8_t ctrl, ARM_USBH_PIPE_HANDLE pipe_hndl) |
Event on ARM_USBH_PipeReset finished successfully (API) | |
__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) | |
__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) | |
__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) | |
__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) | |
__STATIC_INLINE void | EvrUSBH_Driver_PipeTransferAbort (uint8_t ctrl, ARM_USBH_PIPE_HANDLE pipe_hndl) |
Event on ARM_USBH_PipeTransferAbort finished successfully (API) | |
__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) | |
__STATIC_INLINE void | EvrUSBH_Driver_GetFrameNumber (uint8_t ctrl, uint16_t frame_number) |
Event on ARM_USBH_GetFrameNumber finished (API) | |
__STATIC_INLINE void | EvrUSBH_Driver_OnSignalPortEvent (uint8_t ctrl, uint8_t port, uint32_t event) |
Event on ARM_USBH_SignalPortEvent callback start (API) | |
__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) | |
Events generated by USB Host - Driver functions.
__STATIC_INLINE void EvrUSBH_Driver_GetFrameNumber | ( | uint8_t | ctrl, |
uint16_t | frame_number | ||
) |
Event on ARM_USBH_GetFrameNumber finished (API)
ctrl | controller index |
frame_number | frame number |
__STATIC_INLINE void EvrUSBH_Driver_Initialize | ( | uint8_t | ctrl | ) |
Event on ARM_USBH_Initialize finished successfully (API)
ctrl | controller index |
__STATIC_INLINE void EvrUSBH_Driver_InitializeFailed | ( | uint8_t | ctrl, |
int32_t | error | ||
) |
Event on ARM_USBH_Initialize failed (Error)
ctrl | controller index |
error | error code (ARM_DRIVER_xxx) |
__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)
ctrl | controller index |
pipe_hndl | pipe handle |
event | pipe event USBH_pipe_events |
__STATIC_INLINE void EvrUSBH_Driver_OnSignalPortEvent | ( | uint8_t | ctrl, |
uint8_t | port, | ||
uint32_t | event | ||
) |
Event on ARM_USBH_SignalPortEvent callback start (API)
ctrl | controller index |
port | root HUB port number |
event | port event USBH_port_events |
__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)
ctrl | controller index |
dev_addr | device address |
dev_speed | device speed |
hub_addr | hub address |
hub_port | hub port |
ep_addr | endpoint address
|
ep_type | endpoint type (ARM_USB_ENDPOINT_xxx) |
ep_max_packet_size | endpoint maximum packet size |
ep_interval | endpoint polling interval |
pipe_hndl | pipe handle ARM_USBH_PIPE_HANDLE |
__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)
ctrl | controller index |
dev_addr | device address |
dev_speed | device speed |
hub_addr | hub address |
hub_port | hub port |
ep_addr | endpoint address
|
ep_type | endpoint type (ARM_USB_ENDPOINT_xxx) |
ep_max_packet_size | endpoint maximum packet size |
ep_interval | endpoint polling interval |
__STATIC_INLINE void EvrUSBH_Driver_PipeDelete | ( | uint8_t | ctrl, |
ARM_USBH_PIPE_HANDLE | pipe_hndl | ||
) |
Event on ARM_USBH_PipeDelete finished successfully (API)
ctrl | controller index |
pipe_hndl | pipe handle |
__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)
ctrl | controller index |
pipe_hndl | pipe handle |
error | error code (ARM_DRIVER_xxx) |
__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)
ctrl | controller index |
pipe_hndl | pipe handle |
dev_addr | device address |
dev_speed | device speed |
hub_addr | hub address |
hub_port | hub port |
ep_max_packet_size | endpoint maximum packet size |
__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)
ctrl | controller index |
pipe_hndl | pipe handle |
dev_addr | device address |
dev_speed | device speed |
hub_addr | hub address |
hub_port | hub port |
ep_max_packet_size | endpoint maximum packet size |
error | error code (ARM_DRIVER_xxx) |
__STATIC_INLINE void EvrUSBH_Driver_PipeReset | ( | uint8_t | ctrl, |
ARM_USBH_PIPE_HANDLE | pipe_hndl | ||
) |
Event on ARM_USBH_PipeReset finished successfully (API)
ctrl | controller index |
pipe_hndl | pipe handle |
__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)
ctrl | controller index |
pipe_hndl | pipe handle |
error | error code (ARM_DRIVER_xxx) |
__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)
ctrl | controller index |
pipe_hndl | pipe handle |
packet | packet information |
num | number of data bytes to transfer |
__STATIC_INLINE void EvrUSBH_Driver_PipeTransferAbort | ( | uint8_t | ctrl, |
ARM_USBH_PIPE_HANDLE | pipe_hndl | ||
) |
Event on ARM_USBH_PipeTransferAbort finished successfully (API)
ctrl | controller index |
pipe_hndl | pipe handle |
__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)
ctrl | controller index |
pipe_hndl | pipe handle |
error | error code (ARM_DRIVER_xxx) |
__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)
ctrl | controller index |
pipe_hndl | pipe handle |
packet | packet information |
num | number of data bytes to transfer |
error | error code (ARM_DRIVER_xxx) |
__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)
ctrl | controller index |
pipe_hndl | pipe handle |
num | number of successfully transferred data bytes |
__STATIC_INLINE void EvrUSBH_Driver_PortGetState | ( | uint8_t | ctrl, |
uint8_t | port, | ||
ARM_USBH_PORT_STATE | state | ||
) |
Event on ARM_USBH_PortGetState finished (API)
ctrl | controller index |
port | root HUB port number |
state | port state ARM_USBH_STATE |
__STATIC_INLINE void EvrUSBH_Driver_PortReset | ( | uint8_t | ctrl, |
uint8_t | port | ||
) |
Event on ARM_USBH_PortReset finished successfully (API)
ctrl | controller index |
port | root HUB port number |
__STATIC_INLINE void EvrUSBH_Driver_PortResetFailed | ( | uint8_t | ctrl, |
uint8_t | port, | ||
int32_t | error | ||
) |
Event on ARM_USBH_PortReset failed (Error)
ctrl | controller index |
port | root HUB port number |
error | error code (ARM_DRIVER_xxx) |
__STATIC_INLINE void EvrUSBH_Driver_PortResume | ( | uint8_t | ctrl, |
uint8_t | port | ||
) |
Event on ARM_USBH_PortResume finished successfully (API)
ctrl | controller index |
port | root HUB port number |
__STATIC_INLINE void EvrUSBH_Driver_PortResumeFailed | ( | uint8_t | ctrl, |
uint8_t | port, | ||
int32_t | error | ||
) |
Event on ARM_USBH_PortResume failed (Error)
ctrl | controller index |
port | root HUB port number |
error | error code (ARM_DRIVER_xxx) |
__STATIC_INLINE void EvrUSBH_Driver_PortSuspend | ( | uint8_t | ctrl, |
uint8_t | port | ||
) |
Event on ARM_USBH_PortSuspend finished successfully (API)
ctrl | controller index |
port | root HUB port number |
__STATIC_INLINE void EvrUSBH_Driver_PortSuspendFailed | ( | uint8_t | ctrl, |
uint8_t | port, | ||
int32_t | error | ||
) |
Event on ARM_USBH_PortSuspend failed (Error)
ctrl | controller index |
port | root HUB port number |
error | error code (ARM_DRIVER_xxx) |
__STATIC_INLINE void EvrUSBH_Driver_PortVbusOnOff | ( | uint8_t | ctrl, |
uint8_t | port, | ||
bool | vbus | ||
) |
Event on ARM_USBH_PortVbusOnOff finished successfully (API)
ctrl | controller index |
port | root HUB port number |
vbus | VBUS state
|
__STATIC_INLINE void EvrUSBH_Driver_PortVbusOnOffFailed | ( | uint8_t | ctrl, |
uint8_t | port, | ||
bool | vbus, | ||
int32_t | error | ||
) |
Event on ARM_USBH_PortVbusOnOff failed (Error)
ctrl | controller index |
port | root HUB port number |
vbus | VBUS state
|
error | error code (ARM_DRIVER_xxx) |
__STATIC_INLINE void EvrUSBH_Driver_PowerControl | ( | uint8_t | ctrl, |
ARM_POWER_STATE | state | ||
) |
Event on ARM_USBH_PowerControl finished successfully (API)
ctrl | controller index |
state | power state ARM_POWER_STATE |
__STATIC_INLINE void EvrUSBH_Driver_PowerControlFailed | ( | uint8_t | ctrl, |
ARM_POWER_STATE | state, | ||
int32_t | error | ||
) |
Event on ARM_USBH_PowerControl failed (Error)
ctrl | controller index |
state | power state |
error | error code (ARM_DRIVER_xxx) |
__STATIC_INLINE void EvrUSBH_Driver_Uninitialize | ( | uint8_t | ctrl | ) |
Event on ARM_USBH_Uninitialize finished successfully (API)
ctrl | controller index |
__STATIC_INLINE void EvrUSBH_Driver_UninitializeFailed | ( | uint8_t | ctrl, |
int32_t | error | ||
) |
Event on ARM_USBH_Uninitialize failed (Error)
ctrl | controller index |
error | error code (ARM_DRIVER_xxx) |