mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
feat(esp_hal_usb): add usb suspend wakeup status in ll layer
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
committed by
BOT
co-authored by
Cursor
parent
4625335d93
commit
0252365360
@@ -67,6 +67,18 @@ void _usb_utmi_hal_disable(void);
|
||||
*/
|
||||
void usb_utmi_hal_enable_data_pulldowns(bool enable);
|
||||
|
||||
/**
|
||||
* @brief Set USB OTG2.0 suspend state for PMU USB wakeup logic
|
||||
*
|
||||
* @param[in] in_suspend True if USB OTG2.0 is suspended
|
||||
*/
|
||||
void usb_utmi_hal_set_suspend_state(bool in_suspend);
|
||||
|
||||
/**
|
||||
* @brief Clear USB OTG2.0 wakeup status sent to PMU
|
||||
*/
|
||||
void usb_utmi_hal_clear_wakeup_status(void);
|
||||
|
||||
#endif // (SOC_USB_UTMI_PHY_NUM > 0)
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user