Type Alias esp32c6::spi2::addr::W

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

Register ADDR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn usr_addr_value(&mut self) -> USR_ADDR_VALUE_W<'_, ADDR_SPEC>

Bits 0:31 - Address to slave. Can be configured in CONF state.

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