| /******************************************************************************* |
| * Copyright (c) 2019 Dortmund University of Applied Sciences and Arts and others. |
| * |
| * This program and the accompanying materials are made |
| * available under the terms of the Eclipse Public License 2.0 |
| * which is available at https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Dortmund University of Applied Sciences and Arts - initial API and implementation |
| *******************************************************************************/ |
| |
| #ifndef SRC_PARALLELLA_TASKCODE_H_ |
| #define SRC_PARALLELLA_TASKCODE_H_ |
| |
| /** |
| * @file taskCode.h |
| * @author Mahmoud Bazzal, Anand Prakash |
| * @date 24 May 2020 |
| * @brief This file is used to define the functions for implementing tasks handlers. |
| * |
| */ |
| #include "c2c.h" |
| #include "ParallellaUtils.h" |
| #include "shared_comms.h" |
| #include "FreeRTOS.h" |
| #include "task.h" |
| #include "queue.h" |
| |
| //declare taskHandler functions |
| |
| void handler5ms(int src_id, int src_instance); |
| void handler10ms(int src_id, int src_instance); |
| void handler20ms(int src_id, int src_instance); |
| void handler10msCore2(int src_id, int src_instance); |
| void handler20msCore2(int src_id, int src_instance); |
| //------- |
| |
| |
| #endif /* SRC_PARALLELLA_TASKCODE_H_ */ |