\n

UART1

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0xFFF byte (0x0)
mem_usage : registers
protection : not protected

Registers

RBR

THR

DLL

LSR

SCR

ACR

ICR

FDR

TER

DLM

IER

FIFOLVL

IIR

FCR

LCR


RBR

Receiver Buffer Register. Contains the next received character to be read.
address_offset : 0x0 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

RBR RBR read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RBR RESERVED

RBR : The UART Receiver Buffer Register contains the oldest received byte in the UART RX FIFO.
bits : 0 - 7 (8 bit)

RESERVED : Reserved
bits : 8 - 39 (32 bit)


THR

Transmit Holding Register. The next character to be transmitted is written here.
address_offset : 0x0 Bytes (0x0)
access : write-only
reset_value : 0x0
alternate_register : RBR
reset_Mask : 0x0

THR THR write-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 THR RESERVED

THR : Writing to the UART Transmit Holding Register causes the data to be stored in the UART transmit FIFO. The byte will be sent when it reaches the bottom of the FIFO and the transmitter is available.
bits : 0 - 7 (8 bit)

RESERVED : Reserved
bits : 8 - 39 (32 bit)


DLL

Divisor Latch LSB. Least significant byte of the baud rate divisor value. The full divisor is used to generate a baud rate from the fractional rate divider.
address_offset : 0x0 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
alternate_register : RBR
reset_Mask : 0x0

DLL DLL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DLLSB RESERVED

DLLSB : The UART Divisor Latch LSB Register, along with the DLM register, determines the baud rate of the UART.
bits : 0 - 7 (8 bit)

RESERVED : Reserved
bits : 8 - 39 (32 bit)


LSR

Line Status Register. Contains flags for transmit and receive status, including line errors.
address_offset : 0x14 Bytes (0x0)
size : -1 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

LSR LSR read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RDR OE PE FE BI THRE TEMT RXFE RESERVED

RDR : Receiver Data Ready. LSR[0] is set when the RBR holds an unread character and is cleared when the UART RBR FIFO is empty.
bits : 0 - 0 (1 bit)

Enumeration: test

0 : RBR_IS_EMPTY_

RBR is empty.

1 : RBR_CONTAINS_VALID_D

RBR contains valid data.

End of enumeration elements list.

OE : Overrun Error. The overrun error condition is set as soon as it occurs. An LSR read clears LSR[1]. LSR[1] is set when UART RSR has a new character assembled and the UART RBR FIFO is full. In this case, the UART RBR FIFO will not be overwritten and the character in the UART RSR will be lost.
bits : 1 - 2 (2 bit)

Enumeration: test

0 : INACTIVE

Overrun error status is inactive.

1 : ACTIVE

Overrun error status is active.

End of enumeration elements list.

PE : Parity Error. When the parity bit of a received character is in the wrong state, a parity error occurs. An LSR read clears LSR[2]. Time of parity error detection is dependent on FCR[0]. Note: A parity error is associated with the character at the top of the UART RBR FIFO.
bits : 2 - 4 (3 bit)

Enumeration: test

0 : INACTIVE

Parity error status is inactive.

1 : ACTIVE

Parity error status is active.

End of enumeration elements list.

FE : Framing Error. When the stop bit of a received character is a logic 0, a framing error occurs. An LSR read clears LSR[3]. The time of the framing error detection is dependent on FCR0. Upon detection of a framing error, the RX will attempt to resynchronize to the data and assume that the bad stop bit is actually an early start bit. However, it cannot be assumed that the next received byte will be correct even if there is no Framing Error. Note: A framing error is associated with the character at the top of the UART RBR FIFO.
bits : 3 - 6 (4 bit)

Enumeration: test

0 : INACTIVE

Framing error status is inactive.

1 : ACTIVE

Framing error status is active.

End of enumeration elements list.

BI : Break Interrupt. When RXD1 is held in the spacing state (all zeros) for one full character transmission (start, data, parity, stop), a break interrupt occurs. Once the break condition has been detected, the receiver goes idle until RXD1 goes to marking state (all ones). An LSR read clears this status bit. The time of break detection is dependent on FCR[0]. Note: The break interrupt is associated with the character at the top of the UART RBR FIFO.
bits : 4 - 8 (5 bit)

Enumeration: test

0 : INACTIVE

