Searched refs:iopins (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-3.4.0/components/usb/ |
D | usb_phy.c | 34 usb_phy_gpio_conf_t *iopins; /**< external PHY I/O pins */ member 144 if (!handle->iopins) { in usb_phy_action() 152 esp_rom_gpio_connect_in_signal(handle->iopins->vp_io_num, USB_EXTPHY_VP_IDX, false); in usb_phy_action() 153 esp_rom_gpio_connect_in_signal(handle->iopins->vm_io_num, USB_EXTPHY_VM_IDX, false); in usb_phy_action() 258 phy_context->iopins = (usb_phy_gpio_conf_t *) calloc(1, sizeof(usb_phy_gpio_conf_t)); in usb_new_phy() 259 …ESP_GOTO_ON_FALSE(phy_context->iopins, ESP_ERR_NO_MEM, cleanup, USBPHY_TAG, "no mem for storing I/… in usb_new_phy() 260 memcpy(phy_context->iopins, config->gpio_conf, sizeof(usb_phy_gpio_conf_t)); in usb_new_phy() 261 ESP_ERROR_CHECK(phy_external_iopins_configure(phy_context->iopins)); in usb_new_phy() 272 free(phy_context->iopins); in usb_new_phy() 309 free(handle->iopins); in usb_del_phy()
|