pico_ice_usb
- group pico_ice_usb
USB-related functions.
Calling ice_usb_init() is already done by ice_init(). ice_usb_task() should be called in the main loop for USB flashing and USB UART support.
Defines
-
ICE_USB_UART_FPGA_ITF
TinyUSB CDC interface number for the USB-UART link.
Functions
-
void uf2_init(void)
-
void board_init(void)
-
void ice_usb_init(void)
Initialise the TinyUSB library, enabling the UART (CDC) and drag-and-drop (MSC) interfaces.
-
void ice_usb_task(void)
Run all code related to USB in a non-blocking way.
It is typically to be placed at the end of the main application loop. It must be called frequently in order to USB to work. This is due to how the TinyUSB library works.
-
ICE_USB_UART_FPGA_ITF