Chapter 8
L8-2(1)
Initialize CDC internal structures and variables.
L8-2(2)
Initialize CDC ACM internal structures and variables.
8
L8-2(3)
Create a new CDC ACM subclass instance. In this example, the line state
notification interval is 100 ms. In the CCI, an interrupt IN endpoint is used to
asynchronously notify the host of the status of the different signals forming the
serial line. The line state notification interval corresponds to the interrupt
endpoint’s polling interval.
L8-2(4)
Register the application callback, App_USBD_CDC_SerialLineCoding() . It is
called by the ACM subclass when the class-specific request SET_LINE_CODING
has been received by the device. This request allows the host to specify the
serial line settings (baud rate, stop bits, parity and data bits). Refer to “ CDC
PSTN Subclass, revision 1.2 ”, section 6.3.10 for more details about this class-
specific request.
L8-2(5)
Register the application callback, App_USBD_CDC_SerialLineCtrl() . It is
called by the ACM subclass when the class-specific request
SET_CONTROL_LINE_STATE has been received by the device. This request
generates RS-232/V.24 style control signals. Refer to “ CDC PSTN Subclass,
revision 1.2 ”, section 6.3.12 for more details about this class-specific request.
L8-2(6)
Check if the high-speed configuration is active and proceed to add the ACM
subclass instance to this configuration.
L8-2(7)
Check if the full-speed configuration is active and proceed to add the ACM
subclass instance to this configuration.
Listing 8-2 also illustrates an example of multiple configurations. The functions
USBD_ACM_SerialAdd() and USBD_ACM_SerialCfgAdd() allow you to create multiple
configurations and multiple instances architecture. Refer to section 7-1 “Class Instance
Concept” on page 99 for more details about multiple class instances.
126
相关PDF资料
AD637-EVALZ BOARD EVALUATION FOR AD637
AD736-EVALZ BOARD EVALUATION FOR AD736
AD737-EVALZ BOARD EVALUATION FOR AD737
AD8007AKS-EBZ BOARD EVAL FOR AD8007AKS
AD8018ARU-EVAL BOARD EVAL FOR AD8018
AD8034ART-EBZ BOARD EVAL FOR AD8034ART
AD8040AR-EBZ BOARD EVAL FOR AD8040AR
AD8045ARD-EBZ BOARD EVAL FOR AD8045ARD
相关代理商/技术参数
AD-UCUSB-HCCDC-SPL 制造商:Analog Devices 功能描述:?C/USB HC CDC FOR CCES SINGLE PROD LIC - Virtual or Non-Physical Inventory (Software & Literature)
AD-UCUSB-HCMSC-SPL 制造商:Analog Devices 功能描述:?C/USB HC MSC FOR CCES SINGLE PROD LIC - Virtual or Non-Physical Inventory (Software & Literature)
AD-UCUSBH-MCDC-SPL 制造商:Analog Devices 功能描述:MAINTENANCE ?C/USBH CDC SINGLE PRD LIC - Virtual or Non-Physical Inventory (Software & Literature)
AD-UCUSBH-MHID-SPL 制造商:Analog Devices 功能描述:MAINTENANCE ?C/USBH HID SINGLE PRD LIC - Virtual or Non-Physical Inventory (Software & Literature)
AD-UCUSBH-MMSC-SPL 制造商:Analog Devices 功能描述:MAINTENANCE ?C/USBH MSC SINGLE PRD LIC - Virtual or Non-Physical Inventory (Software & Literature)
AD-UCUSBH-SPRD 功能描述:PRD LIC UCUSB DEV CORE CCES SGL 制造商:analog devices inc. 系列:CrossCore? Embedded Studio 零件状态:在售 类型:- 应用:- 版本:- 许可长度:- 许可 - 用户明细:- 操作系统:- 配套使用产品/相关产品:Blackfin? 处理器 媒体分发类型:- 标准包装:1
ADUM1100 制造商:AD 制造商全称:Analog Devices 功能描述:iCoupler Digital Isolator
ADUM1100AR 功能描述:IC DIGITAL ISOLATOR 1CH 8-SOIC RoHS:否 类别:隔离器 >> 数字隔离器 系列:iCoupler® 产品培训模块:IsoLoop® Isolator 标准包装:50 系列:IsoLoop® 输入 - 1 侧/2 侧:5/0 通道数:5 电源电压:3 V ~ 5.5 V 电压 - 隔离:2500Vrms 数据速率:110Mbps 传输延迟:12ns 输出类型:CMOS 封装/外壳:16-SOIC(0.154",3.90mm 宽) 供应商设备封装:16-SOIC N 包装:管件 工作温度:-40°C ~ 85°C 其它名称:390-1053-5