Type Alias esp32c3::rtc_cntl::gpio_wakeup::W

source ·
pub type W = W<GPIO_WAKEUP_SPEC>;
Expand description

Register GPIO_WAKEUP writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn gpio_wakeup_status_clr( &mut self ) -> GPIO_WAKEUP_STATUS_CLR_W<'_, GPIO_WAKEUP_SPEC>

Bit 6 - clear rtc gpio wakeup flag

source

pub fn gpio_pin_clk_gate(&mut self) -> GPIO_PIN_CLK_GATE_W<'_, GPIO_WAKEUP_SPEC>

Bit 7 - enable rtc io clk gate

source

pub fn gpio_pin5_int_type( &mut self ) -> GPIO_PIN5_INT_TYPE_W<'_, GPIO_WAKEUP_SPEC>

Bits 8:10 - configure gpio wakeup type

source

pub fn gpio_pin4_int_type( &mut self ) -> GPIO_PIN4_INT_TYPE_W<'_, GPIO_WAKEUP_SPEC>

Bits 11:13 - configure gpio wakeup type

source

pub fn gpio_pin3_int_type( &mut self ) -> GPIO_PIN3_INT_TYPE_W<'_, GPIO_WAKEUP_SPEC>

Bits 14:16 - configure gpio wakeup type

source

pub fn gpio_pin2_int_type( &mut self ) -> GPIO_PIN2_INT_TYPE_W<'_, GPIO_WAKEUP_SPEC>

Bits 17:19 - configure gpio wakeup type

source

pub fn gpio_pin1_int_type( &mut self ) -> GPIO_PIN1_INT_TYPE_W<'_, GPIO_WAKEUP_SPEC>

Bits 20:22 - configure gpio wakeup type

source

pub fn gpio_pin0_int_type( &mut self ) -> GPIO_PIN0_INT_TYPE_W<'_, GPIO_WAKEUP_SPEC>

Bits 23:25 - configure gpio wakeup type

source

pub fn gpio_pin5_wakeup_enable( &mut self ) -> GPIO_PIN5_WAKEUP_ENABLE_W<'_, GPIO_WAKEUP_SPEC>

Bit 26 - enable wakeup from rtc gpio5

source

pub fn gpio_pin4_wakeup_enable( &mut self ) -> GPIO_PIN4_WAKEUP_ENABLE_W<'_, GPIO_WAKEUP_SPEC>

Bit 27 - enable wakeup from rtc gpio4

source

pub fn gpio_pin3_wakeup_enable( &mut self ) -> GPIO_PIN3_WAKEUP_ENABLE_W<'_, GPIO_WAKEUP_SPEC>

Bit 28 - enable wakeup from rtc gpio3

source

pub fn gpio_pin2_wakeup_enable( &mut self ) -> GPIO_PIN2_WAKEUP_ENABLE_W<'_, GPIO_WAKEUP_SPEC>

Bit 29 - enable wakeup from rtc gpio2

source

pub fn gpio_pin1_wakeup_enable( &mut self ) -> GPIO_PIN1_WAKEUP_ENABLE_W<'_, GPIO_WAKEUP_SPEC>

Bit 30 - enable wakeup from rtc gpio1

source

pub fn gpio_pin0_wakeup_enable( &mut self ) -> GPIO_PIN0_WAKEUP_ENABLE_W<'_, GPIO_WAKEUP_SPEC>

Bit 31 - enable wakeup from rtc gpio0