#[repr(transparent)]pub struct GpioCtrl(pub u32);
Tuple Fields§
§0: u32
Implementations§
Source§impl GpioCtrl
impl GpioCtrl
Sourcepub const fn funcsel(&self) -> u8
pub const fn funcsel(&self) -> u8
0-31 -> selects pin function according to the gpio table 31 == NULL
Sourcepub fn set_funcsel(&mut self, val: u8)
pub fn set_funcsel(&mut self, val: u8)
0-31 -> selects pin function according to the gpio table 31 == NULL
pub const fn outover(&self) -> Outover
pub fn set_outover(&mut self, val: Outover)
pub const fn oeover(&self) -> Oeover
pub fn set_oeover(&mut self, val: Oeover)
pub const fn inover(&self) -> Inover
pub fn set_inover(&mut self, val: Inover)
pub const fn irqover(&self) -> Irqover
pub fn set_irqover(&mut self, val: Irqover)
Trait Implementations§
impl Copy for GpioCtrl
impl Eq for GpioCtrl
impl StructuralPartialEq for GpioCtrl
Auto Trait Implementations§
impl Freeze for GpioCtrl
impl RefUnwindSafe for GpioCtrl
impl Send for GpioCtrl
impl Sync for GpioCtrl
impl Unpin for GpioCtrl
impl UnwindSafe for GpioCtrl
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