pub struct GPIO_PIN7_INT_TYPE_W<'a> { /* private fields */ }
Expand description
Field GPIO_PIN7_INT_TYPE
writer - 0: disable; 1: positive edge; 2: negative edge; 3: both types of edge; 4: low-level; 5: high-level
Implementations
sourceimpl<'a> GPIO_PIN7_INT_TYPE_W<'a>
impl<'a> GPIO_PIN7_INT_TYPE_W<'a>
sourcepub fn variant(self, variant: GPIO_PIN7_INT_TYPE_A) -> &'a mut W
pub fn variant(self, variant: GPIO_PIN7_INT_TYPE_A) -> &'a mut W
Writes variant
to the field
sourcepub fn positive_edge(self) -> &'a mut W
pub fn positive_edge(self) -> &'a mut W
interrupt is triggered on the positive edge
sourcepub fn negative_edge(self) -> &'a mut W
pub fn negative_edge(self) -> &'a mut W
interrupt is triggered on the negative edge
sourcepub fn both_edges(self) -> &'a mut W
pub fn both_edges(self) -> &'a mut W
interrupt is triggered on both edges
sourcepub fn high_level(self) -> &'a mut W
pub fn high_level(self) -> &'a mut W
interrupt is triggered on the high level
Auto Trait Implementations
impl<'a> RefUnwindSafe for GPIO_PIN7_INT_TYPE_W<'a>
impl<'a> Send for GPIO_PIN7_INT_TYPE_W<'a>
impl<'a> Sync for GPIO_PIN7_INT_TYPE_W<'a>
impl<'a> Unpin for GPIO_PIN7_INT_TYPE_W<'a>
impl<'a> !UnwindSafe for GPIO_PIN7_INT_TYPE_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