Type Alias esp32s3::spi1::user1::W

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

Register USER1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W<'_, USER1_SPEC>

Bits 0:5 - The SPI_CLK cycle length minus 1 of DUMMY phase.

source

pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W<'_, USER1_SPEC>

Bits 26:31 - The length in bits of ADDR phase. The register value shall be (bit_num-1).

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