pub struct Ucomp2Spec;Expand description
Upper Position Compare 2
You can reset, write, write_with_zero this register using ucomp2::W. See API.
Trait Implementations§
Source§impl RegisterSpec for Ucomp2Spec
impl RegisterSpec for Ucomp2Spec
Source§impl Resettable for Ucomp2Spec
reset() method sets UCOMP2 to value 0x8000
impl Resettable for Ucomp2Spec
reset() method sets UCOMP2 to value 0x8000
Source§const RESET_VALUE: u16 = 0x8000
const RESET_VALUE: u16 = 0x8000
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 Ucomp2Spec
write(|w| ..) method takes ucomp2::W writer structure
impl Writable for Ucomp2Spec
write(|w| ..) method takes ucomp2::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 Ucomp2Spec
impl RefUnwindSafe for Ucomp2Spec
impl Send for Ucomp2Spec
impl Sync for Ucomp2Spec
impl Unpin for Ucomp2Spec
impl UnsafeUnpin for Ucomp2Spec
impl UnwindSafe for Ucomp2Spec
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