Struct stm32_hal2::pac::tim2::smcr::ECE_W [−][src]
pub struct ECE_W<'a> { /* fields omitted */ }
Write proxy for field ECE
Implementations
impl<'a> ECE_W<'a>
[src]
impl<'a> ECE_W<'a>
[src]pub fn variant(self, variant: ECE_A) -> &'a mut W<u32, Reg<u32, _SMCR>>
[src]
Writes variant
to the field
pub fn disabled(self) -> &'a mut W<u32, Reg<u32, _SMCR>>
[src]
External clock mode 2 disabled
pub fn enabled(self) -> &'a mut W<u32, Reg<u32, _SMCR>>
[src]
External clock mode 2 enabled. The counter is clocked by any active edge on the ETRF signal.
pub fn set_bit(self) -> &'a mut W<u32, Reg<u32, _SMCR>>
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W<u32, Reg<u32, _SMCR>>
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W<u32, Reg<u32, _SMCR>>
[src]
Writes raw bits to the field