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

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

?? cdcdserialdriverdescriptors.c

?? IAR5.2下 AT91SAM9260 ARM 對 MCP2515 控制源化碼
?? C
?? 第 1 頁 / 共 2 頁
字號:
    },
    // Notification endpoint standard descriptor
    {
        sizeof(USBEndpointDescriptor), 
        USBGenericDescriptor_ENDPOINT,
        USBEndpointDescriptor_ADDRESS(USBEndpointDescriptor_IN,
                                      CDCDSerialDriverDescriptors_NOTIFICATION),
        USBEndpointDescriptor_INTERRUPT,
        MIN(BOARD_USB_ENDPOINTS_MAXPACKETSIZE(CDCDSerialDriverDescriptors_NOTIFICATION),
            USBEndpointDescriptor_MAXINTERRUPTSIZE_HS),
        10 // Endpoint is polled every 10ms
    },
    // Data class interface standard descriptor
    {
        sizeof(USBInterfaceDescriptor),
        USBGenericDescriptor_INTERFACE,
        1, // This is interface #1
        0, // This is alternate setting #0 for this interface
        2, // This interface uses 2 endpoints
        CDCDataInterfaceDescriptor_CLASS,
        CDCDataInterfaceDescriptor_SUBCLASS,
        CDCDataInterfaceDescriptor_NOPROTOCOL,
        0  // No string descriptor for this interface
    },
    // Bulk-OUT endpoint standard descriptor
    {
        sizeof(USBEndpointDescriptor), 
        USBGenericDescriptor_ENDPOINT,
        USBEndpointDescriptor_ADDRESS(USBEndpointDescriptor_OUT,
                                      CDCDSerialDriverDescriptors_DATAOUT),
        USBEndpointDescriptor_BULK,
        MIN(BOARD_USB_ENDPOINTS_MAXPACKETSIZE(CDCDSerialDriverDescriptors_DATAOUT),
            USBEndpointDescriptor_MAXBULKSIZE_HS),
        0 // Must be 0 for full-speed bulk endpoints
    },
    // Bulk-IN endpoint descriptor
    {
        sizeof(USBEndpointDescriptor),
        USBGenericDescriptor_ENDPOINT,
        USBEndpointDescriptor_ADDRESS(USBEndpointDescriptor_IN,
                                      CDCDSerialDriverDescriptors_DATAIN),
        USBEndpointDescriptor_BULK,
        MIN(BOARD_USB_ENDPOINTS_MAXPACKETSIZE(CDCDSerialDriverDescriptors_DATAIN),
            USBEndpointDescriptor_MAXBULKSIZE_HS),
        0 // Must be 0 for full-speed bulk endpoints
    },
};


