#include "sys/sys.h"
#include "rpp/eth.h"
+#include "sys/ti_drv_can.h"
void esmGroup1Notification(uint32_t channel)
{
while (1) ;
}
-/** Semaphore used to stop command, until message is received */
-xSemaphoreHandle linMsgReceived;
-/** Semaphore used to stop command, until ID is received */
-xSemaphoreHandle linIDReceived;
-void linNotification(linBASE_t *lin, uint32_t flags)
-{
- /* FIXME Moved code from somewhere else. It was in cmd_lin.c
- * It seems that nobody in the library uses this.
- * sys/ti_drv_lin.c calls this function from linLowLevelInterrupt()
- * The function prototipe is in sys/ti_drv_lin.h, so maybe it should be
- * better to move it there, but because it is a "high-level" notification
- * it could be here.
- */
- if (flags & LIN_ID_INT)
- xSemaphoreGiveFromISR(linIDReceived, NULL);
- if (flags & LIN_RX_INT) {
- lin->FLR |= (1 << 9);
- xSemaphoreGiveFromISR(linMsgReceived, NULL);
- }
-}
-
#ifndef FREERTOS_POSIX
extern boolean_t HostPendErrHandler(void);
#if PHY_LINK_MONITOR_INT