pub struct USER2_SPEC;
Expand description
SPI USER control register 2
This register you can [read
]
(crate::generic::Reg::read), [write_with_zero
]
(crate::generic::Reg::write_with_zero), [reset
]
(crate::generic::Reg::reset), write
(crate::generic::Reg::write), [modify
]
(crate::generic::Reg::modify). See [API]
(https://docs.rs/svd2rust/#read–modify–write-api).
For information about available fields see [user2] (index.html) module
Trait Implementations
sourceimpl Readable for USER2_SPEC
impl Readable for USER2_SPEC
read()
method returns [user2::R]
(R) reader structure
sourceimpl RegisterSpec for USER2_SPEC
impl RegisterSpec for USER2_SPEC
sourceimpl Resettable for USER2_SPEC
impl Resettable for USER2_SPEC
reset()
method sets USER2 to value 0x7800_0000
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for USER2_SPEC
impl Writable for USER2_SPEC
write(|w| ..)
method takes [user2::W]
(W) writer structure
Auto Trait Implementations
impl RefUnwindSafe for USER2_SPEC
impl Send for USER2_SPEC
impl Sync for USER2_SPEC
impl Unpin for USER2_SPEC
impl UnwindSafe for USER2_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