Struct stm32mp1::stm32mp157::gpiod::gpiod_moder::GPIOD_MODER_SPEC
source · [−]pub struct GPIOD_MODER_SPEC;
Expand description
GPIO port mode register
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see gpiod_moder module
Trait Implementations
sourceimpl Readable for GPIOD_MODER_SPEC
impl Readable for GPIOD_MODER_SPEC
read()
method returns gpiod_moder::R reader structure
sourceimpl RegisterSpec for GPIOD_MODER_SPEC
impl RegisterSpec for GPIOD_MODER_SPEC
sourceimpl Resettable for GPIOD_MODER_SPEC
impl Resettable for GPIOD_MODER_SPEC
reset()
method sets GPIOD_MODER to value 0xffff_ffff
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for GPIOD_MODER_SPEC
impl Writable for GPIOD_MODER_SPEC
write(|w| ..)
method takes gpiod_moder::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for GPIOD_MODER_SPEC
impl Send for GPIOD_MODER_SPEC
impl Sync for GPIOD_MODER_SPEC
impl Unpin for GPIOD_MODER_SPEC
impl UnwindSafe for GPIOD_MODER_SPEC
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more