no-OS
Loading...
Searching...
No Matches
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:

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.

SPDX-License-Identifier: BSD-3-Clause

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

◆ []

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]