rom_reset_usb_boot() function
Reboot the device into BOOTSEL mode This function reboots the device into the BOOTSEL mode ('usb boot"). Facilities are provided to enable an "activity light" via GPIO attached LED for the USB Mass Storage Device, and to limit the USB interfaces exposed.
Arguments
usb_activity_gpio_pin_mask
0 No pins are used as per a cold boot. Otherwise a single bit set indicating which GPIO pin should be set to output and raised whenever there is mass storage activity from the host.
disable_interface_mask
value to control exposed interfaces - 0 To enable both interfaces (as per a cold boot) - 1 To disable the USB Mass Storage Interface - 2 To disable the USB PICOBOOT Interface