Struct rp_pac::resets::regs::Peripherals
source · #[repr(transparent)]pub struct Peripherals(pub u32);
Tuple Fields§
§0: u32
Implementations§
source§impl Peripherals
impl Peripherals
pub const fn adc(&self) -> bool
pub fn set_adc(&mut self, val: bool)
pub const fn busctrl(&self) -> bool
pub fn set_busctrl(&mut self, val: bool)
pub const fn dma(&self) -> bool
pub fn set_dma(&mut self, val: bool)
pub const fn hstx(&self) -> bool
pub fn set_hstx(&mut self, val: bool)
pub const fn i2c0(&self) -> bool
pub fn set_i2c0(&mut self, val: bool)
pub const fn i2c1(&self) -> bool
pub fn set_i2c1(&mut self, val: bool)
pub const fn io_bank0(&self) -> bool
pub fn set_io_bank0(&mut self, val: bool)
pub const fn io_qspi(&self) -> bool
pub fn set_io_qspi(&mut self, val: bool)
pub const fn jtag(&self) -> bool
pub fn set_jtag(&mut self, val: bool)
pub const fn pads_bank0(&self) -> bool
pub fn set_pads_bank0(&mut self, val: bool)
pub const fn pads_qspi(&self) -> bool
pub fn set_pads_qspi(&mut self, val: bool)
pub const fn pio0(&self) -> bool
pub fn set_pio0(&mut self, val: bool)
pub const fn pio1(&self) -> bool
pub fn set_pio1(&mut self, val: bool)
pub const fn pio2(&self) -> bool
pub fn set_pio2(&mut self, val: bool)
pub const fn pll_sys(&self) -> bool
pub fn set_pll_sys(&mut self, val: bool)
pub const fn pll_usb(&self) -> bool
pub fn set_pll_usb(&mut self, val: bool)
pub const fn pwm(&self) -> bool
pub fn set_pwm(&mut self, val: bool)
pub const fn sha256(&self) -> bool
pub fn set_sha256(&mut self, val: bool)
pub const fn spi0(&self) -> bool
pub fn set_spi0(&mut self, val: bool)
pub const fn spi1(&self) -> bool
pub fn set_spi1(&mut self, val: bool)
pub const fn syscfg(&self) -> bool
pub fn set_syscfg(&mut self, val: bool)
pub const fn sysinfo(&self) -> bool
pub fn set_sysinfo(&mut self, val: bool)
pub const fn tbman(&self) -> bool
pub fn set_tbman(&mut self, val: bool)
pub const fn timer0(&self) -> bool
pub fn set_timer0(&mut self, val: bool)
pub const fn timer1(&self) -> bool
pub fn set_timer1(&mut self, val: bool)
pub const fn trng(&self) -> bool
pub fn set_trng(&mut self, val: bool)
pub const fn uart0(&self) -> bool
pub fn set_uart0(&mut self, val: bool)
pub const fn uart1(&self) -> bool
pub fn set_uart1(&mut self, val: bool)
pub const fn usbctrl(&self) -> bool
pub fn set_usbctrl(&mut self, val: bool)
Trait Implementations§
source§impl Clone for Peripherals
impl Clone for Peripherals
source§fn clone(&self) -> Peripherals
fn clone(&self) -> Peripherals
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for Peripherals
impl Default for Peripherals
source§fn default() -> Peripherals
fn default() -> Peripherals
Returns the “default value” for a type. Read more
source§impl PartialEq for Peripherals
impl PartialEq for Peripherals
impl Copy for Peripherals
impl Eq for Peripherals
impl StructuralPartialEq for Peripherals
Auto Trait Implementations§
impl Freeze for Peripherals
impl RefUnwindSafe for Peripherals
impl Send for Peripherals
impl Sync for Peripherals
impl Unpin for Peripherals
impl UnwindSafe for Peripherals
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)