[−][src]Struct atsams70n21b::tc0::tc_bmr::W
Value to write to the register
Methods
impl W
[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn tc0xc0s(&mut self) -> _TC0XC0SW
[src]
Bits 0:1 - External Clock Signal 0 Selection
pub fn tc1xc1s(&mut self) -> _TC1XC1SW
[src]
Bits 2:3 - External Clock Signal 1 Selection
pub fn tc2xc2s(&mut self) -> _TC2XC2SW
[src]
Bits 4:5 - External Clock Signal 2 Selection
pub fn qden(&mut self) -> _QDENW
[src]
Bit 8 - Quadrature Decoder Enabled
pub fn posen(&mut self) -> _POSENW
[src]
Bit 9 - Position Enabled
pub fn speeden(&mut self) -> _SPEEDENW
[src]
Bit 10 - Speed Enabled
pub fn qdtrans(&mut self) -> _QDTRANSW
[src]
Bit 11 - Quadrature Decoding Transparent
pub fn edgpha(&mut self) -> _EDGPHAW
[src]
Bit 12 - Edge on PHA Count Mode
pub fn inva(&mut self) -> _INVAW
[src]
Bit 13 - Inverted PHA
pub fn invb(&mut self) -> _INVBW
[src]
Bit 14 - Inverted PHB
pub fn invidx(&mut self) -> _INVIDXW
[src]
Bit 15 - Inverted Index
pub fn swap(&mut self) -> _SWAPW
[src]
Bit 16 - Swap PHA and PHB
pub fn idxphb(&mut self) -> _IDXPHBW
[src]
Bit 17 - Index Pin is PHB Pin
pub fn autoc(&mut self) -> _AUTOCW
[src]
Bit 18 - AutoCorrection of missing pulses
pub fn maxfilt(&mut self) -> _MAXFILTW
[src]
Bits 20:25 - Maximum Filter
pub fn maxcmp(&mut self) -> _MAXCMPW
[src]
Bits 26:29 - Maximum Consecutive Missing Pulses
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self