pub struct GPIO_1_INTR_POL_W<'a> { /* private fields */ }Expand description
Field GPIO_1_INTR_POL writer - GPIO_1 interrupt polarity (depends on interrupt type): type = level => {0:low, 1:hi} — type = edge => {0:fall, 1:rise}
Implementations§
Source§impl<'a> GPIO_1_INTR_POL_W<'a>
impl<'a> GPIO_1_INTR_POL_W<'a>
Sourcepub fn variant(self, variant: GPIO_1_INTR_POL_A) -> &'a mut W
pub fn variant(self, variant: GPIO_1_INTR_POL_A) -> &'a mut W
Writes variant to the field
Sourcepub fn low_fall(self) -> &'a mut W
pub fn low_fall(self) -> &'a mut W
Depending on the type, if the interrupt is triggered by level, this indicates the interrupt is triggered by a reading low value, if it is an edge trigger, this value indicates that the interrupt polarity is falling edge
Auto Trait Implementations§
impl<'a> Freeze for GPIO_1_INTR_POL_W<'a>
impl<'a> RefUnwindSafe for GPIO_1_INTR_POL_W<'a>
impl<'a> Send for GPIO_1_INTR_POL_W<'a>
impl<'a> Sync for GPIO_1_INTR_POL_W<'a>
impl<'a> Unpin for GPIO_1_INTR_POL_W<'a>
impl<'a> !UnwindSafe for GPIO_1_INTR_POL_W<'a>
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