Struct stm32f0x2::tsc::cr::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
fn reset_value() -> W
[src]
Reset value of the register
unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
fn ctph(&mut self) -> _CTPHW
[src]
Bits 28:31 - Charge transfer pulse high
fn ctpl(&mut self) -> _CTPLW
[src]
Bits 24:27 - Charge transfer pulse low
fn ssd(&mut self) -> _SSDW
[src]
Bits 17:23 - Spread spectrum deviation
fn sse(&mut self) -> _SSEW
[src]
Bit 16 - Spread spectrum enable
fn sspsc(&mut self) -> _SSPSCW
[src]
Bit 15 - Spread spectrum prescaler
fn pgpsc(&mut self) -> _PGPSCW
[src]
Bits 12:14 - pulse generator prescaler
fn mcv(&mut self) -> _MCVW
[src]
Bits 5:7 - Max count value
fn iodef(&mut self) -> _IODEFW
[src]
Bit 4 - I/O Default mode
fn syncpol(&mut self) -> _SYNCPOLW
[src]
Bit 3 - Synchronization pin polarity
fn am(&mut self) -> _AMW
[src]
Bit 2 - Acquisition mode
fn start(&mut self) -> _STARTW
[src]
Bit 1 - Start a new acquisition
fn tsce(&mut self) -> _TSCEW
[src]
Bit 0 - Touch sensing controller enable