Struct stm32wlxx_hal::pac::tim1::af2::R
pub struct R(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register AF2
reader
Implementations§
§impl R
impl R
pub fn bk2cmp2p(&self) -> BitReaderRaw<BK2CMP2P_A>
pub fn bk2cmp2p(&self) -> BitReaderRaw<BK2CMP2P_A>
Bit 11 - BRK2 COMP2 input polarity
pub fn bk2cmp1p(&self) -> BitReaderRaw<BK2CMP1P_A>
pub fn bk2cmp1p(&self) -> BitReaderRaw<BK2CMP1P_A>
Bit 10 - BRK2 COMP1 input polarity
pub fn bk2cmp2e(&self) -> BitReaderRaw<BK2CMP2E_A>
pub fn bk2cmp2e(&self) -> BitReaderRaw<BK2CMP2E_A>
Bit 2 - BRK2 COMP2 enable
pub fn bk2cmp1e(&self) -> BitReaderRaw<BK2CMP1E_A>
pub fn bk2cmp1e(&self) -> BitReaderRaw<BK2CMP1E_A>
Bit 1 - BRK2 COMP1 enable
Methods from Deref<Target = R<AF2_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more