pub struct W(_);Expand description
Register TX_CLKM_CONF writer
Implementations
sourceimpl W
impl W
sourcepub fn tx_clkm_div_num(&mut self) -> TX_CLKM_DIV_NUM_W<'_, 0>
pub fn tx_clkm_div_num(&mut self) -> TX_CLKM_DIV_NUM_W<'_, 0>
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 tx_clk_active(&mut self) -> TX_CLK_ACTIVE_W<'_, 26>
pub fn tx_clk_active(&mut self) -> TX_CLK_ACTIVE_W<'_, 26>
Bit 26 - I2S Tx module clock enable signal.
sourcepub fn tx_clk_sel(&mut self) -> TX_CLK_SEL_W<'_, 27>
pub fn tx_clk_sel(&mut self) -> TX_CLK_SEL_W<'_, 27>
Bits 27:28 - Select I2S Tx module source clock. 0: XTAL clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in.
Methods from Deref<Target = W<TX_CLKM_CONF_SPEC>>
Trait Implementations
sourceimpl From<W<TX_CLKM_CONF_SPEC>> for W
impl From<W<TX_CLKM_CONF_SPEC>> for W
sourcefn from(writer: W<TX_CLKM_CONF_SPEC>) -> Self
fn from(writer: W<TX_CLKM_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