Struct esp32c3::rtc_cntl::gpio_wakeup::W
source · pub struct W(_);Expand description
Register GPIO_WAKEUP writer
Implementations
sourceimpl W
impl W
sourcepub fn gpio_wakeup_status_clr(&mut self) -> GPIO_WAKEUP_STATUS_CLR_W<'_, 6>
pub fn gpio_wakeup_status_clr(&mut self) -> GPIO_WAKEUP_STATUS_CLR_W<'_, 6>
Bit 6 - clear rtc gpio wakeup flag
sourcepub fn gpio_pin_clk_gate(&mut self) -> GPIO_PIN_CLK_GATE_W<'_, 7>
pub fn gpio_pin_clk_gate(&mut self) -> GPIO_PIN_CLK_GATE_W<'_, 7>
Bit 7 - enable rtc io clk gate
sourcepub fn gpio_pin5_int_type(&mut self) -> GPIO_PIN5_INT_TYPE_W<'_, 8>
pub fn gpio_pin5_int_type(&mut self) -> GPIO_PIN5_INT_TYPE_W<'_, 8>
Bits 8:10 - configure gpio wakeup type
sourcepub fn gpio_pin4_int_type(&mut self) -> GPIO_PIN4_INT_TYPE_W<'_, 11>
pub fn gpio_pin4_int_type(&mut self) -> GPIO_PIN4_INT_TYPE_W<'_, 11>
Bits 11:13 - configure gpio wakeup type
sourcepub fn gpio_pin3_int_type(&mut self) -> GPIO_PIN3_INT_TYPE_W<'_, 14>
pub fn gpio_pin3_int_type(&mut self) -> GPIO_PIN3_INT_TYPE_W<'_, 14>
Bits 14:16 - configure gpio wakeup type
sourcepub fn gpio_pin2_int_type(&mut self) -> GPIO_PIN2_INT_TYPE_W<'_, 17>
pub fn gpio_pin2_int_type(&mut self) -> GPIO_PIN2_INT_TYPE_W<'_, 17>
Bits 17:19 - configure gpio wakeup type
sourcepub fn gpio_pin1_int_type(&mut self) -> GPIO_PIN1_INT_TYPE_W<'_, 20>
pub fn gpio_pin1_int_type(&mut self) -> GPIO_PIN1_INT_TYPE_W<'_, 20>
Bits 20:22 - configure gpio wakeup type
sourcepub fn gpio_pin0_int_type(&mut self) -> GPIO_PIN0_INT_TYPE_W<'_, 23>
pub fn gpio_pin0_int_type(&mut self) -> GPIO_PIN0_INT_TYPE_W<'_, 23>
Bits 23:25 - configure gpio wakeup type
sourcepub fn gpio_pin5_wakeup_enable(&mut self) -> GPIO_PIN5_WAKEUP_ENABLE_W<'_, 26>
pub fn gpio_pin5_wakeup_enable(&mut self) -> GPIO_PIN5_WAKEUP_ENABLE_W<'_, 26>
Bit 26 - enable wakeup from rtc gpio5
sourcepub fn gpio_pin4_wakeup_enable(&mut self) -> GPIO_PIN4_WAKEUP_ENABLE_W<'_, 27>
pub fn gpio_pin4_wakeup_enable(&mut self) -> GPIO_PIN4_WAKEUP_ENABLE_W<'_, 27>
Bit 27 - enable wakeup from rtc gpio4
sourcepub fn gpio_pin3_wakeup_enable(&mut self) -> GPIO_PIN3_WAKEUP_ENABLE_W<'_, 28>
pub fn gpio_pin3_wakeup_enable(&mut self) -> GPIO_PIN3_WAKEUP_ENABLE_W<'_, 28>
Bit 28 - enable wakeup from rtc gpio3
sourcepub fn gpio_pin2_wakeup_enable(&mut self) -> GPIO_PIN2_WAKEUP_ENABLE_W<'_, 29>
pub fn gpio_pin2_wakeup_enable(&mut self) -> GPIO_PIN2_WAKEUP_ENABLE_W<'_, 29>
Bit 29 - enable wakeup from rtc gpio2
sourcepub fn gpio_pin1_wakeup_enable(&mut self) -> GPIO_PIN1_WAKEUP_ENABLE_W<'_, 30>
pub fn gpio_pin1_wakeup_enable(&mut self) -> GPIO_PIN1_WAKEUP_ENABLE_W<'_, 30>
Bit 30 - enable wakeup from rtc gpio1
sourcepub fn gpio_pin0_wakeup_enable(&mut self) -> GPIO_PIN0_WAKEUP_ENABLE_W<'_, 31>
pub fn gpio_pin0_wakeup_enable(&mut self) -> GPIO_PIN0_WAKEUP_ENABLE_W<'_, 31>
Bit 31 - enable wakeup from rtc gpio0
Methods from Deref<Target = W<GPIO_WAKEUP_SPEC>>
Trait Implementations
sourceimpl From<W<GPIO_WAKEUP_SPEC>> for W
impl From<W<GPIO_WAKEUP_SPEC>> for W
sourcefn from(writer: W<GPIO_WAKEUP_SPEC>) -> Self
fn from(writer: W<GPIO_WAKEUP_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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