#[repr(transparent)]pub struct Tst2(pub u16);Expand description
Test.
Tuple Fields§
§0: u16Implementations§
Source§impl Tst2
impl Tst2
Sourcepub const fn test_count(&self) -> u8
pub const fn test_count(&self) -> u8
TEST_COUNT.
Sourcepub const fn set_test_count(&mut self, val: u8)
pub const fn set_test_count(&mut self, val: u8)
TEST_COUNT.
Sourcepub const fn test_period(&self) -> u8
pub const fn test_period(&self) -> u8
TEST_PERIOD.
Sourcepub const fn set_test_period(&mut self, val: u8)
pub const fn set_test_period(&mut self, val: u8)
TEST_PERIOD.
Sourcepub const fn qdn(&self) -> bool
pub const fn qdn(&self) -> bool
Quadrature Decoder Negative Signal. Raw bit values: false (0) = Positive: Positive quadrature decoder signal.; true (1) = Negative: Negative quadrature decoder signal.
Sourcepub const fn set_qdn(&mut self, val: bool)
pub const fn set_qdn(&mut self, val: bool)
Quadrature Decoder Negative Signal. Raw bit values: false (0) = Positive: Positive quadrature decoder signal.; true (1) = Negative: Negative quadrature decoder signal.
Sourcepub const fn tce(&self) -> bool
pub const fn tce(&self) -> bool
Test Counter Enable. Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Sourcepub const fn set_tce(&mut self, val: bool)
pub const fn set_tce(&mut self, val: bool)
Test Counter Enable. Raw bit values: false (0) = Disabled: Disable.; true (1) = Enabled: Enable.
Trait Implementations§
impl Copy for Tst2
impl Eq for Tst2
impl StructuralPartialEq for Tst2
Auto Trait Implementations§
impl Freeze for Tst2
impl RefUnwindSafe for Tst2
impl Send for Tst2
impl Sync for Tst2
impl Unpin for Tst2
impl UnwindSafe for Tst2
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