Usart Control Register - Usrcr - Holtek HT32F52220 User Manual

32-bit microcontroller with arm cortex-m0+ core
Table of Contents

Advertisement

32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F52220/HT32F52230
USART Control Register – USRCR
The register specifies the parameters such as the data length, parity and stop bit for the USART. It also contains
the USART enable control bits together with the USART mode and data transfer mode selections.
Offset:
0x004
Reset value: 0x0000_0000
31
Type/Reset
23
Type/Reset
15
RTS
Type/Reset
RW
0 RW
7
Reserved
Type/Reset
Bits
Field
[15]
RTS
[14]
BCB
[13]
SPE
[12]
EPE
Rev. 1.10
30
29
28
22
21
20
14
13
12
BCB
SPE
EPE
0 RW
0 RW
6
5
4
URRXEN
URTXEN
RW
0 RW
Descriptions
Request-To-Send Signal
0: Drive USART RTS pin to logic 1
1: Drive USART RTS pin to logic 0
Note that the RTS bit is used to control the USART RTS pin status when the HFCEN
bit is reset.
When the HFCEN bit is set, this RTS bit indicates the pin status that is controlled by
hardware flow control function.
Break Control Bit
When this bit is set to 1, the serial data output on the USART TX pin will be forced to
the Spacing State (logic 0). This bit acts only on the USART TX output pin and has
no effect on the transmitter logic.
Stick Parity Enable
0: Disable stick parity
1: Stick Parity bit is transmitted
This bit is only available when the PBE bit is set to 1. If both the PBE and SPE bits
are set to 1 and the EPE bit is cleared to 0, the transmitted parity bit will be stuck to
1. However, when the PBE and SPE bits are set to 1 and also the EPE bit is set to
1, the transmitted parity bit will be stuck to 0.
Even Parity Enable
0: Odd number of logic 1's are transmitted or checked in the data word and parity
bits.
1: Even number of logic 1's are transmitted or checked in the data word and
parity bits.
This bit is only available when the PBE bit is set to 1.
342 of 366
27
26
Reserved
19
18
Reserved
11
10
PBE
NSB
0 RW
0 RW
0 RW
3
2
HFCEN
TRSM
0 RW
0 RW
0 RW
25
24
17
16
9
8
WLS
0 RW
0
1
0
MODE
0 RW
0
November 09, 2018

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HT32F52220 and is the answer not in the manual?

This manual is also suitable for:

Ht32f52230

Table of Contents