\n

UART

Peripheral Memory Blocks

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

Registers

COMTX

COMRX

COMMCR

COMLSR

COMMSR

COMFBR

COMDIV

COMCON

COMIEN

COMIIR

COMLCR


COMTX

Transmit Holding register
address_offset : 0x0 Bytes (0x0)
size : 8 bit
access : write-only
reset_value : 0x0
reset_Mask : 0x0

COMTX COMTX write-only 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 VALUE

VALUE : Value
bits : 0 - 7 (8 bit)


COMRX

Receive Buffer register
address_offset : 0x0 Bytes (0x0)
size : 8 bit
access : read-only
reset_value : 0x0
alternate_register : COMTX
reset_Mask : 0x0

COMRX COMRX read-only 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 VALUE

VALUE : Value
bits : 0 - 7 (8 bit)


COMMCR

Module Control register
address_offset : 0x10 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

COMMCR COMMCR read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 DTR RTS OUT2 OUT1 LOOPBACK

DTR : Data Terminal Ready.
bits : 0 - 0 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

RTS : Request To Send.
bits : 1 - 1 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

OUT2 : Stop Bit.
bits : 2 - 2 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

OUT1 : Parity Enable Bit.
bits : 3 - 3 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

LOOPBACK : Loop Back.
bits : 4 - 4 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.


COMLSR

Line Status register
address_offset : 0x14 Bytes (0x0)
size : 8 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

COMLSR COMLSR read-only 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 DR OE PE FE BI THRE TEMT

DR : Data Ready.
bits : 0 - 0 (1 bit)

Enumeration:

0 : CLR

CLR

1 : SET

SET

End of enumeration elements list.

OE : Overrun Error.
bits : 1 - 1 (1 bit)

Enumeration:

0 : CLR

CLR

1 : SET

SET

End of enumeration elements list.

PE : Parity Error.
bits : 2 - 2 (1 bit)

Enumeration:

0 : CLR

CLR

1 : SET

SET

End of enumeration elements list.

FE : Framing Error.
bits : 3 - 3 (1 bit)

Enumeration:

0 : CLR

CLR

1 : SET

SET

End of enumeration elements list.

BI : Break Indicator.
bits : 4 - 4 (1 bit)

Enumeration:

0 : CLR

CLR

1 : SET

SET

End of enumeration elements list.

THRE : COMTX Empty Status Bit.
bits : 5 - 5 (1 bit)

Enumeration:

0 : CLR

CLR

1 : SET

SET

End of enumeration elements list.

TEMT : COMTX and Shift Register Empty Status Bit.
bits : 6 - 6 (1 bit)

Enumeration:

0 : CLR

CLR

1 : SET

SET

End of enumeration elements list.


COMMSR

Modem Status register
address_offset : 0x18 Bytes (0x0)
size : 8 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

COMMSR COMMSR read-only 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 DCTS DDSR TERI DDCD CTS DSR RI DCD

DCTS : Delta CTS.
bits : 0 - 0 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

DDSR : Delta DSR.
bits : 1 - 1 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

TERI : Trailing Edge RI.
bits : 2 - 2 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

DDCD : Delta DCD.
bits : 3 - 3 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

CTS : Clear To Send.
bits : 4 - 4 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

DSR : Data Set Ready.
bits : 5 - 5 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

RI : Ring Indicator.
bits : 6 - 6 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

DCD : Data Carrier Detect.
bits : 7 - 7 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.


COMFBR

Fractional baud rate divider register.
address_offset : 0x24 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

COMFBR COMFBR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DIVN DIVM ENABLE

DIVN : Fractional N Divide bits
bits : 0 - 10 (11 bit)

DIVM : Fractional M Divide bits
bits : 11 - 12 (2 bit)

ENABLE : Enable
bits : 15 - 15 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.


COMDIV

Baud rate Divisor register
address_offset : 0x28 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

COMDIV COMDIV read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 VALUE

VALUE : Sets the baudrate
bits : 0 - 15 (16 bit)


COMCON

UART control register
address_offset : 0x30 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

COMCON COMCON read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 DISABLE

DISABLE : Uart Disable
bits : 0 - 0 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.


COMIEN

Interrupt Enable register
address_offset : 0x4 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

COMIEN COMIEN read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 ERBFI ETBEI ELSI EDSSI EDMAT EDMAR

ERBFI : Enable receive buffer full interrupt
bits : 0 - 0 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

ETBEI : Enable transmit buffer empty interrupt
bits : 1 - 1 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

ELSI : Enable Rx status interrupt
bits : 2 - 2 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

EDSSI : Enable Modem Status interrupt
bits : 3 - 3 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

EDMAT : Enable DMA requests in receive mode
bits : 4 - 4 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

EDMAR : Enable DMA requests in transmit mode
bits : 5 - 5 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.


COMIIR

Interrupt Identification register
address_offset : 0x8 Bytes (0x0)
size : 8 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

COMIIR COMIIR read-only 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 NINT STA

NINT : Interrupt flag.
bits : 0 - 0 (1 bit)

Enumeration:

0 : CLR

CLR

1 : SET

SET

End of enumeration elements list.

STA : Status bits.
bits : 1 - 2 (2 bit)

Enumeration:

0 : MODEMSTATUS

- Modem status interrupt.

1 : TXBUFEMPTY

- Transmit buffer empty interrupt.

2 : RXBUFFULL

- Receive buffer full interrupt. Read RBR register to clear.

3 : RXLINESTATUS

- Receive line status interrupt. Read LSR register to clear.

End of enumeration elements list.


COMLCR

Line Control register
address_offset : 0xC Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

COMLCR COMLCR read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 WLS STOP PEN EPS SP BRK

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

Enumeration:

0 : 5BITS

5BITS

1 : 6BITS

6BITS

2 : 7BITS

7BITS

3 : 8BITS

8BITS

End of enumeration elements list.

STOP : Stop Bit.
bits : 2 - 2 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

PEN : Parity Enable Bit.
bits : 3 - 3 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

EPS : Even Parity Select Bit.
bits : 4 - 4 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

SP : Stick Parity.
bits : 5 - 5 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.

BRK : Set Break.
bits : 6 - 6 (1 bit)

Enumeration:

0 : DIS

DIS

1 : EN

EN

End of enumeration elements list.



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.