mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(esp_hal_usb): add usb suspend wakeup status in ll layer
This commit is contained in:
@@ -28,6 +28,16 @@ void usb_utmi_hal_enable_data_pulldowns(bool enable)
|
||||
usb_utmi_ll_enable_data_pulldowns(enable);
|
||||
}
|
||||
|
||||
void usb_utmi_hal_set_suspend_state(bool in_suspend)
|
||||
{
|
||||
usb_utmi_ll_set_suspend_state(in_suspend);
|
||||
}
|
||||
|
||||
void usb_utmi_hal_clear_wakeup_status(void)
|
||||
{
|
||||
usb_utmi_ll_clear_wakeup_status();
|
||||
}
|
||||
|
||||
void _usb_utmi_hal_disable(void)
|
||||
{
|
||||
_usb_utmi_ll_enable_bus_clock(false);
|
||||
|
||||
Reference in New Issue
Block a user