[][src]Struct imxrt1062_spdif::W

pub struct W<U, REG> { /* fields omitted */ }

Register writer

Used as an argument to the closures in the write and modify methods of the register

Methods

impl<U, REG> W<U, REG>[src]

pub unsafe fn bits(&mut self, bits: U) -> &mut Self[src]

Writes raw bits to the register

impl W<u32, Reg<u32, _SCR>>[src]

pub fn usrc_sel(&mut self) -> USRC_SEL_W[src]

Bits 0:1 - no description available

pub fn tx_sel(&mut self) -> TXSEL_W[src]

Bits 2:4 - no description available

pub fn val_ctrl(&mut self) -> VALCTRL_W[src]

Bit 5 - no description available

pub fn dma_tx_en(&mut self) -> DMA_TX_EN_W[src]

Bit 8 - DMA Transmit Request Enable (Tx FIFO empty)

pub fn dma_rx_en(&mut self) -> DMA_RX_EN_W[src]

Bit 9 - DMA Receive Request Enable (RX FIFO full)

pub fn tx_fifo_ctrl(&mut self) -> TXFIFO_CTRL_W[src]

Bits 10:11 - no description available

pub fn soft_reset(&mut self) -> SOFT_RESET_W[src]

Bit 12 - When write 1 to this bit, it will cause SPDIF software reset

pub fn low_power(&mut self) -> LOW_POWER_W[src]

Bit 13 - When write 1 to this bit, it will cause SPDIF enter low-power mode

pub fn tx_fifoempty_sel(&mut self) -> TXFIFOEMPTY_SEL_W[src]

Bits 15:16 - no description available

pub fn tx_auto_sync(&mut self) -> TXAUTOSYNC_W[src]

Bit 17 - no description available

pub fn rx_auto_sync(&mut self) -> RXAUTOSYNC_W[src]

Bit 18 - no description available

pub fn rx_fifofull_sel(&mut self) -> RXFIFOFULL_SEL_W[src]

Bits 19:20 - no description available

pub fn rx_fifo_rst(&mut self) -> RXFIFO_RST_W[src]

Bit 21 - no description available

pub fn rx_fifo_off_on(&mut self) -> RXFIFO_OFF_ON_W[src]

Bit 22 - no description available

pub fn rx_fifo_ctrl(&mut self) -> RXFIFO_CTRL_W[src]

Bit 23 - no description available

impl W<u32, Reg<u32, _SRCD>>[src]

pub fn usync_mode(&mut self) -> USYNCMODE_W[src]

Bit 1 - no description available

impl W<u32, Reg<u32, _SRPC>>[src]

pub fn gain_sel(&mut self) -> GAINSEL_W[src]

Bits 3:5 - Gain selection:

pub fn clk_src_sel(&mut self) -> CLKSRC_SEL_W[src]

Bits 7:10 - Clock source selection, all other settings not shown are reserved:

impl W<u32, Reg<u32, _SIE>>[src]

pub fn rx_fifoful(&mut self) -> RXFIFOFUL_W[src]

Bit 0 - SPDIF Rx FIFO full, can't be cleared with reg. IntClear. To clear it, read from Rx FIFO.

pub fn tx_em(&mut self) -> TXEM_W[src]

Bit 1 - SPDIF Tx FIFO empty, can't be cleared with reg. IntClear. To clear it, write toTx FIFO.

pub fn lock_loss(&mut self) -> LOCKLOSS_W[src]

Bit 2 - SPDIF receiver loss of lock

pub fn rx_fiforesyn(&mut self) -> RXFIFORESYN_W[src]

Bit 3 - Rx FIFO resync

pub fn rx_fifoun_ov(&mut self) -> RXFIFOUNOV_W[src]

Bit 4 - Rx FIFO underrun/overrun

pub fn uqerr(&mut self) -> UQERR_W[src]

Bit 5 - U/Q Channel framing error

pub fn uqsync(&mut self) -> UQSYNC_W[src]

Bit 6 - U/Q Channel sync found

pub fn qrx_ov(&mut self) -> QRXOV_W[src]

Bit 7 - Q Channel receive register overrun

pub fn qrx_ful(&mut self) -> QRXFUL_W[src]

Bit 8 - Q Channel receive register full, can't be cleared with reg

pub fn urx_ov(&mut self) -> URXOV_W[src]

Bit 9 - U Channel receive register overrun

pub fn urx_ful(&mut self) -> URXFUL_W[src]

Bit 10 - U Channel receive register full, can't be cleared with reg

pub fn bit_err(&mut self) -> BITERR_W[src]

