#[repr(transparent)]pub struct MaxPulseCnt(pub u32);Expand description
Maximum Pulse Count Register
Tuple Fields§
§0: u32Implementations§
Source§impl MaxPulseCnt
impl MaxPulseCnt
Sourcepub const fn set_last_pcnt(&mut self, val: u16)
pub const fn set_last_pcnt(&mut self, val: u16)
Last SMW Operation’s Pulse Count
Sourcepub const fn max_ers_cnt(&self) -> u16
pub const fn max_ers_cnt(&self) -> u16
Maximum Erase Pulse Count
Sourcepub const fn set_max_ers_cnt(&mut self, val: u16)
pub const fn set_max_ers_cnt(&mut self, val: u16)
Maximum Erase Pulse Count
Sourcepub const fn max_pgm_cnt(&self) -> u8
pub const fn max_pgm_cnt(&self) -> u8
Maximum Program Pulse Count
Sourcepub const fn set_max_pgm_cnt(&mut self, val: u8)
pub const fn set_max_pgm_cnt(&mut self, val: u8)
Maximum Program Pulse Count
Trait Implementations§
Source§impl Clone for MaxPulseCnt
impl Clone for MaxPulseCnt
Source§fn clone(&self) -> MaxPulseCnt
fn clone(&self) -> MaxPulseCnt
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 MaxPulseCnt
impl Debug for MaxPulseCnt
Source§impl Default for MaxPulseCnt
impl Default for MaxPulseCnt
Source§fn default() -> MaxPulseCnt
fn default() -> MaxPulseCnt
Returns the “default value” for a type. Read more
Source§impl PartialEq for MaxPulseCnt
impl PartialEq for MaxPulseCnt
impl Copy for MaxPulseCnt
impl Eq for MaxPulseCnt
impl StructuralPartialEq for MaxPulseCnt
Auto Trait Implementations§
impl Freeze for MaxPulseCnt
impl RefUnwindSafe for MaxPulseCnt
impl Send for MaxPulseCnt
impl Sync for MaxPulseCnt
impl Unpin for MaxPulseCnt
impl UnwindSafe for MaxPulseCnt
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