Struct xmc4800::sdmmc::sw_reset::SwResetSpec
source · pub struct SwResetSpec;
Expand description
Software Reset Register
You can read
this register and get sw_reset::R
. You can reset
, write
, write_with_zero
this register using sw_reset::W
. You can also modify
this register. See API.
Trait Implementations§
source§impl RegisterSpec for SwResetSpec
impl RegisterSpec for SwResetSpec
source§impl Resettable for SwResetSpec
impl Resettable for SwResetSpec
reset()
method sets SW_RESET to value 0
source§const RESET_VALUE: u8 = 0u8
const RESET_VALUE: u8 = 0u8
Reset value of the register.
source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
source§impl Writable for SwResetSpec
impl Writable for SwResetSpec
write(|w| ..)
method takes sw_reset::W
writer structure
source§const ZERO_TO_MODIFY_FIELDS_BITMAP: u8 = 0u8
const ZERO_TO_MODIFY_FIELDS_BITMAP: u8 = 0u8
Specifies the register bits that are not changed if you pass
1
and are changed if you pass 0
source§const ONE_TO_MODIFY_FIELDS_BITMAP: u8 = 0u8
const ONE_TO_MODIFY_FIELDS_BITMAP: u8 = 0u8
Specifies the register bits that are not changed if you pass
0
and are changed if you pass 1
impl Readable for SwResetSpec
read()
method returns sw_reset::R
reader structure
Auto Trait Implementations§
impl RefUnwindSafe for SwResetSpec
impl Send for SwResetSpec
impl Sync for SwResetSpec
impl Unpin for SwResetSpec
impl UnwindSafe for SwResetSpec
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