#[repr(transparent)]pub struct Scr(pub u32);Expand description
SPDIF Configuration Register.
Tuple Fields§
§0: u32Implementations§
Source§impl Scr
impl Scr
Sourcepub const fn set_u_src_sel(&mut self, val: USrcSel)
pub const fn set_u_src_sel(&mut self, val: USrcSel)
no description available.
Sourcepub const fn set_tx_sel(&mut self, val: TxSel)
pub const fn set_tx_sel(&mut self, val: TxSel)
no description available.
Sourcepub const fn set_val_ctrl(&mut self, val: ValCtrl)
pub const fn set_val_ctrl(&mut self, val: ValCtrl)
no description available.
Sourcepub const fn set_dma_tx_en(&mut self, val: bool)
pub const fn set_dma_tx_en(&mut self, val: bool)
DMA Transmit Request Enable (Tx FIFO empty).
Sourcepub const fn set_dma_rx_en(&mut self, val: bool)
pub const fn set_dma_rx_en(&mut self, val: bool)
DMA Receive Request Enable (RX FIFO full).
Sourcepub const fn tx_fifo_ctrl(&self) -> TxFifoCtrl
pub const fn tx_fifo_ctrl(&self) -> TxFifoCtrl
no description available.
Sourcepub const fn set_tx_fifo_ctrl(&mut self, val: TxFifoCtrl)
pub const fn set_tx_fifo_ctrl(&mut self, val: TxFifoCtrl)
no description available.
Sourcepub const fn soft_reset(&self) -> bool
pub const fn soft_reset(&self) -> bool
When write 1 to this bit, it will cause SPDIF software reset.
Sourcepub const fn set_soft_reset(&mut self, val: bool)
pub const fn set_soft_reset(&mut self, val: bool)
When write 1 to this bit, it will cause SPDIF software reset.
Sourcepub const fn low_power(&self) -> bool
pub const fn low_power(&self) -> bool
When write 1 to this bit, it will cause SPDIF enter low-power mode.
Sourcepub const fn set_low_power(&mut self, val: bool)
pub const fn set_low_power(&mut self, val: bool)
When write 1 to this bit, it will cause SPDIF enter low-power mode.
Sourcepub const fn tx_fifo_empty_sel(&self) -> TxFifoEmptySel
pub const fn tx_fifo_empty_sel(&self) -> TxFifoEmptySel
no description available.
Sourcepub const fn set_tx_fifo_empty_sel(&mut self, val: TxFifoEmptySel)
pub const fn set_tx_fifo_empty_sel(&mut self, val: TxFifoEmptySel)
no description available.
Sourcepub const fn tx_auto_sync(&self) -> TxAutoSync
pub const fn tx_auto_sync(&self) -> TxAutoSync
no description available.
Sourcepub const fn set_tx_auto_sync(&mut self, val: TxAutoSync)
pub const fn set_tx_auto_sync(&mut self, val: TxAutoSync)
no description available.
Sourcepub const fn rx_auto_sync(&self) -> RxAutoSync
pub const fn rx_auto_sync(&self) -> RxAutoSync
no description available.
Sourcepub const fn set_rx_auto_sync(&mut self, val: RxAutoSync)
pub const fn set_rx_auto_sync(&mut self, val: RxAutoSync)
no description available.
Sourcepub const fn rx_fifo_full_sel(&self) -> RxFifoFullSel
pub const fn rx_fifo_full_sel(&self) -> RxFifoFullSel
no description available.
Sourcepub const fn set_rx_fifo_full_sel(&mut self, val: RxFifoFullSel)
pub const fn set_rx_fifo_full_sel(&mut self, val: RxFifoFullSel)
no description available.
Sourcepub const fn rx_fifo_rst(&self) -> RxFifoRst
pub const fn rx_fifo_rst(&self) -> RxFifoRst
no description available.
Sourcepub const fn set_rx_fifo_rst(&mut self, val: RxFifoRst)
pub const fn set_rx_fifo_rst(&mut self, val: RxFifoRst)
no description available.
Sourcepub const fn rx_fifo_off_on(&self) -> RxFifoOffOn
pub const fn rx_fifo_off_on(&self) -> RxFifoOffOn
no description available.
Sourcepub const fn set_rx_fifo_off_on(&mut self, val: RxFifoOffOn)
pub const fn set_rx_fifo_off_on(&mut self, val: RxFifoOffOn)
no description available.
Sourcepub const fn rx_fifo_ctrl(&self) -> RxFifoCtrl
pub const fn rx_fifo_ctrl(&self) -> RxFifoCtrl
no description available.
Sourcepub const fn set_rx_fifo_ctrl(&mut self, val: RxFifoCtrl)
pub const fn set_rx_fifo_ctrl(&mut self, val: RxFifoCtrl)
no description available.