Defines | Functions

conf_usb.h File Reference

This file contains the possible external configuration of the USB. More...

#include "modules/usb/usb_commun.h"
#include "modules/usb/usb_commun_hid.h"
Include dependency graph for conf_usb.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define USB_DEVICE_FEATURE   ENABLED
 ENABLE to activate the device software library support.
#define USE_USB_PADS_REGULATOR   ENABLE
 Enable the internal regulator for USB pads.
#define USB_DEVICE_SN_USE   DISABLE
#define USE_DEVICE_SN_UNIQUE   DISABLE
#define EP_MOUSE_IN   1
#define USB_REMOTE_WAKEUP_FEATURE   ENABLE
#define USB_LOW_SPEED_DEVICE   ENABLE
#define USB_RESET_CPU   DISABLED
#define Usb_unicode(a)   ((U16)(a))
#define Usb_sof_action()   sof_action();
#define Usb_resume_action()
#define Usb_suspend_action()   suspend_action();
#define Usb_wake_up_action()
#define Usb_reset_action()
#define Usb_vbus_on_action()
#define Usb_vbus_off_action()
#define Usb_set_configuration_action()

Functions

void sof_action (void)
 This function increments the SOF counter each times.
void suspend_action (void)
 This function enables switches interruptions and enters the CPU in power down mode.

Detailed Description

This file contains the possible external configuration of the USB.

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file conf_usb.h.