Expand description

I2C compatible Two-Wire Slave Interface with EasyDMA

Re-exports

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

Modules

Description collection: TWI slave address n
Configuration register for the address match mechanism
Enable TWIS
Error source
TWI error
Read command received
Receive sequence started
TWI stopped
Transmit sequence started
Write command received
Enable or disable interrupt
Disable interrupt
Enable interrupt
Status register indicating which address had a match
Over-read character. Character sent out in case of an over-read of the transmit buffer.
Cluster Unspecified
Publish configuration for event ERROR
Publish configuration for event READ
Publish configuration for event RXSTARTED
Publish configuration for event STOPPED
Publish configuration for event TXSTARTED
Publish configuration for event WRITE
Cluster RXD EasyDMA channel
Shortcuts between local events and tasks
Subscribe configuration for task PREPARERX
Subscribe configuration for task PREPARETX
Subscribe configuration for task RESUME
Subscribe configuration for task STOP
Subscribe configuration for task SUSPEND
Prepare the TWI slave to respond to a write command
Prepare the TWI slave to respond to a read command
Resume TWI transaction
Stop TWI transaction
Suspend TWI transaction
Cluster TXD EasyDMA channel

Structs

Register block

Type Definitions

ADDRESS (rw) register accessor: an alias for Reg<ADDRESS_SPEC>
CONFIG (rw) register accessor: an alias for Reg<CONFIG_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_READ (rw) register accessor: an alias for Reg<EVENTS_READ_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_TXSTARTED (rw) register accessor: an alias for Reg<EVENTS_TXSTARTED_SPEC>
EVENTS_WRITE (rw) register accessor: an alias for Reg<EVENTS_WRITE_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>
MATCH (r) register accessor: an alias for Reg<MATCH_SPEC>
ORC (rw) register accessor: an alias for Reg<ORC_SPEC>
PUBLISH_ERROR (rw) register accessor: an alias for Reg<PUBLISH_ERROR_SPEC>
PUBLISH_READ (rw) register accessor: an alias for Reg<PUBLISH_READ_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_TXSTARTED (rw) register accessor: an alias for Reg<PUBLISH_TXSTARTED_SPEC>
PUBLISH_WRITE (rw) register accessor: an alias for Reg<PUBLISH_WRITE_SPEC>
SHORTS (rw) register accessor: an alias for Reg<SHORTS_SPEC>
SUBSCRIBE_PREPARERX (rw) register accessor: an alias for Reg<SUBSCRIBE_PREPARERX_SPEC>
SUBSCRIBE_PREPARETX (rw) register accessor: an alias for Reg<SUBSCRIBE_PREPARETX_SPEC>
SUBSCRIBE_RESUME (rw) register accessor: an alias for Reg<SUBSCRIBE_RESUME_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_PREPARERX (w) register accessor: an alias for Reg<TASKS_PREPARERX_SPEC>
TASKS_PREPARETX (w) register accessor: an alias for Reg<TASKS_PREPARETX_SPEC>
TASKS_RESUME (w) register accessor: an alias for Reg<TASKS_RESUME_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>