Type Alias esp32::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(&mut self) -> DATA_W<'_, OUT1_SPEC>

Bits 0:7 - GPIO32~39 output value

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