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

This file contains the scheduler primitives called to create or delete a task. More...

#include <stddef.h>
#include "co_int.h"
#include "co_bool.h"
#include "dbg_assert.h"
#include "ke_config.h"
#include "ke_mem.h"
#include "ke_env.h"
#include "ke_event.h"
#include "ke_timer.h"
#include "ke_task.h"
#include "dbg.h"
#include "hal_machw.h"

Go to the source code of this file.

Functions

static void ke_timer_hw_set (struct ke_timer *timer)
 Set the HW timer with the first timer of the queue.
static bool cmp_abs_time (struct co_list_hdr const *timerA, struct co_list_hdr const *timerB)
 Compare timer absolute expiration time.
static bool cmp_timer_id (struct co_list_hdr const *timer, uint32_t timer_task)
 Compare timer and task IDs callback.
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 scheduler primitives called to create or delete a task.

It contains also the scheduler itself.

Copyright (C) RivieraWaves 2011-2019

Definition in file ke_timer.c.


Generated on 14 Jan 2020 for Ceva-RW WLAN FullMAC SW documentation by  doxygen 1.6.1