Mdha Status Register (Mdsr) - Freescale Semiconductor MCF5329 Reference Manual

Devices supported: mcf5327; mcf5328; mcf53281; mcf5329
Table of Contents

Advertisement

Message Digest Hardware Accelerator (MDHA)
33.2.4

MDHA Status Register (MDSR)

The MDSR stores the current status of the MDHA. This register is used to debug errors and to give a view
into the workings of the MDHA's internal engines.
Address: 0xEC08_000C (MDSR)
31
30
29
R
0
0
0
W
Reset
0
0
0
15
14
13
R
APD
W
Reset
1
0
0
Field
31–24
Reserved, should be cleared.
23–16
Input FIFO level. Read-only. The current number of longwords that are in the Input FIFO. IFL ranges from 0–16
IFL
longwords (0x00-0x10).
15–13
Auto pad state. Read-only. Indicates the current state of the autopadder for debug purposes.
APD
000 Perform standard auto padding.
001 Pad last word.
010 Add a word for padding.
011 Last hash for the EHMAC.
100 Stall state (Auto Padder passes no data to engine). This is the default state that the module enters whenever
there is an error.
All other settings are reserved.
12–11
Reserved, should be cleared.
10–8
FIFO size. Read-only. Indicates the size of the internal FIFO, which is fixed at 16 longwords for this device.
FS
100 16 longwords
7
Get next word. Read-only. Indicates that the MDHA engine has not filled an entire block and is requesting more data.
GNW
0 Does not need any data
1 Requesting more data
6
Hashing. Read-only. Indicates that data is currently being hashed
HSH
0 Waiting for more data
1 Hashing current data
5
Reserved, should be cleared.
4
Busy. Read-only. Indicates that the module is busy processing data.
BUSY
0 Idle or done
1 Busy processing data
3
Reset interrupt. Read-only. Indicates the MDHA module has completed resetting.
RD
0 Reset in progress
1 Completed reset sequence
33-8
28
27
26
25
0
0
0
0
0
0
0
0
12
11
10
9
0
0
FS
0
0
1
0
Figure 33-5. MDHA Status Register (MDSR)
Table 33-6. MDSR Field Descriptions
Description
MCF5329 Reference Manual, Rev 3
24
23
22
21
0
0
0
0
0
8
7
6
5
GNW HSH
0
BUSY
0
0
0
0
Access: User read-only
20
19
18
17
IFL
0
0
0
0
4
3
2
1
RD
ERR DONE INT
0
1
0
0
Freescale Semiconductor
16
0
0
0

Advertisement

Table of Contents
loading

Table of Contents