pub struct W(_);
Expand description
Register AF1
writer
Implementations
sourceimpl W
impl W
sourcepub fn bkine(&mut self) -> BKINE_W<'_, 0>
pub fn bkine(&mut self) -> BKINE_W<'_, 0>
Bit 0 - BRK BKIN input enable This bit enables the BKIN alternate function input for the timerâs BRK input. BKIN input is ’ORedâ with the other BRK sources. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
sourcepub fn bkcmp1e(&mut self) -> BKCMP1E_W<'_, 1>
pub fn bkcmp1e(&mut self) -> BKCMP1E_W<'_, 1>
Bit 1 - BRK COMP1 enable This bit enables the COMP1 for the timerâs BRK input. COMP1 output is ’ORedâ with the other BRK sources. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
sourcepub fn bkcmp2e(&mut self) -> BKCMP2E_W<'_, 2>
pub fn bkcmp2e(&mut self) -> BKCMP2E_W<'_, 2>
Bit 2 - BRK COMP2 enable This bit enables the COMP2 for the timerâs BRK input. COMP2 output is ’ORedâ with the other BRK sources. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
sourcepub fn bkinp(&mut self) -> BKINP_W<'_, 9>
pub fn bkinp(&mut self) -> BKINP_W<'_, 9>
Bit 9 - BRK BKIN input polarity This bit selects the BKIN alternate function input sensitivity. It must be programmed together with the BKP polarity bit. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
sourcepub fn bkcmp1p(&mut self) -> BKCMP1P_W<'_, 10>
pub fn bkcmp1p(&mut self) -> BKCMP1P_W<'_, 10>
Bit 10 - BRK COMP1 input polarity This bit selects the COMP1 input sensitivity. It must be programmed together with the BKP polarity bit. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
sourcepub fn bkcmp2p(&mut self) -> BKCMP2P_W<'_, 11>
pub fn bkcmp2p(&mut self) -> BKCMP2P_W<'_, 11>
Bit 11 - BRK COMP2 input polarity This bit selects the COMP2 input sensitivity. It must be programmed together with the BKP polarity bit. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
Methods from Deref<Target = W<AF1_SPEC>>
Trait Implementations
Auto Trait Implementations
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