Enum cortex_m::peripheral::sau::SauError
source · pub enum SauError {
RegionNumberTooBig,
WrongBaseAddress,
WrongLimitAddress,
}
Expand description
Possible error values returned by the SAU methods.
Variants§
RegionNumberTooBig
The region number parameter to set or get a region must be between 0 and region_numbers() - 1.
WrongBaseAddress
Bits 0 to 4 of the base address of a SAU region must be set to zero.
WrongLimitAddress
Bits 0 to 4 of the limit address of a SAU region must be set to one.