Struct alt_stm32f30x_hal::stm32::comp::comp4_csr::COMP4POL_W
source · [−]pub struct COMP4POL_W<'a> { /* private fields */ }
Expand description
Field COMP4POL
writer - Comparator 4 output polarity
Implementations
sourceimpl<'a> COMP4POL_W<'a>
impl<'a> COMP4POL_W<'a>
sourcepub fn variant(self, variant: COMP4POL_A) -> &'a mut W
pub fn variant(self, variant: COMP4POL_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 COMP4POL_W<'a>
impl<'a> Send for COMP4POL_W<'a>
impl<'a> Sync for COMP4POL_W<'a>
impl<'a> Unpin for COMP4POL_W<'a>
impl<'a> !UnwindSafe for COMP4POL_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