Texas Instruments Development Kit for TM4C129x,Tiva™ ARM® Cortex™ -M4 Microcontroller DK-TM4C129X DK-TM4C129X 데이터 시트

제품 코드
DK-TM4C129X
다운로드
페이지 2182
Figure 13-13. AES Interrupt Service
START
Read interrupt status register
Int_status = AES_ IRQSTATUS
Write the next context in
context data registers
AES _KEYj_n= xxxx
AES_IV_IN_n= xxxx
Read the encrypted/decrypted data
authentication_result = AES_TAG_OUT_n
data_result = AES_DATA _IN_n
END
yes
Is interrupt caused
by context output event?
AES_IRQSTATUS [3]
CONTEXT_OUT = 0x1
no
Read the context registers
contextResult =
AES_KEYj_n
yes
Is interrupt
caused by context input?
AES _IRQSTATUS [0]
CONTEXT_IN = 0x1
In interrupt caused
by data input event?
AES_IRQSTATUS [1]
DATA _IN = 0x1
Write next data
AES_DATA _IN_n= xxxx
no
yes
no
Clear interrupt status
AES _IRQSTATUS [3:0] = 0x0
Enable interrupts
AES_IRQENABLE[3:0] = 0xF
13.5
Register Map
Table 13-5 on page 1007 lists the AES registers. The AES Module comprises registers that exist at
an offset relative to the AES Module base address and a small set of AES µDMA registers that exist
at an offset relative to an Encryption Control Module base address. The AES Module register offsets
are relative to the base address 0x4403.6000. The AES µDMA interrupt registers are offset are
relative to the base address 0x4403.0000.
Table 13-5. AES Register Map
See
page
Description
Reset
Type
Name
Offset
AES Module Registers (AES Module Offset)
AES Key 2_6
0x0000.0000
RW
AES_KEY2_6
0x000
AES Key 2_7
0x0000.0000
RW
AES_KEY2_7
0x004
AES Key 2_4
0x0000.0000
RW
AES_KEY2_4
0x008
1007
December 13, 2013
Texas Instruments-Advance Information
Tiva
TM4C129XNCZAD Microcontroller