pub struct Rp2040DefaultPeripherals<'a> {Show 18 fields
pub adc: Adc<'a>,
pub clocks: Clocks,
pub i2c0: I2c<'a, 'a>,
pub pins: RPPins<'a>,
pub pio0: Pio,
pub pio1: Pio,
pub pwm: Pwm<'a>,
pub resets: Resets,
pub sio: SIO,
pub spi0: Spi<'a>,
pub sysinfo: SysInfo,
pub timer: RPTimer<'a>,
pub uart0: Uart<'a>,
pub uart1: Uart<'a>,
pub usb: UsbCtrl<'a>,
pub watchdog: Watchdog<'a>,
pub xosc: Xosc,
pub rtc: Rtc<'a>,
}
Fields§
§adc: Adc<'a>
§clocks: Clocks
§i2c0: I2c<'a, 'a>
§pins: RPPins<'a>
§pio0: Pio
§pio1: Pio
§pwm: Pwm<'a>
§resets: Resets
§sio: SIO
§spi0: Spi<'a>
§sysinfo: SysInfo
§timer: RPTimer<'a>
§uart0: Uart<'a>
§uart1: Uart<'a>
§usb: UsbCtrl<'a>
§watchdog: Watchdog<'a>
§xosc: Xosc
§rtc: Rtc<'a>
Implementations§
Source§impl Rp2040DefaultPeripherals<'_>
impl Rp2040DefaultPeripherals<'_>
pub fn new() -> Self
pub fn resolve_dependencies(&'static self)
Trait Implementations§
Source§impl InterruptService for Rp2040DefaultPeripherals<'_>
impl InterruptService for Rp2040DefaultPeripherals<'_>
Source§unsafe fn service_interrupt(&self, interrupt: u32) -> bool
unsafe fn service_interrupt(&self, interrupt: u32) -> bool
Service an interrupt, if supported by this chip. If this interrupt
number is not supported, return false.
Auto Trait Implementations§
impl<'a> !Freeze for Rp2040DefaultPeripherals<'a>
impl<'a> !RefUnwindSafe for Rp2040DefaultPeripherals<'a>
impl<'a> !Send for Rp2040DefaultPeripherals<'a>
impl<'a> !Sync for Rp2040DefaultPeripherals<'a>
impl<'a> Unpin for Rp2040DefaultPeripherals<'a>
impl<'a> !UnwindSafe for Rp2040DefaultPeripherals<'a>
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