Type Alias esp32s2::spi0::cmd::R

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

Register CMD reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn conf_bitlen(&self) -> CONF_BITLEN_R

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

source

pub fn usr(&self) -> USR_R

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.