STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
usbh_conf_template.c
Go to the documentation of this file.
1 
28 /* Includes ------------------------------------------------------------------*/
29 #include "usbh_core.h"
30 
38 {
39 
40  return USBH_OK;
41 }
42 
50 {
51 
52  return USBH_OK;
53 }
54 
62 {
63 
64  return USBH_OK;
65 }
66 
74 {
75 
76  return USBH_OK;
77 }
78 
86 {
88 
89 
90  return speed;
91 }
92 
100 {
101 
102  return USBH_OK;
103 }
104 
112 uint32_t USBH_LL_GetLastXferSize (USBH_HandleTypeDef *phost, uint8_t pipe)
113 {
114  return 0;
115 }
116 
130  uint8_t pipe_num,
131  uint8_t epnum,
132  uint8_t dev_address,
133  uint8_t speed,
134  uint8_t ep_type,
135  uint16_t mps)
136 {
137 
138  return USBH_OK;
139 }
140 
149 {
150  return USBH_OK;
151 }
152 
183  uint8_t pipe,
184  uint8_t direction ,
185  uint8_t ep_type,
186  uint8_t token,
187  uint8_t* pbuff,
188  uint16_t length,
189  uint8_t do_ping )
190 {
191 
192  return USBH_OK;
193 }
194 
211 {
212  return USBH_URB_IDLE;
213 }
214 
227 {
228 
229  return USBH_OK;
230 }
231 
241 USBH_StatusTypeDef USBH_LL_SetToggle (USBH_HandleTypeDef *phost, uint8_t pipe, uint8_t toggle)
242 {
243 
244  return USBH_OK;
245 }
246 
254 uint8_t USBH_LL_GetToggle (USBH_HandleTypeDef *phost, uint8_t pipe)
255 {
256  uint8_t toggle = 0;
257 
258 
259  return toggle;
260 }
267 void USBH_Delay (uint32_t Delay)
268 {
269 
270 }
271 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Header file for usbh_core.c.
USBH_StatusTypeDef USBH_LL_ClosePipe(USBH_HandleTypeDef *phost, uint8_t pipe)
USBH_LL_ClosePipe Close a pipe of the Low Level Driver.
USBH_StatusTypeDef USBH_LL_DriverVBUS(USBH_HandleTypeDef *phost, uint8_t state)
USBH_LL_DriverVBUS Drive VBUS.
void USBH_Delay(uint32_t Delay)
USBH_Delay Delay routine for the USB Host Library.
USBH_StatusTypeDef USBH_LL_Init(USBH_HandleTypeDef *phost)
USBH_LL_Init Initialize the Low Level portion of the Host driver.
uint32_t USBH_LL_GetLastXferSize(USBH_HandleTypeDef *phost, uint8_t pipe)
USBH_LL_GetLastXferSize Return the last transferred packet size.
USBH_SpeedTypeDef USBH_LL_GetSpeed(USBH_HandleTypeDef *phost)
USBH_LL_GetSpeed Return the USB Host Speed from the Low Level Driver.
USBH_StatusTypeDef USBH_LL_DeInit(USBH_HandleTypeDef *phost)
USBH_LL_DeInit De-Initialize the Low Level portion of the Host driver.
USBH_StatusTypeDef USBH_LL_OpenPipe(USBH_HandleTypeDef *phost, uint8_t pipe_num, uint8_t epnum, uint8_t dev_address, uint8_t speed, uint8_t ep_type, uint16_t mps)
USBH_LL_OpenPipe Open a pipe of the Low Level Driver.
uint8_t USBH_LL_GetToggle(USBH_HandleTypeDef *phost, uint8_t pipe)
USBH_LL_GetToggle Return the current toggle of a pipe.
USBH_StatusTypeDef USBH_LL_Stop(USBH_HandleTypeDef *phost)
USBH_LL_Stop Stop the Low Level portion of the Host driver.
USBH_URBStateTypeDef
Definition: usbh_def.h:384
USBH_StatusTypeDef USBH_LL_SetToggle(USBH_HandleTypeDef *phost, uint8_t pipe, uint8_t toggle)
USBH_LL_SetToggle Set toggle for a pipe.
USBH_URBStateTypeDef USBH_LL_GetURBState(USBH_HandleTypeDef *phost, uint8_t pipe)
USBH_LL_GetURBState Get a URB state from the low level driver.
USBH_StatusTypeDef USBH_LL_SubmitURB(USBH_HandleTypeDef *phost, uint8_t pipe, uint8_t direction, uint8_t ep_type, uint8_t token, uint8_t *pbuff, uint16_t length, uint8_t do_ping)
USBH_LL_SubmitURB Submit a new URB to the low level driver.
USBH_StatusTypeDef USBH_LL_ResetPort(USBH_HandleTypeDef *phost)
USBH_LL_ResetPort Reset the Host Port of the Low Level Driver.
USBH_StatusTypeDef
Definition: usbh_def.h:302
USBH_SpeedTypeDef
Definition: usbh_def.h:317
USBH_StatusTypeDef USBH_LL_Start(USBH_HandleTypeDef *phost)
USBH_LL_Start Start the Low Level portion of the Host driver.