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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? cdcdserialdriverdescriptors.c

?? AT91SAM9263的USB Device端口驅(qū)動
?? C
?? 第 1 頁 / 共 2 頁
字號:
        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
    },
};


/// 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
};

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91麻豆精品国产91久久久久 | 欧美性xxxxxxxx| 欧美激情一区在线观看| 福利一区在线观看| 一区视频在线播放| 色天使色偷偷av一区二区| 一区二区高清免费观看影视大全 | 精品粉嫩超白一线天av| 久久精品国产99国产| 国产视频在线观看一区二区三区| 国产成人精品三级| 亚洲精选免费视频| 欧美日韩国产美| 久久爱另类一区二区小说| 亚洲国产精品二十页| 色噜噜狠狠成人网p站| 午夜精品影院在线观看| 久久久久久亚洲综合| 91视视频在线观看入口直接观看www | 国产一区二区三区四区五区入口| 中文一区在线播放| 欧美日韩激情一区| 国产麻豆视频一区二区| 亚洲精品一二三四区| 欧美电影免费观看完整版| 大美女一区二区三区| 亚洲国产你懂的| 欧美xxxxx裸体时装秀| 99久久免费精品高清特色大片| 亚洲成在人线免费| 久久久99精品免费观看不卡| 日本韩国欧美国产| 国产老女人精品毛片久久| 一区二区三区在线观看视频| xf在线a精品一区二区视频网站| 99久久99久久综合| 激情综合色播激情啊| 夜夜夜精品看看| 国产视频一区二区在线观看| 欧美日本一区二区三区| 成人三级在线视频| 久久精品国产亚洲一区二区三区| 伊人色综合久久天天| 久久综合成人精品亚洲另类欧美 | 国产亚洲va综合人人澡精品 | 国产精品99久久不卡二区| 夜夜精品浪潮av一区二区三区| 26uuu久久综合| 欧美群妇大交群的观看方式| av午夜精品一区二区三区| 激情丁香综合五月| 午夜精品一区二区三区免费视频| 国产精品美女久久久久久| 精品少妇一区二区三区免费观看| 欧美亚洲综合网| 91蜜桃婷婷狠狠久久综合9色| 久久精品噜噜噜成人88aⅴ| 香蕉影视欧美成人| 亚洲精品视频免费看| 中文在线资源观看网站视频免费不卡 | 午夜精品在线看| 亚洲男同1069视频| 中文字幕一区日韩精品欧美| 国产午夜亚洲精品午夜鲁丝片| 日韩欧美国产麻豆| 日韩免费福利电影在线观看| 欧美日韩一区二区欧美激情 | 五月婷婷综合在线| 伊人婷婷欧美激情| 亚洲精品写真福利| 亚洲男人的天堂一区二区| 一区视频在线播放| 国产精品久久免费看| 日本一区二区三区高清不卡| 国产色91在线| 国产色婷婷亚洲99精品小说| 久久精品亚洲乱码伦伦中文| 欧美不卡一区二区| 久久亚洲精精品中文字幕早川悠里 | 久久国产尿小便嘘嘘尿| 日本中文一区二区三区| 日韩高清不卡在线| 美女mm1313爽爽久久久蜜臀| 伦理电影国产精品| 精品午夜久久福利影院| 国产精品69久久久久水密桃| 国产69精品久久777的优势| 国产1区2区3区精品美女| 99免费精品在线观看| eeuss国产一区二区三区| 色婷婷综合在线| 欧美日韩一区二区在线视频| 欧美欧美欧美欧美| 精品国产电影一区二区| 欧美国产综合色视频| 亚洲日本va在线观看| 午夜影视日本亚洲欧洲精品| 美女视频黄a大片欧美| 国产精品中文字幕日韩精品| 成人午夜激情视频| 在线欧美小视频| 欧美一区二区久久| 久久久99精品免费观看| 一区二区视频免费在线观看| 日韩国产一二三区| 成人一区二区三区中文字幕| 一本大道久久a久久综合| 777xxx欧美| 国产精品网友自拍| 天天综合色天天综合| 国产资源精品在线观看| 色综合久久精品| 日韩欧美一区在线| 中文字幕中文在线不卡住| 亚洲一区av在线| 国产福利91精品一区| 欧美色电影在线| 久久欧美一区二区| 亚洲午夜在线观看视频在线| 看电视剧不卡顿的网站| 91日韩一区二区三区| 精品久久久久久无| 亚洲精品你懂的| 国产老肥熟一区二区三区| 欧美色手机在线观看| 国产欧美日韩在线| 日韩不卡一区二区| 色综合咪咪久久| 久久精品视频一区二区三区| 亚洲成人午夜影院| 99久精品国产| 2020国产精品自拍| 日本伊人精品一区二区三区观看方式| 国产成人精品免费视频网站| 91精品国产综合久久香蕉的特点 | av不卡免费电影| 日韩三级av在线播放| 一区二区三区不卡视频| 成人免费视频一区| 精品国产伦一区二区三区观看体验 | 久久综合九色综合欧美亚洲| 亚洲一区二区3| 99精品久久久久久| 国产三级精品在线| 激情文学综合丁香| 日韩一区二区三区在线视频| 亚洲一区二区三区爽爽爽爽爽| 高清在线不卡av| 精品国产一区二区在线观看| 亚洲v精品v日韩v欧美v专区| 91免费版在线看| 中文字幕亚洲一区二区av在线 | 成人免费的视频| 精品国产乱码久久久久久闺蜜| 日日骚欧美日韩| 欧亚一区二区三区| 一区二区免费在线| 日韩一区二区三区高清免费看看 | 蓝色福利精品导航| 欧美揉bbbbb揉bbbbb| 亚洲黄色免费网站| 色综合久久综合| 亚洲狠狠丁香婷婷综合久久久| 9i看片成人免费高清| 中文字幕五月欧美| 不卡视频一二三| 一色屋精品亚洲香蕉网站| 丰满少妇在线播放bd日韩电影| 久久精品欧美一区二区三区不卡| 国产在线国偷精品产拍免费yy| 日韩亚洲欧美在线观看| 久久国产精品99久久久久久老狼| 日韩丝袜美女视频| 久久97超碰色| 国产欧美综合在线观看第十页| 粉嫩欧美一区二区三区高清影视 | youjizz久久| 国产精品成人在线观看| 91浏览器在线视频| 曰韩精品一区二区| 7878成人国产在线观看| 久久精品国产精品亚洲红杏| 久久精品在这里| voyeur盗摄精品| 亚洲一区二区视频| 欧美一区二区不卡视频| 国产精品影视天天线| 亚洲天堂av老司机| 欧美日韩一区小说| 激情久久五月天| 亚洲欧美怡红院| 欧美视频日韩视频| 久久精品国产成人一区二区三区| 久久精品人人做人人爽97| 91美女片黄在线观看91美女| 亚洲国产欧美一区二区三区丁香婷| 91麻豆精品国产91久久久久久久久| 国产在线播精品第三| 日韩伦理免费电影| 欧美一区二区精品久久911|