Type Alias esp32::gpio::out_w1ts::W

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

Register OUT_W1TS writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn out_data_w1ts(&mut self) -> OUT_DATA_W1TS_W<'_, OUT_W1TS_SPEC>

Bits 0:31 - GPIO0~31 output value write 1 to set

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