Module nrf52840::twim0[][src]

I2C compatible Two-Wire Master Interface with EasyDMA 0

Modules

address

Address used in the TWI transfer

enable

Enable TWIM

errorsrc

Error source

events_error

TWI error

events_lastrx

Byte boundary, starting to receive the last byte

events_lasttx

Byte boundary, starting to transmit the last byte

events_rxstarted

Receive sequence started

events_stopped

TWI stopped

events_suspended

Last byte has been sent out after the SUSPEND task has been issued, TWI traffic is now suspended.

events_txstarted

Transmit sequence started

frequency

TWI frequency. Accuracy depends on the HFCLK source selected.

inten

Enable or disable interrupt

intenclr

Disable interrupt

intenset

Enable interrupt

psel

Register block Unspecified

rxd

Register block RXD EasyDMA channel

shorts

Shortcut register

tasks_resume

Resume TWI transaction

tasks_startrx

Start TWI receive sequence

tasks_starttx

Start TWI transmit sequence

tasks_stop

Stop TWI transaction. Must be issued while the TWI master is not suspended.

tasks_suspend

Suspend TWI transaction

txd

Register block TXD EasyDMA channel

Structs

ADDRESS

Address used in the TWI transfer

ENABLE

Enable TWIM

ERRORSRC

Error source

EVENTS_ERROR

TWI error

EVENTS_LASTRX

Byte boundary, starting to receive the last byte

EVENTS_LASTTX

Byte boundary, starting to transmit the last byte

EVENTS_RXSTARTED

Receive sequence started

EVENTS_STOPPED

TWI stopped

EVENTS_SUSPENDED

Last byte has been sent out after the SUSPEND task has been issued, TWI traffic is now suspended.

EVENTS_TXSTARTED

Transmit sequence started

FREQUENCY

TWI frequency. Accuracy depends on the HFCLK source selected.

INTEN

Enable or disable interrupt

INTENCLR

Disable interrupt

INTENSET

Enable interrupt

PSEL

Register block

RXD

Register block

RegisterBlock

Register block

SHORTS

Shortcut register

TASKS_RESUME

Resume TWI transaction

TASKS_STARTRX

Start TWI receive sequence

TASKS_STARTTX

Start TWI transmit sequence

TASKS_STOP

Stop TWI transaction. Must be issued while the TWI master is not suspended.

TASKS_SUSPEND

Suspend TWI transaction

TXD

Register block