no-OS
Variables
maxim_usb_uart_descriptors.h File Reference

USB CDC ACM initialization structures. More...

#include <stdint.h>
#include "usb.h"
#include "hid_kbd.h"
Include dependency graph for maxim_usb_uart_descriptors.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

MXC_USB_device_descriptor_t device_descriptor
 
uint8_t lang_id_desc []
 
uint8_t mfg_id_desc []
 
uint8_t prod_id_desc []
 
uint8_t serial_id_desc []
 

Detailed Description

USB CDC ACM initialization structures.

Author
Darius Berghe (dariu.nosp@m.s.be.nosp@m.rghe@.nosp@m.anal.nosp@m.og.co.nosp@m.m)

Copyright 2024(c) Analog Devices, Inc.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of Analog Devices, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Variable Documentation

◆ acm_functional_descriptor

uint8_t acm_functional_descriptor[4]

◆ call_management_descriptor

uint8_t call_management_descriptor[5]

◆ comm_interface_descriptor

MXC_USB_interface_descriptor_t comm_interface_descriptor

◆ config_descriptor

struct { ... } config_descriptor

◆ data_interface_descriptor

MXC_USB_interface_descriptor_t data_interface_descriptor

◆ device_descriptor

MXC_USB_device_descriptor_t device_descriptor
Initial value:
= {
0x12,
0x01,
0x0200,
0x02,
0x00,
0x00,
0x40,
0x0B6A,
0x003C,
0x0100,
0x01,
0x02,
0x00,
0x01
}

◆ endpoint_descriptor_1

MXC_USB_endpoint_descriptor_t endpoint_descriptor_1

◆ endpoint_descriptor_2

MXC_USB_endpoint_descriptor_t endpoint_descriptor_2

◆ endpoint_descriptor_3

MXC_USB_endpoint_descriptor_t endpoint_descriptor_3

◆ header_functional_descriptor

uint8_t header_functional_descriptor[5]

◆ lang_id_desc

uint8_t lang_id_desc[]
Initial value:
= {
0x04,
0x03,
0x09, 0x04
}

◆ mfg_id_desc

uint8_t mfg_id_desc[]
Initial value:
= {
0x22,
0x03,
'M', 0, 'a', 0, 'x', 0, 'i', 0, 'm', 0, ' ', 0, 'I', 0, 'n', 0,
't', 0, 'e', 0, 'g', 0, 'r', 0, 'a', 0, 't', 0, 'e', 0, 'd', 0,
}

◆ prod_id_desc

uint8_t prod_id_desc[]
Initial value:
= {
0x22,
0x03,
'M', 0, 'A', 0, 'X', 0, '3', 0, '2', 0, '6', 0, '6', 0, '5', 0,
' ', 0, 'C', 0, 'D', 0, 'C', 0, '-', 0, 'A', 0, 'C', 0, 'M', 0,
}

◆ serial_id_desc

uint8_t serial_id_desc[]
Initial value:
= { 0x14,
0x03,
'0', 0, '0', 0, '0', 0, '0', 0, '0', 0,
'0', 0, '0', 0, '0', 0, '1', 0
}

◆ union_functional_descriptor

uint8_t union_functional_descriptor[5]