293
XMEGA B [DATASHEET]
8291B–AVR–01/2013
23.5
Register Description – AES
23.5.1 CTRL
–
Control register
Bit 7
–
START: Start/Run
Setting this bit starts the encryption/decryption procedure, and this bit remains set while the encryption/decryption is
ongoing. Writing this bit to zero will stop/abort any ongoing encryption/decryption process. This bit is automatically
cleared if the SRIF or the ERROR flags in STATUS are set.
Bit 6
–
AUTO: Auto Start Trigger
Setting this bit enables the auto-start mode. In auto-start mode, the START bit will trigger automatically and start the
encryption/decryption when all of the following conditions are met:
The AUTO bit is set before the state memory is loaded
All memory pointers (state read/write and key read/write) are zero
State memory is fully loaded
If all of these conditions are not met, the encryption/decryption will be started with an incorrect key.
Bit 5
–
RESET: Software Reset
Setting this bit will reset the AES crypto module to its initial status on the next positive edge of the peripheral clock. All
registers, pointers, and memories in the module are set to their initial value. When written to one, the bit stays high for
one clock cycle before it is reset to zero by hardware.
Bit 4
–
DECRYPT: Decryption / Direction
This bit sets the direction for the AES crypto module. Writing this bit to zero will set the module in encryption mode.
Writing one to this bit sets the module in decryption mode.
Bit 3
–
Reserved
This bit is unused and reserved for future use. For compatibility with future devices, always write this bit to zero when this
register is written.
Bit 2
–
XOR: State XOR Load Enable
Setting this bit enables a XOR data load to the state memory. When this bit is set, the data loaded to the state memory
are bitwise XORed with the data currently in the state memory. Writing this bit to zero disables XOR load mode, and new
data written to the state memory will overwrite the current data.
Bit 1:0
–
Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always write these bits to zero
when this register is written.
Bit
7
6
5
4
3
2
1
0
START
AUTO
RESET
DECRYPT
–
XOR
–
–
Read/Write
R/W
R/W
R/W
R/W
R
R/W
R
R
Initial Value
0
0
0
0
0
0
0
0
Summary of Contents for XMEGA B
Page 320: ...320 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 12 7 segments Character Table...
Page 321: ...321 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 13 14 segments Character Table...
Page 322: ...322 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 14 16 segments Character Table...
Page 412: ...412 XMEGA B DATASHEET 8291B AVR 01 2013...
Page 413: ...413 XMEGA B DATASHEET 8291B AVR 01 2013...