mirror of
https://github.com/espressif/esp-idf
synced 2025-03-23 07:59:11 -04:00
17 lines
460 B
C
17 lines
460 B
C
|
/*
|
||
|
* SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*/
|
||
|
|
||
|
#include <stdbool.h>
|
||
|
#include "freertos/FreeRTOS.h"
|
||
|
|
||
|
/**
|
||
|
* @brief For the USB PHY into the connected or disconnected state
|
||
|
*
|
||
|
* @param connected For into connected state if true, disconnected if false
|
||
|
* @param delay_ticks Delay in ticks before forcing state
|
||
|
*/
|
||
|
void test_usb_force_conn_state(bool connected, TickType_t delay_ticks);
|