usbd_usr.c
Go to the documentation of this file.
1 
22 #include "usbd_usr.h"
23 #include "usbd_ioreq.h"
24 
26 {
32 
35 };
36 
37 
44 void USBD_USR_Init(void)
45 {
46 
47 }
48 
55 void USBD_USR_DeviceReset(uint8_t speed )
56 {
57  switch (speed)
58  {
59  case USB_OTG_SPEED_HIGH:
60  break;
61 
62  case USB_OTG_SPEED_FULL:
63  break;
64  default:
65  break;
66 
67  }
68 }
69 
70 
78 {
79 }
80 
81 
89 {
90 }
91 
92 
100 {
101 }
102 
110 {
111  /* Users can do their application actions here for the USB-Reset */
112 }
113 
114 
122 {
123  /* Users can do their application actions here for the USB-Reset */
124 }
void USBD_USR_Init(void)
USBD_USR_Init Displays the message on LCD for host lib initialization.
Definition: usbd_usr.c:44
void USBD_USR_DeviceConfigured(void)
USBD_USR_DeviceConfigured Displays the message on LCD on device configuration Event.
Definition: usbd_usr.c:77
#define USB_OTG_SPEED_FULL
Definition: usb_defines.h:62
USBD_Usr_cb_TypeDef USR_cb
Definition: usbd_usr.c:25
#define USB_OTG_SPEED_HIGH
Definition: usb_defines.h:61
void USBD_USR_DeviceReset(uint8_t speed)
USBD_USR_DeviceReset Displays the message on LCD on device Reset Event.
Definition: usbd_usr.c:55
void USBD_USR_DeviceSuspended(void)
USBD_USR_DeviceSuspended Displays the message on LCD on device suspend Event.
Definition: usbd_usr.c:109
header file for the usbd_ioreq.c file
Header file for usbd_usr.c.
void USBD_USR_DeviceConnected(void)
USBD_USR_DeviceConnected Displays the message on LCD on device connection Event.
Definition: usbd_usr.c:88
void USBD_USR_DeviceDisconnected(void)
USBD_USR_DeviceDisonnected Displays the message on LCD on device disconnection Event.
Definition: usbd_usr.c:99
void USBD_USR_DeviceResumed(void)
USBD_USR_DeviceResumed Displays the message on LCD on device resume Event.
Definition: usbd_usr.c:121


rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:50