?? cbootloader.h
字號:
/* cbootloader.cpp - part of flashtool for AVRUSBBoot, an USB bootloader for Atmel AVR controllers Thomas Fischl <tfischl@gmx.de> Creation Date..: 2006-03-18 Last change....: 2006-06-25*/#include <stdio.h>#include <stdlib.h>#include <assert.h>#include <string.h>#include "usb.h"#include "cpage.h"
#include "usbHIDcalls.h"//#define USBDEV_SHARED_VENDOR 0x16C0 /* VOTI *///#define USBDEV_SHARED_PRODUCT 0x05DC /* Obdev's free shared PID */
#define USBDEV_SHARED_VENDOR 0x1636//0x16c0
#define USBDEV_SHARED_PRODUCT 0x05dfclass CBootloader { public: CBootloader(); ~CBootloader(); unsigned int getPagesize(); void writePage(CPage* page); void startApplication(); protected: //usb_dev_handle *usbhandle;
usbDevice_t *device;};
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -