refactor(ext_hub): Prerequisites for the Ext Port Driver

This commit is contained in:
Roman Leonov 2024-09-06 16:32:53 +08:00
parent aa3adb747e
commit c2691b94c8
2 changed files with 426 additions and 270 deletions

File diff suppressed because it is too large Load Diff

View File

@ -50,6 +50,7 @@ typedef struct {
esp_err_t (*get_speed)(void *por_hdl, usb_speed_t *speed);
esp_err_t (*get_status)(void *port_hdl);
esp_err_t (*set_status)(void *port_hdl, const usb_port_status_t *status);
esp_err_t (*req_process)(void *port_hdl);
} ext_hub_port_driver_t;
/**