Module twis0

Source
Expand description

I2C compatible Two-Wire Slave Interface with EasyDMA 0

Re-exports§

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

Modules§

address
Description collection[n]: TWI slave address n
config
Configuration register for the address match mechanism
enable
Enable TWIS
errorsrc
Error source
events_error
TWI error
events_read
Read command received
events_rxstarted
Receive sequence started
events_stopped
TWI stopped
events_txstarted
Transmit sequence started
events_write
Write command received
inten
Enable or disable interrupt
intenclr
Disable interrupt
intenset
Enable interrupt
match_
Status register indicating which address had a match
orc
Over-read character. Character sent out in case of an over-read of the transmit buffer.
psel
Cluster Unspecified
rxd
Cluster RXD EasyDMA channel
shorts
Shortcut register
tasks_preparerx
Prepare the TWI slave to respond to a write command
tasks_preparetx
Prepare the TWI slave to respond to a read command
tasks_resume
Resume TWI transaction
tasks_stop
Stop TWI transaction
tasks_suspend
Suspend TWI transaction
txd
Cluster TXD EasyDMA channel

Structs§

RegisterBlock
Register block

Type Aliases§

ADDRESS
ADDRESS (rw) register accessor: an alias for Reg<ADDRESS_SPEC>
CONFIG
CONFIG (rw) register accessor: an alias for Reg<CONFIG_SPEC>
ENABLE
ENABLE (rw) register accessor: an alias for Reg<ENABLE_SPEC>
ERRORSRC
ERRORSRC (rw) register accessor: an alias for Reg<ERRORSRC_SPEC>
EVENTS_ERROR
EVENTS_ERROR (rw) register accessor: an alias for Reg<EVENTS_ERROR_SPEC>
EVENTS_READ
EVENTS_READ (rw) register accessor: an alias for Reg<EVENTS_READ_SPEC>
EVENTS_RXSTARTED
EVENTS_RXSTARTED (rw) register accessor: an alias for Reg<EVENTS_RXSTARTED_SPEC>
EVENTS_STOPPED
EVENTS_STOPPED (rw) register accessor: an alias for Reg<EVENTS_STOPPED_SPEC>
EVENTS_TXSTARTED
EVENTS_TXSTARTED (rw) register accessor: an alias for Reg<EVENTS_TXSTARTED_SPEC>
EVENTS_WRITE
EVENTS_WRITE (rw) register accessor: an alias for Reg<EVENTS_WRITE_SPEC>
INTEN
INTEN (rw) register accessor: an alias for Reg<INTEN_SPEC>
INTENCLR
INTENCLR (rw) register accessor: an alias for Reg<INTENCLR_SPEC>
INTENSET
INTENSET (rw) register accessor: an alias for Reg<INTENSET_SPEC>
MATCH
MATCH (r) register accessor: an alias for Reg<MATCH_SPEC>
ORC
ORC (rw) register accessor: an alias for Reg<ORC_SPEC>
SHORTS
SHORTS (rw) register accessor: an alias for Reg<SHORTS_SPEC>
TASKS_PREPARERX
TASKS_PREPARERX (w) register accessor: an alias for Reg<TASKS_PREPARERX_SPEC>
TASKS_PREPARETX
TASKS_PREPARETX (w) register accessor: an alias for Reg<TASKS_PREPARETX_SPEC>
TASKS_RESUME
TASKS_RESUME (w) register accessor: an alias for Reg<TASKS_RESUME_SPEC>
TASKS_STOP
TASKS_STOP (w) register accessor: an alias for Reg<TASKS_STOP_SPEC>
TASKS_SUSPEND
TASKS_SUSPEND (w) register accessor: an alias for Reg<TASKS_SUSPEND_SPEC>