sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
usbconfig.h File Reference
#include <avr/interrupt.h>

Go to the source code of this file.

Macros

#define USB_CFG_IOPORTNAME   B
 
#define USB_CFG_DMINUS_BIT   1
 
#define USB_CFG_DPLUS_BIT   2
 
#define USB_CFG_CLOCK_KHZ   (F_CPU/1000)
 
#define USB_CFG_CHECK_CRC   0
 
#define USB_CFG_HAVE_INTRIN_ENDPOINT   1
 
#define USB_CFG_HAVE_INTRIN_ENDPOINT3   0
 
#define USB_CFG_EP3_NUMBER   3
 
#define USB_CFG_IMPLEMENT_HALT   0
 
#define USB_CFG_SUPPRESS_INTR_CODE   0
 
#define USB_CFG_INTR_POLL_INTERVAL   10
 
#define USB_CFG_IS_SELF_POWERED   0
 
#define USB_CFG_MAX_BUS_POWER   40
 
#define USB_CFG_IMPLEMENT_FN_WRITE   0
 
#define USB_CFG_IMPLEMENT_FN_READ   0
 
#define USB_CFG_IMPLEMENT_FN_WRITEOUT   0
 
#define USB_CFG_HAVE_FLOWCONTROL   0
 
#define USB_CFG_LONG_TRANSFERS   0
 
#define USB_RESET_HOOK(resetStarts)   if(!resetStarts){cli(); calibrateOscillator(); sei();}
 
#define USB_COUNT_SOF   1
 
#define USB_CFG_CHECK_DATA_TOGGLING   0
 
#define USB_CFG_HAVE_MEASURE_FRAME_LENGTH   1
 
#define USB_USE_FAST_CRC   1
 
#define USB_CFG_VENDOR_ID   0xc0, 0x16 /* = 0x16c0 = 5824 = voti.nl */
 
#define USB_CFG_DEVICE_ID   0xdc, 0x27 /* = 0x05dc = 1500 */
 
#define USB_CFG_DEVICE_VERSION   0x00, 0x01
 
#define USB_CFG_VENDOR_NAME   'M','.','L','i','n','d','e','r'
 
#define USB_CFG_VENDOR_NAME_LEN   8
 
#define USB_CFG_DEVICE_NAME   '2', 'x', ' ', 'N', '6', '4', ' ', '-', '>', ' ','U','S','B'
 
#define USB_CFG_DEVICE_NAME_LEN   13
 
#define USB_CFG_SERIAL_NUMBER   'm', 'a', 't', 't', 'h', 'i', 'a', 's', 'l', 'i', 'n', 'd', 'e', 'r', '.', 'c', 'o', 'm', ':', 'n', '6', '4', '-', '1'
 
#define USB_CFG_SERIAL_NUMBER_LEN   24
 
#define USB_CFG_DEVICE_CLASS   0 /* set to 0 if deferred to interface */
 
#define USB_CFG_DEVICE_SUBCLASS   0
 
#define USB_CFG_INTERFACE_CLASS   0x03 /* define class here if not at device level */
 
#define USB_CFG_INTERFACE_SUBCLASS   0
 
#define USB_CFG_INTERFACE_PROTOCOL   0
 
#define USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH   94
 
#define USB_CFG_DESCR_PROPS_DEVICE   0
 
#define USB_CFG_DESCR_PROPS_CONFIGURATION   0
 
#define USB_CFG_DESCR_PROPS_STRINGS   0
 
#define USB_CFG_DESCR_PROPS_STRING_0   0
 
#define USB_CFG_DESCR_PROPS_STRING_VENDOR   0
 
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT   0
 
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER   0
 
#define USB_CFG_DESCR_PROPS_HID   0
 
#define USB_CFG_DESCR_PROPS_HID_REPORT   0
 
#define USB_CFG_DESCR_PROPS_UNKNOWN   0
 

Functions

void calibrateOscillator (void)
 

Macro Definition Documentation

#define USB_CFG_CHECK_CRC   0
#define USB_CFG_CHECK_DATA_TOGGLING   0
#define USB_CFG_CLOCK_KHZ   (F_CPU/1000)
#define USB_CFG_DESCR_PROPS_CONFIGURATION   0
#define USB_CFG_DESCR_PROPS_DEVICE   0
#define USB_CFG_DESCR_PROPS_HID   0
#define USB_CFG_DESCR_PROPS_HID_REPORT   0
#define USB_CFG_DESCR_PROPS_STRING_0   0
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT   0
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER   0
#define USB_CFG_DESCR_PROPS_STRING_VENDOR   0
#define USB_CFG_DESCR_PROPS_STRINGS   0
#define USB_CFG_DESCR_PROPS_UNKNOWN   0
#define USB_CFG_DEVICE_CLASS   0 /* set to 0 if deferred to interface */
#define USB_CFG_DEVICE_ID   0xdc, 0x27 /* = 0x05dc = 1500 */
#define USB_CFG_DEVICE_NAME   '2', 'x', ' ', 'N', '6', '4', ' ', '-', '>', ' ','U','S','B'
#define USB_CFG_DEVICE_NAME_LEN   13
#define USB_CFG_DEVICE_SUBCLASS   0
#define USB_CFG_DEVICE_VERSION   0x00, 0x01
#define USB_CFG_DMINUS_BIT   1
#define USB_CFG_DPLUS_BIT   2
#define USB_CFG_EP3_NUMBER   3
#define USB_CFG_HAVE_FLOWCONTROL   0
#define USB_CFG_HAVE_INTRIN_ENDPOINT   1
#define USB_CFG_HAVE_INTRIN_ENDPOINT3   0
#define USB_CFG_HAVE_MEASURE_FRAME_LENGTH   1
#define USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH   94
#define USB_CFG_IMPLEMENT_FN_READ   0
#define USB_CFG_IMPLEMENT_FN_WRITE   0
#define USB_CFG_IMPLEMENT_FN_WRITEOUT   0
#define USB_CFG_IMPLEMENT_HALT   0
#define USB_CFG_INTERFACE_CLASS   0x03 /* define class here if not at device level */
#define USB_CFG_INTERFACE_PROTOCOL   0
#define USB_CFG_INTERFACE_SUBCLASS   0
#define USB_CFG_INTR_POLL_INTERVAL   10
#define USB_CFG_IOPORTNAME   B
#define USB_CFG_IS_SELF_POWERED   0
#define USB_CFG_LONG_TRANSFERS   0
#define USB_CFG_MAX_BUS_POWER   40
#define USB_CFG_SERIAL_NUMBER   'm', 'a', 't', 't', 'h', 'i', 'a', 's', 'l', 'i', 'n', 'd', 'e', 'r', '.', 'c', 'o', 'm', ':', 'n', '6', '4', '-', '1'
#define USB_CFG_SERIAL_NUMBER_LEN   24
#define USB_CFG_SUPPRESS_INTR_CODE   0
#define USB_CFG_VENDOR_ID   0xc0, 0x16 /* = 0x16c0 = 5824 = voti.nl */
#define USB_CFG_VENDOR_NAME   'M','.','L','i','n','d','e','r'
#define USB_CFG_VENDOR_NAME_LEN   8
#define USB_COUNT_SOF   1
#define USB_RESET_HOOK (   resetStarts)    if(!resetStarts){cli(); calibrateOscillator(); sei();}
#define USB_USE_FAST_CRC   1

Function Documentation

void calibrateOscillator ( void  )