Module lpc81x_pac::lpc810::usart0

source ·
Expand description

USARTs

Modules

Baud Rate Generator register. 16-bit integer baud rate divisor value.
USART Configuration register. Basic USART configuration settings that typically are not changed during operation.
USART Control register. USART control settings that are more likely to change during operation.
Interrupt Enable Clear register. Allows clearing any combination of bits in the INTENSET register. Writing a 1 to any implemented bit position causes the corresponding bit to be cleared.
Interrupt Enable read and Set register. Contains an individual interrupt enable bit for each potential USART interrupt. A complete value may be read from this register. Writing a 1 to any implemented bit position causes that bit to be set.
Interrupt status register. Reflects interrupts that are currently enabled.
Receiver Data register. Contains the last character received.
Receiver Data with Status register. Combines the last character received with the current USART receive status. Allows DMA or software to recover incoming data and status together.
USART Status register. The complete status value can be read here. Writing ones clears some bits in the register. Some bits can be cleared by writing a 1 to them.
Transmit Data register. Data to be transmitted is written here.

Structs

Register block

Type Definitions

BRG (rw) register accessor: an alias for Reg<BRG_SPEC>
CFG (rw) register accessor: an alias for Reg<CFG_SPEC>
CTL (rw) register accessor: an alias for Reg<CTL_SPEC>
INTENCLR (w) register accessor: an alias for Reg<INTENCLR_SPEC>
INTENSET (rw) register accessor: an alias for Reg<INTENSET_SPEC>
INTSTAT (rw) register accessor: an alias for Reg<INTSTAT_SPEC>
RXDAT (r) register accessor: an alias for Reg<RXDAT_SPEC>
RXDATSTAT (r) register accessor: an alias for Reg<RXDATSTAT_SPEC>
STAT (rw) register accessor: an alias for Reg<STAT_SPEC>
TXDAT (rw) register accessor: an alias for Reg<TXDAT_SPEC>