#[repr(transparent)]pub struct Sic(pub u32);Expand description
InterruptClear Register.
Tuple Fields§
§0: u32Implementations§
Source§impl Sic
impl Sic
Sourcepub const fn set_lock_loss(&mut self, val: bool)
pub const fn set_lock_loss(&mut self, val: bool)
SPDIF receiver loss of lock.
Sourcepub const fn rx_fifo_resyn(&self) -> bool
pub const fn rx_fifo_resyn(&self) -> bool
Rx FIFO resync.
Sourcepub const fn set_rx_fifo_resyn(&mut self, val: bool)
pub const fn set_rx_fifo_resyn(&mut self, val: bool)
Rx FIFO resync.
Sourcepub const fn rx_fifo_un_ov(&self) -> bool
pub const fn rx_fifo_un_ov(&self) -> bool
Rx FIFO underrun/overrun.
Sourcepub const fn set_rx_fifo_un_ov(&mut self, val: bool)
pub const fn set_rx_fifo_un_ov(&mut self, val: bool)
Rx FIFO underrun/overrun.
Sourcepub const fn set_uq_err(&mut self, val: bool)
pub const fn set_uq_err(&mut self, val: bool)
U/Q Channel framing error.
Sourcepub const fn set_uq_sync(&mut self, val: bool)
pub const fn set_uq_sync(&mut self, val: bool)
U/Q Channel sync found.
Sourcepub const fn set_q_rx_ov(&mut self, val: bool)
pub const fn set_q_rx_ov(&mut self, val: bool)
Q Channel receive register overrun.
Sourcepub const fn set_u_rx_ov(&mut self, val: bool)
pub const fn set_u_rx_ov(&mut self, val: bool)
U Channel receive register overrun.
Sourcepub const fn set_bit_err(&mut self, val: bool)
pub const fn set_bit_err(&mut self, val: bool)
SPDIF receiver found parity bit error.
Sourcepub const fn set_sym_err(&mut self, val: bool)
pub const fn set_sym_err(&mut self, val: bool)
SPDIF receiver found illegal symbol.
Sourcepub const fn val_no_good(&self) -> bool
pub const fn val_no_good(&self) -> bool
SPDIF validity flag no good.
Sourcepub const fn set_val_no_good(&mut self, val: bool)
pub const fn set_val_no_good(&mut self, val: bool)
SPDIF validity flag no good.
Sourcepub const fn set_tx_resyn(&mut self, val: bool)
pub const fn set_tx_resyn(&mut self, val: bool)
SPDIF Tx FIFO resync.
Sourcepub const fn set_tx_un_ov(&mut self, val: bool)
pub const fn set_tx_un_ov(&mut self, val: bool)
SPDIF Tx FIFO under/overrun.
Trait Implementations§
impl Copy for Sic
impl Eq for Sic
impl StructuralPartialEq for Sic
Auto Trait Implementations§
impl Freeze for Sic
impl RefUnwindSafe for Sic
impl Send for Sic
impl Sync for Sic
impl Unpin for Sic
impl UnwindSafe for Sic
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more