Struct alt_stm32f30x_hal::stm32::comp::comp2_csr::COMP2POL_W
source · [−]pub struct COMP2POL_W<'a> { /* private fields */ }
Expand description
Field COMP2POL
writer - Comparator 2 output polarity
Implementations
sourceimpl<'a> COMP2POL_W<'a>
impl<'a> COMP2POL_W<'a>
sourcepub fn variant(self, variant: COMP2POL_A) -> &'a mut W
pub fn variant(self, variant: COMP2POL_A) -> &'a mut W
Writes variant
to the field
sourcepub fn not_inverted(self) -> &'a mut W
pub fn not_inverted(self) -> &'a mut W
Output is not inverted
Auto Trait Implementations
impl<'a> RefUnwindSafe for COMP2POL_W<'a>
impl<'a> Send for COMP2POL_W<'a>
impl<'a> Sync for COMP2POL_W<'a>
impl<'a> Unpin for COMP2POL_W<'a>
impl<'a> !UnwindSafe for COMP2POL_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