1 /*
2  * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #pragma once
8 #include <stdint.h>
9 #include "soc/soc_caps.h"
10 #include "soc/periph_defs.h"
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 /*
17  Stores a bunch of USB-peripheral data.
18 */
19 typedef struct {
20     const uint8_t extphy_vp_in;
21     const uint8_t extphy_vm_in;
22     const uint8_t extphy_rcv_in;
23     const uint8_t extphy_oen_out;
24     const uint8_t extphy_vpo_out;
25     const uint8_t extphy_vmo_out;
26     const uint8_t extphy_suspend_in;
27     const uint8_t extphy_speed_in;
28     const periph_module_t module;
29 } usb_phy_signal_conn_t;
30 
31 extern const usb_phy_signal_conn_t usb_phy_periph_signal;
32 
33 #ifdef __cplusplus
34 }
35 #endif
36