Break interrupt status is inactive.

1 : ACTIVE

Break interrupt status is active.

End of enumeration elements list.

THRE : Transmitter Holding Register Empty. THRE is set immediately upon detection of an empty UART THR and is cleared on a THR write.
bits : 5 - 10 (6 bit)

Enumeration: test

0 : DATA

THR contains valid data.

1 : THR_IS_EMPTY_

THR is empty.

End of enumeration elements list.

TEMT : Transmitter Empty. TEMT is set when both THR and TSR are empty TEMT is cleared when either the TSR or the THR contain valid data.
bits : 6 - 12 (7 bit)

Enumeration: test

0 : DATA

THR and/or the TSR contains valid data.

1 : EMPTY

THR and the TSR are empty.

End of enumeration elements list.

RXFE : Error in RX FIFO. LSR[7] is set when a character with a RX error such as framing error, parity error or break interrupt, is loaded into the RBR. This bit is cleared when the LSR register is read and there are no subsequent errors in the UART FIFO.
bits : 7 - 14 (8 bit)

Enumeration: test

0 : NO_ERROR

RBR contains no UART RX errors or FCR[0]=0.

1 : ERROR

UART RBR contains at least one UART RX error.

End of enumeration elements list.

RESERVED : Reserved
bits : 8 - 39 (32 bit)


SCR

Scratch Pad Register. Eight-bit temporary storage for software.
address_offset : 0x1C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

SCR SCR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Pad RESERVED

Pad : A readable, writable byte.
bits : 0 - 7 (8 bit)

RESERVED : Reserved
bits : 8 - 39 (32 bit)


ACR

Auto-baud Control Register. Contains controls for the auto-baud feature.
address_offset : 0x20 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ACR ACR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 START MODE AUTORESTART ABEOINTCLR ABTOINTCLR RESERVED RESERVED

START : This bit is automatically cleared after auto-baud completion.
bits : 0 - 0 (1 bit)

Enumeration: test

0 : AUTO_BAUD_STOP

Auto-baud stop (auto-baud is not running).

1 : AUTO_BAUD_START

Auto-baud start (auto-baud is running). Auto-baud run bit. This bit is automatically cleared after auto-baud completion.

End of enumeration elements list.

MODE : Auto-baud mode select bit.
bits : 1 - 2 (2 bit)

Enumeration: test

0 : MODE_0_

Mode 0.

1 : MODE_1_

Mode 1.

End of enumeration elements list.

AUTORESTART : Auto start mode
bits : 2 - 4 (3 bit)

Enumeration: test

0 : NORESTART

No restart

1 : RESTART_IN_CASE_OF_T

Restart in case of time-out (counter restarts at next UART RX falling edge)

End of enumeration elements list.

ABEOINTCLR : End of auto-baud interrupt clear bit (write only accessible).
bits : 8 - 16 (9 bit)

Enumeration: test

0 : NOIMPACT

Writing a 0 has no impact.

1 : CLEAR

Writing a 1 will clear the corresponding interrupt in the IIR.

End of enumeration elements list.

ABTOINTCLR : Auto-baud time-out interrupt clear bit (write only accessible).
bits : 9 - 18 (10 bit)

Enumeration: test

0 : NOIMPACT

Writing a 0 has no impact.

1 : CLEAR

Writing a 1 will clear the corresponding interrupt in the IIR.

End of enumeration elements list.

RESERVED : Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined.
bits : 10 - 41 (32 bit)

RESERVED : Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined.
bits : 10 - 41 (32 bit)


ICR

IrDA Control Register. Enables and configures the IrDA mode.
address_offset : 0x24 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ICR ICR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IRDAEN IRDAINV FIXPULSEEN PULSEDIV RESERVED

IRDAEN : IrDA mode enable.
bits : 0 - 0 (1 bit)

Enumeration: test

0 : DISABLED

IrDA mode on UARTn is disabled, UARTn acts as a standard UART.

1 : ENABLED

IrDA mode on UARTn is enabled.

End of enumeration elements list.

IRDAINV : IrDA input polarity.
bits : 1 - 2 (2 bit)

Enumeration: test

0 : NOTINVERTED

The serial input is not inverted.

1 : INVERTED

The serial input is inverted. This has no effect on the serial output.

End of enumeration elements list.

