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

This file contains the definitions used for timer management. More...

`#include "rwnx_config.h"`
`#include "ke_queue.h"`
`#include "ke_msg.h"`
`#include "co_status.h"`
`#include "hal_machw.h"`

Go to the source code of this file.

## Data Structures
struct | ke_timer
| Timer Object. More...
## Defines
#define | KE_TIMER_DELAY_MAX 300000000
| Timers can be set up to 300s in the future.
#define | MILLI2MICRO 1000
| Standard Multiplier.
## Functions
__INLINE uint32_t | ke_time ()
| Get the current kernel time.
__INLINE bool | ke_time_abs_cmp (uint32_t time1, uint32_t time2)
| Compare absolute expiration time.
__INLINE bool | ke_time_past (uint32_t time)
| Check if the kernel time passed as parameter is in the past.
void | ke_timer_set (ke_msg_id_t const timer_id, ke_task_id_t const task_id, uint32_t const delay)
| Set a timer.
void | ke_timer_clear (ke_msg_id_t const timer_id, ke_task_id_t const task_id)
| Remove an registered timer.
void | ke_timer_schedule (int dummy)
| Schedule the next timer(s).
bool | ke_timer_active (ke_msg_id_t const timer_id, ke_task_id_t const task_id)
| Checks if a requested timer is active.
void | ke_timer_reset (void)
| Remove all the programmed timers.

## Detailed Description

This file contains the definitions used for timer management.

Copyright (C) RivieraWaves 2011-2019

Definition in file ke_timer.h.