Type Alias esp32c3::i2s0::tx_clkm_div_conf::W

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

Register TX_CLKM_DIV_CONF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn tx_clkm_div_z(&mut self) -> TX_CLKM_DIV_Z_W<'_, TX_CLKM_DIV_CONF_SPEC>

Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b).

source

pub fn tx_clkm_div_y(&mut self) -> TX_CLKM_DIV_Y_W<'_, TX_CLKM_DIV_CONF_SPEC>

Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b)).

source

pub fn tx_clkm_div_x(&mut self) -> TX_CLKM_DIV_X_W<'_, TX_CLKM_DIV_CONF_SPEC>

Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1.

source

pub fn tx_clkm_div_yn1( &mut self ) -> TX_CLKM_DIV_YN1_W<'_, TX_CLKM_DIV_CONF_SPEC>

Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1.