Type Alias esp32::gpio::enable_w1tc::W

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

Register ENABLE_W1TC writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn enable_data_w1tc(&mut self) -> ENABLE_DATA_W1TC_W<'_, ENABLE_W1TC_SPEC>

Bits 0:31 - GPIO0~31 output enable write 1 to clear

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual