libyggdrasil
v1.0.0
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
i
o
p
r
s
Functions
Variables
Typedefs
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
l
m
o
p
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
m
o
p
r
s
t
u
w
~
Variables
a
b
c
d
e
f
g
i
l
m
o
p
r
s
t
v
x
y
z
Typedefs
Enumerations
Related Functions
Files
File List
File Members
All
_
a
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
w
y
Functions
_
c
d
y
Variables
Typedefs
Enumerations
Enumerator
c
d
e
h
i
m
s
Macros
a
c
d
f
h
l
m
n
o
p
s
t
u
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
cortex.h
Go to the documentation of this file.
1
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2
* _____.___. .___ .__.__ *
3
* \__ | | ____ ____ __| _/___________ _____|__| | *
4
* / | |/ ___\ / ___\ / __ |\_ __ \__ \ / ___/ | | *
5
* \____ / /_/ > /_/ > /_/ | | | \// __ \_\___ \| | |__ *
6
* / ______\___ /\___ /\____ | |__| (____ /____ >__|____/ *
7
* \/ /_____//_____/ \/ \/ \/ *
8
* - Asgard - *
9
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
10
* This software can be used by students and other personal of the *
11
* Bern University of Applied Sciences under the terms of the MIT *
12
* license. *
13
* For other persons this software is under the terms of the GNU *
14
* General Public License version 2. *
15
* *
16
* Copyright © 2021, Bern University of Applied Sciences. *
17
* All rights reserved. *
18
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
26
#pragma once
27
28
#include <
c/common/types.h
>
29
#include <
c/common/attributes.h
>
30
#include <unistd.h>
31
37
ALWAYS_INLINE
void
core_Delay
(
u32
ms) {
38
usleep(ms * 1
'000);
39
}
types.h
Commonly used type definitions and helper templates.
ALWAYS_INLINE
#define ALWAYS_INLINE
Definition:
attributes.h:34
u32
uint32_t u32
Definition:
types.h:38
attributes.h
Commonly used C and GNU attributes.
core_Delay
ALWAYS_INLINE void core_Delay(u32 ms)
Delays execution by a certain number of milliseconds.
Definition:
cortex.h:37
Inc
c
asgard
core
cortex.h
Generated by
1.8.20