1 /*
2  * SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <stdbool.h>
8 #include "freertos/FreeRTOS.h"
9 
10 /**
11  * @brief Initialize the internal USB PHY and USB Controller for USB Host testing
12  */
13 void test_usb_init_phy(void);
14 
15 /**
16  * @brief Deinitalize the internal USB PHY and USB Controller after USB Host testing
17  */
18 void test_usb_deinit_phy(void);
19 
20 /**
21  * @brief For the USB PHY into the connected or disconnected state
22  *
23  * @param connected For into connected state if true, disconnected if false
24  * @param delay_ticks Delay in ticks before forcing state
25  */
26 void test_usb_set_phy_state(bool connected, TickType_t delay_ticks);
27