pub struct GPIO_PIN1_INT_TYPE_W<'a> { /* private fields */ }Expand description
Field GPIO_PIN1_INT_TYPE writer - 0: disable; 1: positive edge; 2: negative edge; 3: both types of edge; 4: low-level; 5: high-level
Implementations§
Source§impl<'a> GPIO_PIN1_INT_TYPE_W<'a>
impl<'a> GPIO_PIN1_INT_TYPE_W<'a>
Sourcepub fn variant(self, variant: GPIO_PIN1_INT_TYPE_A) -> &'a mut W
pub fn variant(self, variant: GPIO_PIN1_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> Freeze for GPIO_PIN1_INT_TYPE_W<'a>
impl<'a> RefUnwindSafe for GPIO_PIN1_INT_TYPE_W<'a>
impl<'a> Send for GPIO_PIN1_INT_TYPE_W<'a>
impl<'a> Sync for GPIO_PIN1_INT_TYPE_W<'a>
impl<'a> Unpin for GPIO_PIN1_INT_TYPE_W<'a>
impl<'a> !UnwindSafe for GPIO_PIN1_INT_TYPE_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