Hanna
Sourcecode Kontrollplatine |
#include <Descriptors.h>
CDC class-specific Functional Header Descriptor (LUFA naming conventions).
Type define for a CDC class-specific functional header descriptor. This indicates to the host that the device contains one or more CDC functional data descriptors, which give the CDC interface's capabilities and configuration. See the CDC class specification for more details.
CDC class-specific Functional Header Descriptor (USB-IF naming conventions).
Type define for a CDC class-specific functional header descriptor. This indicates to the host that the device contains one or more CDC functional data descriptors, which give the CDC interface's capabilities and configuration. See the CDC class specification for more details.
CDC class-specific Functional ACM Descriptor (LUFA naming conventions).
Type define for a CDC class-specific functional ACM descriptor. This indicates to the host that the CDC interface supports the CDC ACM subclass of the CDC specification. See the CDC class specification for more details.
CDC class-specific Functional ACM Descriptor (USB-IF naming conventions).
Type define for a CDC class-specific functional ACM descriptor. This indicates to the host that the CDC interface supports the CDC ACM subclass of the CDC specification. See the CDC class specification for more details.
CDC class-specific Functional Union Descriptor (LUFA naming conventions).
Type define for a CDC class-specific functional Union descriptor. This indicates to the host that specific CDC control and data interfaces are related. See the CDC class specification for more details.
CDC class-specific Functional Union Descriptor (USB-IF naming conventions).
Type define for a CDC class-specific functional Union descriptor. This indicates to the host that specific CDC control and data interfaces are related. See the CDC class specification for more details.
CDC Virtual Serial Port Line Encoding Settings Structure.
Type define for a CDC Line Encoding structure, used to hold the various encoding parameters for a virtual serial port.
Definiert in Zeile 246 der Datei Descriptors.h.
uint8_t ATTR_PACKED::AlternateSetting |
Alternate setting for the interface number. The same interface number can have multiple alternate settings with different endpoint configurations, which can be selected by the host.
Definiert in Zeile 464 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::Attributes |
Endpoint attributes, comprised of a mask of the endpoint type (EP_TYPE_*) and attributes (ENDPOINT_ATTR_*) masks.
Definiert in Zeile 538 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bAlternateSetting |
Alternate setting for the interface number. The same interface number can have multiple alternate settings with different endpoint configurations, which can be selected by the host.
Definiert in Zeile 485 der Datei usb_defaults.h.
uint32_t ATTR_PACKED::BaudRateBPS |
Baud rate of the virtual serial port, in bits per second.
Definiert in Zeile 377 der Datei Descriptors.h.
uint16_t ATTR_PACKED::bcdCDC |
Version number of the CDC specification implemented by the device, encoded in BCD format.
Definiert in Zeile 277 der Datei Descriptors.h.
uint16_t ATTR_PACKED::bcdDevice |
Product release (version) number.
Definiert in Zeile 355 der Datei usb_defaults.h.
uint16_t ATTR_PACKED::bcdUSB |
BCD of the supported USB specification.
Definiert in Zeile 348 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bConfigurationValue |
Configuration index of the current configuration.
Definiert in Zeile 448 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bDescriptorSubType |
Sub type value used to distinguish between CDC class-specific descriptors, must be CDC_DSUBTYPE_CSInterface_Header.
Sub type value used to distinguish between CDC class-specific descriptors, must be CDC_DSUBTYPE_CSInterface_ACM.
Sub type value used to distinguish between CDC class-specific descriptors, must be CDC_DSUBTYPE_CSInterface_Union.
Definiert in Zeile 274 der Datei Descriptors.h.
uint8_t ATTR_PACKED::bDescriptorType |
Type of the descriptor, either a value in USB_DescriptorTypes_t or a value given by the specific class.
Definiert in Zeile 271 der Datei Descriptors.h.
uint8_t ATTR_PACKED::bDeviceClass |
USB device class.
Definiert in Zeile 349 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bDeviceProtocol |
USB device protocol.
Definiert in Zeile 351 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bDeviceSubClass |
USB device subclass.
Definiert in Zeile 350 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bEndpointAddress |
Logical address of the endpoint within the device for the current configuration, including direction mask.
Definiert in Zeile 555 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bFirstInterface |
Index of the first associated interface.
Definiert in Zeile 521 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bFunctionClass |
Interface class ID.
Definiert in Zeile 523 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bFunctionLength |
Size of the descriptor, in bytes.
Definiert in Zeile 270 der Datei Descriptors.h.
uint8_t ATTR_PACKED::bFunctionProtocol |
Interface protocol ID.
Definiert in Zeile 525 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bFunctionSubClass |
Interface subclass ID.
Definiert in Zeile 524 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bInterfaceClass |
Interface class ID.
Definiert in Zeile 491 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bInterfaceCount |
Total number of associated interfaces.
Definiert in Zeile 522 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bInterfaceNumber |
Index of the interface in the current configuration.
Definiert in Zeile 484 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bInterfaceProtocol |
Interface protocol ID.
Definiert in Zeile 493 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bInterfaceSubClass |
Interface subclass ID.
Definiert in Zeile 492 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bInterval |
Polling interval in milliseconds for the endpoint if it is an INTERRUPT or ISOCHRONOUS type.
Definiert in Zeile 564 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bLength |
Size of the descriptor, in bytes.
Definiert in Zeile 294 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bMasterInterface |
Interface number of the CDC Control interface.
Definiert in Zeile 364 der Datei Descriptors.h.
uint8_t ATTR_PACKED::bmAttributes |
Configuration attributes, comprised of a mask of zero or more USB_CONFIG_ATTR_* masks.
Endpoint attributes, comprised of a mask of the endpoint type (EP_TYPE_*) and attributes (ENDPOINT_ATTR_*) masks.
Definiert in Zeile 450 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bMaxPacketSize0 |
Size of the control (address 0) endpoint's bank in bytes.
Definiert in Zeile 352 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bMaxPower |
Maximum power consumption of the device while in the current configuration, calculated by the USB_CONFIG_POWER_MA() macro.
Definiert in Zeile 453 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bmCapabilities |
Capabilities of the ACM interface, given as a bit mask. For most devices, this should be set to a fixed value of 0x06 - for other capabilities, refer to the CDC ACM specification.
Definiert in Zeile 320 der Datei Descriptors.h.
uint8_t ATTR_PACKED::bNumConfigurations |
Total number of configurations supported by the device.
Definiert in Zeile 378 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bNumEndpoints |
Total number of endpoints in the interface.
Definiert in Zeile 490 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bNumInterfaces |
Total number of interfaces in the configuration.
Definiert in Zeile 447 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bReserved |
Reserved for future use, must be 0.
Definiert in Zeile 413 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::bSlaveInterface0 |
Interface number of the CDC Data interface.
Definiert in Zeile 365 der Datei Descriptors.h.
uint16_t ATTR_PACKED::bString[] |
String data, as unicode characters (alternatively, string language IDs). If normal ASCII characters are to be used, they must be added as an array of characters rather than a normal C string so that they are widened to Unicode size.
Under GCC, strings prefixed with the "L" character (before the opening string quotation mark) are considered to be Unicode strings, and may be used instead of an explicit array of ASCII characters.
Definiert in Zeile 582 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::Capabilities |
Capabilities of the ACM interface, given as a bit mask. For most devices, this should be set to a fixed value of 0x06 - for other capabilities, refer to the CDC ACM specification.
Definiert in Zeile 295 der Datei Descriptors.h.
uint16_t ATTR_PACKED::CDCSpecification |
Version number of the CDC specification implemented by the device, encoded in BCD format.
Definiert in Zeile 252 der Datei Descriptors.h.
uint8_t ATTR_PACKED::CharFormat |
Character format of the virtual serial port, a value from the CDC_LineEncodingFormats_t enum.
Definiert in Zeile 378 der Datei Descriptors.h.
uint8_t ATTR_PACKED::Class |
uint8_t ATTR_PACKED::ConfigAttributes |
Configuration attributes, comprised of a mask of zero or more USB_CONFIG_ATTR_* masks.
Definiert in Zeile 428 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::ConfigurationNumber |
Configuration index of the current configuration.
Definiert in Zeile 425 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::ConfigurationStrIndex |
Index of a string descriptor describing the configuration.
Definiert in Zeile 426 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::DataBits |
Bits of data per character of the virtual serial port.
Definiert in Zeile 384 der Datei Descriptors.h.
uint8_t ATTR_PACKED::Endpoint0Size |
Size of the control (address 0) endpoint's bank in bytes.
Definiert in Zeile 309 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::EndpointAddress |
Logical address of the endpoint within the device for the current configuration, including direction mask.
Definiert in Zeile 535 der Datei usb_defaults.h.
uint16_t ATTR_PACKED::EndpointSize |
Size of the endpoint bank, in bytes. This indicates the maximum packet size that the endpoint can receive at a time.
Definiert in Zeile 541 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::FirstInterfaceIndex |
Index of the first associated interface.
Definiert in Zeile 503 der Datei usb_defaults.h.
USB_Descriptor_Header_t ATTR_PACKED::Header |
Regular descriptor header containing the descriptor's type and length.
Descriptor header, including type and size.
Definiert in Zeile 248 der Datei Descriptors.h.
uint8_t ATTR_PACKED::IADStrIndex |
Index of the string descriptor describing the interface association.
Definiert in Zeile 510 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::iConfiguration |
Index of a string descriptor describing the configuration.
Definiert in Zeile 449 der Datei usb_defaults.h.
uint16_t ATTR_PACKED::idProduct |
Unique product ID for the USB product.
Definiert in Zeile 354 der Datei usb_defaults.h.
uint16_t ATTR_PACKED::idVendor |
Vendor ID for the USB product.
Definiert in Zeile 353 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::iFunction |
Index of the string descriptor describing the interface association.
Definiert in Zeile 526 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::iInterface |
Index of the string descriptor describing the interface.
Definiert in Zeile 494 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::iManufacturer |
String index for the manufacturer's name. The host will request this string via a separate control request for the string descriptor.
Definiert in Zeile 356 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::InterfaceNumber |
Index of the interface in the current configuration.
Definiert in Zeile 463 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::InterfaceStrIndex |
Index of the string descriptor describing the interface.
Definiert in Zeile 475 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::iProduct |
String index for the product name/details.
Definiert in Zeile 362 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::iSerialNumber |
String index for the product's globally unique hexadecimal serial number, in uppercase Unicode ASCII.
Definiert in Zeile 366 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::ManufacturerStrIndex |
String index for the manufacturer's name. The host will request this string via a separate control request for the string descriptor.
Definiert in Zeile 315 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::MasterInterfaceNumber |
Interface number of the CDC Control interface.
Definiert in Zeile 341 der Datei Descriptors.h.
uint8_t ATTR_PACKED::MaxPowerConsumption |
Maximum power consumption of the device while in the current configuration, calculated by the USB_CONFIG_POWER_MA() macro.
Definiert in Zeile 432 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::NumberOfConfigurations |
Total number of configurations supported by the device.
Definiert in Zeile 337 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::ParityType |
Parity setting of the virtual serial port, a value from the CDC_LineEncodingParity_t enum.
Definiert in Zeile 381 der Datei Descriptors.h.
uint8_t ATTR_PACKED::PollingIntervalMS |
Polling interval in milliseconds for the endpoint if it is an INTERRUPT or ISOCHRONOUS type.
Definiert in Zeile 544 der Datei usb_defaults.h.
uint16_t ATTR_PACKED::ProductID |
Unique product ID for the USB product.
Definiert in Zeile 312 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::ProductStrIndex |
String index for the product name/details.
Definiert in Zeile 321 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::Protocol |
uint16_t ATTR_PACKED::ReleaseNumber |
Product release (version) number.
Definiert in Zeile 313 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::Reserved |
Reserved for future use, must be 0.
Definiert in Zeile 396 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::SerialNumStrIndex |
String index for the product's globally unique hexadecimal serial number, in uppercase Unicode ASCII.
Definiert in Zeile 325 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::Size |
Size of the descriptor, in bytes.
Definiert in Zeile 286 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::SlaveInterfaceNumber |
Interface number of the CDC Data interface.
Definiert in Zeile 342 der Datei Descriptors.h.
uint8_t ATTR_PACKED::SubClass |
uint8_t ATTR_PACKED::Subtype |
Sub type value used to distinguish between CDC class-specific descriptors, must be CDC_DSUBTYPE_CSInterface_Header.
Sub type value used to distinguish between CDC class-specific descriptors, must be CDC_DSUBTYPE_CSInterface_ACM.
Sub type value used to distinguish between CDC class-specific descriptors, must be CDC_DSUBTYPE_CSInterface_Union.
Definiert in Zeile 249 der Datei Descriptors.h.
uint16_t ATTR_PACKED::TotalConfigurationSize |
Size of the configuration descriptor header, and all sub descriptors inside the configuration.
Definiert in Zeile 420 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::TotalEndpoints |
Total number of endpoints in the interface.
Definiert in Zeile 469 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::TotalInterfaces |
Total number of interfaces in the configuration.
Total number of associated interfaces.
Definiert in Zeile 423 der Datei usb_defaults.h.
uint8_t ATTR_PACKED::Type |
Type of the descriptor, either a value in USB_DescriptorTypes_t or a value given by the specific class.
Definiert in Zeile 287 der Datei usb_defaults.h.
uint16_t ATTR_PACKED::USBSpecification |
BCD of the supported USB specification.
Definiert in Zeile 304 der Datei usb_defaults.h.
uint16_t ATTR_PACKED::VendorID |
Vendor ID for the USB product.
Definiert in Zeile 311 der Datei usb_defaults.h.
uint16_t ATTR_PACKED::wMaxPacketSize |
Size of the endpoint bank, in bytes. This indicates the maximum packet size that the endpoint can receive at a time.
Definiert in Zeile 561 der Datei usb_defaults.h.
uint16_t ATTR_PACKED::wTotalLength |
Size of the configuration descriptor header, and all sub descriptors inside the configuration.
Definiert in Zeile 444 der Datei usb_defaults.h.