Module twim0

Source
Expand description

I2C compatible Two-Wire Master Interface with EasyDMA 0

Re-exports§

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

Modules§

address
Address used in the TWI transfer
enable
Enable TWIM
errorsrc
Error source
events_error
TWI error
events_lastrx
Byte boundary, starting to receive the last byte
events_lasttx
Byte boundary, starting to transmit the last byte
events_rxstarted
Receive sequence started
events_stopped
TWI stopped
events_suspended
Last byte has been sent out after the SUSPEND task has been issued, TWI traffic is now suspended.
events_txstarted
Transmit sequence started
frequency
TWI frequency. Accuracy depends on the HFCLK source selected.
inten
Enable or disable interrupt
intenclr
Disable interrupt
intenset
Enable interrupt
psel
Cluster Unspecified
rxd
Cluster RXD EasyDMA channel
shorts
Shortcut register
tasks_resume
Resume TWI transaction
tasks_startrx
Start TWI receive sequence
tasks_starttx
Start TWI transmit sequence
tasks_stop
Stop TWI transaction. Must be issued while the TWI master is not suspended.
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>
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_LASTRX
EVENTS_LASTRX (rw) register accessor: an alias for Reg<EVENTS_LASTRX_SPEC>
EVENTS_LASTTX
EVENTS_LASTTX (rw) register accessor: an alias for Reg<EVENTS_LASTTX_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_SUSPENDED
EVENTS_SUSPENDED (rw) register accessor: an alias for Reg<EVENTS_SUSPENDED_SPEC>
EVENTS_TXSTARTED
EVENTS_TXSTARTED (rw) register accessor: an alias for Reg<EVENTS_TXSTARTED_SPEC>
FREQUENCY
FREQUENCY (rw) register accessor: an alias for Reg<FREQUENCY_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>
SHORTS
SHORTS (rw) register accessor: an alias for Reg<SHORTS_SPEC>
TASKS_RESUME
TASKS_RESUME (w) register accessor: an alias for Reg<TASKS_RESUME_SPEC>
TASKS_STARTRX
TASKS_STARTRX (w) register accessor: an alias for Reg<TASKS_STARTRX_SPEC>
TASKS_STARTTX
TASKS_STARTTX (w) register accessor: an alias for Reg<TASKS_STARTTX_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>