[][src]Struct stm32l4xx_hal::stm32::tsc::cr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W[src]

Writes raw bits to the register

pub fn ctph(&mut self) -> _CTPHW[src]

Bits 28:31 - Charge transfer pulse high

pub fn ctpl(&mut self) -> _CTPLW[src]

Bits 24:27 - Charge transfer pulse low

pub fn ssd(&mut self) -> _SSDW[src]

Bits 17:23 - Spread spectrum deviation

pub fn sse(&mut self) -> _SSEW[src]

Bit 16 - Spread spectrum enable

pub fn sspsc(&mut self) -> _SSPSCW[src]

Bit 15 - Spread spectrum prescaler

pub fn pgpsc(&mut self) -> _PGPSCW[src]

Bits 12:14 - pulse generator prescaler

pub fn mcv(&mut self) -> _MCVW[src]

Bits 5:7 - Max count value

pub fn iodef(&mut self) -> _IODEFW[src]

Bit 4 - I/O Default mode

pub fn syncpol(&mut self) -> _SYNCPOLW[src]

Bit 3 - Synchronization pin polarity

pub fn am(&mut self) -> _AMW[src]

Bit 2 - Acquisition mode

pub fn start(&mut self) -> _STARTW[src]

Bit 1 - Start a new acquisition

pub fn tsce(&mut self) -> _TSCEW[src]

Bit 0 - Touch sensing controller enable

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self