Home
last modified time | relevance | path

Searched refs:enum_ctrl (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.6.0/components/usb/
Dhub.c180 enum_ctrl_t enum_ctrl; member
259 static bool enum_stage_start(enum_ctrl_t *enum_ctrl) in enum_stage_start() argument
266enum_ctrl->bMaxPacketSize0 = (speed == USB_SPEED_LOW) ? ENUM_WORST_CASE_MPS_LS : ENUM_WORST_CASE_M… in enum_stage_start()
276 enum_ctrl->dev_hdl = enum_dev_hdl; in enum_stage_start()
277 enum_ctrl->pipe = enum_dflt_pipe_hdl; in enum_stage_start()
281 static bool enum_stage_second_reset(enum_ctrl_t *enum_ctrl) in enum_stage_second_reset() argument
283 …ESP_ERROR_CHECK(hcd_pipe_set_persist_reset(enum_ctrl->pipe)); //Persist the default pipe through … in enum_stage_second_reset()
291 static uint8_t get_string_desc_index(enum_ctrl_t *enum_ctrl) in get_string_desc_index() argument
294 switch (enum_ctrl->stage) { in get_string_desc_index()
301 index = enum_ctrl->iManufacturer; in get_string_desc_index()
[all …]