Struct esp32s3::i2s1::i2s_tx_clkm_div_conf::R
source · pub struct R(_);Expand description
Register I2S_TX_CLKM_DIV_CONF reader
Implementations
sourceimpl R
impl R
sourcepub fn i2s_tx_clkm_div_z(&self) -> I2S_TX_CLKM_DIV_Z_R
pub fn i2s_tx_clkm_div_z(&self) -> I2S_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).
sourcepub fn i2s_tx_clkm_div_y(&self) -> I2S_TX_CLKM_DIV_Y_R
pub fn i2s_tx_clkm_div_y(&self) -> I2S_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)).
sourcepub fn i2s_tx_clkm_div_x(&self) -> I2S_TX_CLKM_DIV_X_R
pub fn i2s_tx_clkm_div_x(&self) -> I2S_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.
sourcepub fn i2s_tx_clkm_div_yn1(&self) -> I2S_TX_CLKM_DIV_YN1_R
pub fn i2s_tx_clkm_div_yn1(&self) -> I2S_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.
Methods from Deref<Target = R<I2S_TX_CLKM_DIV_CONF_SPEC>>
Trait Implementations
sourceimpl From<R<I2S_TX_CLKM_DIV_CONF_SPEC>> for R
impl From<R<I2S_TX_CLKM_DIV_CONF_SPEC>> for R
sourcefn from(reader: R<I2S_TX_CLKM_DIV_CONF_SPEC>) -> Self
fn from(reader: R<I2S_TX_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