Struct rp2040_pac2::io::regs::GpioStatus [−][src]
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]
fn clone(&self) -> GpioStatus
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GpioStatus
[src]
impl Default for GpioStatus
[src]
fn default() -> GpioStatus
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,