pub struct R(_);Expand description
Register I2S_TX_CLKM_CONF reader
Implementations
sourceimpl R
impl R
sourcepub fn i2s_tx_clkm_div_num(&self) -> I2S_TX_CLKM_DIV_NUM_R
pub fn i2s_tx_clkm_div_num(&self) -> I2S_TX_CLKM_DIV_NUM_R
Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * [x * n-div + (n+1)-div]
- y * n-div. For b > a/2, z * [n-div + x * (n+1)-div]
- y * (n+1)-div.
sourcepub fn i2s_tx_clk_active(&self) -> I2S_TX_CLK_ACTIVE_R
pub fn i2s_tx_clk_active(&self) -> I2S_TX_CLK_ACTIVE_R
Bit 26 - I2S Tx module clock enable signal.
sourcepub fn i2s_tx_clk_sel(&self) -> I2S_TX_CLK_SEL_R
pub fn i2s_tx_clk_sel(&self) -> I2S_TX_CLK_SEL_R
Bits 27:28 - Select I2S Tx module source clock. 0: XTAL clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in.
sourcepub fn i2s_clk_en(&self) -> I2S_CLK_EN_R
pub fn i2s_clk_en(&self) -> I2S_CLK_EN_R
Bit 29 - Set this bit to enable clk gate
Methods from Deref<Target = R<I2S_TX_CLKM_CONF_SPEC>>
Trait Implementations
sourceimpl From<R<I2S_TX_CLKM_CONF_SPEC>> for R
impl From<R<I2S_TX_CLKM_CONF_SPEC>> for R
sourcefn from(reader: R<I2S_TX_CLKM_CONF_SPEC>) -> Self
fn from(reader: R<I2S_TX_CLKM_CONF_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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