pub struct W(_);
Expand description
Register AF2
writer
Implementations
sourceimpl W
impl W
sourcepub fn bk2ine(&mut self) -> BK2INE_W<'_, 0>
pub fn bk2ine(&mut self) -> BK2INE_W<'_, 0>
Bit 0 - BRK2 BKIN input enable This bit enables the BKIN2 alternate function input for the timerâs BRK2 input. BKIN2 input is ’ORedâ with the other BRK2 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 bk2cmp1e(&mut self) -> BK2CMP1E_W<'_, 1>
pub fn bk2cmp1e(&mut self) -> BK2CMP1E_W<'_, 1>
Bit 1 - BRK2 COMP1 enable This bit enables the COMP1 for the timerâs BRK2 input. COMP1 output is ’ORedâ with the other BRK2 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 bk2cmp2e(&mut self) -> BK2CMP2E_W<'_, 2>
pub fn bk2cmp2e(&mut self) -> BK2CMP2E_W<'_, 2>
Bit 2 - BRK2 COMP2 enable This bit enables the COMP2 for the timerâs BRK2 input. COMP2 output is ’ORedâ with the other BRK2 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 bk2inp(&mut self) -> BK2INP_W<'_, 9>
pub fn bk2inp(&mut self) -> BK2INP_W<'_, 9>
Bit 9 - BRK2 BKIN2 input polarity This bit selects the BKIN2 alternate function input sensitivity. It must be programmed together with the BK2P 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 bk2cmp1p(&mut self) -> BK2CMP1P_W<'_, 10>
pub fn bk2cmp1p(&mut self) -> BK2CMP1P_W<'_, 10>
Bit 10 - BRK2 COMP1 input polarity This bit selects the COMP1 input sensitivity. It must be programmed together with the BK2P 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 bk2cmp2p(&mut self) -> BK2CMP2P_W<'_, 11>
pub fn bk2cmp2p(&mut self) -> BK2CMP2P_W<'_, 11>
Bit 11 - BRK2 COMP2 input polarity This bit selects the COMP2 input sensitivity. It must be programmed together with the BK2P 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<AF2_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