pub struct Region<I: RegionNum> { /* private fields */ }
Expand description

Region provides access to region-specific settings like interrupts and status

Implementations

Enable this memory monitor region

Returns true if the region monitoring is active and a check value has been calculated and written to the hash area

Returns true if the RMEN register has been set to one for the region

Disable the memory monitor region

Trigger recalculation of the memory monitor region

Set Region Status Updated interrupt enable

Set Region End bit Condition Detected interrupt enable

Set Region Wrap Condition detected interrupt enable

Set Region Bus Error interrupt enable

Set Region Digest Mismatch interrupt enable

Set Region Hash Completed interrupt enable

Disable Region Status Updated interrupt enable

Disable Region End bit Condition Detected interrupt enable

Disable Region Wrap Condition detected interrupt enable

Disable Region Bus Error interrupt enable

Disable Region Digest Mismatch interrupt enable

Disable Region Hash Completed interrupt enable

Get Region Status Updated interrupt enable mask

Get Region End bit Condition Detected interrupt enable mask

Get Region Wrap Condition detected interrupt enable mask

Get Region Bus Error interrupt enable mask

Get Region Digest Mismatch interrupt enable mask

Get Region Hash Completed interrupt enable mask

Region Status Updated interrupt status

Region End bit Condition Detected interrupt status

Region Wrap Condition detected interrupt status

Region Bus Error interrupt status

Region Digest Mismatch interrupt status

Region Hash Completed interrupt status

When reading the interrupt (ISR) register, it is cleared

This might result in unexpected results for example when sequentially trying to determine which interrupt triggered.

This is an alternative, return all the data from the register and parse later with the designated get_[name]_int functions.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.