Type Alias esp32c3::spi2::cmd::W

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

Register CMD writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn conf_bitlen(&mut self) -> CONF_BITLEN_W<'_, CMD_SPEC>

Bits 0:17 - Define the APB cycles of SPI_CONF state. Can be configured in CONF state.

source

pub fn update(&mut self) -> UPDATE_W<'_, CMD_SPEC>

Bit 23 - Set this bit to synchronize SPI registers from APB clock domain into SPI module clock domain, which is only used in SPI master mode.

source

pub fn usr(&mut self) -> USR_W<'_, CMD_SPEC>

Bit 24 - User define command enable. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable. Can not be changed by CONF_buf.