#[repr(transparent)]pub struct UsbhsAlphaFieldsetYankee(pub u32);Expand description
General Purpose Timer #0 Controller.
Tuple Fields§
§0: u32Implementations§
Source§impl UsbhsAlphaFieldsetYankee
impl UsbhsAlphaFieldsetYankee
Sourcepub const fn set_gptcnt(&mut self, val: u32)
pub const fn set_gptcnt(&mut self, val: u32)
General Purpose Timer Counter.
Sourcepub const fn gptmode(&self) -> bool
pub const fn gptmode(&self) -> bool
General Purpose Timer Mode. Raw bit values: false (0) = OneShot: One Shot Mode.; true (1) = Repeat: Repeat Mode.
Sourcepub const fn set_gptmode(&mut self, val: bool)
pub const fn set_gptmode(&mut self, val: bool)
General Purpose Timer Mode. Raw bit values: false (0) = OneShot: One Shot Mode.; true (1) = Repeat: Repeat Mode.
Sourcepub const fn gptrst(&self) -> bool
pub const fn gptrst(&self) -> bool
General Purpose Timer Reset. Raw bit values: false (0) = NoAction: No action.; true (1) = LoadCntr: Load counter value from GPTLD bits in n_GPTIMER0LD.
Sourcepub const fn set_gptrst(&mut self, val: bool)
pub const fn set_gptrst(&mut self, val: bool)
General Purpose Timer Reset. Raw bit values: false (0) = NoAction: No action.; true (1) = LoadCntr: Load counter value from GPTLD bits in n_GPTIMER0LD.
Sourcepub const fn gptrun(&self) -> bool
pub const fn gptrun(&self) -> bool
General Purpose Timer Run. Raw bit values: false (0) = StopCntr: Stop counting.; true (1) = Run: Run.
Sourcepub const fn set_gptrun(&mut self, val: bool)
pub const fn set_gptrun(&mut self, val: bool)
General Purpose Timer Run. Raw bit values: false (0) = StopCntr: Stop counting.; true (1) = Run: Run.
Trait Implementations§
Source§impl Clone for UsbhsAlphaFieldsetYankee
impl Clone for UsbhsAlphaFieldsetYankee
Source§fn clone(&self) -> UsbhsAlphaFieldsetYankee
fn clone(&self) -> UsbhsAlphaFieldsetYankee
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more