Type Alias esp32c3::i2s0::rx_clkm_div_conf::W
source · pub type W = W<RX_CLKM_DIV_CONF_SPEC>;
Expand description
Register RX_CLKM_DIV_CONF
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn rx_clkm_div_z(&mut self) -> RX_CLKM_DIV_Z_W<'_, RX_CLKM_DIV_CONF_SPEC>
pub fn rx_clkm_div_z(&mut self) -> RX_CLKM_DIV_Z_W<'_, RX_CLKM_DIV_CONF_SPEC>
Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b).
sourcepub fn rx_clkm_div_y(&mut self) -> RX_CLKM_DIV_Y_W<'_, RX_CLKM_DIV_CONF_SPEC>
pub fn rx_clkm_div_y(&mut self) -> RX_CLKM_DIV_Y_W<'_, RX_CLKM_DIV_CONF_SPEC>
Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b)).
sourcepub fn rx_clkm_div_x(&mut self) -> RX_CLKM_DIV_X_W<'_, RX_CLKM_DIV_CONF_SPEC>
pub fn rx_clkm_div_x(&mut self) -> RX_CLKM_DIV_X_W<'_, RX_CLKM_DIV_CONF_SPEC>
Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1.
sourcepub fn rx_clkm_div_yn1(
&mut self
) -> RX_CLKM_DIV_YN1_W<'_, RX_CLKM_DIV_CONF_SPEC>
pub fn rx_clkm_div_yn1( &mut self ) -> RX_CLKM_DIV_YN1_W<'_, RX_CLKM_DIV_CONF_SPEC>
Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1.