GD32W51x User Manual
962
(CALEN bit is set as 1, or DMA end of transfer)
7
ALGM[0]
Algorithm selection bit 0
This bit and bit 18 of CTL are w ritten by softw are to select the SHA-1, SHA-224,
SHA256 or the MD5 algorithm:
00: Select SHA-1 algorithm
01: Select MD5 algorithm
10: Select SHA224 algorithm
11: Select SHA256 algorithm
6
HMS
HAU mode selection, must be changed w hen no computation is processing
0: HASH mode selected
1: HMAC mode selected. If the key length is longer than 64 bytes, then KLM bit
must also be set
5:4
DATAM[1:0]
Data type mode
Defines the format of the data entered into the HAU_DI register:
00: No sw apping. The data w ritten to HAU_DI is direct w rite to FIFO w ithout
sw apping.
01: Half-w ord sw apping. The data w ritten into HAU_DI need half -w ord sw apping
before w rite to FIFO.
10: Bytes sw apping. The data w ritten into HAU_DI need bytes sw apping before
w rite to FIFO.
11: Bit sw apping. The data w ritten into HAU_DI need bytes sw apping before w rite
to FIFO.
3
DMAE
DMA enable
0: DMA disabled
1: DMA enabled
Note:
1. This bit is cleared w hen transferring the last data of the message, but not
cleared because of START.
2. When DMA is transferring, w riting 0 to this bit w ill not stop the current
transfer until the transfer is completed or START is set as 1.
2
START
Start the digest calculation
1: Start the digest of a new message
0: No effect
Note:
Reading this bit alw ays returns 0.
1:0
Reserved
Must be kept at reset value.
28.7.2.
HAU data input register (HAU_DI)
Address offset: 0x04
Reset value: 0x0000 0000
The data input register is used to transfer message with 512-bit blocks into the input FIFO for
Содержание GD32W515 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32W51x Arm Cortex M33 32 bit MCU User Manual Revision 1 0 Nov 2021 ...
Страница 66: ...GD32W51x User Manual 66 Bits Fields Descriptions 31 0 UNIQUE_ID 95 64 Unique device ID ...
Страница 389: ...GD32W51x User Manual 389 The FWDGT timeout can be more accurate by calibrating the IRC32K ...
Страница 504: ...GD32W51x User Manual 504 ...
Страница 710: ...GD32W51x User Manual 710 ...