Bit 14 - SPDIF receiver found parity bit error

pub fn sym_err(&mut self) -> SYMERR_W[src]

Bit 15 - SPDIF receiver found illegal symbol

pub fn val_no_good(&mut self) -> VALNOGOOD_W[src]

Bit 16 - SPDIF validity flag no good

pub fn cnew(&mut self) -> CNEW_W[src]

Bit 17 - SPDIF receive change in value of control channel

pub fn tx_resyn(&mut self) -> TXRESYN_W[src]

Bit 18 - SPDIF Tx FIFO resync

pub fn tx_un_ov(&mut self) -> TXUNOV_W[src]

Bit 19 - SPDIF Tx FIFO under/overrun

pub fn lock(&mut self) -> LOCK_W[src]

Bit 20 - SPDIF receiver's DPLL is locked

impl W<u32, Reg<u32, _SIC>>[src]

pub fn lock_loss(&mut self) -> LOCKLOSS_W[src]

Bit 2 - SPDIF receiver loss of lock

pub fn rx_fiforesyn(&mut self) -> RXFIFORESYN_W[src]

Bit 3 - Rx FIFO resync

pub fn rx_fifoun_ov(&mut self) -> RXFIFOUNOV_W[src]

Bit 4 - Rx FIFO underrun/overrun

pub fn uqerr(&mut self) -> UQERR_W[src]

Bit 5 - U/Q Channel framing error

pub fn uqsync(&mut self) -> UQSYNC_W[src]

Bit 6 - U/Q Channel sync found

pub fn qrx_ov(&mut self) -> QRXOV_W[src]

Bit 7 - Q Channel receive register overrun

pub fn urx_ov(&mut self) -> URXOV_W[src]

Bit 9 - U Channel receive register overrun

pub fn bit_err(&mut self) -> BITERR_W[src]

Bit 14 - SPDIF receiver found parity bit error

pub fn sym_err(&mut self) -> SYMERR_W[src]

Bit 15 - SPDIF receiver found illegal symbol

pub fn val_no_good(&mut self) -> VALNOGOOD_W[src]

Bit 16 - SPDIF validity flag no good

pub fn cnew(&mut self) -> CNEW_W[src]

Bit 17 - SPDIF receive change in value of control channel

pub fn tx_resyn(&mut self) -> TXRESYN_W[src]

Bit 18 - SPDIF Tx FIFO resync

pub fn tx_un_ov(&mut self) -> TXUNOV_W[src]

Bit 19 - SPDIF Tx FIFO under/overrun

pub fn lock(&mut self) -> LOCK_W[src]

Bit 20 - SPDIF receiver's DPLL is locked

impl W<u32, Reg<u32, _STL>>[src]

pub fn tx_data_left(&mut self) -> TXDATALEFT_W[src]

Bits 0:23 - SPDIF transmit left channel data. It is write-only, and always returns zeros when read

impl W<u32, Reg<u32, _STR>>[src]

pub fn tx_data_right(&mut self) -> TXDATARIGHT_W[src]

Bits 0:23 - SPDIF transmit right channel data. It is write-only, and always returns zeros when read

impl W<u32, Reg<u32, _STCSCH>>[src]

pub fn tx_cchannel_cons_h(&mut self) -> TXCCHANNELCONS_H_W[src]

Bits 0:23 - SPDIF transmit Cons

impl W<u32, Reg<u32, _STCSCL>>[src]

pub fn tx_cchannel_cons_l(&mut self) -> TXCCHANNELCONS_L_W[src]

Bits 0:23 - SPDIF transmit Cons

impl W<u32, Reg<u32, _STC>>[src]

pub fn tx_clk_df(&mut self) -> TXCLK_DF_W[src]

Bits 0:6 - Divider factor (1-128)

pub fn tx_all_clk_en(&mut self) -> TX_ALL_CLK_EN_W[src]

Bit 7 - Spdif transfer clock enable. When data is going to be transfered, this bit should be set to1.

pub fn tx_clk_source(&mut self) -> TXCLK_SOURCE_W[src]

Bits 8:10 - no description available

pub fn sysclk_df(&mut self) -> SYSCLK_DF_W[src]

Bits 11:19 - system clock divider factor, 2~512.

Auto Trait Implementations

impl<U, REG> Send for W<U, REG> where
    REG: Send,
    U: Send

impl<U, REG> Sync for W<U, REG> where
    REG: Sync,
    U: Sync

impl<U, REG> Unpin for W<U, REG> where
    REG: Unpin,
    U: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.