pub struct W(_);
Expand description
Register TX_CONF1
writer
Implementations
sourceimpl W
impl W
sourcepub fn tx_tdm_ws_width(&mut self) -> TX_TDM_WS_WIDTH_W<'_>
pub fn tx_tdm_ws_width(&mut self) -> TX_TDM_WS_WIDTH_W<'_>
Bits 0:6 - The width of tx_ws_out in TDM mode is (I2S_TX_TDM_WS_WIDTH[6:0] +1) * T_bck
sourcepub fn tx_bck_div_num(&mut self) -> TX_BCK_DIV_NUM_W<'_>
pub fn tx_bck_div_num(&mut self) -> TX_BCK_DIV_NUM_W<'_>
Bits 7:12 - Bit clock configuration bits in transmitter mode.
sourcepub fn tx_bits_mod(&mut self) -> TX_BITS_MOD_W<'_>
pub fn tx_bits_mod(&mut self) -> TX_BITS_MOD_W<'_>
Bits 13:17 - Set the bits to configure the valid data bit length of I2S transmitter channel. 7: all the valid channel data is in 8-bit-mode. 15: all the valid channel data is in 16-bit-mode. 23: all the valid channel data is in 24-bit-mode. 31:all the valid channel data is in 32-bit-mode.
sourcepub fn tx_half_sample_bits(&mut self) -> TX_HALF_SAMPLE_BITS_W<'_>
pub fn tx_half_sample_bits(&mut self) -> TX_HALF_SAMPLE_BITS_W<'_>
Bits 18:23 - I2S Tx half sample bits -1.
sourcepub fn tx_tdm_chan_bits(&mut self) -> TX_TDM_CHAN_BITS_W<'_>
pub fn tx_tdm_chan_bits(&mut self) -> TX_TDM_CHAN_BITS_W<'_>
Bits 24:28 - The Tx bit number for each channel minus 1in TDM mode.
sourcepub fn tx_msb_shift(&mut self) -> TX_MSB_SHIFT_W<'_>
pub fn tx_msb_shift(&mut self) -> TX_MSB_SHIFT_W<'_>
Bit 29 - Set this bit to enable transmitter in Phillips standard mode
sourcepub fn tx_bck_no_dly(&mut self) -> TX_BCK_NO_DLY_W<'_>
pub fn tx_bck_no_dly(&mut self) -> TX_BCK_NO_DLY_W<'_>
Bit 30 - 1: BCK is not delayed to generate pos/neg edge in master mode. 0: BCK is delayed to generate pos/neg edge in master mode.
Methods from Deref<Target = W<TX_CONF1_SPEC>>
Trait Implementations
sourceimpl From<W<TX_CONF1_SPEC>> for W
impl From<W<TX_CONF1_SPEC>> for W
sourcefn from(writer: W<TX_CONF1_SPEC>) -> Self
fn from(writer: W<TX_CONF1_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