|
discoverpixy
|
|
Functions | |
| uint32_t | HCD_Init (USB_OTG_CORE_HANDLE *pdev, USB_OTG_CORE_ID_TypeDef coreID) |
| HCD_Init Initialize the HOST portion of the driver. More... | |
| uint32_t | HCD_GetCurrentSpeed (USB_OTG_CORE_HANDLE *pdev) |
| HCD_GetCurrentSpeed Get Current device Speed. More... | |
| uint32_t | HCD_ResetPort (USB_OTG_CORE_HANDLE *pdev) |
| HCD_ResetPort Issues the reset command to device. More... | |
| uint32_t | HCD_IsDeviceConnected (USB_OTG_CORE_HANDLE *pdev) |
| HCD_IsDeviceConnected Check if the device is connected. More... | |
| uint32_t | HCD_GetCurrentFrame (USB_OTG_CORE_HANDLE *pdev) |
| HCD_GetCurrentFrame This function returns the frame number for sof packet. More... | |
| URB_STATE | HCD_GetURB_State (USB_OTG_CORE_HANDLE *pdev, uint8_t ch_num) |
| HCD_GetURB_State This function returns the last URBstate. More... | |
| uint32_t | HCD_GetXferCnt (USB_OTG_CORE_HANDLE *pdev, uint8_t ch_num) |
| HCD_GetXferCnt This function returns the last URBstate. More... | |
| HC_STATUS | HCD_GetHCState (USB_OTG_CORE_HANDLE *pdev, uint8_t ch_num) |
| HCD_GetHCState This function returns the HC Status. More... | |
| uint32_t | HCD_HC_Init (USB_OTG_CORE_HANDLE *pdev, uint8_t hc_num) |
| HCD_HC_Init This function prepare a HC and start a transfer. More... | |
| uint32_t | HCD_SubmitRequest (USB_OTG_CORE_HANDLE *pdev, uint8_t hc_num) |
| HCD_SubmitRequest This function prepare a HC and start a transfer. More... | |
| uint32_t HCD_GetCurrentFrame | ( | USB_OTG_CORE_HANDLE * | pdev | ) |
HCD_GetCurrentFrame This function returns the frame number for sof packet.
| pdev | : Selected device |
| Frame | number |

| uint32_t HCD_GetCurrentSpeed | ( | USB_OTG_CORE_HANDLE * | pdev | ) |
HCD_GetCurrentSpeed Get Current device Speed.
| pdev | : Selected device |
| Status |

| HC_STATUS HCD_GetHCState | ( | USB_OTG_CORE_HANDLE * | pdev, |
| uint8_t | ch_num | ||
| ) |
HCD_GetHCState This function returns the HC Status.
| pdev | Selected device |
| HC_STATUS |
| URB_STATE HCD_GetURB_State | ( | USB_OTG_CORE_HANDLE * | pdev, |
| uint8_t | ch_num | ||
| ) |
HCD_GetURB_State This function returns the last URBstate.
| pdev | Selected device |
| URB_STATE |

| uint32_t HCD_GetXferCnt | ( | USB_OTG_CORE_HANDLE * | pdev, |
| uint8_t | ch_num | ||
| ) |
HCD_GetXferCnt This function returns the last URBstate.
| pdev | Selected device |
| No. | of data bytes transferred |

| uint32_t HCD_HC_Init | ( | USB_OTG_CORE_HANDLE * | pdev, |
| uint8_t | hc_num | ||
| ) |
HCD_HC_Init This function prepare a HC and start a transfer.
| pdev | Selected device |
| hc_num | Channel number |
| status |
| uint32_t HCD_Init | ( | USB_OTG_CORE_HANDLE * | pdev, |
| USB_OTG_CORE_ID_TypeDef | coreID | ||
| ) |
HCD_Init Initialize the HOST portion of the driver.
| pdev | Selected device |
| base_address | OTG base address |
| Status |


| uint32_t HCD_IsDeviceConnected | ( | USB_OTG_CORE_HANDLE * | pdev | ) |
HCD_IsDeviceConnected Check if the device is connected.
| pdev | : Selected device |
| Device | connection status. 1 -> connected and 0 -> disconnected |

| uint32_t HCD_ResetPort | ( | USB_OTG_CORE_HANDLE * | pdev | ) |
HCD_ResetPort Issues the reset command to device.
| pdev | : Selected device |
| Status |

| uint32_t HCD_SubmitRequest | ( | USB_OTG_CORE_HANDLE * | pdev, |
| uint8_t | hc_num | ||
| ) |
HCD_SubmitRequest This function prepare a HC and start a transfer.
| pdev | Selected device |
| hc_num | Channel number |
| status |

1.8.9.1