31 lines
686 B
C
31 lines
686 B
C
/*
|
|
* CANopen Task relevant settings for FreeRTOS usage
|
|
*
|
|
* Note:
|
|
* Include codrv_FreeRTOS_macros.h in gen_define.h!
|
|
*
|
|
* This header contains declarations, that are depend from the included CANopen and FreeRTOS headers.
|
|
*
|
|
*/
|
|
#ifndef CODRV_FREERTOS_H
|
|
#define CODRV_FREERTOS_H 1
|
|
|
|
|
|
#ifdef SEMAPHORE_H
|
|
/* required external variables include <semphr.h>*/
|
|
|
|
/* semphCANopen is used to wake up the CANopen task */
|
|
extern SemaphoreHandle_t semphCANopen;
|
|
/* semphObjDir is used to Lock the object dictionary access */
|
|
extern SemaphoreHandle_t semphObjDir;
|
|
#endif
|
|
|
|
|
|
#ifdef CO_DATATYPE_H
|
|
/* function declarations - co_canopen.h*/
|
|
RET_T codrvOSConfig(void);
|
|
#endif
|
|
|
|
|
|
#endif /* CODRV_FREERTOS_H */
|