Type Alias esp32s2::gpio::out1::W

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

Register OUT1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn data_orig(&mut self) -> DATA_ORIG_W<'_, OUT1_SPEC, 0>

Bits 0:21 - GPIO32 ~ 53 output value in simple GPIO output mode. The values of bit0 ~ bit13 correspond to GPIO32 ~ GPIO45. Bit14 ~ bit21 are invalid.

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