#[repr(transparent)]pub struct QdcAlphaFieldsetBravo(pub u16);Expand description
Control 2.
Tuple Fields§
§0: u16Implementations§
Source§impl QdcAlphaFieldsetBravo
impl QdcAlphaFieldsetBravo
Sourcepub const fn updhld(&self) -> bool
pub const fn updhld(&self) -> bool
Update Hold Registers. Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Sourcepub const fn set_updhld(&mut self, val: bool)
pub const fn set_updhld(&mut self, val: bool)
Update Hold Registers. Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Sourcepub const fn updpos(&self) -> bool
pub const fn updpos(&self) -> bool
Update Position Registers. Raw bit values: false (0) = Noaction: No action.; true (1) = Clear: Clear.
Sourcepub const fn set_updpos(&mut self, val: bool)
pub const fn set_updpos(&mut self, val: bool)
Update Position Registers. Raw bit values: false (0) = Noaction: No action.; true (1) = Clear: Clear.
Sourcepub const fn mod_(&self) -> bool
pub const fn mod_(&self) -> bool
Enable Modulo Counting. Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Sourcepub const fn set_mod_(&mut self, val: bool)
pub const fn set_mod_(&mut self, val: bool)
Enable Modulo Counting. Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Sourcepub const fn dir(&self) -> bool
pub const fn dir(&self) -> bool
Count Direction Flag. Raw bit values: false (0) = Down: Down direction.; true (1) = Up: Up direction.
Sourcepub const fn set_dir(&mut self, val: bool)
pub const fn set_dir(&mut self, val: bool)
Count Direction Flag. Raw bit values: false (0) = Down: Down direction.; true (1) = Up: Up direction.
Sourcepub const fn ruie(&self) -> bool
pub const fn ruie(&self) -> bool
Roll-under Interrupt Enable. Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Sourcepub const fn set_ruie(&mut self, val: bool)
pub const fn set_ruie(&mut self, val: bool)
Roll-under Interrupt Enable. Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Sourcepub const fn ruirq(&self) -> bool
pub const fn ruirq(&self) -> bool
Roll-under Interrupt Request. Raw bit values: false (0) = Noroll: No roll-under has occurred.; true (1) = Roll: Roll-under has occurred.
Sourcepub const fn set_ruirq(&mut self, val: bool)
pub const fn set_ruirq(&mut self, val: bool)
Roll-under Interrupt Request. Raw bit values: false (0) = Noroll: No roll-under has occurred.; true (1) = Roll: Roll-under has occurred.
Sourcepub const fn roie(&self) -> bool
pub const fn roie(&self) -> bool
Roll-over Interrupt Enable. Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Sourcepub const fn set_roie(&mut self, val: bool)
pub const fn set_roie(&mut self, val: bool)
Roll-over Interrupt Enable. Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Sourcepub const fn roirq(&self) -> bool
pub const fn roirq(&self) -> bool
Roll-over Interrupt Request. Raw bit values: false (0) = Noroll: Did not occur.; true (1) = Roll: Occurred.
Sourcepub const fn set_roirq(&mut self, val: bool)
pub const fn set_roirq(&mut self, val: bool)
Roll-over Interrupt Request. Raw bit values: false (0) = Noroll: Did not occur.; true (1) = Roll: Occurred.
Sourcepub const fn revmod(&self) -> bool
pub const fn revmod(&self) -> bool
Revolution Counter Modulus Enable. Raw bit values: false (0) = Index: Use INDEX pulse.; true (1) = Count: Use modulus counting roll-over or roll-under.
Sourcepub const fn set_revmod(&mut self, val: bool)
pub const fn set_revmod(&mut self, val: bool)
Revolution Counter Modulus Enable. Raw bit values: false (0) = Index: Use INDEX pulse.; true (1) = Count: Use modulus counting roll-over or roll-under.
Sourcepub const fn outctl(&self) -> bool
pub const fn outctl(&self) -> bool
Output Control. Raw bit values: false (0) = Compare: POSMATCH pulses when a match occurs between the position counters (POS) and the corresponding compare value (COMP ).; true (1) = Read: POSMATCH pulses when the UPOS, LPOS, REV, or POSD registers are read.
Sourcepub const fn set_outctl(&mut self, val: bool)
pub const fn set_outctl(&mut self, val: bool)
Output Control. Raw bit values: false (0) = Compare: POSMATCH pulses when a match occurs between the position counters (POS) and the corresponding compare value (COMP ).; true (1) = Read: POSMATCH pulses when the UPOS, LPOS, REV, or POSD registers are read.
Sourcepub const fn sabie(&self) -> bool
pub const fn sabie(&self) -> bool
Simultaneous PHASEA and PHASEB Change Interrupt Enable. Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Sourcepub const fn set_sabie(&mut self, val: bool)
pub const fn set_sabie(&mut self, val: bool)
Simultaneous PHASEA and PHASEB Change Interrupt Enable. Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Sourcepub const fn sabirq(&self) -> bool
pub const fn sabirq(&self) -> bool
Simultaneous PHASEA and PHASEB Change Interrupt Request. Raw bit values: false (0) = Nosimul: No simultaneous change has occurred.; true (1) = Simul: A simultaneous change has occurred.
Sourcepub const fn set_sabirq(&mut self, val: bool)
pub const fn set_sabirq(&mut self, val: bool)
Simultaneous PHASEA and PHASEB Change Interrupt Request. Raw bit values: false (0) = Nosimul: No simultaneous change has occurred.; true (1) = Simul: A simultaneous change has occurred.
Sourcepub const fn initpos(&self) -> bool
pub const fn initpos(&self) -> bool
Initialize Position Registers. Raw bit values: false (0) = Noinit: Don’t initialize position counter.; true (1) = Init: Initialize position counter.
Sourcepub const fn set_initpos(&mut self, val: bool)
pub const fn set_initpos(&mut self, val: bool)
Initialize Position Registers. Raw bit values: false (0) = Noinit: Don’t initialize position counter.; true (1) = Init: Initialize position counter.
Trait Implementations§
Source§impl Clone for QdcAlphaFieldsetBravo
impl Clone for QdcAlphaFieldsetBravo
Source§fn clone(&self) -> QdcAlphaFieldsetBravo
fn clone(&self) -> QdcAlphaFieldsetBravo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more