/// Configuration descriptor (when in high-speed).
const CDCDSerialDriverConfigurationDescriptors configurationDescriptorsHS = {

    // Standard configuration descriptor
    {
        sizeof(USBConfigurationDescriptor),
        USBGenericDescriptor_CONFIGURATION,
        sizeof(CDCDSerialDriverConfigurationDescriptors),
        2, // There are two interfaces in this configuration
        1, // This is configuration #1
        0, // No string descriptor for this configuration
        BOARD_USB_BMATTRIBUTES,
        USBConfigurationDescriptor_POWER(100)
    },
    // Communication class interface standard descriptor
    {
        sizeof(USBInterfaceDescriptor),
        USBGenericDescriptor_INTERFACE,
        0, // This is interface #0
        0, // This is alternate setting #0 for this interface
        1, // This interface uses 1 endpoint
        CDCCommunicationInterfaceDescriptor_CLASS,
        CDCCommunicationInterfaceDescriptor_ABSTRACTCONTROLMODEL,
        CDCCommunicationInterfaceDescriptor_NOPROTOCOL,
        0  // No string descriptor for this interface
    },
    // Class-specific header functional descriptor
    {
        sizeof(CDCHeaderDescriptor),
        CDCGenericDescriptor_INTERFACE,
        CDCGenericDescriptor_HEADER,
        CDCGenericDescriptor_CDC1_10
    },
    // Class-specific call management functional descriptor
    {
        sizeof(CDCCallManagementDescriptor),
        CDCGenericDescriptor_INTERFACE,
        CDCGenericDescriptor_CALLMANAGEMENT,
        CDCCallManagementDescriptor_SELFCALLMANAGEMENT,
        0 // No associated data interface
    },
    // Class-specific abstract control management functional descriptor
    {
        sizeof(CDCAbstractControlManagementDescriptor),
        CDCGenericDescriptor_INTERFACE,
        CDCGenericDescriptor_ABSTRACTCONTROLMANAGEMENT,
        CDCAbstractControlManagementDescriptor_LINE
    },
    // Class-specific union functional descriptor with one slave interface
    {
        sizeof(CDCUnionDescriptor),
        CDCGenericDescriptor_INTERFACE,
        CDCGenericDescriptor_UNION,
        0, // Number of master interface is #0
        1 // First slave interface is #1
    },
    // Notification endpoint standard descriptor
    {
        sizeof(USBEndpointDescriptor), 
        USBGenericDescriptor_ENDPOINT,
        USBEndpointDescriptor_ADDRESS(USBEndpointDescriptor_IN,
                                      CDCDSerialDriverDescriptors_NOTIFICATION),
        USBEndpointDescriptor_INTERRUPT,
        MIN(BOARD_USB_ENDPOINTS_MAXPACKETSIZE(CDCDSerialDriverDescriptors_NOTIFICATION),
            USBEndpointDescriptor_MAXINTERRUPTSIZE_HS),
        10 // Endpoint is polled every 10ms
    },
    // Data class interface standard descriptor
    {
        sizeof(USBInterfaceDescriptor),
        USBGenericDescriptor_INTERFACE,
        1, // This is interface #1
        0, // This is alternate setting #0 for this interface
        2, // This interface uses 2 endpoints
        CDCDataInterfaceDescriptor_CLASS,
        CDCDataInterfaceDescriptor_SUBCLASS,
        CDCDataInterfaceDescriptor_NOPROTOCOL,
        0  // No string descriptor for this interface
    },
    // Bulk-OUT endpoint standard descriptor
    {
        sizeof(USBEndpointDescriptor), 
        USBGenericDescriptor_ENDPOINT,
        USBEndpointDescriptor_ADDRESS(USBEndpointDescriptor_OUT,
                                      CDCDSerialDriverDescriptors_DATAOUT),
        USBEndpointDescriptor_BULK,
        MIN(BOARD_USB_ENDPOINTS_MAXPACKETSIZE(CDCDSerialDriverDescriptors_DATAOUT),
            USBEndpointDescriptor_MAXBULKSIZE_HS),
        0 // Must be 0 for full-speed bulk endpoints
    },
    // Bulk-IN endpoint descriptor
    {
        sizeof(USBEndpointDescriptor),
        USBGenericDescriptor_ENDPOINT,
        USBEndpointDescriptor_ADDRESS(USBEndpointDescriptor_IN,
                                      CDCDSerialDriverDescriptors_DATAIN),
        USBEndpointDescriptor_BULK,
        MIN(BOARD_USB_ENDPOINTS_MAXPACKETSIZE(CDCDSerialDriverDescriptors_DATAIN),
            USBEndpointDescriptor_MAXBULKSIZE_HS),
        0 // Must be 0 for full-speed bulk endpoints
    },
};

