MHVLib  20111227
An efficiency oriented runtime library for AVR microcontrollers
A:/eclipse/mhvlib-Vusb-Console/MHV_VusbConsole.cpp File Reference
#include <vusb/usbdrv.h>
#include <MHV_VusbConsole.h>
#include <avr/pgmspace.h>
#include <util/delay.h>

Go to the source code of this file.

Defines

#define MHV_OSCCAL_EEPROM_ADDRESS   1022
#define MAX_TX_SIZE   8

Functions

unsigned char usbFunctionSetup (uchar data[8])

Variables

PROGMEM const char usbHidReportDescriptor [USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH]

Define Documentation

#define MAX_TX_SIZE   8

Definition at line 29 of file MHV_VusbConsole.cpp.

#define MHV_OSCCAL_EEPROM_ADDRESS   1022

Definition at line 27 of file MHV_VusbConsole.cpp.


Function Documentation

unsigned char usbFunctionSetup ( uchar  data[8])

Definition at line 117 of file MHV_VusbConsole.cpp.


Variable Documentation

PROGMEM const char usbHidReportDescriptor[USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH]
Initial value:
 { 
                0x06, 0x31, 0xFF,               
                0x09, 0x74,                             
                0xA1, 0x53,                             
                0x75, 0x08,                             
                0x15, 0x00,                             
                0x26, 0xFF, 0x00,               
                0x95, MAX_TX_SIZE,              
                0x09, 0x75,                             
                0x81, 0x02,                             
                0xC0                                    
}

Definition at line 32 of file MHV_VusbConsole.cpp.