Bar Logo 4kW dsPIC33C PSFB DC-DC DA (Part-No. )
 
Content
     
Loading...
Searching...
No Matches
os.h
1//=======================================================================================================
2// Copyright(c) 2018 Microchip Technology Inc. and its subsidiaries.
3// Subject to your compliance with these terms, you may use Microchip software and any derivatives
4// exclusively with Microchip products. It is your responsibility to comply with third party license
5// terms applicable to your use of third-party software (including open source software) that may
6// accompany Microchip software.
7// THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY,
8// APPLY TO THIS SOFTWARE, INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND
9// FITNESS FOR A PARTICULAR PURPOSE.
10// IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR CONSEQUENTIAL
11// LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF
12// MICROCHIP HAS BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT
13// ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY RELATED TO THIS SOFTWARE WILL NOT
14// EXCEED THE AMOUNT OF FEES, IF ANY, THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE.
15//=======================================================================================================
16
17//=======================================================================================================
18// @file os.h
19//
20// @brief includes all the other header files that are necessary for the project
21//
22// @note adjust the options of the operating system according your needs in main/project_settings.h
23// @note call the Init function in your main.c
24// @note call the OS_Scheduler_Run in your main loop or call the RunForever-Function in your main.c
25//
26// @version v1.0
27// @date 2019-08-02
28// @author M52409
29//
30//=======================================================================================================
31#ifndef OS_H
32#define OS_H
33
34#include "../project_settings.h"
35#include "os_scheduler.h"
36
37
38
39#ifdef __cplusplus // Provide C++ Compatibility
40 extern "C" {
41#endif
42
43
44//=======================================================================================================
45// @brief Initializes all Operating System Components
46// @note call this function in your main routine before calling the RunForever function
47//=======================================================================================================
48extern void OS_Init(void);
49
50
51#ifdef __cplusplus // Provide C++ Compatibility
52 }
53#endif
54#endif // OS_H