/* stops the event processor 
Stops the event processor and frees the event queue semaphore Called by the component de-initialization function, ixEthDBUnload() */
IX_ETH_DB_PUBLIC IxEthDBStatus ixEthDBStopLearningFunction(void)
/* stops the event processor 
Stops the event processor and frees the event queue semaphore Called by the component de-initialization function, ixEthDBUnload() */
IX_ETH_DB_PUBLIC IxEthDBStatus ixEthDBStopLearningFunction(void)
{
    ixEthDBLearningShutdown = TRUE;
    ixOsalSemaphorePost(&eventQueueSemaphore);
    if (ixOsalSemaphoreDestroy(&eventQueueSemaphore) != IX_SUCCESS)
    {
        return IX_ETH_DB_FAIL;
    }
    return IX_ETH_DB_SUCCESS;
}