-
- Downloads
Updated all host mode demos and projects to use the...
Updated all host mode demos and projects to use the EVENT_USB_Host_DeviceEnumerationComplete() event callback for device configuration instead of manual host state machine manipulations in the main application task. Added new USB_Host_ConfigurationNumber global variable to indicate the selected configuration in an attached device. Renamed global state variables that are specific to a certain USB mode to clearly indicate which mode the variable relates to, by changing the USB_* prefix to USB_Device_* or USB_Host_*. Removed the HOST_STATE_WaitForDeviceRemoval and HOST_STATE_Suspended host state machine states, as these are no longer required. Altered the USB_Host_SetDeviceConfiguration() function to update the new USB_Host_ConfigurationNumber global as required. Moved out the Host mode standard request convenience/helper functions from the architecture specific Host driver files to the architecture agnostic HostStandardReq.c driver file.
Showing
- Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c 60 additions, 70 deletionsDemos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
- Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.h 1 addition, 1 deletionDemos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.h
- Demos/DualRole/ClassDriver/MouseHostDevice/MouseHostDevice.c 1 addition, 1 deletionDemos/DualRole/ClassDriver/MouseHostDevice/MouseHostDevice.c
- Demos/Host/ClassDriver/AudioInputHost/AudioInputHost.c 59 additions, 75 deletionsDemos/Host/ClassDriver/AudioInputHost/AudioInputHost.c
- Demos/Host/ClassDriver/AudioOutputHost/AudioOutputHost.c 52 additions, 68 deletionsDemos/Host/ClassDriver/AudioOutputHost/AudioOutputHost.c
- Demos/Host/ClassDriver/JoystickHostWithParser/JoystickHostWithParser.c 88 additions, 91 deletions...assDriver/JoystickHostWithParser/JoystickHostWithParser.c
- Demos/Host/ClassDriver/JoystickHostWithParser/JoystickHostWithParser.h 1 addition, 0 deletions...assDriver/JoystickHostWithParser/JoystickHostWithParser.h
- Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c 89 additions, 92 deletionsDemos/Host/ClassDriver/KeyboardHost/KeyboardHost.c
- Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.h 1 addition, 0 deletionsDemos/Host/ClassDriver/KeyboardHost/KeyboardHost.h
- Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c 110 additions, 113 deletions...assDriver/KeyboardHostWithParser/KeyboardHostWithParser.c
- Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.h 1 addition, 0 deletions...assDriver/KeyboardHostWithParser/KeyboardHostWithParser.h
- Demos/Host/ClassDriver/MIDIHost/MIDIHost.c 63 additions, 65 deletionsDemos/Host/ClassDriver/MIDIHost/MIDIHost.c
- Demos/Host/ClassDriver/MIDIHost/MIDIHost.h 1 addition, 0 deletionsDemos/Host/ClassDriver/MIDIHost/MIDIHost.h
- Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c 159 additions, 160 deletionsDemos/Host/ClassDriver/MassStorageHost/MassStorageHost.c
- Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.h 2 additions, 1 deletionDemos/Host/ClassDriver/MassStorageHost/MassStorageHost.h
- Demos/Host/ClassDriver/MouseHost/MouseHost.c 72 additions, 75 deletionsDemos/Host/ClassDriver/MouseHost/MouseHost.c
- Demos/Host/ClassDriver/MouseHost/MouseHost.h 1 addition, 0 deletionsDemos/Host/ClassDriver/MouseHost/MouseHost.h
- Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c 97 additions, 100 deletions...ost/ClassDriver/MouseHostWithParser/MouseHostWithParser.c
- Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.h 1 addition, 0 deletions...ost/ClassDriver/MouseHostWithParser/MouseHostWithParser.h
- Demos/Host/ClassDriver/PrinterHost/PrinterHost.c 81 additions, 82 deletionsDemos/Host/ClassDriver/PrinterHost/PrinterHost.c
Loading
Please register or sign in to comment