-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsystem.h
32 lines (25 loc) · 884 Bytes
/
system.h
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
#ifndef SRC_INC_SYSTEM_H_
#define SRC_INC_SYSTEM_H_
/*===============================================
includes
===============================================*/
#include <stdint.h>
#include <stdbool.h>
#include "config.h"
/*===============================================
public constants
===============================================*/
/*===============================================
public data prototypes
===============================================*/
/*===============================================
public function prototypes
===============================================*/
void System_Init(void);
uint32_t System_Ticks(void);
void System_Stop(void);
void System_InitButtonIO(void);
int32_t System_ReadButtonIO(const int32_t id);
void System_InitIRIO(uint8_t mod_af, uint8_t level_af);
void System_SetIRIO(const int32_t val);
#endif // SRC_INC_SYSTEM_H_