FIXPULSEEN : IrDA fixed pulse width mode.
bits : 2 - 4 (3 bit)

Enumeration: test

0 : DISABLED

IrDA fixed pulse width mode disabled.

1 : ENABLED

IrDA fixed pulse width mode enabled.

End of enumeration elements list.

PULSEDIV : Configures the pulse when FixPulseEn = 1.
bits : 3 - 8 (6 bit)

Enumeration: test

0x0 : 2_TPCLK

2 x TPCLK

0x1 : 4_TPCLK

4 xTPCLK

0x2 : 8_TPCLK

8 x TPCLK

0x3 : 16_TPCLK

16 x TPCLK

0x4 : 32_TPCLK

32 x TPCLK

0x5 : 64_TPCLK

64 x TPCLK

0x6 : 128_TPCLK

128x TPCLK

0x7 : 256_TPCLK

256 x TPCLK

End of enumeration elements list.

RESERVED : Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined.
bits : 6 - 37 (32 bit)


FDR

Fractional Divider Register. Generates a clock input for the baud rate divider.
address_offset : 0x28 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

FDR FDR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DIVADDVAL MULVAL RESERVED

DIVADDVAL : Baud-rate generation pre-scaler divisor value. If this field is 0, fractional baud-rate generator will not impact the UARTn baudrate.
bits : 0 - 3 (4 bit)

MULVAL : Baud-rate pre-scaler multiplier value. This field must be greater or equal 1 for UARTn to operate properly, regardless of whether the fractional baud-rate generator is used or not.
bits : 4 - 11 (8 bit)

RESERVED : Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined.
bits : 8 - 39 (32 bit)


TER

Transmit Enable Register. Turns off UART transmitter for use with software flow control.
address_offset : 0x30 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

TER TER read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 TXEN RESERVED RESERVED

TXEN : When this bit is 1, as it is after a Reset, data written to the THR is output on the TXD pin as soon as any preceding data has been sent. If this bit cleared to 0 while a character is being sent, the transmission of that character is completed, but no further characters are sent until this bit is set again. In other words, a 0 in this bit blocks the transfer of characters from the THR or TX FIFO into the transmit shift register. Software can clear this bit when it receives an XOFF character (DC3). Software can set this bit again when it receives an XON (DC1) character.
bits : 7 - 14 (8 bit)

RESERVED : Reserved
bits : 8 - 39 (32 bit)

RESERVED : Reserved
bits : 8 - 39 (32 bit)


DLM

Divisor Latch MSB. Most significant byte of the baud rate divisor value. The full divisor is used to generate a baud rate from the fractional rate divider. (DLAB = 1).
address_offset : 0x4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

DLM DLM read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DLMSB RESERVED

DLMSB : The UART Divisor Latch MSB Register, along with the DLL register, determines the baud rate of the UART.
bits : 0 - 7 (8 bit)

RESERVED : Reserved
bits : 8 - 39 (32 bit)


IER

Interrupt Enable Register. Contains individual interrupt enable bits for the 7 potential UART interrupts. (DLAB = 0)
address_offset : 0x4 Bytes (0x0)
access : read-write
reset_value : 0x0
alternate_register : DLM
reset_Mask : 0x0

IER IER read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RBRIE THREIE RXIE RESERVED RESERVED ABEOINTEN ABTOINTEN RESERVED RESERVED

RBRIE : RBR Interrupt Enable. Enables the Receive Data Available interrupt for UART. It also controls the Character Receive Time-out interrupt.
bits : 0 - 0 (1 bit)

Enumeration: test

0 : DISABLE

Disable the RDA interrupts.

1 : ENABLE

Enable the RDA interrupts.

End of enumeration elements list.

THREIE : THRE Interrupt Enable. Enables the THRE interrupt for UART. The status of this interrupt can be read from LSR[5].
bits : 1 - 2 (2 bit)

Enumeration: test

0 : DISABLE

Disable the THRE interrupts.

1 : ENABLE

Enable the THRE interrupts.

End of enumeration elements list.

RXIE : RX Line Interrupt Enable. Enables the UART RX line status interrupts. The status of this interrupt can be read from LSR[4:1].
bits : 2 - 4 (3 bit)

Enumeration: test

0 : DISABLE

Disable the RX line status interrupts.

1 : ENABLE

Enable the RX line status interrupts.

