Struct lpc55_pac::i2s0::cfg1::DATAPAUSE_W [−][src]
pub struct DATAPAUSE_W<'a> { /* fields omitted */ }
Field DATAPAUSE
writer - Data flow Pause. Allows pausing data flow between the I2S serializer/deserializer and the FIFO. This could be done in order to change streams, or while restarting after a data underflow or overflow. When paused, FIFO operations can be done without corrupting data that is in the process of being sent or received. Once a data pause has been requested, the interface may need to complete sending data that was in progress before interrupting the flow of data. Software must check that the pause is actually in effect before taking action. This is done by monitoring the DATAPAUSED flag in the STAT register. When DATAPAUSE is cleared, data transfer will resume at the beginning of the next frame.
Implementations
impl<'a> DATAPAUSE_W<'a>
[src]
impl<'a> DATAPAUSE_W<'a>
[src]pub fn variant(self, variant: DATAPAUSE_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn normal(self) -> &'a mut W
[src]
Normal operation, or resuming normal operation at the next frame if the I2S has already been paused.
pub fn pause(self) -> &'a mut W
[src]
A pause in the data flow is being requested. It is in effect when DATAPAUSED in STAT = 1.
pub fn set_bit(self) -> &'a mut W
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W
[src]
Writes raw bits to the field
Auto Trait Implementations
impl<'a> Send for DATAPAUSE_W<'a>
impl<'a> Send for DATAPAUSE_W<'a>
impl<'a> Sync for DATAPAUSE_W<'a>
impl<'a> Sync for DATAPAUSE_W<'a>
impl<'a> Unpin for DATAPAUSE_W<'a>
impl<'a> Unpin for DATAPAUSE_W<'a>