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
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
Publish configuration for event ERROR
Publish configuration for event LASTRX
Publish configuration for event LASTTX
Publish configuration for event RXSTARTED
Publish configuration for event STOPPED
Publish configuration for event SUSPENDED
Publish configuration for event TXSTARTED
Cluster RXD EasyDMA channel
Shortcuts between local events and tasks
Subscribe configuration for task RESUME
Subscribe configuration for task STARTRX
Subscribe configuration for task STARTTX
Subscribe configuration for task STOP
Subscribe configuration for task SUSPEND
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>
PUBLISH_ERROR (rw) register accessor: an alias for Reg<PUBLISH_ERROR_SPEC>
PUBLISH_LASTRX (rw) register accessor: an alias for Reg<PUBLISH_LASTRX_SPEC>
PUBLISH_LASTTX (rw) register accessor: an alias for Reg<PUBLISH_LASTTX_SPEC>
PUBLISH_RXSTARTED (rw) register accessor: an alias for Reg<PUBLISH_RXSTARTED_SPEC>
PUBLISH_STOPPED (rw) register accessor: an alias for Reg<PUBLISH_STOPPED_SPEC>
PUBLISH_SUSPENDED (rw) register accessor: an alias for Reg<PUBLISH_SUSPENDED_SPEC>
PUBLISH_TXSTARTED (rw) register accessor: an alias for Reg<PUBLISH_TXSTARTED_SPEC>
SHORTS (rw) register accessor: an alias for Reg<SHORTS_SPEC>
SUBSCRIBE_RESUME (rw) register accessor: an alias for Reg<SUBSCRIBE_RESUME_SPEC>
SUBSCRIBE_STARTRX (rw) register accessor: an alias for Reg<SUBSCRIBE_STARTRX_SPEC>
SUBSCRIBE_STARTTX (rw) register accessor: an alias for Reg<SUBSCRIBE_STARTTX_SPEC>
SUBSCRIBE_STOP (rw) register accessor: an alias for Reg<SUBSCRIBE_STOP_SPEC>
SUBSCRIBE_SUSPEND (rw) register accessor: an alias for Reg<SUBSCRIBE_SUSPEND_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>