Expand description

I2C compatible Two-Wire Master Interface with EasyDMA

Re-exports

pub use psel::PSEL;
pub use rxd::RXD;
pub use txd::TXD;

Modules

Address used in the TWI transfer
Enable TWIM
Error source
TWI error
Byte boundary, starting to receive the last byte
Byte boundary, starting to transmit the last byte
Receive sequence started
TWI stopped
Last byte has been sent out after the SUSPEND task has been issued, TWI traffic is now suspended.
Transmit sequence started
TWI frequency. Accuracy depends on the HFCLK source selected.
Enable or disable interrupt
Disable interrupt
Enable interrupt
Cluster Unspecified
Cluster RXD EasyDMA channel
Shortcuts between local events and tasks
Resume TWI transaction
Start TWI receive sequence
Start TWI transmit sequence
Stop TWI transaction. Must be issued while the TWI master is not suspended.
Suspend TWI transaction
Cluster TXD EasyDMA channel

Structs

Register block

Type Definitions

ADDRESS (rw) register accessor: an alias for Reg<ADDRESS_SPEC>
ENABLE (rw) register accessor: an alias for Reg<ENABLE_SPEC>
ERRORSRC (rw) register accessor: an alias for Reg<ERRORSRC_SPEC>
EVENTS_ERROR (rw) register accessor: an alias for Reg<EVENTS_ERROR_SPEC>
EVENTS_LASTRX (rw) register accessor: an alias for Reg<EVENTS_LASTRX_SPEC>
EVENTS_LASTTX (rw) register accessor: an alias for Reg<EVENTS_LASTTX_SPEC>
EVENTS_RXSTARTED (rw) register accessor: an alias for Reg<EVENTS_RXSTARTED_SPEC>
EVENTS_STOPPED (rw) register accessor: an alias for Reg<EVENTS_STOPPED_SPEC>
EVENTS_SUSPENDED (rw) register accessor: an alias for Reg<EVENTS_SUSPENDED_SPEC>
EVENTS_TXSTARTED (rw) register accessor: an alias for Reg<EVENTS_TXSTARTED_SPEC>
FREQUENCY (rw) register accessor: an alias for Reg<FREQUENCY_SPEC>
INTEN (rw) register accessor: an alias for Reg<INTEN_SPEC>
INTENCLR (rw) register accessor: an alias for Reg<INTENCLR_SPEC>
INTENSET (rw) register accessor: an alias for Reg<INTENSET_SPEC>
SHORTS (rw) register accessor: an alias for Reg<SHORTS_SPEC>
TASKS_RESUME (w) register accessor: an alias for Reg<TASKS_RESUME_SPEC>
TASKS_STARTRX (w) register accessor: an alias for Reg<TASKS_STARTRX_SPEC>
TASKS_STARTTX (w) register accessor: an alias for Reg<TASKS_STARTTX_SPEC>
TASKS_STOP (w) register accessor: an alias for Reg<TASKS_STOP_SPEC>
TASKS_SUSPEND (w) register accessor: an alias for Reg<TASKS_SUSPEND_SPEC>