-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.h
More file actions
32 lines (25 loc) · 680 Bytes
/
main.h
File metadata and controls
32 lines (25 loc) · 680 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
/*
* Copyright 2024 SZIGETI János
*
* This file is part of Bilis ESP32 Basic, which is released under GNU General Public License.version 3.
* See LICENSE or <https://www.gnu.org/licenses/> for full license details.
*/
#ifndef MAIN_H
#define MAIN_H
#include <stdint.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
extern const bool gbStartAppCpu;
extern const uint16_t gu16Tim00Divisor;
extern const uint64_t gu64tckSchedulePeriod;
void prog_init_pro_pre();
void prog_init_app();
void prog_init_pro_post();
void prog_cycle_pro(uint64_t u64tckCur);
void prog_cycle_app(uint64_t u64tckCur);
#ifdef __cplusplus
}
#endif
#endif /* MAIN_H */