pub struct R(/* private fields */);Expand description
Register GPIO_PIN15 reader
Implementations§
Source§impl R
impl R
Sourcepub fn gpio_pin15_wakeup_enable(&self) -> GPIO_PIN15_WAKEUP_ENABLE_R
pub fn gpio_pin15_wakeup_enable(&self) -> GPIO_PIN15_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_pin15_int_type(&self) -> GPIO_PIN15_INT_TYPE_R
pub fn gpio_pin15_int_type(&self) -> GPIO_PIN15_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_pin15_driver(&self) -> GPIO_PIN15_DRIVER_R
pub fn gpio_pin15_driver(&self) -> GPIO_PIN15_DRIVER_R
Bit 2 - 1: open drain; 0: normal
Sourcepub fn gpio_pin15_source(&self) -> GPIO_PIN15_SOURCE_R
pub fn gpio_pin15_source(&self) -> GPIO_PIN15_SOURCE_R
Bit 0 - 1: sigma-delta; 0: GPIO_DATA
Methods from Deref<Target = R<GPIO_PIN15_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for R
impl RefUnwindSafe for R
impl Send for R
impl Sync for R
impl Unpin for R
impl UnwindSafe for 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