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
Cluster RXD EasyDMA channel
Shortcuts between local events and tasks
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>
SHORTS (rw) register accessor: an alias for Reg<SHORTS_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>