[−][src]Struct stm32l4x6::tsc::cr::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 ctph(&mut self) -> _CTPHW
[src]
pub fn ctph(&mut self) -> _CTPHW
Bits 28:31 - Charge transfer pulse high
pub fn ctpl(&mut self) -> _CTPLW
[src]
pub fn ctpl(&mut self) -> _CTPLW
Bits 24:27 - Charge transfer pulse low
pub fn ssd(&mut self) -> _SSDW
[src]
pub fn ssd(&mut self) -> _SSDW
Bits 17:23 - Spread spectrum deviation
pub fn sse(&mut self) -> _SSEW
[src]
pub fn sse(&mut self) -> _SSEW
Bit 16 - Spread spectrum enable
pub fn sspsc(&mut self) -> _SSPSCW
[src]
pub fn sspsc(&mut self) -> _SSPSCW
Bit 15 - Spread spectrum prescaler
pub fn pgpsc(&mut self) -> _PGPSCW
[src]
pub fn pgpsc(&mut self) -> _PGPSCW
Bits 12:14 - pulse generator prescaler
pub fn mcv(&mut self) -> _MCVW
[src]
pub fn mcv(&mut self) -> _MCVW
Bits 5:7 - Max count value
pub fn iodef(&mut self) -> _IODEFW
[src]
pub fn iodef(&mut self) -> _IODEFW
Bit 4 - I/O Default mode
pub fn syncpol(&mut self) -> _SYNCPOLW
[src]
pub fn syncpol(&mut self) -> _SYNCPOLW
Bit 3 - Synchronization pin polarity
pub fn am(&mut self) -> _AMW
[src]
pub fn am(&mut self) -> _AMW
Bit 2 - Acquisition mode
pub fn start(&mut self) -> _STARTW
[src]
pub fn start(&mut self) -> _STARTW
Bit 1 - Start a new acquisition
pub fn tsce(&mut self) -> _TSCEW
[src]
pub fn tsce(&mut self) -> _TSCEW
Bit 0 - Touch sensing controller enable
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