/// Other-speed configuration descriptor (when in high-speed).
const CDCDSerialDriverConfigurationDescriptors otherSpeedDescriptorsHS = {

    // Standard configuration descriptor
    {
        sizeof(USBConfigurationDescriptor),
        USBGenericDescriptor_OTHERSPEEDCONFIGURATION,
        sizeof(CDCDSerialDriverConfigurationDescriptors),
        2, // There are two interfaces in this configuration
        1, // This is configuration #1
        0, // No string descriptor for this configuration
        BOARD_USB_BMATTRIBUTES,
        USBConfigurationDescriptor_POWER(100)
    },
    // Communication class interface standard descriptor
    {
        sizeof(USBInterfaceDescriptor),
        USBGenericDescriptor_INTERFACE,
        0, // This is interface #0
        0, // This is alternate setting #0 for this interface
        1, // This interface uses 1 endpoint
        CDCCommunicationInterfaceDescriptor_CLASS,
        CDCCommunicationInterfaceDescriptor_ABSTRACTCONTROLMODEL,
        CDCCommunicationInterfaceDescriptor_NOPROTOCOL,
        0  // No string descriptor for this interface
    },
    // Class-specific header functional descriptor
    {
        sizeof(CDCHeaderDescriptor),
        CDCGenericDescriptor_INTERFACE,
        CDCGenericDescriptor_HEADER,
        CDCGenericDescriptor_CDC1_10
    },
    // Class-specific call management functional descriptor
    {
        sizeof(CDCCallManagementDescriptor),
        CDCGenericDescriptor_INTERFACE,
        CDCGenericDescriptor_CALLMANAGEMENT,
        CDCCallManagementDescriptor_SELFCALLMANAGEMENT,
        0 // No associated data interface
    },
    // Class-specific abstract control management functional descriptor
    {
        sizeof(CDCAbstractControlManagementDescriptor),
        CDCGenericDescriptor_INTERFACE,
        CDCGenericDescriptor_ABSTRACTCONTROLMANAGEMENT,
        CDCAbstractControlManagementDescriptor_LINE
    },
    // Class-specific union functional descriptor with one slave interface
    {
        sizeof(CDCUnionDescriptor),
        CDCGenericDescriptor_INTERFACE,
        CDCGenericDescriptor_UNION,
        0, // Number of master interface is #0
        1 // First slave interface is #1
    },
    // Notification endpoint standard descriptor
    {
        sizeof(USBEndpointDescriptor), 
        USBGenericDescriptor_ENDPOINT,
        USBEndpointDescriptor_ADDRESS(USBEndpointDescriptor_IN,
                                      CDCDSerialDriverDescriptors_NOTIFICATION),
        USBEndpointDescriptor_INTERRUPT,
        MIN(BOARD_USB_ENDPOINTS_MAXPACKETSIZE(CDCDSerialDriverDescriptors_NOTIFICATION),
            USBEndpointDescriptor_MAXINTERRUPTSIZE_FS),
        10 // Endpoint is polled every 10ms
    },
    // Data class interface standard descriptor
    {
        sizeof(USBInterfaceDescriptor),
        USBGenericDescriptor_INTERFACE,
        1, // This is interface #1
        0, // This is alternate setting #0 for this interface
        2, // This interface uses 2 endpoints
        CDCDataInterfaceDescriptor_CLASS,
        CDCDataInterfaceDescriptor_SUBCLASS,
        CDCDataInterfaceDescriptor_NOPROTOCOL,
        0  // No string descriptor for this interface
    },
    // Bulk-OUT endpoint standard descriptor
    {
        sizeof(USBEndpointDescriptor), 
        USBGenericDescriptor_ENDPOINT,
        USBEndpointDescriptor_ADDRESS(USBEndpointDescriptor_OUT,
                                      CDCDSerialDriverDescriptors_DATAOUT),
        USBEndpointDescriptor_BULK,
        MIN(BOARD_USB_ENDPOINTS_MAXPACKETSIZE(CDCDSerialDriverDescriptors_DATAOUT),
            USBEndpointDescriptor_MAXBULKSIZE_FS),
        0 // Must be 0 for full-speed bulk endpoints
    },
    // Bulk-IN endpoint descriptor
    {
        sizeof(USBEndpointDescriptor),
        USBGenericDescriptor_ENDPOINT,
        USBEndpointDescriptor_ADDRESS(USBEndpointDescriptor_IN,
                                      CDCDSerialDriverDescriptors_DATAIN),
        USBEndpointDescriptor_BULK,
        MIN(BOARD_USB_ENDPOINTS_MAXPACKETSIZE(CDCDSerialDriverDescriptors_DATAIN),
            USBEndpointDescriptor_MAXBULKSIZE_FS),
        0 // Must be 0 for full-speed bulk endpoints
    },
};
#endif

