
Rev. 1.00
523 of 576
January 28, 2022
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
25 Divider (DIV)
25 Divider (DIV)
Register Map
The following table shows the DIV registers and reset values.
Table 65. DIV Register Map
Register
Offset
Description
Reset Value
CR
0x000
Divider Control Register
0x0000_0008
DDR
0x004
Dividend Data Register
0x0000_0000
DSR
0x008
Divisor Data Register
0x0000_0000
QTR
0x00C
Quotient Data Register
0x0000_0000
RMR
0x010
Remainder Data Register
0x0000_0000
Register Descriptions
Divider Control Register – CR
This register contains the divider calculation complete flag, division by zero error flag and the calculation start
control bit.
Offset:
0x000
Reset value: 0x0000_0008
31
30
29
28
27
26
25
24
Reserved
Type/Reset
23
22
21
20
19
18
17
16
Reserved
Type/Reset
15
14
13
12
11
10
9
8
Reserved
Type/Reset
7
6
5
4
3
2
1
0
Reserved
COM
ZEF
Reserved
START
Type/Reset
RO 1 RO
0
RW 0
Bits
Field
Descriptions
[3]
COM
Calculation Complete Flag
0: Data are invalid
1: New data are valid
When this bit is set to 1 by hardware, it indicates that the divider calculation
is completed and data are valid. This bit is cleared to 0 by hardware after the
calculation start.
[2]
ZEF
Division By Zero Error Flag
0: Divisor is not zero
1: Divisor is zero
This bit is cleared to 0 by hardware after the calculation start.
[0]
START
Calculation Start Control Bit
0: No operation
1: Start the divider calculation
Writing 1 to this bit will start the divider calculation.