Struct mkw41z::tpm2::sc::W
[−]
[src]
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 Self
[src]
Writes raw bits to the register
pub fn ps(&mut self) -> _PSW
[src]
Bits 0:2 - Prescale Factor Selection
pub fn cmod(&mut self) -> _CMODW
[src]
Bits 3:4 - Clock Mode Selection
pub fn cpwms(&mut self) -> _CPWMSW
[src]
Bit 5 - Center-Aligned PWM Select
pub fn toie(&mut self) -> _TOIEW
[src]
Bit 6 - Timer Overflow Interrupt Enable
pub fn tof(&mut self) -> _TOFW
[src]
Bit 7 - Timer Overflow Flag
pub fn dma(&mut self) -> _DMAW
[src]
Bit 8 - DMA Enable