End of enumeration elements list.

RESERVED : Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined.
bits : 4 - 10 (7 bit)

RESERVED : Reserved
bits : 7 - 14 (8 bit)

ABEOINTEN : Enables the end of auto-baud interrupt.
bits : 8 - 16 (9 bit)

Enumeration: test

0 : DISABLE

Disable end of auto-baud Interrupt.

1 : ENABLE

Enable end of auto-baud Interrupt.

End of enumeration elements list.

ABTOINTEN : Enables the auto-baud time-out interrupt.
bits : 9 - 18 (10 bit)

Enumeration: test

0 : DISABLE

Disable auto-baud time-out Interrupt.

1 : ENABLE

Enable auto-baud time-out Interrupt.

End of enumeration elements list.

RESERVED : Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined.
bits : 10 - 41 (32 bit)

RESERVED : Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined.
bits : 10 - 41 (32 bit)


FIFOLVL

FIFO Level register. Provides the current fill levels of the transmit and receive FIFOs.
address_offset : 0x58 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

FIFOLVL FIFOLVL read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RXFIFILVL TXFIFOLVL RESERVED RESERVED

RXFIFILVL : Reflects the current level of the UART receiver FIFO. 0 = empty, 0xF = FIFO full.
bits : 0 - 3 (4 bit)

TXFIFOLVL : Reflects the current level of the UART transmitter FIFO. 0 = empty, 0xF = FIFO full.
bits : 8 - 19 (12 bit)

RESERVED : Reserved. The value read from a reserved bit is not defined.
bits : 12 - 43 (32 bit)

RESERVED : Reserved. The value read from a reserved bit is not defined.
bits : 12 - 43 (32 bit)


IIR

Interrupt ID Register. Identifies which interrupt(s) are pending.
address_offset : 0x8 Bytes (0x0)
size : -1 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

IIR IIR read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 INTSTATUS INTID FIFOEN ABEOINT ABTOINT RESERVED RESERVED

INTSTATUS : Interrupt status. Note that IIR[0] is active low. The pending interrupt can be determined by evaluating IIR[3:1].
bits : 0 - 0 (1 bit)

Enumeration: test

0 : PENDING

At least one interrupt is pending.

1 : NO_INTERRUPT_IS_PEND

No interrupt is pending.

End of enumeration elements list.

INTID : Interrupt identification. IER[3:1] identifies an interrupt corresponding to the UART RX FIFO. All other combinations of IER[3:1] not listed below are reserved (000,100,101,111).
bits : 1 - 4 (4 bit)

Enumeration: test

0x3 : RECEIVE_LINE_S

1 - Receive Line Status (RLS).

0x2 : RECEIVE_DATA_AV

2a - Receive Data Available (RDA).

0x6 : CHARACTER_TIME_

2b - Character Time-out Indicator (CTI).

0x1 : THRE_INTERRUPT

3 - THRE Interrupt.

End of enumeration elements list.

FIFOEN : FIFO enable. These bits are equivalent to FCR[0].
bits : 6 - 13 (8 bit)

ABEOINT : End of auto-baud interrupt. True if auto-baud has finished successfully and interrupt is enabled.
bits : 8 - 16 (9 bit)

ABTOINT : Auto-baud time-out interrupt. True if auto-baud has timed out and interrupt is enabled.
bits : 9 - 18 (10 bit)

RESERVED : Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined.
bits : 10 - 41 (32 bit)

RESERVED : Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined.
bits : 10 - 41 (32 bit)


FCR

FIFO Control Register. Controls UART FIFO usage and modes.
address_offset : 0x8 Bytes (0x0)
access : write-only
reset_value : 0x0
alternate_register : IIR
reset_Mask : 0x0

FCR FCR write-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 FIFOEN RXFIFORES TXFIFORES DMAMODE RXTL RESERVED RESERVED

FIFOEN : FIFO Enable
bits : 0 - 0 (1 bit)

Enumeration: test

0 : DISABLED

UART FIFOs are disabled. Must not be used in the application.

1 : ENABLED

Active high enable for both UART RX and TX FIFOs and FCR[7:1] access. This bit must be set for proper UART operation. Any transition on this bit will automatically clear the UART FIFOs.

End of enumeration elements list.

RXFIFORES : RX FIFO Reset
bits : 1 - 2 (2 bit)

