Struct rp2040_pac2::io::regs::GpioStatus[][src]

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

GPIO status

Implementations

impl GpioStatus[src]

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

interrupt to processors, after override is applied

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

interrupt to processors, after override is applied

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

interrupt from pad before override is applied

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

interrupt from pad before override is applied

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

input signal to peripheral, after override is applied

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

input signal to peripheral, after override is applied

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

input signal from pad, before override is applied

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

input signal from pad, before override is applied

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

output enable to pad after register override is applied

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

output enable to pad after register override is applied

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

output enable from selected peripheral, before register override is applied

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

output enable from selected peripheral, before register override is applied

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

output signal to pad after register override is applied

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

output signal to pad after register override is applied

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

output signal from selected peripheral, before register override is applied

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

output signal from selected peripheral, before register override is applied

Trait Implementations

impl Clone for GpioStatus[src]

impl Copy for GpioStatus[src]

impl Default for GpioStatus[src]

Auto Trait Implementations

impl Send for GpioStatus

impl Sync for GpioStatus

impl Unpin for GpioStatus

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.