Enum cortex_m::peripheral::sau::SauError[][src]

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.

Trait Implementations

Formats the value using the given formatter. Read more

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

Performs the conversion.

Performs the conversion.

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.