pub struct Rp2350DefaultPeripherals<'a> {
pub clocks: Clocks,
pub pins: RPPins<'a>,
pub resets: Resets,
pub sio: SIO,
pub ticks: Ticks,
pub timer0: RPTimer<'a>,
pub uart0: Uart<'a>,
pub uart1: Uart<'a>,
pub xosc: Xosc,
}
Fields§
§clocks: Clocks
§pins: RPPins<'a>
§resets: Resets
§sio: SIO
§ticks: Ticks
§timer0: RPTimer<'a>
§uart0: Uart<'a>
§uart1: Uart<'a>
§xosc: Xosc
Implementations§
Source§impl Rp2350DefaultPeripherals<'_>
impl Rp2350DefaultPeripherals<'_>
pub fn new() -> Self
pub fn resolve_dependencies(&'static self)
Trait Implementations§
Source§impl InterruptService for Rp2350DefaultPeripherals<'_>
impl InterruptService for Rp2350DefaultPeripherals<'_>
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 Rp2350DefaultPeripherals<'a>
impl<'a> !RefUnwindSafe for Rp2350DefaultPeripherals<'a>
impl<'a> !Send for Rp2350DefaultPeripherals<'a>
impl<'a> !Sync for Rp2350DefaultPeripherals<'a>
impl<'a> Unpin for Rp2350DefaultPeripherals<'a>
impl<'a> !UnwindSafe for Rp2350DefaultPeripherals<'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