Module uarte0

Source
Expand description

UART with EasyDMA 0

Re-exports§

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

Modules§

baudrate
Baud rate. Accuracy depends on the HFCLK source selected.
config
Configuration of parity and hardware flow control
enable
Enable UART
errorsrc
Error source Note : this register is read / write one to clear.
events_cts
CTS is activated (set low). Clear To Send.
events_endrx
Receive buffer is filled up
events_endtx
Last TX byte transmitted
events_error
Error detected
events_ncts
CTS is deactivated (set high). Not Clear To Send.
events_rxdrdy
Data received in RXD (but potentially not yet transferred to Data RAM)
events_rxstarted
UART receiver has started
events_rxto
Receiver timeout
events_txdrdy
Data sent from TXD
events_txstarted
UART transmitter has started
events_txstopped
Transmitter stopped
inten
Enable or disable interrupt
intenclr
Disable interrupt
intenset
Enable interrupt
psel
Cluster Unspecified
rxd
Cluster RXD EasyDMA channel
shorts
Shortcut register
tasks_flushrx
Flush RX FIFO into RX buffer
tasks_startrx
Start UART receiver
tasks_starttx
Start UART transmitter
tasks_stoprx
Stop UART receiver
tasks_stoptx
Stop UART transmitter
txd
Cluster TXD EasyDMA channel

Structs§

RegisterBlock
Register block

Type Aliases§

BAUDRATE
BAUDRATE (rw) register accessor: an alias for Reg<BAUDRATE_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_CTS
EVENTS_CTS (rw) register accessor: an alias for Reg<EVENTS_CTS_SPEC>
EVENTS_ENDRX
EVENTS_ENDRX (rw) register accessor: an alias for Reg<EVENTS_ENDRX_SPEC>
EVENTS_ENDTX
EVENTS_ENDTX (rw) register accessor: an alias for Reg<EVENTS_ENDTX_SPEC>
EVENTS_ERROR
EVENTS_ERROR (rw) register accessor: an alias for Reg<EVENTS_ERROR_SPEC>
EVENTS_NCTS
EVENTS_NCTS (rw) register accessor: an alias for Reg<EVENTS_NCTS_SPEC>
EVENTS_RXDRDY
EVENTS_RXDRDY (rw) register accessor: an alias for Reg<EVENTS_RXDRDY_SPEC>
EVENTS_RXSTARTED
EVENTS_RXSTARTED (rw) register accessor: an alias for Reg<EVENTS_RXSTARTED_SPEC>
EVENTS_RXTO
EVENTS_RXTO (rw) register accessor: an alias for Reg<EVENTS_RXTO_SPEC>
EVENTS_TXDRDY
EVENTS_TXDRDY (rw) register accessor: an alias for Reg<EVENTS_TXDRDY_SPEC>
EVENTS_TXSTARTED
EVENTS_TXSTARTED (rw) register accessor: an alias for Reg<EVENTS_TXSTARTED_SPEC>
EVENTS_TXSTOPPED
EVENTS_TXSTOPPED (rw) register accessor: an alias for Reg<EVENTS_TXSTOPPED_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_FLUSHRX
TASKS_FLUSHRX (w) register accessor: an alias for Reg<TASKS_FLUSHRX_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_STOPRX
TASKS_STOPRX (w) register accessor: an alias for Reg<TASKS_STOPRX_SPEC>
TASKS_STOPTX
TASKS_STOPTX (w) register accessor: an alias for Reg<TASKS_STOPTX_SPEC>