#[repr(C)]pub struct RegionConfiguration(pub u32);
Expand description
Region Configuration Structure
Follows C-structure conventions
Tuple Fields
0: u32
Implementations
User SHA Algorithm
Allow setting this regions icm_algorithm
.
Reset the RegionConfiguration
to default values
Useful if changing between hashing and monitoring, etc.
Compare Digest or Write Back Digest
- true: in Compare Digest mode.
- false: in Write Back Digest mode.
Compare Digest or Write Back Digest
- true: in Compare Digest mode.
- false: in Write Back Digest mode.
Wrap Command
- true: next region descriptor address loaded is
DSCR
. - false: the next region descriptor address is
current + 0x10
.
Wrap Command
- true: next region descriptor address loaded is
DSCR
. - false: the next region descriptor address is
current + 0x10
.
End of Monitoring
- true: the current descriptor terminates the Main List, WRAP bit has no effect.
- false: the current descriptor does not terminate the monitoring.
End of Monitoring
- true: the current descriptor terminates the Main List, WRAP bit has no effect.
- false: the current descriptor does not terminate the monitoring.
Region Hash Completed Interrupt Disable
- true: the
RHC
flag remains cleared even if the setting condition is met. - false: the
RHC
flag is set when the fieldNEXT = 0
is found in main or secondary list.
Region Hash Completed Interrupt Disable
- true: the
RHC
flag remains cleared even if the setting condition is met. - false: the
RHC
flag is set when the fieldNEXT = 0
is found in main or secondary list.
Digest Mismatch Interrupt Disable
- true: the
RBE
flag remains cleared even if the setting condition is met. - false: the
RBE
flag is set when the hash value just calculated from the processed region differs from expected hash value.
Digest Mismatch Interrupt Disable
- true: the
RBE
flag remains cleared even if the setting condition is met. - false: the
RBE
flag is set when the hash value just calculated from the processed region differs from expected hash value.
Bus Error Interrupt Disable
- true: the flag remains cleared even if the setting condition is met.
- false: the flag is set when an error is reported on the sysstem bus by the bus MATRIX.
Bus Error Interrupt Disable
- true: the flag remains cleared even if the setting condition is met.
- false: the flag is set when an error is reported on the sysstem bus by the bus MATRIX.
Wrap Condition Interrupt Disable
- true: the
RWC
flag remains cleared even if the setting condition is met. - false: the
RWC
flag is set when the WRAP is encountered.
Wrap Condition Interrupt Disable
- true: the
RWC
flag remains cleared even if the setting condition is met. - false: the
RWC
flag is set when the WRAP is encountered.
End Bit Condition Interrupt Enable
- true: the
REC
flag remains cleared even if the setting condition is met. - false: the
REC
flag is set when the descriptor having theEOM
bit set is processed.
End Bit Condition Interrupt Enable
- true: the
REC
flag remains cleared even if the setting condition is met. - false: the
REC
flag is set when the descriptor having theEOM
bit set is processed.
Monitoring Status Updated Condition Interrupt Enable
- true: the
RSU
flag remains cleared even if the condition is met. - false: the
RSU
flag is set when the corresponding descriptor is loaded from memory to ICM.
Monitoring Status Updated Condition Interrupt Enable
- true: the
RSU
flag remains cleared even if the condition is met. - false: the
RSU
flag is set when the corresponding descriptor is loaded from memory to ICM.