Skip to content

Instantly share code, notes, and snippets.

View YuuichiAkagawa's full-sized avatar

Yuuichi Akagawa YuuichiAkagawa

View GitHub Profile
@YuuichiAkagawa
YuuichiAkagawa / gist:2635426
Created May 8, 2012 14:13
nanoKEY configuration descriptor
nanoKEY configuration descriptor
0000: 09 02 53 00 01 01 00 80 32 09 04 00 00 02 01 03
0010: 00 00 07 24 01 00 01 41 00 06 24 02 01 01 03 06
0020: 24 02 02 02 00 09 24 03 01 03 01 02 01 04 09 24
0030: 03 02 04 01 01 01 00 09 05 82 02 40 00 01 00 00
0040: 05 25 01 01 03 09 05 02 02 40 00 00 00 00 05 25
0050: 01 01 01
Configuratin 09 02 53 00 01 01 00 80 32
Interface 09 04 00 00 02 01 03 00 00
//*****************************************************************************
//
// avrpindef.h - AVR pin definition template
//
// Copyright(C) 2012 Yuuichi Akagawa
//
/* This code was inspired by the Konstantin Chizhov's AVR port templates */
@YuuichiAkagawa
YuuichiAkagawa / gist:1816195
Created February 13, 2012 11:30
lsusb output
Bus 002 Device 002: ID 0403:6010 Future Technology Devices International, Ltd FT2232C Dual USB-UART/FIFO IC
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0403 Future Technology Devices International, Ltd