pub struct Sm1ctrlSpec;Expand description
Control Register
You can read this register and get sm1ctrl::R. You can reset, write, write_with_zero this register using sm1ctrl::W. You can also modify this register. See API.
Trait Implementations§
impl Readable for Sm1ctrlSpec
read() method returns sm1ctrl::R reader structure
Source§impl RegisterSpec for Sm1ctrlSpec
impl RegisterSpec for Sm1ctrlSpec
Source§impl Resettable for Sm1ctrlSpec
reset() method sets SM1CTRL to value 0x0400
impl Resettable for Sm1ctrlSpec
reset() method sets SM1CTRL to value 0x0400
Source§const RESET_VALUE: u16 = 0x0400
const RESET_VALUE: u16 = 0x0400
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 Sm1ctrlSpec
write(|w| ..) method takes sm1ctrl::W writer structure
impl Writable for Sm1ctrlSpec
write(|w| ..) method takes sm1ctrl::W writer structure
Source§const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
Specifies the register bits that are not changed if you pass
1 and are changed if you pass 0Source§const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
Specifies the register bits that are not changed if you pass
0 and are changed if you pass 1Auto Trait Implementations§
impl Freeze for Sm1ctrlSpec
impl RefUnwindSafe for Sm1ctrlSpec
impl Send for Sm1ctrlSpec
impl Sync for Sm1ctrlSpec
impl Unpin for Sm1ctrlSpec
impl UnsafeUnpin for Sm1ctrlSpec
impl UnwindSafe for Sm1ctrlSpec
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