#[repr(transparent)]pub struct GpioStatus(pub u32);
Tuple Fields§
§0: u32
Implementations§
Source§impl GpioStatus
impl GpioStatus
Sourcepub fn set_outtopad(&mut self, val: bool)
pub fn set_outtopad(&mut self, val: bool)
output signal to pad after register override is applied
Sourcepub fn set_oetopad(&mut self, val: bool)
pub fn set_oetopad(&mut self, val: bool)
output enable to pad after register override is applied
Sourcepub const fn infrompad(&self) -> bool
pub const fn infrompad(&self) -> bool
input signal from pad, before filtering and override are applied
Sourcepub fn set_infrompad(&mut self, val: bool)
pub fn set_infrompad(&mut self, val: bool)
input signal from pad, before filtering and override are applied
Sourcepub fn set_irqtoproc(&mut self, val: bool)
pub fn set_irqtoproc(&mut self, val: bool)
interrupt to processors, after override is applied
Trait Implementations§
Source§impl Clone for GpioStatus
impl Clone for GpioStatus
Source§fn clone(&self) -> GpioStatus
fn clone(&self) -> GpioStatus
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 Debug for GpioStatus
impl Debug for GpioStatus
Source§impl Default for GpioStatus
impl Default for GpioStatus
Source§fn default() -> GpioStatus
fn default() -> GpioStatus
Returns the “default value” for a type. Read more
Source§impl PartialEq for GpioStatus
impl PartialEq for GpioStatus
impl Copy for GpioStatus
impl Eq for GpioStatus
impl StructuralPartialEq for GpioStatus
Auto Trait Implementations§
impl Freeze for GpioStatus
impl RefUnwindSafe for GpioStatus
impl Send for GpioStatus
impl Sync for GpioStatus
impl Unpin for GpioStatus
impl UnwindSafe for GpioStatus
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