Struct Cr2
#[repr(transparent)]pub struct Cr2(pub u32);
Expand description
control register 2
Tuple Fields§
§0: u32
Implementations§
§impl Cr2
impl Cr2
pub fn set_rstcal(&mut self, val: bool)
pub fn set_rstcal(&mut self, val: bool)
desc RSTCAL.
pub fn set_jextsel(&mut self, val: u8)
pub fn set_jextsel(&mut self, val: u8)
External event select for injected group
pub fn set_jexttrig(&mut self, val: bool)
pub fn set_jexttrig(&mut self, val: bool)
desc JEXTTRIG.
pub fn set_extsel(&mut self, val: Extsel)
pub fn set_extsel(&mut self, val: Extsel)
desc EXTSEL.
pub fn set_exttrig(&mut self, val: bool)
pub fn set_exttrig(&mut self, val: bool)
desc EXTTRIG.
pub fn set_jswstart(&mut self, val: bool)
pub fn set_jswstart(&mut self, val: bool)
desc JSWSTART.
pub fn set_swstart(&mut self, val: bool)
pub fn set_swstart(&mut self, val: bool)
desc SWSTART.
pub fn set_tsvrefe(&mut self, val: bool)
pub fn set_tsvrefe(&mut self, val: bool)
desc TSVREFE.
pub const fn verfbuffere(&self) -> bool
pub const fn verfbuffere(&self) -> bool
desc VERFBUFFERE.
pub fn set_verfbuffere(&mut self, val: bool)
pub fn set_verfbuffere(&mut self, val: bool)
desc VERFBUFFERE.
pub const fn verfbuffersel(&self) -> u8
pub const fn verfbuffersel(&self) -> u8
desc VERFBUFFERSEL.
pub fn set_verfbuffersel(&mut self, val: u8)
pub fn set_verfbuffersel(&mut self, val: u8)
desc VERFBUFFERSEL.
Trait Implementations§
impl Copy for Cr2
impl Eq for Cr2
impl StructuralPartialEq for Cr2
Auto Trait Implementations§
impl Freeze for Cr2
impl RefUnwindSafe for Cr2
impl Send for Cr2
impl Sync for Cr2
impl Unpin for Cr2
impl UnwindSafe for Cr2
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