Struct w806_pac::gpio::alternate_enable::ALTERNATE_ENABLE_SPEC
source · [−]pub struct ALTERNATE_ENABLE_SPEC;
Expand description
Alternate function enable register
Each bit corresponds to whether the corresponding GPIO multiplexing function is turned on.
When the bit is set, the multiplexing function depends on the corresponding bits of registers function_high
and function_low
.
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see alternate_enable module
Trait Implementations
sourceimpl Readable for ALTERNATE_ENABLE_SPEC
impl Readable for ALTERNATE_ENABLE_SPEC
read()
method returns alternate_enable::R reader structure
sourceimpl RegisterSpec for ALTERNATE_ENABLE_SPEC
impl RegisterSpec for ALTERNATE_ENABLE_SPEC
sourceimpl Resettable for ALTERNATE_ENABLE_SPEC
impl Resettable for ALTERNATE_ENABLE_SPEC
reset()
method sets alternate_enable to value 0xffff
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for ALTERNATE_ENABLE_SPEC
impl Writable for ALTERNATE_ENABLE_SPEC
write(|w| ..)
method takes alternate_enable::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for ALTERNATE_ENABLE_SPEC
impl Send for ALTERNATE_ENABLE_SPEC
impl Sync for ALTERNATE_ENABLE_SPEC
impl Unpin for ALTERNATE_ENABLE_SPEC
impl UnwindSafe for ALTERNATE_ENABLE_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