[][src]Struct cortex_m::peripheral::SCB

pub struct SCB { /* fields omitted */ }

System Control Block

Methods

impl SCB
[src]

Returns the active exception number

impl SCB
[src]

Enables I-Cache if currently disabled

Disables I-Cache if currently enabled

Returns whether the I-Cache is currently enabled

Invalidates I-Cache

Enables D-cache if currently disabled

Disables D-cache if currently enabled

Returns whether the D-Cache is currently enabled

Cleans D-cache

Cleans and invalidates D-cache

Invalidates D-cache by address

addr: the address to invalidate size: size of the memory block, in number of bytes

Invalidates cache starting from the lowest 32-byte aligned address represented by addr, in blocks of 32 bytes until at least size bytes have been invalidated.

Cleans D-cache by address

addr: the address to clean size: size of the memory block, in number of bytes

Cleans cache starting from the lowest 32-byte aligned address represented by addr, in blocks of 32 bytes until at least size bytes have been cleaned.

Cleans and invalidates D-cache by address

addr: the address to clean and invalidate size: size of the memory block, in number of bytes

Cleans and invalidates cache starting from the lowest 32-byte aligned address represented by addr, in blocks of 32 bytes until at least size bytes have been cleaned and invalidated.

impl SCB
[src]

Set the SLEEPDEEP bit in the SCR register

Clear the SLEEPDEEP bit in the SCR register

impl SCB
[src]

Initiate a system reset request to reset the MCU

impl SCB
[src]

Returns a pointer to the register block

Trait Implementations

impl Send for SCB
[src]

impl Deref for SCB
[src]

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

impl !Sync for SCB

Blanket Implementations

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> From for T
[src]

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

Mutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more