Struct alt_stm32f30x_hal::device::tim17::ccmr1_output::OC1M_W
source · [−]pub struct OC1M_W<'a> { /* private fields */ }
Expand description
Field OC1M
writer - Output Compare 1 mode
Implementations
sourceimpl<'a> OC1M_W<'a>
impl<'a> OC1M_W<'a>
sourcepub fn frozen(self) -> &'a mut W
pub fn frozen(self) -> &'a mut W
The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs
sourcepub fn active_on_match(self) -> &'a mut W
pub fn active_on_match(self) -> &'a mut W
Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register
sourcepub fn inactive_on_match(self) -> &'a mut W
pub fn inactive_on_match(self) -> &'a mut W
Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register
sourcepub fn force_inactive(self) -> &'a mut W
pub fn force_inactive(self) -> &'a mut W
OCyREF is forced low
sourcepub fn force_active(self) -> &'a mut W
pub fn force_active(self) -> &'a mut W
OCyREF is forced high
Auto Trait Implementations
impl<'a> RefUnwindSafe for OC1M_W<'a>
impl<'a> Send for OC1M_W<'a>
impl<'a> Sync for OC1M_W<'a>
impl<'a> Unpin for OC1M_W<'a>
impl<'a> !UnwindSafe for OC1M_W<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more