Struct esp32c3::rtc_cntl::gpio_wakeup::R
source · pub struct R(_);
Expand description
Register GPIO_WAKEUP
reader
Implementations§
source§impl R
impl R
sourcepub fn gpio_wakeup_status(&self) -> GPIO_WAKEUP_STATUS_R
pub fn gpio_wakeup_status(&self) -> GPIO_WAKEUP_STATUS_R
Bits 0:5 - rtc gpio wakeup flag
sourcepub fn gpio_wakeup_status_clr(&self) -> GPIO_WAKEUP_STATUS_CLR_R
pub fn gpio_wakeup_status_clr(&self) -> GPIO_WAKEUP_STATUS_CLR_R
Bit 6 - clear rtc gpio wakeup flag
sourcepub fn gpio_pin_clk_gate(&self) -> GPIO_PIN_CLK_GATE_R
pub fn gpio_pin_clk_gate(&self) -> GPIO_PIN_CLK_GATE_R
Bit 7 - enable rtc io clk gate
sourcepub fn gpio_pin5_int_type(&self) -> GPIO_PIN5_INT_TYPE_R
pub fn gpio_pin5_int_type(&self) -> GPIO_PIN5_INT_TYPE_R
Bits 8:10 - configure gpio wakeup type
sourcepub fn gpio_pin4_int_type(&self) -> GPIO_PIN4_INT_TYPE_R
pub fn gpio_pin4_int_type(&self) -> GPIO_PIN4_INT_TYPE_R
Bits 11:13 - configure gpio wakeup type
sourcepub fn gpio_pin3_int_type(&self) -> GPIO_PIN3_INT_TYPE_R
pub fn gpio_pin3_int_type(&self) -> GPIO_PIN3_INT_TYPE_R
Bits 14:16 - configure gpio wakeup type
sourcepub fn gpio_pin2_int_type(&self) -> GPIO_PIN2_INT_TYPE_R
pub fn gpio_pin2_int_type(&self) -> GPIO_PIN2_INT_TYPE_R
Bits 17:19 - configure gpio wakeup type
sourcepub fn gpio_pin1_int_type(&self) -> GPIO_PIN1_INT_TYPE_R
pub fn gpio_pin1_int_type(&self) -> GPIO_PIN1_INT_TYPE_R
Bits 20:22 - configure gpio wakeup type
sourcepub fn gpio_pin0_int_type(&self) -> GPIO_PIN0_INT_TYPE_R
pub fn gpio_pin0_int_type(&self) -> GPIO_PIN0_INT_TYPE_R
Bits 23:25 - configure gpio wakeup type
sourcepub fn gpio_pin5_wakeup_enable(&self) -> GPIO_PIN5_WAKEUP_ENABLE_R
pub fn gpio_pin5_wakeup_enable(&self) -> GPIO_PIN5_WAKEUP_ENABLE_R
Bit 26 - enable wakeup from rtc gpio5
sourcepub fn gpio_pin4_wakeup_enable(&self) -> GPIO_PIN4_WAKEUP_ENABLE_R
pub fn gpio_pin4_wakeup_enable(&self) -> GPIO_PIN4_WAKEUP_ENABLE_R
Bit 27 - enable wakeup from rtc gpio4
sourcepub fn gpio_pin3_wakeup_enable(&self) -> GPIO_PIN3_WAKEUP_ENABLE_R
pub fn gpio_pin3_wakeup_enable(&self) -> GPIO_PIN3_WAKEUP_ENABLE_R
Bit 28 - enable wakeup from rtc gpio3
sourcepub fn gpio_pin2_wakeup_enable(&self) -> GPIO_PIN2_WAKEUP_ENABLE_R
pub fn gpio_pin2_wakeup_enable(&self) -> GPIO_PIN2_WAKEUP_ENABLE_R
Bit 29 - enable wakeup from rtc gpio2
sourcepub fn gpio_pin1_wakeup_enable(&self) -> GPIO_PIN1_WAKEUP_ENABLE_R
pub fn gpio_pin1_wakeup_enable(&self) -> GPIO_PIN1_WAKEUP_ENABLE_R
Bit 30 - enable wakeup from rtc gpio1
sourcepub fn gpio_pin0_wakeup_enable(&self) -> GPIO_PIN0_WAKEUP_ENABLE_R
pub fn gpio_pin0_wakeup_enable(&self) -> GPIO_PIN0_WAKEUP_ENABLE_R
Bit 31 - enable wakeup from rtc gpio0
Methods from Deref<Target = R<GPIO_WAKEUP_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
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