Struct rp2040_pac2::resets::regs::Peripherals[][src]

#[repr(transparent)]pub struct Peripherals(pub u32);

Reset done. If a bit is set then a reset done signal has been returned by the peripheral. This indicates that the peripheral’s registers are ready to be accessed.

Implementations

impl Peripherals[src]

pub const fn usbctrl(&self) -> bool[src]

pub fn set_usbctrl(&mut self, val: bool)[src]

pub const fn uart1(&self) -> bool[src]

pub fn set_uart1(&mut self, val: bool)[src]

pub const fn uart0(&self) -> bool[src]

pub fn set_uart0(&mut self, val: bool)[src]

pub const fn timer(&self) -> bool[src]

pub fn set_timer(&mut self, val: bool)[src]

pub const fn tbman(&self) -> bool[src]

pub fn set_tbman(&mut self, val: bool)[src]

pub const fn sysinfo(&self) -> bool[src]

pub fn set_sysinfo(&mut self, val: bool)[src]

pub const fn syscfg(&self) -> bool[src]

pub fn set_syscfg(&mut self, val: bool)[src]

pub const fn spi1(&self) -> bool[src]

pub fn set_spi1(&mut self, val: bool)[src]

pub const fn spi0(&self) -> bool[src]

pub fn set_spi0(&mut self, val: bool)[src]

pub const fn rtc(&self) -> bool[src]

pub fn set_rtc(&mut self, val: bool)[src]

pub const fn pwm(&self) -> bool[src]

pub fn set_pwm(&mut self, val: bool)[src]

pub const fn pll_usb(&self) -> bool[src]

pub fn set_pll_usb(&mut self, val: bool)[src]

pub const fn pll_sys(&self) -> bool[src]

pub fn set_pll_sys(&mut self, val: bool)[src]

pub const fn pio1(&self) -> bool[src]

pub fn set_pio1(&mut self, val: bool)[src]

pub const fn pio0(&self) -> bool[src]

pub fn set_pio0(&mut self, val: bool)[src]

pub const fn pads_qspi(&self) -> bool[src]

pub fn set_pads_qspi(&mut self, val: bool)[src]

pub const fn pads_bank0(&self) -> bool[src]

pub fn set_pads_bank0(&mut self, val: bool)[src]

pub const fn jtag(&self) -> bool[src]

pub fn set_jtag(&mut self, val: bool)[src]

pub const fn io_qspi(&self) -> bool[src]

pub fn set_io_qspi(&mut self, val: bool)[src]

pub const fn io_bank0(&self) -> bool[src]

pub fn set_io_bank0(&mut self, val: bool)[src]

pub const fn i2c1(&self) -> bool[src]

pub fn set_i2c1(&mut self, val: bool)[src]

pub const fn i2c0(&self) -> bool[src]

pub fn set_i2c0(&mut self, val: bool)[src]

pub const fn dma(&self) -> bool[src]

pub fn set_dma(&mut self, val: bool)[src]

pub const fn busctrl(&self) -> bool[src]

pub fn set_busctrl(&mut self, val: bool)[src]

pub const fn adc(&self) -> bool[src]

pub fn set_adc(&mut self, val: bool)[src]

Trait Implementations

impl Clone for Peripherals[src]

impl Copy for Peripherals[src]

impl Default for Peripherals[src]

Auto Trait Implementations

impl Send for Peripherals

impl Sync for Peripherals

impl Unpin for Peripherals

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.