# /space/home/slher/rel/Beken/v6_4_5/macsw/modules/ke/src/ke_event.h File Reference

This file contains the definition related to kernel events. More...

`#include "rwnx_config.h"`
`#include "ke_env.h"`
`#include "co_math.h"`

Go to the source code of this file.

## Functions
__INLINE evt_field_t | ke_evt_get (void)
| Retrieves the pending events bit field.
void | ke_evt_set (evt_field_t const event)
| Set events.
void | ke_evt_clear (evt_field_t const event)
| Clear events.
void | ke_evt_schedule (void)
| Event scheduler entry point.
void | ke_init (void)
| This function performs all the initializations of the kernel.
void | ke_flush (void)
| This function flushes all messages, timers and events currently pending in the kernel.
## Event definitions
#define | KE_EVT_RESET_BIT CO_BIT(31 - KE_EVT_RESET)
| Reset event.
#define | KE_EVT_MM_TIMER_BIT CO_BIT(31 - KE_EVT_MM_TIMER)
| MM timer event.
#define | KE_EVT_KE_TIMER_BIT CO_BIT(31 - KE_EVT_KE_TIMER)
| Kernel timer event.
#define | KE_EVT_KE_MESSAGE_BIT CO_BIT(31 - KE_EVT_KE_MESSAGE)
| Kernel message event.
#define | KE_EVT_HW_IDLE_BIT CO_BIT(31 - KE_EVT_HW_IDLE)
| IDLE state event.
#define | KE_EVT_PRIMARY_TBTT_BIT CO_BIT(31 - KE_EVT_PRIMARY_TBTT)
| Primary TBTT event.
#define | KE_EVT_SECONDARY_TBTT_BIT CO_BIT(31 - KE_EVT_SECONDARY_TBTT)
| Secondary TBTT event.
#define | KE_EVT_RXUREADY_BIT CO_BIT(31 - KE_EVT_RXUREADY)
| RXU ready event.
#define | KE_EVT_RXREADY_BIT CO_BIT(31 - KE_EVT_RXREADY)
| RX ready event.
#define | KE_EVT_RXUPLOADED_BIT CO_BIT(31 - KE_EVT_RXUPLOADED)
| RX DMA event.
#define | KE_EVT_TXFRAME_CFM_BIT CO_BIT(31 - KE_EVT_TXFRAME_CFM)
| Internal frame confirmation event.
#define | KE_EVT_MACIF_TXDESC_BCN_BIT CO_BIT(31 - KE_EVT_MACIF_TXDESC_BCN)
| IPC tx data event.
#define | KE_EVT_MACIF_TXDESC_AC3_BIT CO_BIT(31 - KE_EVT_MACIF_TXDESC_AC3)
| IPC tx data event.
#define | KE_EVT_MACIF_TXDESC_AC2_BIT CO_BIT(31 - KE_EVT_MACIF_TXDESC_AC2)
| IPC tx data event.
#define | KE_EVT_MACIF_TXDESC_AC1_BIT CO_BIT(31 - KE_EVT_MACIF_TXDESC_AC1)
| IPC tx data event.
#define | KE_EVT_MACIF_TXDESC_AC0_BIT CO_BIT(31 - KE_EVT_MACIF_TXDESC_AC0)
| IPC tx data event.
#define | KE_EVT_MACIF_MSG_BIT CO_BIT(31 - KE_EVT_MACIF_MSG)
| Application message event.
#define | KE_EVT_TXCFM_BCN_BIT CO_BIT(31 - KE_EVT_TXCFM_BCN)
| Tx confirmation event.
#define | KE_EVT_TXCFM_AC0_BIT CO_BIT(31 - KE_EVT_TXCFM_AC0)
| Tx confirmation event.
#define | KE_EVT_TXCFM_AC1_BIT CO_BIT(31 - KE_EVT_TXCFM_AC1)
| Tx confirmation event.
#define | KE_EVT_TXCFM_AC2_BIT CO_BIT(31 - KE_EVT_TXCFM_AC2)
| Tx confirmation event.
#define | KE_EVT_TXCFM_AC3_BIT CO_BIT(31 - KE_EVT_TXCFM_AC3)
| Tx confirmation event.
#define | KE_EVT_GP_DMA_DL_BIT CO_BIT(31 - KE_EVT_GP_DMA_DL)
| General purpose DMA DL event.
#define | KE_EVT_GP_DMA_UL_BIT CO_BIT(31 - KE_EVT_GP_DMA_UL)
| General purpose DMA UL event.
#define | KE_EVT_TXCFM_MASK
| Mask of the TX confirmation events.
enum | { KE_EVT_RESET = 0, KE_EVT_GP_DMA_UL, KE_EVT_MM_TIMER, KE_EVT_KE_TIMER, KE_EVT_MACIF_MSG, KE_EVT_KE_MESSAGE, KE_EVT_HW_IDLE, KE_EVT_PRIMARY_TBTT, KE_EVT_SECONDARY_TBTT, KE_EVT_RXUPLOADED, KE_EVT_RXUREADY, KE_EVT_RXREADY, KE_EVT_TXFRAME_CFM, KE_EVT_TXCFM_BCN, KE_EVT_TXCFM_AC3, KE_EVT_TXCFM_AC2, KE_EVT_TXCFM_AC1, KE_EVT_TXCFM_AC0, KE_EVT_MACIF_TXDESC_BCN, KE_EVT_MACIF_TXDESC_AC3, KE_EVT_MACIF_TXDESC_AC2, KE_EVT_MACIF_TXDESC_AC1, KE_EVT_MACIF_TXDESC_AC0, KE_EVT_GP_DMA_DL, KE_EVT_MAX }
| Offset of the different events in the event bit field. More...

## Detailed Description

This file contains the definition related to kernel events.

Copyright (C) RivieraWaves 2011-2019

Definition in file ke_event.h.