// Product string descriptor
const unsigned char productStringDescriptor[] = {

    USBStringDescriptor_LENGTH(13),
    USBGenericDescriptor_STRING,
    USBStringDescriptor_UNICODE('A'),
    USBStringDescriptor_UNICODE('T'),
    USBStringDescriptor_UNICODE('9'),
    USBStringDescriptor_UNICODE('1'),
    USBStringDescriptor_UNICODE('U'),
    USBStringDescriptor_UNICODE('S'),
    USBStringDescriptor_UNICODE('B'),
    USBStringDescriptor_UNICODE('S'),
    USBStringDescriptor_UNICODE('e'),
    USBStringDescriptor_UNICODE('r'),
    USBStringDescriptor_UNICODE('i'),
    USBStringDescriptor_UNICODE('a'),
    USBStringDescriptor_UNICODE('l')
};

/// List of string descriptors used by the device
const unsigned char *stringDescriptors[] = {

    languageIdStringDescriptor,
    productStringDescriptor,
};

/// List of standard descriptors for the serial driver.
USBDDriverDescriptors cdcdSerialDriverDescriptors = {

    &deviceDescriptor,
    (USBConfigurationDescriptor *) &(configurationDescriptors),
#ifdef BOARD_USB_UDPHS
    &qualifierDescriptor,
    (USBConfigurationDescriptor *) &(otherSpeedDescriptorsFS),
    &deviceDescriptor,
    (USBConfigurationDescriptor *) &(configurationDescriptorsHS),
    &qualifierDescriptor,
    (USBConfigurationDescriptor *) &(otherSpeedDescriptorsHS),
#else
    0, // No full-speed device qualifier descriptor
    0, // No full-speed other speed configuration
    0, // No high-speed device descriptor
    0, // No high-speed configuration descriptor
    0, // No high-speed device qualifier descriptor
    0, // No high-speed other speed configuration descriptor

#endif
    stringDescriptors,
    2 // 2 string descriptors in list
};

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
美女网站在线免费欧美精品| 水蜜桃久久夜色精品一区的特点| 日本韩国一区二区三区| 青娱乐精品视频| 亚洲免费资源在线播放| 日本一区二区不卡视频| 精品国产乱码久久久久久闺蜜| 欧美网站一区二区| 高潮精品一区videoshd| 国产揄拍国内精品对白| 蜜臀av一区二区在线观看 | www.66久久| 成人永久aaa| 99久久免费国产| 色综合色狠狠综合色| 99久久国产综合精品女不卡| 97久久超碰精品国产| 91免费国产在线| 91国产免费观看| 欧美午夜精品久久久| 777色狠狠一区二区三区| 日韩一区二区免费视频| 日韩精品一区二区三区四区| 精品少妇一区二区三区日产乱码| 欧美本精品男人aⅴ天堂| 日韩一级视频免费观看在线| 欧美激情中文字幕一区二区| 国产人伦精品一区二区| 欧美日本韩国一区| 777午夜精品免费视频| 亚洲精品一区二区三区影院 | 精品福利一区二区三区免费视频| 欧美r级电影在线观看| 国产无一区二区| 亚洲制服丝袜av| 婷婷中文字幕一区三区| 精品在线免费视频| 一本一道久久a久久精品| 欧美久久久久中文字幕| 中文av字幕一区| 亚洲.国产.中文慕字在线| 久久精品国产亚洲aⅴ| 成人美女在线视频| 91麻豆精品国产自产在线| 欧美电影免费观看高清完整版在线 | 国产精品视频yy9299一区| 亚洲三级久久久| 久草在线在线精品观看| 在线观看亚洲a| 国产精品久久夜| 狠狠色伊人亚洲综合成人| 欧美影片第一页| 国产精品污污网站在线观看| 久久99国产精品免费| 欧美片在线播放| 中文字幕一区av| 成人视屏免费看| 久久精品夜夜夜夜久久| 日韩视频在线永久播放| 一区二区三区在线播| www.av亚洲| 日本高清成人免费播放| 久久精品亚洲一区二区三区浴池 | 亚洲图片另类小说| 国产精品88888| 欧美电视剧在线看免费| 国产在线精品免费| 日韩一区二区三区在线| 亚洲一区在线视频观看| 色婷婷av一区二区三区之一色屋| 久久亚区不卡日本| 麻豆精品蜜桃视频网站| 在线不卡中文字幕| 日本不卡123| 欧美三片在线视频观看| 石原莉奈一区二区三区在线观看| 欧美日韩成人综合天天影院 | 亚洲成人黄色小说| 欧美日韩精品是欧美日韩精品| 日韩电影免费一区| 精品国产91久久久久久久妲己| 国产一区二区导航在线播放| 国产精品色婷婷| 在线观看亚洲精品| 国产一区二区三区精品欧美日韩一区二区三区 | 亚洲在线中文字幕| 91精品国产综合久久久久久久久久 | 国产婷婷一区二区| 成人97人人超碰人人99| 一区二区欧美国产| 久久精品在线观看| 欧美在线观看视频一区二区| 久久成人麻豆午夜电影| 亚洲一区二区三区在线看| 欧美一区二区国产| 99在线视频精品| 日韩中文字幕区一区有砖一区 | 欧美熟乱第一页| 精品一区二区三区久久久| 1024亚洲合集| 国产亚洲短视频| 欧美一区日韩一区| 国产aⅴ精品一区二区三区色成熟| 福利电影一区二区| 婷婷国产在线综合| 国产精品第一页第二页第三页| 337p亚洲精品色噜噜| 99re亚洲国产精品| 极品美女销魂一区二区三区免费| 亚洲天堂2016| 国产精品福利在线播放| 国产欧美日韩另类一区| 日韩一级片在线观看| 欧美电影在哪看比较好| 91福利视频久久久久| 91福利国产精品| 欧美亚洲国产一卡| 欧美视频一区二区三区四区| 97se亚洲国产综合自在线| 国产成人精品免费看| 国产成人免费视频一区| 国产精品乡下勾搭老头1| 国产精品1区2区3区在线观看| 奇米在线7777在线精品| 亚洲成人综合网站| 五月综合激情婷婷六月色窝| 亚洲最新视频在线播放| 亚洲国产成人高清精品| 亚洲成人先锋电影| 日韩一区精品字幕| 成人激情黄色小说| 欧美伦理影视网| 国产精品久久久久久福利一牛影视| 亚洲福利一区二区| 国产精品自拍在线| 91浏览器打开| 久久久www成人免费无遮挡大片 | 欧美成人国产一区二区| 国产女人水真多18毛片18精品视频| 亚洲色图欧美激情| 蜜桃一区二区三区在线| 91小视频在线观看| 欧美变态tickle挠乳网站| 国产精品青草久久| 亚洲精品乱码久久久久久| 亚洲一区二区偷拍精品| 蓝色福利精品导航| 91碰在线视频| 日韩视频一区二区三区| 国产精品久久久久久久久免费樱桃| 亚洲午夜激情网站| 玉足女爽爽91| 国产成人精品亚洲午夜麻豆| 色综合久久久久综合| 欧美一卡二卡在线| 国产精品国产三级国产普通话蜜臀| 美女网站在线免费欧美精品| 欧美亚洲丝袜传媒另类| 国产欧美精品一区二区色综合 | 一区二区三区精品在线| 国产精品77777竹菊影视小说| 91麻豆精品国产91久久久资源速度| 精品国产露脸精彩对白 | 国产午夜精品在线观看| 视频在线在亚洲| 99re热视频精品| 在线不卡一区二区| 日韩和欧美一区二区三区| 一本一本大道香蕉久在线精品 | 色欧美日韩亚洲| 国产亚洲精品精华液| 美美哒免费高清在线观看视频一区二区 | 午夜精品123| 丁香网亚洲国际| 国产日韩影视精品| 国产成人av一区二区三区在线| 欧美精品一区二区三区在线| 久草在线在线精品观看| 久久综合一区二区| www.日韩av| 亚洲激情综合网| 91麻豆精品国产综合久久久久久| 麻豆视频观看网址久久| 日韩欧美视频一区| 加勒比av一区二区| 日韩午夜激情电影| 国产一区二区三区在线看麻豆 | 在线观看国产一区二区| 日韩电影在线免费观看| 欧美一区二区美女| 丰满亚洲少妇av| 中文字幕巨乱亚洲| 欧美精品v国产精品v日韩精品| 丝袜美腿亚洲一区二区图片| 久久久久久久久岛国免费| 成人高清视频免费观看| 亚洲高清视频的网址| 亚洲欧美精品午睡沙发| 精品久久人人做人人爱| aa级大片欧美|