Maxim-Integrated /max32520 /UART0 /CTRL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CTRL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 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 0RXTHD0 (dis)PAREN 0 (Even)PAREO 0 (1)PARMD 0 (TXFLUSH)TXFLUSH 0 (RXFLUSH)RXFLUSH 0 (5)SIZE 0 (1)STOP

PAREN=dis, PARMD=1, STOP=1, SIZE=5, PAREO=Even

Description

Control Register.

Fields

RXTHD

Receive Threshhold.

PAREN

Enable/disable Parity bit (9th character).

0 (dis): No Parity

1 (en): Parity enabled as 9th bit

PAREO

When PARITY_EN=1, selects odd or even parity.

0 (Even): Even parity selected.

1 (ODD): Odd parity selected.

PARMD

Selects parity based on 1s or 0s count (when PARITY_EN=1).

0 (1): Parity calculation is based on number of 1s in frame.

1 (0): Parity calculation is based on number of 0s in frame.

TXFLUSH

Flushes the TX FIFO buffer.

RXFLUSH

Flushes the RX FIFO buffer.

SIZE

Selects UART character size.

0 (5): 5 bits.

1 (6): 6 bits.

2 (7): 7 bits.

3 (8): 8 bits.

STOP

Selects the number of stop bits that will be generated.

0 (1): 1 stop bit.

1 (1_5): 1.5 stop bits.

Links

()