Struct stm32f103xx::tim2::cr1::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 ckd(&mut self) -> _CKDW
[src]
Bits 8:9 - Clock division
pub fn arpe(&mut self) -> _ARPEW
[src]
Bit 7 - Auto-reload preload enable
pub fn cms(&mut self) -> _CMSW
[src]
Bits 5:6 - Center-aligned mode selection
pub fn dir(&mut self) -> _DIRW
[src]
Bit 4 - Direction
pub fn opm(&mut self) -> _OPMW
[src]
Bit 3 - One-pulse mode
pub fn urs(&mut self) -> _URSW
[src]
Bit 2 - Update request source
pub fn udis(&mut self) -> _UDISW
[src]
Bit 1 - Update disable
pub fn cen(&mut self) -> _CENW
[src]
Bit 0 - Counter enable