openMMC
Open Source Modular MMC for AMCs
Loading...
Searching...
No Matches
task_priorities.h
Go to the documentation of this file.
1/*
2 * openMMC -- Open Source modular IPM Controller firmware
3 *
4 * Copyright (C) 2015-2016 Henrique Silva <henrique.silva@lnls.br>
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 *
19 * @license GPL-3.0+ <http://spdx.org/licenses/GPL-3.0+>
20 */
21
22#ifndef TASK_PRIORITIES_H_
23#define TASK_PRIORITIES_H_
24
25#ifndef tskIDLE_PRIORITY
26#define tskIDLE_PRIORITY (0)
27#endif
28
29#define tskLED_PRIORITY (tskIDLE_PRIORITY+1)
30#define tskFPGA_COMM_PRIORITY (tskIDLE_PRIORITY+1)
31#define tskWATCHDOG_PRIORITY (tskIDLE_PRIORITY+1)
32
33#define tskPAYLOAD_PRIORITY (tskIDLE_PRIORITY+2)
34#define tskRTM_MANAGE_PRIORITY (tskIDLE_PRIORITY+2)
35
36#define tskSENSOR_PRIORITY (tskIDLE_PRIORITY+3)
37#define tskHOTSWAP_PRIORITY (tskIDLE_PRIORITY+3)
38#define tskLM75SENSOR_PRIORITY (tskIDLE_PRIORITY+3)
39#define tskMAX6642SENSOR_PRIORITY (tskIDLE_PRIORITY+3)
40#define tskINA220SENSOR_PRIORITY (tskIDLE_PRIORITY+3)
41#define tskINA3221SENSOR_PRIORITY (tskIDLE_PRIORITY+3)
42
43#define tskIPMI_HANDLERS_PRIORITY (tskIDLE_PRIORITY+4)
44#define tskIPMI_PRIORITY (tskIDLE_PRIORITY+4)
45
46#define tskIPMB_RX_PRIORITY (tskIDLE_PRIORITY+5)
47#define tskIPMB_TX_PRIORITY (tskIDLE_PRIORITY+5)
48
49#endif