Closed mikewen closed 1 year ago
下面的代码,USBDM,USBDP只能输出 0.5-0.6V 左右 usb_iomode(1);
gpio_set_direction(IO_PORT_DM, 0);gpio_set_output_value(IO_PORT_DM,1);gpio_write(IO_PORT_DM,1); gpio_set_direction(IO_PORT_DP, 0);gpio_set_output_value(IO_PORT_DP,1);gpio_write(IO_PORT_DP,1);
下面的代码,USBDM,USBDP只能输出 0.5-0.6V 左右 usb_iomode(1);
gpio_set_direction(IO_PORT_DM, 0);gpio_set_output_value(IO_PORT_DM,1);gpio_write(IO_PORT_DM,1); gpio_set_direction(IO_PORT_DP, 0);gpio_set_output_value(IO_PORT_DP,1);gpio_write(IO_PORT_DP,1);