984
SAM4CP [DATASHEET]
43051E–ATPL–08/14
Hash register (ICM_HASH) modified during active monitoring.
Write-only register read access.
The URAD bit and the URAT field can only be reset by writing a 1 to the ICM_CTRL.SWRST bit.
42.5.5 ICM Automatic Monitoring Mode
The ASCD bit of the ICM_CFG register is used to activate the ICM Automatic Mode. When ICM_CFG.ASCD is set, the
ICM performs the following actions:
The ICM controller passes through the Main List once with CDWBN bit in the context register at 0 (i.e. Write Back
activated) and EOM bit in context register at 0.
When WRAP = 1 in ICM_RCFG, the ICM controller enters active monitoring with CDWBN bit in context register
now set and EOM bit in context register cleared. Bits CDWBN and EOM in the region descriptor structure member
(ICM_RCFG) have no effect.
42.6
Programming the ICM for Multiple Regions
Table 42-8.
Region Attributes
Transfer Type
Main List
ICM_RCFG
ICM_RNEXT
Comments
CDWBN
WRAP
EOM
NEXT
S
Contiguous list of blocks
Digest written to memory
Monitoring disabled
1 item
0
0
1
0
The Main List contains
only one descriptor.The
Secondary List is empty
for that descriptor. The
digest is computed and
saved to memory.
Non contiguous list of blocks
Digest written to memory
Monitoring disabled
1 item
0
0
1
Secondary
List address
of the current
region
identifier
The Main List contains
only one descriptor.The
Secondary List describes
the layout of the non
contiguous region.
Contiguous list of blocks
Digest comparison enabled
Monitoring enabled.
1 item
1
1
0
0
When
computation is terminated,
the digest is compared
with the one saved in
memory.
the
hash
M
Contiguous list of blocks
Digest written to memory
Monitoring disabled.
More than
one item
0
0
1 for the
last, 0
otherwise
0
ICM passes through the
list once.
Contiguous list of blocks
Digest comparison is enabled
Monitoring is enabled
More than
one item
1
1 for the
last, 0
otherwise
0
0
ICM
monitoring of the regions.
If a mismatch occurs, an
interrupt is raised.
performs
active
Non contiguous list of blocks
Digest is written to memory
Monitoring is disabled
More than
one item
0
0
1
Secondary
List address
ICM performs hashing and
saves digests to the Hash
area.
Non contiguous list of blocks
Digest comparison is enabled
Monitoring is enabled.
More than
one item
1
1
0
Secondary
List address
ICM
gathering on a per region
basis.
performs
data