pub struct ReadCntCfg7 { /* private fields */ }Expand description
Read the 3 x 16 bit counter configuration, 16+16+16+2 bits to read (7 bytes)
This corresponds to counter configuration 0b111.
Implementations§
Source§impl ReadCntCfg7
impl ReadCntCfg7
Sourcepub fn set_cnt_2(&mut self, value: i16)
pub fn set_cnt_2(&mut self, value: i16)
Write the cnt_2 field of the register.
Counter 2 value, bits 32-48
Sourcepub fn set_cnt_1(&mut self, value: i16)
pub fn set_cnt_1(&mut self, value: i16)
Write the cnt_1 field of the register.
Counter 1 value, bits 16-32
Trait Implementations§
Source§impl BitAnd for ReadCntCfg7
impl BitAnd for ReadCntCfg7
Source§impl BitAndAssign for ReadCntCfg7
impl BitAndAssign for ReadCntCfg7
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for ReadCntCfg7
impl BitOr for ReadCntCfg7
Source§impl BitOrAssign for ReadCntCfg7
impl BitOrAssign for ReadCntCfg7
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for ReadCntCfg7
impl BitXor for ReadCntCfg7
Source§impl BitXorAssign for ReadCntCfg7
impl BitXorAssign for ReadCntCfg7
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for ReadCntCfg7
impl Clone for ReadCntCfg7
Source§fn clone(&self) -> ReadCntCfg7
fn clone(&self) -> ReadCntCfg7
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReadCntCfg7
impl Debug for ReadCntCfg7
Source§impl From<ReadCntCfg7> for [u8; 8]
impl From<ReadCntCfg7> for [u8; 8]
Source§fn from(val: ReadCntCfg7) -> Self
fn from(val: ReadCntCfg7) -> Self
Converts to this type from the input type.
Source§impl From<ReadCntCfg7> for FieldSetValue
impl From<ReadCntCfg7> for FieldSetValue
Source§fn from(val: ReadCntCfg7) -> Self
fn from(val: ReadCntCfg7) -> Self
Converts to this type from the input type.
Source§impl Not for ReadCntCfg7
impl Not for ReadCntCfg7
Source§impl PartialEq for ReadCntCfg7
impl PartialEq for ReadCntCfg7
impl Copy for ReadCntCfg7
impl Eq for ReadCntCfg7
impl StructuralPartialEq for ReadCntCfg7
Auto Trait Implementations§
impl Freeze for ReadCntCfg7
impl RefUnwindSafe for ReadCntCfg7
impl Send for ReadCntCfg7
impl Sync for ReadCntCfg7
impl Unpin for ReadCntCfg7
impl UnwindSafe for ReadCntCfg7
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