Struct stm32f30x_memory_map::gptim::SmcrW
[−]
[src]
pub struct SmcrW { /* fields omitted */ }
Methods
impl SmcrW
[src]
fn reset_value() -> Self
Reset value
fn sms(&mut self, value: u8) -> &mut Self
Bits 0:2 - Slave mode selection
fn occs(&mut self, value: bool) -> &mut Self
Bit 3 - OCREF clear selection
fn ts(&mut self, value: u8) -> &mut Self
Bits 4:6 - Trigger selection
fn msm(&mut self, value: bool) -> &mut Self
Bit 7 - Master/Slave mode
fn etf(&mut self, value: u8) -> &mut Self
Bits 8:11 - External trigger filter
fn etps(&mut self, value: u8) -> &mut Self
Bits 12:13 - External trigger prescaler
fn ece(&mut self, value: bool) -> &mut Self
Bit 14 - External clock enable
fn etp(&mut self, value: bool) -> &mut Self
Bit 15 - External trigger polarity
fn sms_3(&mut self, value: bool) -> &mut Self
Bit 16 - Slave mode selection bit3
Trait Implementations
impl Clone for SmcrW
[src]
fn clone(&self) -> SmcrW
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more