GD32F20x User Manual
218
Figure 11-1. DATAM No swapping and Half-word swapping
Byte swapping and Bit swapping
illustrate the data swapping according to different data
types.
Figure 11-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 11-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)
Содержание GD32F20 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F20x ARM Cortex M3 32 bit MCU User Manual Revision 2 2 Oct 2019 ...
Страница 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Страница 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Страница 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Страница 385: ...GD32F20x User Manual 385 ...
Страница 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...