Struct esp32s3_hal::pac::i2s1::rx_clkm_div_conf::R
pub struct R(_);
Expand description
Register RX_CLKM_DIV_CONF
reader
Implementations§
§impl R
impl R
pub fn rx_clkm_div_z(&self) -> FieldReaderRaw<u16, u16>
pub fn rx_clkm_div_z(&self) -> FieldReaderRaw<u16, u16>
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).
pub fn rx_clkm_div_y(&self) -> FieldReaderRaw<u16, u16>
pub fn rx_clkm_div_y(&self) -> FieldReaderRaw<u16, u16>
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)).
pub fn rx_clkm_div_x(&self) -> FieldReaderRaw<u16, u16>
pub fn rx_clkm_div_x(&self) -> FieldReaderRaw<u16, u16>
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.
pub fn rx_clkm_div_yn1(&self) -> BitReaderRaw<bool>
pub fn rx_clkm_div_yn1(&self) -> BitReaderRaw<bool>
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 = R<RX_CLKM_DIV_CONF_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<RX_CLKM_DIV_CONF_SPEC>> for R
impl From<R<RX_CLKM_DIV_CONF_SPEC>> for R
§fn from(reader: R<RX_CLKM_DIV_CONF_SPEC>) -> R
fn from(reader: R<RX_CLKM_DIV_CONF_SPEC>) -> R
Converts to this type from the input type.