1 /* 2 * SPDX-FileCopyrightText: 2019-2022 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #pragma once 8 #include <stdint.h> 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 int chip_usb_dw_init(void); 15 int chip_usb_dw_did_persist(void); 16 void chip_usb_dw_prepare_persist(void); 17 uint32_t chip_usb_get_persist_flags(void); 18 void chip_usb_set_persist_flags(uint32_t flags); 19 20 #ifdef __cplusplus 21 } 22 #endif 23