
Rev. 1.00
477 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
23 Divider (DIV)
Register Map
The following table shows the DIV registers and reset values.
Table 56. 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 trigger control bit and the calculation status.
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 is invalid
1: New data is valid
If this bit is set to 1, it indicates that the divider calculation is completed and data is
valid. This bit is cleared to 0 by hardware after a calculation is initiated.
[2]
ZEF
Division by Zero Error Flag
0: Divisor is not zero
1: Divisor is zero
This bit will be cleared to 0 by hardware after a calculation is initiated.
[0]
START
Divider calculation start trigger control bit
0: No action
1: Trigger divider to start calculation
When this bit is set high, the divider will start a calculation.