| CMSIS-Driver Peripheral Interface for Middleware and Application Code |

Loading...
Searching...
No Matches
Functions
Driver_USBH.c File Reference

## Functions
ARM_DRIVER_VERSION | ARM_USBH_GetVersion (void)
| Get driver version.
ARM_USBH_CAPABILITIES | ARM_USBH_GetCapabilities (void)
| Get driver capabilities.
int32_t | ARM_USBH_Initialize (ARM_USBH_SignalPortEvent_t cb_port_event, ARM_USBH_SignalPipeEvent_t cb_pipe_event)
| Initialize USB Host Interface.
int32_t | ARM_USBH_Uninitialize (void)
| De-initialize USB Host Interface.
int32_t | ARM_USBH_PowerControl (ARM_POWER_STATE state)
| Control USB Host Interface Power.
int32_t | ARM_USBH_PortVbusOnOff (uint8_t port, bool vbus)
| Root HUB Port VBUS on/off.
int32_t | ARM_USBH_PortReset (uint8_t port)
| Do Root HUB Port Reset.
int32_t | ARM_USBH_PortSuspend (uint8_t port)
| Suspend Root HUB Port (stop generating SOFs).
int32_t | ARM_USBH_PortResume (uint8_t port)
| Resume Root HUB Port (start generating SOFs).
ARM_USBH_PORT_STATE | ARM_USBH_PortGetState (uint8_t port)
| Get current Root HUB Port State.
ARM_USBH_PIPE_HANDLE | ARM_USBH_PipeCreate (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)
| Create Pipe in System.
int32_t | ARM_USBH_PipeModify (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)
| Modify Pipe in System.
int32_t | ARM_USBH_PipeDelete (ARM_USBH_PIPE_HANDLE pipe_hndl)
| Delete Pipe from System.
int32_t | ARM_USBH_PipeReset (ARM_USBH_PIPE_HANDLE pipe_hndl)
| Reset Pipe.
int32_t | ARM_USBH_PipeTransfer (ARM_USBH_PIPE_HANDLE pipe_hndl, uint32_t packet, uint8_t *data, uint32_t num)
| Transfer packets through USB Pipe.
uint32_t | ARM_USBH_PipeTransferGetResult (ARM_USBH_PIPE_HANDLE pipe_hndl)
| Get result of USB Pipe transfer.
int32_t | ARM_USBH_PipeTransferAbort (ARM_USBH_PIPE_HANDLE pipe_hndl)
| Abort current USB Pipe transfer.
uint16_t | ARM_USBH_GetFrameNumber (void)
| Get current USB Frame Number.
void | ARM_USBH_SignalPortEvent (uint8_t port, uint32_t event)
| Signal Root HUB Port Event.
void | ARM_USBH_SignalPipeEvent (ARM_USBH_PIPE_HANDLE pipe_hndl, uint32_t event)
| Signal Pipe Event.