#[repr(transparent)]pub struct UsbhsAlphaFieldsetAlphaAlpha(pub u32);Expand description
General Purpose Timer #1 Controller.
Tuple Fields§
§0: u32Implementations§
Source§impl UsbhsAlphaFieldsetAlphaAlpha
impl UsbhsAlphaFieldsetAlphaAlpha
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 USB_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 USB_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 UsbhsAlphaFieldsetAlphaAlpha
impl Clone for UsbhsAlphaFieldsetAlphaAlpha
Source§fn clone(&self) -> UsbhsAlphaFieldsetAlphaAlpha
fn clone(&self) -> UsbhsAlphaFieldsetAlphaAlpha
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for UsbhsAlphaFieldsetAlphaAlpha
impl Default for UsbhsAlphaFieldsetAlphaAlpha
Source§fn default() -> UsbhsAlphaFieldsetAlphaAlpha
fn default() -> UsbhsAlphaFieldsetAlphaAlpha
Source§impl PartialEq for UsbhsAlphaFieldsetAlphaAlpha
impl PartialEq for UsbhsAlphaFieldsetAlphaAlpha
Source§fn eq(&self, other: &UsbhsAlphaFieldsetAlphaAlpha) -> bool
fn eq(&self, other: &UsbhsAlphaFieldsetAlphaAlpha) -> bool
self and other values to be equal, and is used by ==.