pub struct GPIO_PIN11_INT_TYPE_R(/* private fields */);
Expand description
Field GPIO_PIN11_INT_TYPE
reader - 0: disable; 1: positive edge; 2: negative edge; 3: both types of edge; 4: low-level; 5: high-level
Implementations§
Source§impl GPIO_PIN11_INT_TYPE_R
impl GPIO_PIN11_INT_TYPE_R
Sourcepub fn variant(&self) -> Option<GPIO_PIN11_INT_TYPE_A>
pub fn variant(&self) -> Option<GPIO_PIN11_INT_TYPE_A>
Get enumerated values variant
Sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED
Sourcepub fn is_positive_edge(&self) -> bool
pub fn is_positive_edge(&self) -> bool
Checks if the value of the field is POSITIVE_EDGE
Sourcepub fn is_negative_edge(&self) -> bool
pub fn is_negative_edge(&self) -> bool
Checks if the value of the field is NEGATIVE_EDGE
Sourcepub fn is_both_edges(&self) -> bool
pub fn is_both_edges(&self) -> bool
Checks if the value of the field is BOTH_EDGES
Sourcepub fn is_low_level(&self) -> bool
pub fn is_low_level(&self) -> bool
Checks if the value of the field is LOW_LEVEL
Sourcepub fn is_high_level(&self) -> bool
pub fn is_high_level(&self) -> bool
Checks if the value of the field is HIGH_LEVEL
Methods from Deref<Target = FieldReader<u8, GPIO_PIN11_INT_TYPE_A>>§
Trait Implementations§
Source§impl Deref for GPIO_PIN11_INT_TYPE_R
impl Deref for GPIO_PIN11_INT_TYPE_R
Source§type Target = FieldReader<u8, GPIO_PIN11_INT_TYPE_A>
type Target = FieldReader<u8, GPIO_PIN11_INT_TYPE_A>
The resulting type after dereferencing.
Auto Trait Implementations§
impl Freeze for GPIO_PIN11_INT_TYPE_R
impl RefUnwindSafe for GPIO_PIN11_INT_TYPE_R
impl Send for GPIO_PIN11_INT_TYPE_R
impl Sync for GPIO_PIN11_INT_TYPE_R
impl Unpin for GPIO_PIN11_INT_TYPE_R
impl UnwindSafe for GPIO_PIN11_INT_TYPE_R
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