Events generated by USB Device - Driver functions. More...
Functions | |
__STATIC_INLINE void | EvrUSBD_Driver_Initialize (uint8_t device) |
Event on ARM_USBD_Initialize finished successfully (API) | |
__STATIC_INLINE void | EvrUSBD_Driver_InitializeFailed (uint8_t device, int32_t error) |
Event on ARM_USBD_Initialize failed (Error) | |
__STATIC_INLINE void | EvrUSBD_Driver_Uninitialize (uint8_t device) |
Event on ARM_USBD_Uninitialize finished successfully (API) | |
__STATIC_INLINE void | EvrUSBD_Driver_UninitializeFailed (uint8_t device, int32_t error) |
Event on ARM_USBD_Uninitialize failed (Error) | |
__STATIC_INLINE void | EvrUSBD_Driver_PowerControl (uint8_t device, ARM_POWER_STATE state) |
Event on ARM_USBD_PowerControl finished successfully (API) | |
__STATIC_INLINE void | EvrUSBD_Driver_PowerControlFailed (uint8_t device, ARM_POWER_STATE state, int32_t error) |
Event on ARM_USBD_PowerControl failed (Error) | |
__STATIC_INLINE void | EvrUSBD_Driver_DeviceConnect (uint8_t device) |
Event on ARM_USBD_DeviceConnect finished successfully (API) | |
__STATIC_INLINE void | EvrUSBD_Driver_DeviceConnectFailed (uint8_t device, int32_t error) |
Event on ARM_USBD_DeviceConnect failed (Error) | |
__STATIC_INLINE void | EvrUSBD_Driver_DeviceDisconnect (uint8_t device) |
Event on ARM_USBD_DeviceDisconnect finished successfully (API) | |
__STATIC_INLINE void | EvrUSBD_Driver_DeviceDisconnectFailed (uint8_t device, int32_t error) |
Event on ARM_USBD_DeviceDisconnect failed (Error) | |
__STATIC_INLINE void | EvrUSBD_Driver_DeviceGetState (uint8_t device, ARM_USBD_STATE state) |
Event on ARM_USBD_DeviceGetState finished (API) | |
__STATIC_INLINE void | EvrUSBD_Driver_DeviceRemoteWakeup (uint8_t device) |
Event on ARM_USBD_DeviceRemoteWakeup finished successfully (API) | |
__STATIC_INLINE void | EvrUSBD_Driver_DeviceRemoteWakeupFailed (uint8_t device, int32_t error) |
Event on ARM_USBD_DeviceRemoteWakeup failed (Error) | |
__STATIC_INLINE void | EvrUSBD_Driver_DeviceSetAddress (uint8_t device, uint8_t dev_addr) |
Event on ARM_USBD_DeviceSetAddress finished successfully (API) | |
__STATIC_INLINE void | EvrUSBD_Driver_DeviceSetAddressFailed (uint8_t device, uint8_t dev_addr, int32_t error) |
Event on ARM_USBD_DeviceSetAddress failed (Error) | |
__STATIC_INLINE void | EvrUSBD_Driver_ReadSetupPacket (uint8_t device, const void *setup_packet) |
Event on ARM_USBD_ReadSetupPacket finished successfully (API) | |
__STATIC_INLINE void | EvrUSBD_Driver_ReadSetupPacketFailed (uint8_t device, int32_t error) |
Event on ARM_USBD_ReadSetupPacket failed (Error) | |
__STATIC_INLINE void | EvrUSBD_Driver_EndpointConfigure (uint8_t device, uint8_t ep_addr, uint8_t ep_type, uint16_t ep_max_packet_size) |
Event on ARM_USBD_EndpointConfigure finished successfully (API) | |
__STATIC_INLINE void | EvrUSBD_Driver_EndpointConfigureFailed (uint8_t device, uint8_t ep_addr, uint8_t ep_type, uint16_t ep_max_packet_size, int32_t error) |
Event on ARM_USBD_EndpointConfigure failed (Error) | |
__STATIC_INLINE void | EvrUSBD_Driver_EndpointUnconfigure (uint8_t device, uint8_t ep_addr) |
Event on ARM_USBD_EndpointUnconfigure finished successfully (API) | |
__STATIC_INLINE void | EvrUSBD_Driver_EndpointUnconfigureFailed (uint8_t device, uint8_t ep_addr, int32_t error) |
Event on ARM_USBD_EndpointUnconfigure failed (Error) | |
__STATIC_INLINE void | EvrUSBD_Driver_EndpointStall (uint8_t device, uint8_t ep_addr, bool stall) |
Event on ARM_USBD_EndpointStall finished successfully (API) | |
__STATIC_INLINE void | EvrUSBD_Driver_EndpointStallFailed (uint8_t device, uint8_t ep_addr, bool stall, int32_t error) |
Event on ARM_USBD_EndpointStall failed (Error) | |
__STATIC_INLINE void | EvrUSBD_Driver_EndpointTransfer (uint8_t device, uint8_t ep_addr, const uint8_t *data, uint32_t num) |
Event on ARM_USBD_EndpointTransfer finished successfully (API) | |
__STATIC_INLINE void | EvrUSBD_Driver_EndpointTransferFailed (uint8_t device, uint8_t ep_addr, int32_t error) |
Event on ARM_USBD_EndpointTransfer failed (Error) | |
__STATIC_INLINE void | EvrUSBD_Driver_EndpointTransferGetResult (uint8_t device, uint8_t ep_addr, uint32_t num) |
Event on ARM_USBD_EndpointTransferGetResult finished (API) | |
__STATIC_INLINE void | EvrUSBD_Driver_EndpointTransferAbort (uint8_t device, uint8_t ep_addr) |
Event on ARM_USBD_EndpointTransferAbort finished successfully (API) | |
__STATIC_INLINE void | EvrUSBD_Driver_EndpointTransferAbortFailed (uint8_t device, uint8_t ep_addr, int32_t error) |
Event on ARM_USBD_EndpointTransferAbort failed (Error) | |
__STATIC_INLINE void | EvrUSBD_Driver_GetFrameNumber (uint8_t device, uint16_t frame_number) |
Event on ARM_USBD_GetFrameNumber finished (API) | |
__STATIC_INLINE void | EvrUSBD_Driver_OnSignalDeviceEvent (uint8_t device, uint32_t event) |
Event on ARM_USBD_SignalDeviceEvent callback start (API) | |
__STATIC_INLINE void | EvrUSBD_Driver_OnSignalEndpointEvent (uint8_t device, uint8_t ep_addr, uint32_t event) |
Event on ARM_USBD_SignalEndpointEvent callback start (API) | |
Events generated by USB Device - Driver functions.
__STATIC_INLINE void EvrUSBD_Driver_DeviceConnect | ( | uint8_t | device | ) |
Event on ARM_USBD_DeviceConnect finished successfully (API)
device | device index |
__STATIC_INLINE void EvrUSBD_Driver_DeviceConnectFailed | ( | uint8_t | device, |
int32_t | error | ||
) |
Event on ARM_USBD_DeviceConnect failed (Error)
device | device index |
error | error code (ARM_DRIVER_xxx) |
__STATIC_INLINE void EvrUSBD_Driver_DeviceDisconnect | ( | uint8_t | device | ) |
Event on ARM_USBD_DeviceDisconnect finished successfully (API)
device | device index |
__STATIC_INLINE void EvrUSBD_Driver_DeviceDisconnectFailed | ( | uint8_t | device, |
int32_t | error | ||
) |
Event on ARM_USBD_DeviceDisconnect failed (Error)
device | device index |
error | error code (ARM_DRIVER_xxx) |
__STATIC_INLINE void EvrUSBD_Driver_DeviceGetState | ( | uint8_t | device, |
ARM_USBD_STATE | state | ||
) |
Event on ARM_USBD_DeviceGetState finished (API)
device | device index |
state | device state ARM_USBD_STATE |
__STATIC_INLINE void EvrUSBD_Driver_DeviceRemoteWakeup | ( | uint8_t | device | ) |
Event on ARM_USBD_DeviceRemoteWakeup finished successfully (API)
device | device index |
__STATIC_INLINE void EvrUSBD_Driver_DeviceRemoteWakeupFailed | ( | uint8_t | device, |
int32_t | error | ||
) |
Event on ARM_USBD_DeviceRemoteWakeup failed (Error)
device | device index |
error | error code (ARM_DRIVER_xxx) |
__STATIC_INLINE void EvrUSBD_Driver_DeviceSetAddress | ( | uint8_t | device, |
uint8_t | dev_addr | ||
) |
Event on ARM_USBD_DeviceSetAddress finished successfully (API)
device | device index |
dev_addr | device address |
__STATIC_INLINE void EvrUSBD_Driver_DeviceSetAddressFailed | ( | uint8_t | device, |
uint8_t | dev_addr, | ||
int32_t | error | ||
) |
Event on ARM_USBD_DeviceSetAddress failed (Error)
device | device index |
dev_addr | device address |
error | error code (ARM_DRIVER_xxx) |
__STATIC_INLINE void EvrUSBD_Driver_EndpointConfigure | ( | uint8_t | device, |
uint8_t | ep_addr, | ||
uint8_t | ep_type, | ||
uint16_t | ep_max_packet_size | ||
) |
Event on ARM_USBD_EndpointConfigure finished successfully (API)
device | device index |
ep_addr | endpoint address
|
ep_type | endpoint type (ARM_USB_ENDPOINT_xxx) |
ep_max_packet_size | endpoint maximum packet size |
__STATIC_INLINE void EvrUSBD_Driver_EndpointConfigureFailed | ( | uint8_t | device, |
uint8_t | ep_addr, | ||
uint8_t | ep_type, | ||
uint16_t | ep_max_packet_size, | ||
int32_t | error | ||
) |
Event on ARM_USBD_EndpointConfigure failed (Error)
device | device index |
ep_addr | endpoint address
|
ep_type | endpoint type (ARM_USB_ENDPOINT_xxx) |
ep_max_packet_size | endpoint maximum packet size |
error | error code (ARM_DRIVER_xxx) |
__STATIC_INLINE void EvrUSBD_Driver_EndpointStall | ( | uint8_t | device, |
uint8_t | ep_addr, | ||
bool | stall | ||
) |
Event on ARM_USBD_EndpointStall finished successfully (API)
device | device index |
ep_addr | endpoint address
|
stall | operation
|
__STATIC_INLINE void EvrUSBD_Driver_EndpointStallFailed | ( | uint8_t | device, |
uint8_t | ep_addr, | ||
bool | stall, | ||
int32_t | error | ||
) |
Event on ARM_USBD_EndpointStall failed (Error)
device | device index |
ep_addr | endpoint address
|
stall | operation
|
error | error code (ARM_DRIVER_xxx) |
__STATIC_INLINE void EvrUSBD_Driver_EndpointTransfer | ( | uint8_t | device, |
uint8_t | ep_addr, | ||
const uint8_t * | data, | ||
uint32_t | num | ||
) |
Event on ARM_USBD_EndpointTransfer finished successfully (API)
device | device index |
ep_addr | endpoint address
|
data | pointer to buffer for data to read or with data to write |
num | number of data bytes to transfer |
__STATIC_INLINE void EvrUSBD_Driver_EndpointTransferAbort | ( | uint8_t | device, |
uint8_t | ep_addr | ||
) |
Event on ARM_USBD_EndpointTransferAbort finished successfully (API)
device | device index |
ep_addr | endpoint address
|
__STATIC_INLINE void EvrUSBD_Driver_EndpointTransferAbortFailed | ( | uint8_t | device, |
uint8_t | ep_addr, | ||
int32_t | error | ||
) |
Event on ARM_USBD_EndpointTransferAbort failed (Error)
device | device index |
ep_addr | endpoint address
|
error | error code (ARM_DRIVER_xxx) |
__STATIC_INLINE void EvrUSBD_Driver_EndpointTransferFailed | ( | uint8_t | device, |
uint8_t | ep_addr, | ||
int32_t | error | ||
) |
Event on ARM_USBD_EndpointTransfer failed (Error)
device | device index |
ep_addr | endpoint address
|
error | error code (ARM_DRIVER_xxx) |
__STATIC_INLINE void EvrUSBD_Driver_EndpointTransferGetResult | ( | uint8_t | device, |
uint8_t | ep_addr, | ||
uint32_t | num | ||
) |
Event on ARM_USBD_EndpointTransferGetResult finished (API)
device | device index |
ep_addr | endpoint address
|
num | number of successfully transferred data bytes |
__STATIC_INLINE void EvrUSBD_Driver_EndpointUnconfigure | ( | uint8_t | device, |
uint8_t | ep_addr | ||
) |
Event on ARM_USBD_EndpointUnconfigure finished successfully (API)
device | device index |
ep_addr | endpoint address
|
__STATIC_INLINE void EvrUSBD_Driver_EndpointUnconfigureFailed | ( | uint8_t | device, |
uint8_t | ep_addr, | ||
int32_t | error | ||
) |
Event on ARM_USBD_EndpointUnconfigure failed (Error)
device | device index |
ep_addr | endpoint address
|
error | error code (ARM_DRIVER_xxx) |
__STATIC_INLINE void EvrUSBD_Driver_GetFrameNumber | ( | uint8_t | device, |
uint16_t | frame_number | ||
) |
Event on ARM_USBD_GetFrameNumber finished (API)
device | device index |
frame_number | frame number |
__STATIC_INLINE void EvrUSBD_Driver_Initialize | ( | uint8_t | device | ) |
Event on ARM_USBD_Initialize finished successfully (API)
device | device index |
__STATIC_INLINE void EvrUSBD_Driver_InitializeFailed | ( | uint8_t | device, |
int32_t | error | ||
) |
Event on ARM_USBD_Initialize failed (Error)
device | device index |
error | error code (ARM_DRIVER_xxx) |
__STATIC_INLINE void EvrUSBD_Driver_OnSignalDeviceEvent | ( | uint8_t | device, |
uint32_t | event | ||
) |
Event on ARM_USBD_SignalDeviceEvent callback start (API)
device | device index |
event | device event USBD_dev_events |
__STATIC_INLINE void EvrUSBD_Driver_OnSignalEndpointEvent | ( | uint8_t | device, |
uint8_t | ep_addr, | ||
uint32_t | event | ||
) |
Event on ARM_USBD_SignalEndpointEvent callback start (API)
device | device index |
ep_addr | endpoint address
|
event | endpoint event USBD_ep_events |
__STATIC_INLINE void EvrUSBD_Driver_PowerControl | ( | uint8_t | device, |
ARM_POWER_STATE | state | ||
) |
Event on ARM_USBD_PowerControl finished successfully (API)
device | device index |
state | power state ARM_POWER_STATE |
__STATIC_INLINE void EvrUSBD_Driver_PowerControlFailed | ( | uint8_t | device, |
ARM_POWER_STATE | state, | ||
int32_t | error | ||
) |
Event on ARM_USBD_PowerControl failed (Error)
device | device index |
state | power state ARM_POWER_STATE |
error | error code (ARM_DRIVER_xxx) |
__STATIC_INLINE void EvrUSBD_Driver_ReadSetupPacket | ( | uint8_t | device, |
const void * | setup_packet | ||
) |
Event on ARM_USBD_ReadSetupPacket finished successfully (API)
device | device index |
setup_packet | setup packet content |
__STATIC_INLINE void EvrUSBD_Driver_ReadSetupPacketFailed | ( | uint8_t | device, |
int32_t | error | ||
) |
Event on ARM_USBD_ReadSetupPacket failed (Error)
device | device index |
error | error code (ARM_DRIVER_xxx) |
__STATIC_INLINE void EvrUSBD_Driver_Uninitialize | ( | uint8_t | device | ) |
Event on ARM_USBD_Uninitialize finished successfully (API)
device | device index |
__STATIC_INLINE void EvrUSBD_Driver_UninitializeFailed | ( | uint8_t | device, |
int32_t | error | ||
) |
Event on ARM_USBD_Uninitialize failed (Error)
device | device index |
error | error code (ARM_DRIVER_xxx) |