18 lines
534 B
C
18 lines
534 B
C
// This file is part of the CircuitPython project: https://circuitpython.org
|
|
//
|
|
// SPDX-FileCopyrightText: Copyright (c) 2022 Scott Shawcroft for Adafruit Industries
|
|
//
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
#pragma once
|
|
|
|
#include "py/obj.h"
|
|
|
|
typedef struct {
|
|
mp_obj_base_t base;
|
|
uint8_t device_number;
|
|
uint8_t configuration_index; // not bConfigurationValue
|
|
uint8_t *configuration_descriptor; // Contains the length of the all descriptors.
|
|
uint8_t open_endpoints[8];
|
|
uint16_t first_langid;
|
|
} usb_core_device_obj_t;
|