Lightweight USB stack  1.0
usb_cdc_proto_unit_desc Struct Reference

Protocol Unit Functional Descriptor. More...

#include <usb_cdci.h>

Data Fields

uint8_t bFunctionLength
 Size of this functional descriptor, in bytes.
 
uint8_t bDescriptorType
 CS_INTERFACE descriptor type.
 
uint8_t bDescriptorSubType
 Network Channel Terminal Functional Descriptor.
 
uint8_t bEntityId
 Constant uniquely identifying the Unit.
 
uint8_t bProtocol
 Protocol code.
 

Detailed Description

Protocol Unit Functional Descriptor.

A communication protocol stack is a combination of communication functions (protocols) into a layered structure. Each layer in the stack presents some abstract function for the layer above according to some layer-interface-standard, making it possible to replace a function with another as long as it conforms to the standard. Each layer may have a set of protocol parameters, defined in Appendix E, to configure it for proper operation in the actual environment and the parameters may be retrieved and/or modified. The Unit state is initially reset. See Section 6.2.23 “SetUnitParameter”, Section 6.2.24 “GetUnitParameter”, and 6.2.25 “ClearUnitParameter” for details. A Protocol Unit Functional Descriptor identifies with bEntityId a specific protocol instance of bProtocol in a stack. It can only occur within the class-specific portion of an Interface descriptor.

Definition at line 142 of file usb_cdci.h.


The documentation for this struct was generated from the following file: