-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.h
More file actions
40 lines (35 loc) · 783 Bytes
/
types.h
File metadata and controls
40 lines (35 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/**
******************************************************************************
* @file types.h
* @author Paolo Sassi
* @date 22 January 2016
* @brief Type definitions.
******************************************************************************
*/
#ifndef TYPES_H_
#define TYPES_H_
/**
* @addtogroup types Types
* @{
*/
typedef char char_t;
typedef signed char int8_t;
typedef signed short int16_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef float float32_t;
typedef double float64_t;
typedef long double float128_t;
/**
* @brief Data structure containing timing information.
*/
typedef struct time_ {
uint8_t hours;
uint8_t minutes;
uint8_t seconds;
uint8_t tenths;
} time;
/**
* @}
*/
#endif /* TYPES_H_ */