pub struct R(_);Expand description
Register GPIO_PIN6 reader
Implementations
sourceimpl R
impl R
sourcepub fn gpio_pin6_wakeup_enable(&self) -> GPIO_PIN6_WAKEUP_ENABLE_R
pub fn gpio_pin6_wakeup_enable(&self) -> GPIO_PIN6_WAKEUP_ENABLE_R
Bit 10 - 0: disable; 1: enable GPIO wakeup CPU, only when GPIO_PIN0_INT_TYPE is 0x4 or 0x5
sourcepub fn gpio_pin6_int_type(&self) -> GPIO_PIN6_INT_TYPE_R
pub fn gpio_pin6_int_type(&self) -> GPIO_PIN6_INT_TYPE_R
Bits 7:9 - 0: disable; 1: positive edge; 2: negative edge; 3: both types of edge; 4: low-level; 5: high-level
sourcepub fn gpio_pin6_driver(&self) -> GPIO_PIN6_DRIVER_R
pub fn gpio_pin6_driver(&self) -> GPIO_PIN6_DRIVER_R
Bit 2 - 1: open drain; 0: normal
sourcepub fn gpio_pin6_source(&self) -> GPIO_PIN6_SOURCE_R
pub fn gpio_pin6_source(&self) -> GPIO_PIN6_SOURCE_R
Bit 0 - 1: sigma-delta; 0: GPIO_DATA
Methods from Deref<Target = R<GPIO_PIN6_SPEC>>
Trait Implementations
sourceimpl From<R<GPIO_PIN6_SPEC>> for R
impl From<R<GPIO_PIN6_SPEC>> for R
sourcefn from(reader: R<GPIO_PIN6_SPEC>) -> Self
fn from(reader: R<GPIO_PIN6_SPEC>) -> Self
Performs the conversion.
Auto Trait Implementations
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