#[repr(transparent)]pub struct EtbCounterCtrl(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl EtbCounterCtrl
impl EtbCounterCtrl
Sourcepub const fn cnten(&self) -> bool
pub const fn cnten(&self) -> bool
Enables the ETB counter. Raw bit values: false (0) = Disable: ETB counter is disabled.; true (1) = Enable: ETB counter is enabled.
Sourcepub const fn set_cnten(&mut self, val: bool)
pub const fn set_cnten(&mut self, val: bool)
Enables the ETB counter. Raw bit values: false (0) = Disable: ETB counter is disabled.; true (1) = Enable: ETB counter is enabled.
Sourcepub const fn rspt(&self) -> EtbCounterCtrlRspt
pub const fn rspt(&self) -> EtbCounterCtrlRspt
Response Type.
Sourcepub const fn set_rspt(&mut self, val: EtbCounterCtrlRspt)
pub const fn set_rspt(&mut self, val: EtbCounterCtrlRspt)
Response Type.
Trait Implementations§
Source§impl Clone for EtbCounterCtrl
impl Clone for EtbCounterCtrl
Source§fn clone(&self) -> EtbCounterCtrl
fn clone(&self) -> EtbCounterCtrl
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 Default for EtbCounterCtrl
impl Default for EtbCounterCtrl
Source§fn default() -> EtbCounterCtrl
fn default() -> EtbCounterCtrl
Returns the “default value” for a type. Read more
Source§impl PartialEq for EtbCounterCtrl
impl PartialEq for EtbCounterCtrl
impl Copy for EtbCounterCtrl
impl Eq for EtbCounterCtrl
impl StructuralPartialEq for EtbCounterCtrl
Auto Trait Implementations§
impl Freeze for EtbCounterCtrl
impl RefUnwindSafe for EtbCounterCtrl
impl Send for EtbCounterCtrl
impl Sync for EtbCounterCtrl
impl Unpin for EtbCounterCtrl
impl UnwindSafe for EtbCounterCtrl
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