Type Alias esp32s2::spi0::w0::W

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

Register W0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn buf0(&mut self) -> BUF0_W<'_, W0_SPEC>

Bits 0:31 - 32 bits data buffer 0, transferred in the unit of byte. Byte addressable in slave half-duplex mode.

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