Struct esp32c3::i2s::rx_clkm_div_conf::W
source · pub struct W(_);Expand description
Register RX_CLKM_DIV_CONF writer
Implementations
sourceimpl W
impl W
sourcepub fn rx_clkm_div_z(&mut self) -> RX_CLKM_DIV_Z_W<'_, 0>
pub fn rx_clkm_div_z(&mut self) -> RX_CLKM_DIV_Z_W<'_, 0>
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<'_, 9>
pub fn rx_clkm_div_y(&mut self) -> RX_CLKM_DIV_Y_W<'_, 9>
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<'_, 18>
pub fn rx_clkm_div_x(&mut self) -> RX_CLKM_DIV_X_W<'_, 18>
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<'_, 27>
pub fn rx_clkm_div_yn1(&mut self) -> RX_CLKM_DIV_YN1_W<'_, 27>
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.
Methods from Deref<Target = W<RX_CLKM_DIV_CONF_SPEC>>
Trait Implementations
sourceimpl From<W<RX_CLKM_DIV_CONF_SPEC>> for W
impl From<W<RX_CLKM_DIV_CONF_SPEC>> for W
sourcefn from(writer: W<RX_CLKM_DIV_CONF_SPEC>) -> Self
fn from(writer: W<RX_CLKM_DIV_CONF_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more