pub struct COMP2_CSRrs;
Expand description
Comparator 2 control and status register
You can read
this register and get comp2_csr::R
. You can reset
, write
, write_with_zero
this register using comp2_csr::W
. You can also modify
this register. See API.
See register structure
Trait Implementations§
Source§impl RegisterSpec for COMP2_CSRrs
impl RegisterSpec for COMP2_CSRrs
Source§impl Resettable for COMP2_CSRrs
reset()
method sets COMP2_CSR to value 0
impl Resettable for COMP2_CSRrs
reset()
method sets COMP2_CSR to value 0
Source§const RESET_VALUE: Self::Ux = <Self::Ux>::ZERO
const RESET_VALUE: Self::Ux = <Self::Ux>::ZERO
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 COMP2_CSRrs
write(|w| ..)
method takes comp2_csr::W
writer structure
impl Writable for COMP2_CSRrs
write(|w| ..)
method takes comp2_csr::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 0
Source§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 1
impl Readable for COMP2_CSRrs
read()
method returns comp2_csr::R
reader structure
Auto Trait Implementations§
impl Freeze for COMP2_CSRrs
impl RefUnwindSafe for COMP2_CSRrs
impl Send for COMP2_CSRrs
impl Sync for COMP2_CSRrs
impl Unpin for COMP2_CSRrs
impl UnwindSafe for COMP2_CSRrs
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