blob: 1b06fb6f37aa54aedd170b2cabb6666cdb7457fc [file] [log] [blame]
#ifndef __DXS_EVENT_H__
#define __DXS_EVENT_H__
/******************************************************************************
Copyright (c) 2006-2015 Lantiq Deutschland GmbH
Copyright (c) 2015 Lantiq Beteiligungs-GmbH & Co.KG
Copyright 2018, Intel Corporation.
For licensing information, see the file 'LICENSE' in the root folder of
this software module.
******************************************************************************/
/**
\file dxs_event.h
Event handling functions declarations.
*/
/* ========================================================================== */
/* Includes */
/* ========================================================================== */
/* ========================================================================== */
/* Macro definitions */
/* ========================================================================== */
/* ========================================================================== */
/* Type definitions */
/* ========================================================================== */
/* ========================================================================== */
/* Function prototypes */
/* ========================================================================== */
extern int32_t dxs_event_pool_init(DXS_DEVICE_t *pDev);
extern int32_t dxs_event_get(DXS_DEVICE_t *pDev, DXS_Event_t *pEvent);
extern void DXS_EventDispatch (DXS_DEVICE_t *pDev, DXS_Event_t *pEvent);
extern void dxs_event_pool_exit(DXS_DEVICE_t *pDev);
extern int32_t DXS_EventEnable(DXS_CHANNEL_t *pCh, DXS_Event_id_t ev);
extern int32_t DXS_EventDisable(DXS_CHANNEL_t *pCh, DXS_Event_id_t ev);
extern void DXS_EventMaskSetDefault(DXS_CHANNEL_t *pCh);
#endif /* __DXS_EVENT_H__ */