Rename composite.[ch] to usb_composite_device.[ch]
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#ifndef __USB_DEVICE_COMPOSITE_H__
|
||||
#define __USB_DEVICE_COMPOSITE_H__
|
||||
|
||||
// Includes:
|
||||
|
||||
#include "usb_descriptor_configuration.h"
|
||||
|
||||
// Macros:
|
||||
|
||||
#define CONTROLLER_ID kUSB_ControllerKhci0
|
||||
#define USB_DEVICE_INTERRUPT_PRIORITY (3U)
|
||||
|
||||
// Typedefs:
|
||||
|
||||
typedef struct _usb_device_composite_struct {
|
||||
usb_device_handle deviceHandle;
|
||||
class_handle_t mouseHandle;
|
||||
class_handle_t keyboardHandle;
|
||||
class_handle_t genericHidHandle;
|
||||
uint8_t attach;
|
||||
uint8_t currentConfiguration;
|
||||
uint8_t currentInterfaceAlternateSetting[USB_COMPOSITE_INTERFACE_COUNT];
|
||||
} usb_device_composite_struct_t;
|
||||
|
||||
// Variables:
|
||||
|
||||
extern usb_device_composite_struct_t UsbCompositeDevice;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user