Type Alias esp32c3::i2s0::tx_clkm_div_conf::R

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

Register TX_CLKM_DIV_CONF reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn tx_clkm_div_z(&self) -> TX_CLKM_DIV_Z_R

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(&self) -> TX_CLKM_DIV_Y_R

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(&self) -> TX_CLKM_DIV_X_R

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(&self) -> TX_CLKM_DIV_YN1_R

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.