libyggdrasil  v1.0.0
cortex.h File Reference

Core control functions. More...

#include <c/common/types.h>
#include <c/common/attributes.h>
#include <core_cm7.h>
Include dependency graph for cortex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

ALWAYS_INLINE void core_DisableInterrupts (void)
 Disables all interrupts. More...
 
ALWAYS_INLINE void core_EnableInterrupts (void)
 Enables all interrupts. More...
 
ALWAYS_INLINE void core_SetInterruptVectorBase (addr_t address)
 Sets the base address of the interrupt vector table. More...
 
ALWAYS_INLINE void core_Delay (u32 ms)
 Delays execution by a certain number of milliseconds. More...
 

Detailed Description

Core control functions.

Author
Fabian Weber, Nikolaij Saegesser

Function Documentation

◆ core_Delay()

ALWAYS_INLINE void core_Delay ( u32  ms)

Delays execution by a certain number of milliseconds.

Parameters
msNumber of milliseconds to wait

◆ core_DisableInterrupts()

ALWAYS_INLINE void core_DisableInterrupts ( void  )

Disables all interrupts.

◆ core_EnableInterrupts()

ALWAYS_INLINE void core_EnableInterrupts ( void  )

Enables all interrupts.

◆ core_SetInterruptVectorBase()

ALWAYS_INLINE void core_SetInterruptVectorBase ( addr_t  address)

Sets the base address of the interrupt vector table.

Parameters
addressBase address