Type Alias esp32h2::spi2::w12::W

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

Register W12 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn buf12(&mut self) -> BUF12_W<'_, W12_SPEC>

Bits 0:31 - data buffer

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