GD32W51x User Manual
955
types.
Figure 28-1. DATAM No swapping and Half-word swapping
word0
word1
word2
word3
word0
word1
word2
word3
A0
B0
A1
B1
A2
B2
A3
B3
B0
A0
B1
A1
B2
A2
B3
A3
Half-word swapping
No swapping
WORD 0 (MSB)
WORD 1
WORD 2
WORD 3 (LSB)
WORD 0 (MSB)
WORD 1
WORD 2
WORD 3 (LSB)
Figure 28-2. DATAM Byte swapping and Bit swapping
Byte swapping
A3
A2
A1
A0
B3
B2
B1
B0
C3
C2
C1
C0
D3
D2
D1
D0
A0
A1
A2
A3
B0
B1
B2
B3
C0
C1
C2
C3
D0
D1
D2
D3
WORD 0 (MSB)
Bit swapping
A31
...
A1
A0
B31
...
B1
B0
C31
...
C1
C0
D31
...
D1
D0
A0
A1
...
A31
B0
B1
...
B31
C0
C1
...
C31
D0
D1
...
D31
WORD 1
WORD 2
WORD 3 (LSB)
WORD 0 (MSB)
WORD 1
WORD 2
WORD 3 (LSB)