pub struct RP2040;Trait Implementations§
Source§impl BoardInfo for RP2040
impl BoardInfo for RP2040
Source§fn is_device_board(&self, device: &UsbDevice) -> bool
fn is_device_board(&self, device: &UsbDevice) -> bool
Check if the board is connected to the specified UsbDevice
Source§fn board_name(&self) -> String
fn board_name(&self) -> String
Get the board’s name
Source§fn page_size(&self) -> u32
fn page_size(&self) -> u32
Optional, just sent to a sensible default of 256, as long as it is less than 512 - 32 it should be okay, but boards very, and so does the bootloader firmware
Source§fn flash_sector_erase_size(&self) -> u64
fn flash_sector_erase_size(&self) -> u64
Optional, with a default erase size of 4096
Auto Trait Implementations§
impl Freeze for RP2040
impl RefUnwindSafe for RP2040
impl Send for RP2040
impl Sync for RP2040
impl Unpin for RP2040
impl UnwindSafe for RP2040
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more