[−][src]Struct stm32l4x6::lptim1::cfgr::W
Value to write to the register
Methods
impl W
[src]
impl W
pub fn reset_value() -> W
[src]
pub fn reset_value() -> W
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
pub fn enc(&mut self) -> _ENCW
[src]
pub fn enc(&mut self) -> _ENCW
Bit 24 - Encoder mode enable
pub fn countmode(&mut self) -> _COUNTMODEW
[src]
pub fn countmode(&mut self) -> _COUNTMODEW
Bit 23 - counter mode enabled
pub fn preload(&mut self) -> _PRELOADW
[src]
pub fn preload(&mut self) -> _PRELOADW
Bit 22 - Registers update mode
pub fn wavpol(&mut self) -> _WAVPOLW
[src]
pub fn wavpol(&mut self) -> _WAVPOLW
Bit 21 - Waveform shape polarity
pub fn wave(&mut self) -> _WAVEW
[src]
pub fn wave(&mut self) -> _WAVEW
Bit 20 - Waveform shape
pub fn timout(&mut self) -> _TIMOUTW
[src]
pub fn timout(&mut self) -> _TIMOUTW
Bit 19 - Timeout enable
pub fn trigen(&mut self) -> _TRIGENW
[src]
pub fn trigen(&mut self) -> _TRIGENW
Bits 17:18 - Trigger enable and polarity
pub fn trigsel(&mut self) -> _TRIGSELW
[src]
pub fn trigsel(&mut self) -> _TRIGSELW
Bits 13:15 - Trigger selector
pub fn presc(&mut self) -> _PRESCW
[src]
pub fn presc(&mut self) -> _PRESCW
Bits 9:11 - Clock prescaler
pub fn trgflt(&mut self) -> _TRGFLTW
[src]
pub fn trgflt(&mut self) -> _TRGFLTW
Bits 6:7 - Configurable digital filter for trigger
pub fn ckflt(&mut self) -> _CKFLTW
[src]
pub fn ckflt(&mut self) -> _CKFLTW
Bits 3:4 - Configurable digital filter for external clock
pub fn ckpol(&mut self) -> _CKPOLW
[src]
pub fn ckpol(&mut self) -> _CKPOLW
Bits 1:2 - Clock Polarity
pub fn cksel(&mut self) -> _CKSELW
[src]
pub fn cksel(&mut self) -> _CKSELW
Bit 0 - Clock selector
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more