#[repr(transparent)]pub struct Atcr(pub u32);Expand description
Adjustable Timer Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl Atcr
impl Atcr
Sourcepub const fn set_offrst(&mut self, val: Offrst)
pub const fn set_offrst(&mut self, val: Offrst)
Reset Timer On Offset Event
Sourcepub const fn pinper(&self) -> Pinper
pub const fn pinper(&self) -> Pinper
Enables event signal output external pin frc_evt_period assertion on period event
Sourcepub const fn set_pinper(&mut self, val: Pinper)
pub const fn set_pinper(&mut self, val: Pinper)
Enables event signal output external pin frc_evt_period assertion on period event
Sourcepub const fn set_restart(&mut self, val: bool)
pub const fn set_restart(&mut self, val: bool)
Reset Timer
Sourcepub const fn set_capture(&mut self, val: Capture)
pub const fn set_capture(&mut self, val: Capture)
Capture Timer Value
Trait Implementations§
impl Copy for Atcr
impl Eq for Atcr
impl StructuralPartialEq for Atcr
Auto Trait Implementations§
impl Freeze for Atcr
impl RefUnwindSafe for Atcr
impl Send for Atcr
impl Sync for Atcr
impl Unpin for Atcr
impl UnwindSafe for Atcr
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