Module nrf52::i2s [] [src]

Inter-IC Sound

Modules

enable

Enable I2S module.

events_rxptrupd

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.

events_stopped

I2S transfer stopped.

events_txptrupd

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.

inten

Enable or disable interrupt

intenclr

Disable interrupt

intenset

Enable interrupt

tasks_start

Starts continuous I2S transfer. Also starts MCK generator when this is enabled.

tasks_stop

Stops I2S transfer. Also stops MCK generator. Triggering this task will cause the {event:STOPPED} event to be generated.

Structs

ENABLE

Enable I2S module.

EVENTS_RXPTRUPD

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.

EVENTS_STOPPED

I2S transfer stopped.

EVENTS_TXPTRUPD

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.

INTEN

Enable or disable interrupt

INTENCLR

Disable interrupt

INTENSET

Enable interrupt

RegisterBlock

Register block

TASKS_START

Starts continuous I2S transfer. Also starts MCK generator when this is enabled.

TASKS_STOP

Stops I2S transfer. Also stops MCK generator. Triggering this task will cause the {event:STOPPED} event to be generated.