Type Alias esp32c3::spi2::date::W

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

Register DATE writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn date(&mut self) -> DATE_W<'_, DATE_SPEC>

Bits 0:27 - SPI register version.

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