Enumeration: test

0 : NO_IMPACT_ON_EITHER_

No impact on either of UART FIFOs.

1 : CLEAR

Writing a logic 1 to FCR[1] will clear all bytes in UART RX FIFO, reset the pointer logic. This bit is self-clearing.

End of enumeration elements list.

TXFIFORES : TX FIFO Reset
bits : 2 - 4 (3 bit)

Enumeration: test

0 : NO_IMPACT_ON_EITHER_

No impact on either of UART FIFOs.

1 : CLEAR

Writing a logic 1 to FCR[2] will clear all bytes in UART TX FIFO, reset the pointer logic. This bit is self-clearing.

End of enumeration elements list.

DMAMODE : DMA Mode Select. When the FIFO enable bit (bit 0 of this register) is set, this bit selects the DMA mode. See Section 10.5.6.1.
bits : 3 - 6 (4 bit)

Enumeration: test

0 : DMA_NOT_USED_

DMA not used.

1 : DMA_MODE_ENABLED_

DMA mode enabled.

End of enumeration elements list.

RXTL : RX Trigger Level. These two bits determine how many receiver UART FIFO characters must be written before an interrupt is activated.
bits : 6 - 13 (8 bit)

Enumeration: test

0x0 : TRIGGER_LEVEL_0

Trigger level 0 (1 character or 0x01).

0x1 : TRIGGER_LEVEL_1

Trigger level 1 (4 characters or 0x04).

0x2 : TRIGGER_LEVEL_2

Trigger level 2 (8 characters or 0x08).

0x3 : TRIGGER_LEVEL_3

Trigger level 3 (14 characters or 0x0E).

End of enumeration elements list.

RESERVED : Reserved
bits : 8 - 39 (32 bit)

RESERVED : Reserved
bits : 8 - 39 (32 bit)


LCR

Line Control Register. Contains controls for frame formatting and break generation.
address_offset : 0xC Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

LCR LCR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 WLS SBS PE PS BC DLAB RESERVED

WLS : Word Length Select
bits : 0 - 1 (2 bit)

Enumeration: test

0x0 : 5_BIT_CHARACTER_LENG

5-bit character length.

0x1 : 6_BIT_CHARACTER_LENG

6-bit character length.

0x2 : 7_BIT_CHARACTER_LENG

7-bit character length.

0x3 : 8_BIT_CHARACTER_LENG

8-bit character length.

End of enumeration elements list.

SBS : Stop Bit Select
bits : 2 - 4 (3 bit)

Enumeration: test

0 : 1_STOP_BIT_

1 stop bit.

1 : 2_STOP_BITS_

2 stop bits (1.5 if LCR[1:0]=00).

End of enumeration elements list.

PE : Parity Enable
bits : 3 - 6 (4 bit)

Enumeration: test

0 : DISABLE_PARITY_GENER

Disable parity generation and checking.

1 : ENABLE_PARITY_GENERA

Enable parity generation and checking.

End of enumeration elements list.

PS : Parity Select
bits : 4 - 9 (6 bit)

Enumeration: test

0x0 : ODD_PARITY_NUMBER_O

Odd parity. Number of 1s in the transmitted character and the attached parity bit will be odd.

0x1 : EVEN_PARITY_NUMBER_

Even Parity. Number of 1s in the transmitted character and the attached parity bit will be even.

0x2 : FORCED_1_STICK_PARIT

Forced 1 stick parity.

0x3 : FORCED_0_STICK_PARIT

Forced 0 stick parity.

End of enumeration elements list.

BC : Break Control
bits : 6 - 12 (7 bit)

Enumeration: test

0 : DISABLE_BREAK_TRANSM

Disable break transmission.

1 : ENABLE_BREAK_TRANSMI

Enable break transmission. Output pin UART TXD is forced to logic 0 when LCR[6] is active high.

End of enumeration elements list.

DLAB : Divisor Latch Access Bit (DLAB)
bits : 7 - 14 (8 bit)

Enumeration: test

0 : DISABLE_ACCESS_TO_DI

Disable access to Divisor Latches.

1 : ENABLE_ACCESS_TO_DIV

Enable access to Divisor Latches.

End of enumeration elements list.

RESERVED : Reserved
bits : 8 - 39 (32 bit)



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.