#[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_usrc_sel(&mut self, val: UsrcSel)
pub const fn set_usrc_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_fifoempty_sel(&self) -> TxFifoemptySel
pub const fn tx_fifoempty_sel(&self) -> TxFifoemptySel
no description available
Sourcepub const fn set_tx_fifoempty_sel(&mut self, val: TxFifoemptySel)
pub const fn set_tx_fifoempty_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_fifofull_sel(&self) -> RxFifofullSel
pub const fn rx_fifofull_sel(&self) -> RxFifofullSel
no description available
Sourcepub const fn set_rx_fifofull_sel(&mut self, val: RxFifofullSel)
pub const fn set_rx_fifofull_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