Struct stm32_hal2::pac::tim1::bdtr::OSSR_W [−][src]
pub struct OSSR_W<'a> { /* fields omitted */ }
Write proxy for field OSSR
Implementations
impl<'a> OSSR_W<'a>
[src]
impl<'a> OSSR_W<'a>
[src]pub fn variant(self, variant: OSSR_A) -> &'a mut W<u32, Reg<u32, _BDTR>>
[src]
Writes variant
to the field
pub fn disabled(self) -> &'a mut W<u32, Reg<u32, _BDTR>>
[src]
When inactive, OC/OCN outputs are disabled
pub fn idle_level(self) -> &'a mut W<u32, Reg<u32, _BDTR>>
[src]
When inactive, OC/OCN outputs are enabled with their inactive level
pub fn set_bit(self) -> &'a mut W<u32, Reg<u32, _BDTR>>
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W<u32, Reg<u32, _BDTR>>
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W<u32, Reg<u32, _BDTR>>
[src]
Writes raw bits to the field