Crate rp2040_rom

Crate rp2040_rom 

Source
Expand description

This module provides the ability to call Raspberry Pi ROM functions.

The RP2040 ROM contains several useful functions that can be called directly from user code, including functions to reset the device and enter the USB bootloader.

§Safety

All functions in this crate are marked as unsafe because they involve direct hardware manipulation and can reset the device.

§Example

use rp2040_rom::ROM;

// Reset into USB bootloader mode
unsafe {
    ROM::reset_usb_boot(0, 0);
}

Structs§

ROM
Object containing exposed ROM functions