conf_usb.h File Reference

,v More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define USB_HOST_FEATURE   DISABLED
 ENABLE to activate the host software library support.
#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 HID_CLASS   0x03
#define MS_CLASS   0x08
#define VID_PID_TABLE
 VID/PID supported table list.
#define CLASS_SUBCLASS_PROTOCOL
 CLASS/SUBCLASS_PROTOCOL supported table list.
#define SIZEOF_DATA_STAGE   250
 The size of RAM buffer reserved of descriptors manipulation.
#define DEVICE_ADDRESS   0x05
 The address that will be assigned to the connected device.
#define HOST_STRICT_VID_PID_TABLE   DISABLE
 The host controller will be limited to the strict VID/PID list.
#define HOST_AUTO_CFG_ENDPOINT   ENABLE
 Try to configure the host pipe according to the device descriptors received.
#define HOST_CONTINUOUS_SOF_INTERRUPT   DISABLE
 Host start of frame interrupt always enable.
#define HOST_ERROR_RESTART   ENABLE
 When Host error state detected, goto unattached state.
#define ID_PIN_CHANGE_GENERATE_RESET   DISABLE
 Force WDT reset upon ID pin change.
#define NAK_TIMEOUT_DELAY   1
 NAK handshake in 1/4sec (250ms) before timeout.
#define User_configure_endpoint()
 If no auto configuration of EP, map here user function.
#define Usb_id_transition_action()
#define Host_device_disconnection_action()
#define Host_device_connection_action()
#define Host_sof_action()
#define Host_suspend_action()   host_suspend_action();
#define Host_hwup_action()
#define Host_device_not_supported_action()
#define Host_device_supported_action()
#define Host_device_error_action()
#define Usb_unicode(a)   ((U16)(a))
#define NB_ENDPOINTS   2
#define EP_HID_IN   1
#define EP_HID_OUT   2
#define Usb_sof_action()   sof_action();
#define Usb_wake_up_action()
#define Usb_resume_action()
#define Usb_suspend_action()
#define Usb_reset_action()
#define Usb_vbus_on_action()
#define Usb_vbus_off_action()
#define Usb_set_configuration_action()

Functions

void host_suspend_action (void)
void sof_action (void)
 sof_action


Detailed Description

,v

Copyright (c) 2006 Atmel.

Please read file license.txt for copyright notice.

This file contains the possible external configuration of the USB

Version:
1.1 at90usb128-demo-hidgen-1_0_0
Id
conf_usb.h,v 1.1 2006/03/17 13:06:36 rletendu Exp
Todo:
Bug:

Definition in file conf_usb.h.


Generated on Fri Mar 17 16:02:04 2006 for Atmel by  doxygen 1.4.6-NO