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

pub enum SauError {
    RegionNumberTooBig,
    WrongBaseAddress,
    WrongLimitAddress,
}

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

impl Debug for SauError[src]

Auto Trait Implementations

impl Send for SauError

impl Sync for SauError

impl Unpin for SauError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.