com_simulhorloge.c File Reference

PT thread managing software clock. More...

#include <Messages.h>
#include <timedef.h>
#include <TimeManage.h>
#include <string.h>
#include <Resize_Nb_top.h>

Include dependency graph for com_simulhorloge.c:

Go to the source code of this file.

Functions

 PT_THREAD (simuleHorloge(struct pt *pt))
 Manage software system clock.

Variables

static UINT32 clock_cour = 0
static UINT32 clock_prec = 0
DeadlinesStruct Deadlines [NB_DEADLINES]
UINT16 Nb_top
 Software system clock.


Detailed Description

PT thread managing software clock.

Date:
2008/ 11/ 26 code review and documentation by ANGER Thomas
Version:
1.0

Definition in file com_simulhorloge.c.


Function Documentation

PT_THREAD ( simuleHorloge(struct pt *pt  ) 

Manage software system clock.

Parameters:
[in] pt : pointer to PThread structure

Definition at line 50 of file com_simulhorloge.c.

References clock_cour, clock_prec, clockb(), flag_Clock_ticks_carry, Flag_PT, NB_TICK_MAX, Nb_top, PT_BEGIN, PT_END, PT_WAIT_UNTIL, Resize_Nb_top(), flag_protothreads::simuleHorloge, and TIME_BASE.

Here is the call graph for this function:


Variable Documentation

UINT32 clock_cour = 0 [static]

Definition at line 33 of file com_simulhorloge.c.

Referenced by PT_THREAD().

UINT32 clock_prec = 0 [static]

Definition at line 32 of file com_simulhorloge.c.

Referenced by PT_THREAD().

DeadlinesStruct Deadlines[NB_DEADLINES]

Definition at line 76 of file Bootloader/CONFIG/VG.C.

Software system clock.

Definition at line 64 of file Bootloader/CONFIG/VG.C.


Generated on Wed Jun 3 12:05:42 2009 for PowWow v1.0 by  doxygen 1.5.6