亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? usbconfig.h

?? 大家熟悉的AVRUSB
?? H
?? 第 1 頁 / 共 2 頁
字號:
/* Name: usbconfig.h * Project: V-USB, virtual USB port for Atmel's(r) AVR(r) microcontrollers * Author: Christian Starkjohann * Creation Date: 2005-04-01 * Tabsize: 4 * Copyright: (c) 2005 by OBJECTIVE DEVELOPMENT Software GmbH * License: GNU GPL v2 (see License.txt), GNU GPL v3 or proprietary (CommercialLicense.txt) * This Revision: $Id: usbconfig-prototype.h 740 2009-04-13 18:23:31Z cs $ */#ifndef __usbconfig_h_included__#define __usbconfig_h_included__/*General Description:This file is an example configuration (with inline documentation) for the USBdriver. It configures V-USB for USB D+ connected to Port D bit 2 (which isalso hardware interrupt 0 on many devices) and USB D- to Port D bit 4. You maywire the lines to any other port, as long as D+ is also wired to INT0 (or anyother hardware interrupt, as long as it is the highest level interrupt, seesection at the end of this file).*//* ---------------------------- Hardware Config ---------------------------- */#define USB_CFG_IOPORTNAME      D/* This is the port where the USB bus is connected. When you configure it to * "B", the registers PORTB, PINB and DDRB will be used. */#define USB_CFG_DMINUS_BIT      4/* This is the bit number in USB_CFG_IOPORT where the USB D- line is connected. * This may be any bit in the port. */#define USB_CFG_DPLUS_BIT       2/* This is the bit number in USB_CFG_IOPORT where the USB D+ line is connected. * This may be any bit in the port. Please note that D+ must also be connected * to interrupt pin INT0! [You can also use other interrupts, see section * "Optional MCU Description" below, or you can connect D- to the interrupt, as * it is required if you use the USB_COUNT_SOF feature. If you use D- for the * interrupt, the USB interrupt will also be triggered at Start-Of-Frame * markers every millisecond.] */#define USB_CFG_CLOCK_KHZ       (F_CPU/1000)/* Clock rate of the AVR in kHz. Legal values are 12000, 12800, 15000, 16000, * 16500 and 20000. The 12.8 MHz and 16.5 MHz versions of the code require no * crystal, they tolerate +/- 1% deviation from the nominal frequency. All * other rates require a precision of 2000 ppm and thus a crystal! * Default if not specified: 12 MHz */#define USB_CFG_CHECK_CRC       0/* Define this to 1 if you want that the driver checks integrity of incoming * data packets (CRC checks). CRC checks cost quite a bit of code size and are * currently only available for 18 MHz crystal clock. You must choose * USB_CFG_CLOCK_KHZ = 18000 if you enable this option. *//* ----------------------- Optional Hardware Config ------------------------ *//* #define USB_CFG_PULLUP_IOPORTNAME   D *//* If you connect the 1.5k pullup resistor from D- to a port pin instead of * V+, you can connect and disconnect the device from firmware by calling * the macros usbDeviceConnect() and usbDeviceDisconnect() (see usbdrv.h). * This constant defines the port on which the pullup resistor is connected. *//* #define USB_CFG_PULLUP_BIT          4 *//* This constant defines the bit number in USB_CFG_PULLUP_IOPORT (defined * above) where the 1.5k pullup resistor is connected. See description * above for details. *//* --------------------------- Functional Range ---------------------------- */#define USB_CFG_HAVE_INTRIN_ENDPOINT    1/* Define this to 1 if you want to compile a version with two endpoints: The * default control endpoint 0 and an interrupt-in endpoint (any other endpoint * number). */#define USB_CFG_HAVE_INTRIN_ENDPOINT3   0/* Define this to 1 if you want to compile a version with three endpoints: The * default control endpoint 0, an interrupt-in endpoint 3 (or the number * configured below) and a catch-all default interrupt-in endpoint as above. * You must also define USB_CFG_HAVE_INTRIN_ENDPOINT to 1 for this feature. */#define USB_CFG_EP3_NUMBER              3/* If the so-called endpoint 3 is used, it can now be configured to any other * endpoint number (except 0) with this macro. Default if undefined is 3. *//* #define USB_INITIAL_DATATOKEN           USBPID_DATA1 *//* The above macro defines the startup condition for data toggling on the * interrupt/bulk endpoints 1 and 3. Defaults to USBPID_DATA1. * Since the token is toggled BEFORE sending any data, the first packet is * sent with the oposite value of this configuration! */#define USB_CFG_IMPLEMENT_HALT          0/* Define this to 1 if you also want to implement the ENDPOINT_HALT feature * for endpoint 1 (interrupt endpoint). Although you may not need this feature, * it is required by the standard. We have made it a config option because it * bloats the code considerably. */#define USB_CFG_SUPPRESS_INTR_CODE      0/* Define this to 1 if you want to declare interrupt-in endpoints, but don't * want to send any data over them. If this macro is defined to 1, functions * usbSetInterrupt() and usbSetInterrupt3() are omitted. This is useful if * you need the interrupt-in endpoints in order to comply to an interface * (e.g. HID), but never want to send any data. This option saves a couple * of bytes in flash memory and the transmit buffers in RAM. */#define USB_CFG_INTR_POLL_INTERVAL      100/* If you compile a version with endpoint 1 (interrupt-in), this is the poll * interval. The value is in milliseconds and must not be less than 10 ms for * low speed devices. */#define USB_CFG_IS_SELF_POWERED         0/* Define this to 1 if the device has its own power supply. Set it to 0 if the * device is powered from the USB bus. */#define USB_CFG_MAX_BUS_POWER           20/* Set this variable to the maximum USB bus power consumption of your device. * The value is in milliamperes. [It will be divided by two since USB * communicates power requirements in units of 2 mA.] */#define USB_CFG_IMPLEMENT_FN_WRITE      1/* Set this to 1 if you want usbFunctionWrite() to be called for control-out * transfers. Set it to 0 if you don't need it and want to save a couple of * bytes. */#define USB_CFG_IMPLEMENT_FN_READ       1/* Set this to 1 if you need to send control replies which are generated * "on the fly" when usbFunctionRead() is called. If you only want to send * data from a static buffer, set it to 0 and return the data from * usbFunctionSetup(). This saves a couple of bytes. */#define USB_CFG_IMPLEMENT_FN_WRITEOUT   0/* Define this to 1 if you want to use interrupt-out (or bulk out) endpoints. * You must implement the function usbFunctionWriteOut() which receives all * interrupt/bulk data sent to any endpoint other than 0. The endpoint number * can be found in 'usbRxToken'. */#define USB_CFG_HAVE_FLOWCONTROL        0/* Define this to 1 if you want flowcontrol over USB data. See the definition * of the macros usbDisableAllRequests() and usbEnableAllRequests() in * usbdrv.h. */#define USB_CFG_LONG_TRANSFERS          0/* Define this to 1 if you want to send/receive blocks of more than 254 bytes * in a single control-in or control-out transfer. Note that the capability * for long transfers increases the driver size. *//* #define USB_RX_USER_HOOK(data, len)     if(usbRxToken == (uchar)USBPID_SETUP) blinkLED(); *//* This macro is a hook if you want to do unconventional things. If it is * defined, it's inserted at the beginning of received message processing. * If you eat the received message and don't want default processing to * proceed, do a return after doing your things. One possible application * (besides debugging) is to flash a status LED on each packet. *//* #define USB_RESET_HOOK(resetStarts)     if(!resetStarts){hadUsbReset();} *//* This macro is a hook if you need to know when an USB RESET occurs. It has * one parameter which distinguishes between the start of RESET state and its * end. *//* #define USB_SET_ADDRESS_HOOK()              hadAddressAssigned(); *//* This macro (if defined) is executed when a USB SET_ADDRESS request was * received. */#define USB_COUNT_SOF                   0/* define this macro to 1 if you need the global variable "usbSofCount" which * counts SOF packets. This feature requires that the hardware interrupt is * connected to D- instead of D+. *//* #ifdef __ASSEMBLER__ * macro myAssemblerMacro *     in      YL, TCNT0 *     sts     timer0Snapshot, YL *     endm * #endif * #define USB_SOF_HOOK                    myAssemblerMacro

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一本色道a无线码一区v| 欧美妇女性影城| 丁香婷婷综合色啪| 国产亚洲精品bt天堂精选| 国内成人精品2018免费看| 26uuu精品一区二区三区四区在线| 玖玖九九国产精品| 国产精品久久久久久久久久免费看| 成人精品鲁一区一区二区| 国产蜜臀97一区二区三区| 91麻豆产精品久久久久久| 亚洲午夜精品一区二区三区他趣| 91精品国产福利在线观看 | 国产欧美日韩不卡免费| av在线这里只有精品| 日本午夜一本久久久综合| 久久精品欧美日韩| 91精品国产综合久久久久久| 国产麻豆精品在线观看| 亚洲大片免费看| 一色屋精品亚洲香蕉网站| 日韩欧美一区二区免费| 色婷婷av一区二区三区gif| 国产高清成人在线| 久热成人在线视频| 亚洲国产精品尤物yw在线观看| 国产色婷婷亚洲99精品小说| 欧美高清视频不卡网| 91久久香蕉国产日韩欧美9色| 国产成人一级电影| 国产一区二区三区四区五区入口| 午夜精品福利在线| 午夜精品久久久久久久99樱桃| 自拍偷拍亚洲激情| 国产精品美女视频| 亚洲欧美韩国综合色| 国产精品乱码一区二区三区软件| 欧美tickling挠脚心丨vk| 精品入口麻豆88视频| www国产精品av| 综合在线观看色| 一区二区三区蜜桃| 麻豆精品蜜桃视频网站| 国产精品一二三四| 99国产精品国产精品毛片| 欧美性猛交xxxx乱大交退制版| 精品裸体舞一区二区三区| 久久综合久久鬼色中文字| 精品国产成人在线影院| 国产精品久久久一区麻豆最新章节| 国产日韩欧美麻豆| 偷拍与自拍一区| 国产乱人伦偷精品视频不卡| 色老汉一区二区三区| 91麻豆精品国产91久久久久久久久| 日韩欧美自拍偷拍| 亚洲欧美一区二区三区久本道91| 日韩精品亚洲专区| 色综合一区二区| 欧美成人三级在线| 欧美国产日韩亚洲一区| 欧美女孩性生活视频| 在线观看日韩一区| 久久精品一区八戒影视| 亚洲电影你懂得| 日本精品视频一区二区三区| 久久网这里都是精品| 天堂影院一区二区| 色婷婷久久99综合精品jk白丝| 国产精品无人区| 久久精品国产亚洲a| 日本精品一级二级| 亚洲一区二区三区中文字幕在线| 99视频在线观看一区三区| 日韩欧美视频在线| 精品一区中文字幕| 久久精品视频在线免费观看| 国内成人精品2018免费看| 精品国产乱码久久久久久蜜臀| 久久国产生活片100| 欧美喷水一区二区| 九九在线精品视频| 欧美成人艳星乳罩| 丰满白嫩尤物一区二区| 国产精品欧美极品| 色偷偷88欧美精品久久久| 一区二区三区四区av| 在线亚洲免费视频| 蜜臀久久久久久久| 国产精品成人免费在线| 色哟哟在线观看一区二区三区| 亚洲精品自拍动漫在线| 欧美日韩国产美| 成人丝袜18视频在线观看| 亚洲自拍偷拍欧美| 欧美精品一区二区在线播放| 国产一区二区三区日韩| 国产精品人人做人人爽人人添| 欧美日韩视频在线观看一区二区三区 | 综合婷婷亚洲小说| 51精品国自产在线| 96av麻豆蜜桃一区二区| 六月丁香婷婷色狠狠久久| 亚洲一区二区偷拍精品| 久久久久久黄色| 欧美一二三四区在线| 91黄色免费观看| 91视频在线观看| 国产老肥熟一区二区三区| 亚洲国产日韩一级| 一区二区激情小说| 一区二区三区四区精品在线视频| 久久精品亚洲精品国产欧美| 欧美一区二区三区精品| 欧美色图在线观看| 69久久99精品久久久久婷婷| 在线看日本不卡| 在线一区二区视频| 欧美日韩视频专区在线播放| 欧美色视频一区| 欧美精品vⅰdeose4hd| 欧美高清一级片在线| 91精品国产福利在线观看 | 国产精品91xxx| 国产精品福利影院| 日韩片之四级片| 亚洲精品在线观| 国产精品久久久久久户外露出 | 91香蕉视频污| 欧美色网一区二区| 国产三级精品三级在线专区| 中文字幕av一区二区三区免费看 | 亚洲成av人片一区二区| 亚洲男女一区二区三区| 日韩激情视频在线观看| 国产精品一区二区三区网站| av网站免费线看精品| 51精品国自产在线| 国产精品三级电影| 亚洲午夜精品一区二区三区他趣| 日韩国产成人精品| 色婷婷亚洲综合| 国产视频在线观看一区二区三区 | 中文字幕欧美一| 久久激情五月激情| 欧美日韩免费视频| 中文字幕亚洲精品在线观看| 久久精品二区亚洲w码| 91国在线观看| 亚洲免费观看高清完整版在线 | 色婷婷综合久久久久中文一区二区| 欧美一区二区三区喷汁尤物| 亚洲精品午夜久久久| www.亚洲色图| 亚洲国产精品黑人久久久| 欧美96一区二区免费视频| 91久久香蕉国产日韩欧美9色| 国产亚洲精品bt天堂精选| 国产成人精品三级麻豆| 国产日韩欧美精品一区| 麻豆精品久久精品色综合| 日韩欧美国产小视频| 免费看欧美美女黄的网站| 欧美一区二区福利视频| 日韩不卡手机在线v区| 欧美一区二区三区婷婷月色| 免费成人你懂的| 国产欧美精品一区aⅴ影院| 成人黄色综合网站| 亚洲日本va午夜在线影院| 欧美成人vps| 国产精品综合网| 亚洲影院在线观看| 日韩欧美电影一区| 国产福利91精品| 五月天精品一区二区三区| 欧美电视剧在线看免费| 99天天综合性| 日本大胆欧美人术艺术动态| 2014亚洲片线观看视频免费| 成人app在线观看| 蜜桃av一区二区| 亚洲毛片av在线| 国产精品网曝门| 日韩一区二区三区精品视频| 成人的网站免费观看| 美女网站一区二区| 亚洲午夜电影网| 国产精品的网站| 久久久久久久久久久久久夜| 欧美日韩和欧美的一区二区| av综合在线播放| 极品尤物av久久免费看| 亚洲高清久久久| 日韩精品一级二级| 美女免费视频一区二区| 欧美日韩在线精品一区二区三区激情| 亚洲视频网在线直播| 国产欧美精品日韩区二区麻豆天美| 日韩视频国产视频|