Dual Active Bridge Development Board (Part-No. )
Content
Loading...
Searching...
No Matches
os_config.h
1
2
//=======================================================================================================
3
// @file project_setting.h
4
//
5
// @brief contains some project specific settings regarding the operating system parts and application
6
//
7
// @version v1.0
8
// @date 2019-08-22
9
// @author M52409
10
//
11
//=======================================================================================================
12
13
#ifndef _PROJECT_SETTINGS_H_
14
#define _PROJECT_SETTINGS_H_
15
#include <stdbool.h>
16
17
// OS Settings for the OS_Scheduler
18
//
19
// Decide which timing precision you need for your project and choose the right scheduler
20
//-------------------------------------------------------------------------------------------------------
21
#define OS_USE_SCHEDULER_100us true
22
#define OS_USE_SCHEDULER_1ms false
23
//=======================================================================================================
24
25
26
//=======================================================================================================
27
// OS Settings for the OS_Scheduler
28
//
29
// Decide if you want to use OS_Systime in your project
30
//-------------------------------------------------------------------------------------------------------
31
#define OS_USE_SYSTIME false
32
//=======================================================================================================
33
34
//=======================================================================================================
35
// OS Settings for OS_Timer
36
//-------------------------------------------------------------------------------------------------------
37
#define OS_TIMER_NUMBER_OF_TIMERS false
38
//-------------------------------------------------------------------------------------------------------
39
// Application specific Timers:
40
// #define OS_TIMER_COUNTDOWN_MY_STATUS_LED 0
41
//=======================================================================================================
42
43
//=======================================================================================================
44
// OS Settings for the watchdog
45
//-------------------------------------------------------------------------------------------------------
46
#define OS_FEATURE_WATCHDOG_ENABLED true
47
//=======================================================================================================
48
49
//=======================================================================================================
50
// USE MCC driver layer if available
51
//-------------------------------------------------------------------------------------------------------
52
#define OS_USE_MCC_TIMER1 true
53
#define OS_USE_MCC_WATCHDOG true
54
//#define OS_USE_MCC_RESET true
55
//=======================================================================================================
56
57
58
#endif
//_PROJECT_SETTINGS_H_
59
© Copyright 1998-2022 Microchip Technology Inc. All rights reserved.