libyggdrasil
v1.0.0
types.h
Go to the documentation of this file.
1
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2
* _____.___. .___ .__.__ *
3
* \__ | | ____ ____ __| _/___________ _____|__| | *
4
* / | |/ ___\ / ___\ / __ |\_ __ \__ \ / ___/ | | *
5
* \____ / /_/ > /_/ > /_/ | | | \// __ \_\___ \| | |__ *
6
* / ______\___ /\___ /\____ | |__| (____ /____ >__|____/ *
7
* \/ /_____//_____/ \/ \/ \/ *
8
* - Common - *
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 <stdint.h>
// Exact width integer definitions
29
#include <stdbool.h>
30
#include <stddef.h>
31
36
typedef
uint8_t
u8
;
37
typedef
uint16_t
u16
;
38
typedef
uint32_t
u32
;
39
typedef
uint64_t
u64
;
46
typedef
int8_t
i8
;
47
typedef
int16_t
i16
;
48
typedef
int32_t
i32
;
49
typedef
int64_t
i64
;
52
typedef
u32
addr_t
;
u16
uint16_t u16
Definition:
types.h:37
u8
uint8_t u8
Unsigned integer definitions.
Definition:
types.h:36
i16
int16_t i16
Definition:
types.h:47
addr_t
u32 addr_t
Definition:
types.h:52
i32
int32_t i32
Definition:
types.h:48
u64
uint64_t u64
Definition:
types.h:39
u32
uint32_t u32
Definition:
types.h:38
i8
int8_t i8
Signed integer definitions.
Definition:
types.h:46
i64
int64_t i64
Definition:
types.h:49
Inc
c
common
types.h
Generated by
1.8.20