Home
last modified time | relevance | path

Searched refs:USBH_StatusTypeDef (Results 1 – 18 of 18) sorted by relevance

/btstack/port/stm32-f4discovery-usb/Middlewares/ST/STM32_USB_Host_Library/Core/Inc/
H A Dusbh_core.h90 USBH_StatusTypeDef USBH_Init(USBH_HandleTypeDef *phost, void (*pUsrFunc)(USBH_HandleTypeDef *phost…
91 USBH_StatusTypeDef USBH_DeInit(USBH_HandleTypeDef *phost);
92 USBH_StatusTypeDef USBH_RegisterClass(USBH_HandleTypeDef *phost, USBH_ClassTypeDef *pclass);
93 USBH_StatusTypeDef USBH_SelectInterface(USBH_HandleTypeDef *phost, uint8_t interface);
106 USBH_StatusTypeDef USBH_Start(USBH_HandleTypeDef *phost);
107 USBH_StatusTypeDef USBH_Stop(USBH_HandleTypeDef *phost);
108 USBH_StatusTypeDef USBH_Process(USBH_HandleTypeDef *phost);
109 USBH_StatusTypeDef USBH_ReEnumerate(USBH_HandleTypeDef *phost);
112 USBH_StatusTypeDef USBH_LL_Init(USBH_HandleTypeDef *phost);
113 USBH_StatusTypeDef USBH_LL_DeInit(USBH_HandleTypeDef *phost);
[all …]
H A Dusbh_ctlreq.h89 USBH_StatusTypeDef USBH_CtlReq(USBH_HandleTypeDef *phost, uint8_t *buff,
92 USBH_StatusTypeDef USBH_GetDescriptor(USBH_HandleTypeDef *phost,
96 USBH_StatusTypeDef USBH_Get_DevDesc(USBH_HandleTypeDef *phost, uint8_t length);
98 USBH_StatusTypeDef USBH_Get_StringDesc(USBH_HandleTypeDef *phost,
102 USBH_StatusTypeDef USBH_SetCfg(USBH_HandleTypeDef *phost, uint16_t cfg_idx);
104 USBH_StatusTypeDef USBH_Get_CfgDesc(USBH_HandleTypeDef *phost, uint16_t length);
106 USBH_StatusTypeDef USBH_SetAddress(USBH_HandleTypeDef *phost,
109 USBH_StatusTypeDef USBH_SetInterface(USBH_HandleTypeDef *phost, uint8_t ep_num,
112 USBH_StatusTypeDef USBH_SetFeature(USBH_HandleTypeDef *phost, uint8_t wValue);
114 USBH_StatusTypeDef USBH_ClrFeature(USBH_HandleTypeDef *phost, uint8_t ep_num);
H A Dusbh_ioreq.h89 USBH_StatusTypeDef USBH_CtlSendSetup(USBH_HandleTypeDef *phost,
93 USBH_StatusTypeDef USBH_CtlSendData(USBH_HandleTypeDef *phost,
99 USBH_StatusTypeDef USBH_CtlReceiveData(USBH_HandleTypeDef *phost,
104 USBH_StatusTypeDef USBH_BulkReceiveData(USBH_HandleTypeDef *phost,
109 USBH_StatusTypeDef USBH_BulkSendData(USBH_HandleTypeDef *phost,
115 USBH_StatusTypeDef USBH_InterruptReceiveData(USBH_HandleTypeDef *phost,
120 USBH_StatusTypeDef USBH_InterruptSendData(USBH_HandleTypeDef *phost,
126 USBH_StatusTypeDef USBH_IsocReceiveData(USBH_HandleTypeDef *phost,
132 USBH_StatusTypeDef USBH_IsocSendData(USBH_HandleTypeDef *phost,
H A Dusbh_pipes.h77 USBH_StatusTypeDef USBH_OpenPipe(USBH_HandleTypeDef *phost,
85 USBH_StatusTypeDef USBH_ClosePipe(USBH_HandleTypeDef *phost,
91 USBH_StatusTypeDef USBH_FreePipe(USBH_HandleTypeDef *phost,
H A Dusbh_def.h309 } USBH_StatusTypeDef; typedef
444 USBH_StatusTypeDef(*Init)(struct _USBH_HandleTypeDef *phost);
445 USBH_StatusTypeDef(*DeInit)(struct _USBH_HandleTypeDef *phost);
446 USBH_StatusTypeDef(*Requests)(struct _USBH_HandleTypeDef *phost);
447 USBH_StatusTypeDef(*BgndProcess)(struct _USBH_HandleTypeDef *phost);
448 USBH_StatusTypeDef(*SOFProcess)(struct _USBH_HandleTypeDef *phost);
/btstack/port/stm32-f4discovery-usb/USB_HOST/Target/
H A Dusbh_conf.c48 USBH_StatusTypeDef USBH_Get_USB_Status(HAL_StatusTypeDef hal_status);
203 USBH_StatusTypeDef USBH_LL_Init(USBH_HandleTypeDef *phost) in USBH_LL_Init()
232 USBH_StatusTypeDef USBH_LL_DeInit(USBH_HandleTypeDef *phost) in USBH_LL_DeInit()
235 USBH_StatusTypeDef usb_status = USBH_OK; in USBH_LL_DeInit()
249 USBH_StatusTypeDef USBH_LL_Start(USBH_HandleTypeDef *phost) in USBH_LL_Start()
252 USBH_StatusTypeDef usb_status = USBH_OK; in USBH_LL_Start()
266 USBH_StatusTypeDef USBH_LL_Stop(USBH_HandleTypeDef *phost) in USBH_LL_Stop()
269 USBH_StatusTypeDef usb_status = USBH_OK; in USBH_LL_Stop()
313 USBH_StatusTypeDef USBH_LL_ResetPort(USBH_HandleTypeDef *phost) in USBH_LL_ResetPort()
316 USBH_StatusTypeDef usb_status = USBH_OK; in USBH_LL_ResetPort()
[all …]
/btstack/port/stm32-f4discovery-usb/Middlewares/ST/STM32_USB_Host_Library/Core/Src/
H A Dusbh_conf_template.c29 USBH_StatusTypeDef USBH_LL_Init(USBH_HandleTypeDef *phost) in USBH_LL_Init()
43 USBH_StatusTypeDef USBH_LL_DeInit(USBH_HandleTypeDef *phost) in USBH_LL_DeInit()
57 USBH_StatusTypeDef USBH_LL_Start(USBH_HandleTypeDef *phost) in USBH_LL_Start()
71 USBH_StatusTypeDef USBH_LL_Stop(USBH_HandleTypeDef *phost) in USBH_LL_Stop()
101 USBH_StatusTypeDef USBH_LL_ResetPort(USBH_HandleTypeDef *phost) in USBH_LL_ResetPort()
137 USBH_StatusTypeDef USBH_LL_OpenPipe(USBH_HandleTypeDef *phost, in USBH_LL_OpenPipe()
164 USBH_StatusTypeDef USBH_LL_ClosePipe(USBH_HandleTypeDef *phost, uint8_t pipe) in USBH_LL_ClosePipe()
202 USBH_StatusTypeDef USBH_LL_SubmitURB(USBH_HandleTypeDef *phost, in USBH_LL_SubmitURB()
259 USBH_StatusTypeDef USBH_LL_DriverVBUS(USBH_HandleTypeDef *phost, uint8_t state) in USBH_LL_DriverVBUS()
277 USBH_StatusTypeDef USBH_LL_SetToggle(USBH_HandleTypeDef *phost, uint8_t pipe, uint8_t toggle) in USBH_LL_SetToggle()
H A Dusbh_ioreq.c92 USBH_StatusTypeDef USBH_CtlSendSetup(USBH_HandleTypeDef *phost, in USBH_CtlSendSetup()
118 USBH_StatusTypeDef USBH_CtlSendData(USBH_HandleTypeDef *phost, in USBH_CtlSendData()
151 USBH_StatusTypeDef USBH_CtlReceiveData(USBH_HandleTypeDef *phost, in USBH_CtlReceiveData()
178 USBH_StatusTypeDef USBH_BulkSendData(USBH_HandleTypeDef *phost, in USBH_BulkSendData()
210 USBH_StatusTypeDef USBH_BulkReceiveData(USBH_HandleTypeDef *phost, in USBH_BulkReceiveData()
236 USBH_StatusTypeDef USBH_InterruptReceiveData(USBH_HandleTypeDef *phost, in USBH_InterruptReceiveData()
262 USBH_StatusTypeDef USBH_InterruptSendData(USBH_HandleTypeDef *phost, in USBH_InterruptSendData()
288 USBH_StatusTypeDef USBH_IsocReceiveData(USBH_HandleTypeDef *phost, in USBH_IsocReceiveData()
315 USBH_StatusTypeDef USBH_IsocSendData(USBH_HandleTypeDef *phost, in USBH_IsocSendData()
H A Dusbh_core.c76 static USBH_StatusTypeDef USBH_HandleEnum(USBH_HandleTypeDef *phost);
78 static USBH_StatusTypeDef DeInitStateMachine(USBH_HandleTypeDef *phost);
96 USBH_StatusTypeDef USBH_Init(USBH_HandleTypeDef *phost, in USBH_Init()
178 USBH_StatusTypeDef USBH_DeInit(USBH_HandleTypeDef *phost) in USBH_DeInit()
205 static USBH_StatusTypeDef DeInitStateMachine(USBH_HandleTypeDef *phost) in DeInitStateMachine()
245 USBH_StatusTypeDef USBH_RegisterClass(USBH_HandleTypeDef *phost, USBH_ClassTypeDef *pclass) in USBH_RegisterClass()
247 USBH_StatusTypeDef status = USBH_OK; in USBH_RegisterClass()
280 USBH_StatusTypeDef USBH_SelectInterface(USBH_HandleTypeDef *phost, uint8_t interface) in USBH_SelectInterface()
282 USBH_StatusTypeDef status = USBH_OK; in USBH_SelectInterface()
386 USBH_StatusTypeDef USBH_Start(USBH_HandleTypeDef *phost) in USBH_Start()
[all …]
H A Dusbh_ctlreq.c72 static USBH_StatusTypeDef USBH_HandleControl(USBH_HandleTypeDef *phost);
103 USBH_StatusTypeDef USBH_Get_DevDesc(USBH_HandleTypeDef *phost, uint8_t length) in USBH_Get_DevDesc()
105 USBH_StatusTypeDef status; in USBH_Get_DevDesc()
130 USBH_StatusTypeDef USBH_Get_CfgDesc(USBH_HandleTypeDef *phost, in USBH_Get_CfgDesc()
134 USBH_StatusTypeDef status; in USBH_Get_CfgDesc()
158 USBH_StatusTypeDef USBH_Get_StringDesc(USBH_HandleTypeDef *phost, in USBH_Get_StringDesc()
162 USBH_StatusTypeDef status; in USBH_Get_StringDesc()
188 USBH_StatusTypeDef USBH_GetDescriptor(USBH_HandleTypeDef *phost, in USBH_GetDescriptor()
222 USBH_StatusTypeDef USBH_SetAddress(USBH_HandleTypeDef *phost, in USBH_SetAddress()
248 USBH_StatusTypeDef USBH_SetCfg(USBH_HandleTypeDef *phost, uint16_t cfg_idx) in USBH_SetCfg()
[all …]
H A Dusbh_pipes.c85 USBH_StatusTypeDef USBH_OpenPipe(USBH_HandleTypeDef *phost, uint8_t pipe_num, in USBH_OpenPipe()
102 USBH_StatusTypeDef USBH_ClosePipe(USBH_HandleTypeDef *phost, uint8_t pipe_num) in USBH_ClosePipe()
139 USBH_StatusTypeDef USBH_FreePipe(USBH_HandleTypeDef *phost, uint8_t idx) in USBH_FreePipe()
/btstack/port/stm32-f4discovery-usb/Middlewares/ST/STM32_USB_Host_Library/Class/HID/Src/
H A Dusbh_hid.c100 static USBH_StatusTypeDef USBH_HID_InterfaceInit(USBH_HandleTypeDef *phost);
101 static USBH_StatusTypeDef USBH_HID_InterfaceDeInit(USBH_HandleTypeDef *phost);
102 static USBH_StatusTypeDef USBH_HID_ClassRequest(USBH_HandleTypeDef *phost);
103 static USBH_StatusTypeDef USBH_HID_Process(USBH_HandleTypeDef *phost);
104 static USBH_StatusTypeDef USBH_HID_SOFProcess(USBH_HandleTypeDef *phost);
107 extern USBH_StatusTypeDef USBH_HID_MouseInit(USBH_HandleTypeDef *phost);
108 extern USBH_StatusTypeDef USBH_HID_KeybdInit(USBH_HandleTypeDef *phost);
137 static USBH_StatusTypeDef USBH_HID_InterfaceInit(USBH_HandleTypeDef *phost) in USBH_HID_InterfaceInit()
139 USBH_StatusTypeDef status; in USBH_HID_InterfaceInit()
245 static USBH_StatusTypeDef USBH_HID_InterfaceDeInit(USBH_HandleTypeDef *phost) in USBH_HID_InterfaceDeInit()
[all …]
H A Dusbh_hid_mouse.c75 static USBH_StatusTypeDef USBH_HID_MouseDecode(USBH_HandleTypeDef *phost);
181 USBH_StatusTypeDef USBH_HID_MouseInit(USBH_HandleTypeDef *phost) in USBH_HID_MouseInit()
232 static USBH_StatusTypeDef USBH_HID_MouseDecode(USBH_HandleTypeDef *phost) in USBH_HID_MouseDecode()
H A Dusbh_hid_keybd.c87 static USBH_StatusTypeDef USBH_HID_KeybdDecode(USBH_HandleTypeDef *phost);
328 USBH_StatusTypeDef USBH_HID_KeybdInit(USBH_HandleTypeDef *phost) in USBH_HID_KeybdInit()
379 static USBH_StatusTypeDef USBH_HID_KeybdDecode(USBH_HandleTypeDef *phost) in USBH_HID_KeybdDecode()
/btstack/port/stm32-f4discovery-usb/Middlewares/ST/STM32_USB_Host_Library/Class/HID/Inc/
H A Dusbh_hid.h226 USBH_StatusTypeDef(* Init)(USBH_HandleTypeDef *phost);
281 USBH_StatusTypeDef USBH_HID_SetReport(USBH_HandleTypeDef *phost,
287 USBH_StatusTypeDef USBH_HID_GetReport(USBH_HandleTypeDef *phost,
293 USBH_StatusTypeDef USBH_HID_GetHIDReportDescriptor(USBH_HandleTypeDef *phost,
296 USBH_StatusTypeDef USBH_HID_GetHIDDescriptor(USBH_HandleTypeDef *phost,
299 USBH_StatusTypeDef USBH_HID_SetIdle(USBH_HandleTypeDef *phost,
303 USBH_StatusTypeDef USBH_HID_SetProtocol(USBH_HandleTypeDef *phost,
H A Dusbh_hid_mouse.h89 USBH_StatusTypeDef USBH_HID_MouseInit(USBH_HandleTypeDef *phost);
H A Dusbh_hid_keybd.h288 USBH_StatusTypeDef USBH_HID_KeybdInit(USBH_HandleTypeDef *phost);
/btstack/port/stm32-f4discovery-usb/port/
H A Dusbh_bluetooth.c97 USBH_StatusTypeDef usbh_bluetooth_start_acl_in_transfer(USBH_HandleTypeDef *phost, USB_Bluetooth_t … in usbh_bluetooth_start_acl_in_transfer()
103 USBH_StatusTypeDef USBH_Bluetooth_InterfaceInit(USBH_HandleTypeDef *phost){ in USBH_Bluetooth_InterfaceInit()
180 USBH_StatusTypeDef USBH_Bluetooth_InterfaceDeInit(USBH_HandleTypeDef *phost){ in USBH_Bluetooth_InterfaceDeInit()
187 USBH_StatusTypeDef USBH_Bluetooth_ClassRequest(USBH_HandleTypeDef *phost){ in USBH_Bluetooth_ClassRequest()
196 USBH_StatusTypeDef USBH_Bluetooth_Process(USBH_HandleTypeDef *phost){ in USBH_Bluetooth_Process()
197 USBH_StatusTypeDef status; in USBH_Bluetooth_Process()
331 USBH_StatusTypeDef USBH_Bluetooth_SOFProcess(USBH_HandleTypeDef *phost){ in USBH_Bluetooth_SOFProcess()