You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.1 KiB
48 lines
1.1 KiB
/*
|
|
* Code generated from Atmel Start.
|
|
*
|
|
* This file will be overwritten when reconfiguring your Atmel Start project.
|
|
* Please copy examples or other code you want to keep to a separate file or main.c
|
|
* to avoid loosing it when reconfiguring.
|
|
*/
|
|
#ifndef USB_DEVICE_MAIN_H
|
|
#define USB_DEVICE_MAIN_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif // __cplusplus
|
|
|
|
#include "cdcdf_acm.h"
|
|
#include "hiddf_mouse.h"
|
|
#include "hiddf_keyboard.h"
|
|
#include "hiddf_generic.h"
|
|
#include "mscdf.h"
|
|
#include "composite_desc.h"
|
|
|
|
/**
|
|
* \brief Initialize device and attach functions
|
|
*/
|
|
void composite_device_init(void);
|
|
/**
|
|
* \brief Start the device
|
|
*/
|
|
void composite_device_start(void);
|
|
/**
|
|
* Example of using Composite Function.
|
|
* \note
|
|
* In this example, we will use a PC as a USB host:
|
|
* - Connect the DEBUG USB on XPLAINED board to PC for program download.
|
|
* - Connect the TARGET USB on XPLAINED board to PC for running program.
|
|
*/
|
|
void composite_device_example(void);
|
|
|
|
/**
|
|
* \berif Initialize USB
|
|
*/
|
|
void usb_init(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif // __cplusplus
|
|
|
|
#endif // USB_DEVICE_MAIN_H
|
|
|