User manual
...the world's most energy friendly microcontrollers
2012-04-24 - Giant Gecko Family - d0053_Rev0.96 740
www.energymicro.com
Bit Name Reset Access Description
Enable/disable key buffer in AES-128 mode.
1 AES256 0 RW AES-256 Mode
Select AES-128 or AES-256 mode.
Value Description
0 AES-128 mode
1 AES-256 mode
0 DECRYPT 0 RW Decryption/Encryption Mode
Select encryption or decryption.
Value Description
0 AES Encryption
1 AES Decryption
31.5.2 AES_CMD - Command Register
Offset Bit Position
0x004
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reset
0
0
Access
W1
W1
Name
STOP
START
Bit Name Reset Access Description
31:2 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
1 STOP 0 W1 Encryption/Decryption Stop
Set to stop encryption/decryption.
0 START 0 W1 Encryption/Decryption Start
Set to start encryption/decryption.
31.5.3 AES_STATUS - Status Register
Offset Bit Position
0x008
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reset
0
Access
R
Name
RUNNING
Bit Name Reset Access Description
31:1 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
0 RUNNING 0 R AES Running
This bit indicates that the AES module is running an encryption/decryption.