Struct I2s
pub struct I2s { /* private fields */ }
Expand description
Inter-IC Sound 0
Implementations§
§impl I2s
impl I2s
pub const unsafe fn from_ptr(ptr: *mut ()) -> I2s
pub const fn as_ptr(&self) -> *mut ()
pub const fn tasks_start(self) -> Reg<u32, W>
pub const fn tasks_start(self) -> Reg<u32, W>
Starts continuous I2S transfer. Also starts MCK generator when this is enabled.
pub const fn tasks_stop(self) -> Reg<u32, W>
pub const fn tasks_stop(self) -> Reg<u32, W>
Stops I2S transfer. Also stops MCK generator. Triggering this task will cause the STOPPED event to be generated.
pub const fn subscribe_start(self) -> Reg<Subscribe, RW>
pub const fn subscribe_start(self) -> Reg<Subscribe, RW>
Subscribe configuration for task START
pub const fn subscribe_stop(self) -> Reg<Subscribe, RW>
pub const fn subscribe_stop(self) -> Reg<Subscribe, RW>
Subscribe configuration for task STOP
pub const fn events_rxptrupd(self) -> Reg<u32, RW>
pub const fn events_rxptrupd(self) -> Reg<u32, RW>
The RXD.PTR register has been copied to internal double-buffers. When the I2S module is started and RX is enabled, this event will be generated for every RXTXD.MAXCNT words that are received on the SDIN pin.
pub const fn events_stopped(self) -> Reg<u32, RW>
pub const fn events_stopped(self) -> Reg<u32, RW>
I2S transfer stopped.
pub const fn events_txptrupd(self) -> Reg<u32, RW>
pub const fn events_txptrupd(self) -> Reg<u32, RW>
The TDX.PTR register has been copied to internal double-buffers. When the I2S module is started and TX is enabled, this event will be generated for every RXTXD.MAXCNT words that are sent on the SDOUT pin.
pub const fn publish_rxptrupd(self) -> Reg<Publish, RW>
pub const fn publish_rxptrupd(self) -> Reg<Publish, RW>
Publish configuration for event RXPTRUPD
pub const fn publish_stopped(self) -> Reg<Publish, RW>
pub const fn publish_stopped(self) -> Reg<Publish, RW>
Publish configuration for event STOPPED
pub const fn publish_txptrupd(self) -> Reg<Publish, RW>
pub const fn publish_txptrupd(self) -> Reg<Publish, RW>
Publish configuration for event TXPTRUPD