EasyManuals Logo

Maxim Integrated MAX32665 User Manual

Maxim Integrated MAX32665
457 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #265 background imageLoading...
Page #265 background image
MAX32665-MAX32668 User Guide
Maxim Integrated Page 265 of 457
UART Control 0
UARTn_CTRL0
[0x0000]
Bits
Field
Access
Reset
Description
10
stop
R/W
0
Stop Bit Mode Select
Select the number of stop bits per character. The default is 1 stop bit, stop = 0. Setting
this field to 1 enables 1.5 stop bits for a 5-bit character size and 2 stop bits for all other
character sizes.
0: 1 stop bit.
1: 1.5 stop bits for 5-bit character size or 2 STOP bits for all other character sizes
9:8
size
R/W
0
Character Size
Set the number of bits per character.
0x0: 5 data bits
0x1: 6 data bits
0x2: 7 data bits
0x3: 8 data bits
7
bitacc
R/W
0
Frame or Bit Accuracy Select
This field selects between either Frame Accuracy or Bit Accuracy for transmitting data.
Frame Accuracy: Individual character bit durations may be varied by hardware to meet
the target frame period.
Bit accuracy: Character bit width is prioritized by the hardware. The overall frame
accuracy may vary.
For clock rates that cannot achieve the +/- 2% baud rate accuracy, this bit allows the
firmware to select whether bit times are varied to approximate the desired baud rate.
0: Frame accuracy is prioritized.
1: Bit accuracy is prioritized.
Note: A frame includes the start, stop, all data bits, and parity bit/bits for the character
being transmitted.
6
rxflush
R/W1O
0
Receive FIFO Flush
Write 1 to flush the receive FIFO
Cleared to 0 by hardware when flush is completed
5
txflush
R/W1O
0
Transmit FIFO Flush
Write 1 to flush the Transmit FIFO
Cleared to 0 by hardware when flush is completed
4
parity_lvl
R/W
1
Parity Level Select
0: Parity is based on number of 0 bits in the character.
1: Parity is based on number of 1 bits in the character.
3:2
parity_mode
R/W
0
Parity Mode Select
Set this field to the type of parity for the UART data. Mark parity always sets the parity
bit to 1 and Space parity always sets the parity bit to 0. For even parity, the parity bit is
set to 1 if the number of 1 bits in the character is odd. Odd parity sets the parity bit to
1 if the number of 1 bits in the character is even.
0x0: Even parity
0x1: Odd Parity
0x2: Mark parity
0x3: Space parity
Note: For even and odd parity, the default uses the number of 1 bits in the character to
calculate the parity bit. Set the UARTn_CTRL0.parity_lvl to 0 to base the parity on the
number of 0 bits in the character.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Maxim Integrated MAX32665 and is the answer not in the manual?

Maxim Integrated MAX32665 Specifications

General IconGeneral
BrandMaxim Integrated
ModelMAX32665
CategoryMotherboard
LanguageEnglish