\section{aversive\_\-10-03-12/modules/base/scheduler/scheduler\_\-private.h File Reference}
\label{scheduler__private_8h}\index{aversive\_\-10-03-12/modules/base/scheduler/scheduler\_\-private.h@{aversive\_\-10-03-12/modules/base/scheduler/scheduler\_\-private.h}}
{\tt \#include $<$stdint.h$>$}\par
{\tt \#include $<$aversive/queue.h$>$}\par
\subsection*{Data Structures}
\begin{CompactItemize}
\item 
struct {\bf event\_\-t}
\end{CompactItemize}
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define {\bf DUMP\_\-EVENTS}()~do \{\} while(0)
\end{CompactItemize}
\subsection*{Enumerations}
\begin{CompactItemize}
\item 
enum {\bf event\_\-state\_\-t} \{ \par
{\bf SCHEDULER\_\-EVENT\_\-FREE}, 
{\bf SCHEDULER\_\-EVENT\_\-ALLOCATED}, 
{\bf SCHEDULER\_\-EVENT\_\-ACTIVE}, 
{\bf SCHEDULER\_\-EVENT\_\-SCHEDULED}, 
\par
{\bf SCHEDULER\_\-EVENT\_\-DELETING}
 \}
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
struct {\bf event\_\-t} {\bf g\_\-tab\_\-event} [SCHEDULER\_\-NB\_\-MAX\_\-EVENT]
\end{CompactItemize}


\subsection{Define Documentation}
\index{scheduler\_\-private.h@{scheduler\_\-private.h}!DUMP\_\-EVENTS@{DUMP\_\-EVENTS}}
\index{DUMP\_\-EVENTS@{DUMP\_\-EVENTS}!scheduler_private.h@{scheduler\_\-private.h}}
\subsubsection[DUMP\_\-EVENTS]{\setlength{\rightskip}{0pt plus 5cm}\#define DUMP\_\-EVENTS()~do \{\} while(0)}\label{scheduler__private_8h_fab22b3bece65c1a936d8be588613572}




Definition at line 71 of file scheduler\_\-private.h.

Referenced by scheduler\_\-init(), and scheduler\_\-interrupt().

\subsection{Enumeration Type Documentation}
\index{scheduler\_\-private.h@{scheduler\_\-private.h}!event\_\-state\_\-t@{event\_\-state\_\-t}}
\index{event\_\-state\_\-t@{event\_\-state\_\-t}!scheduler_private.h@{scheduler\_\-private.h}}
\subsubsection[event\_\-state\_\-t]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf event\_\-state\_\-t}}\label{scheduler__private_8h_96f64a286c32a7fa45af4833fa0000d6}


state of events \begin{Desc}
\item[Enumerator: ]\par
\begin{description}
\index{SCHEDULER\_\-EVENT\_\-FREE@{SCHEDULER\_\-EVENT\_\-FREE}!scheduler\_\-private.h@{scheduler\_\-private.h}}\index{scheduler\_\-private.h@{scheduler\_\-private.h}!SCHEDULER\_\-EVENT\_\-FREE@{SCHEDULER\_\-EVENT\_\-FREE}}\item[{\em 
SCHEDULER\_\-EVENT\_\-FREE\label{scheduler__private_8h_96f64a286c32a7fa45af4833fa0000d6fcd91faefcbe5b7ae890b0497a0e1656}
}]event is free \index{SCHEDULER\_\-EVENT\_\-ALLOCATED@{SCHEDULER\_\-EVENT\_\-ALLOCATED}!scheduler\_\-private.h@{scheduler\_\-private.h}}\index{scheduler\_\-private.h@{scheduler\_\-private.h}!SCHEDULER\_\-EVENT\_\-ALLOCATED@{SCHEDULER\_\-EVENT\_\-ALLOCATED}}\item[{\em 
SCHEDULER\_\-EVENT\_\-ALLOCATED\label{scheduler__private_8h_96f64a286c32a7fa45af4833fa0000d67f11c7d8f3cb47ac98b4923f8e77759e}
}]a place is reserved in the tab \index{SCHEDULER\_\-EVENT\_\-ACTIVE@{SCHEDULER\_\-EVENT\_\-ACTIVE}!scheduler\_\-private.h@{scheduler\_\-private.h}}\index{scheduler\_\-private.h@{scheduler\_\-private.h}!SCHEDULER\_\-EVENT\_\-ACTIVE@{SCHEDULER\_\-EVENT\_\-ACTIVE}}\item[{\em 
SCHEDULER\_\-EVENT\_\-ACTIVE\label{scheduler__private_8h_96f64a286c32a7fa45af4833fa0000d61c732900f0d0ded167ec5e6719bc5e21}
}]fields are filled correctly, event can be scheduled \index{SCHEDULER\_\-EVENT\_\-SCHEDULED@{SCHEDULER\_\-EVENT\_\-SCHEDULED}!scheduler\_\-private.h@{scheduler\_\-private.h}}\index{scheduler\_\-private.h@{scheduler\_\-private.h}!SCHEDULER\_\-EVENT\_\-SCHEDULED@{SCHEDULER\_\-EVENT\_\-SCHEDULED}}\item[{\em 
SCHEDULER\_\-EVENT\_\-SCHEDULED\label{scheduler__private_8h_96f64a286c32a7fa45af4833fa0000d64faacf6e5eeedb217e8451d4d982647a}
}]event is inserted in a list to be running soon, or is running \index{SCHEDULER\_\-EVENT\_\-DELETING@{SCHEDULER\_\-EVENT\_\-DELETING}!scheduler\_\-private.h@{scheduler\_\-private.h}}\index{scheduler\_\-private.h@{scheduler\_\-private.h}!SCHEDULER\_\-EVENT\_\-DELETING@{SCHEDULER\_\-EVENT\_\-DELETING}}\item[{\em 
SCHEDULER\_\-EVENT\_\-DELETING\label{scheduler__private_8h_96f64a286c32a7fa45af4833fa0000d60ad9250748a0a6da9b6a9ecf1a95f79b}
}]event is scheduled but we asked to delete it \end{description}
\end{Desc}



Definition at line 38 of file scheduler\_\-private.h.

\subsection{Variable Documentation}
\index{scheduler\_\-private.h@{scheduler\_\-private.h}!g\_\-tab\_\-event@{g\_\-tab\_\-event}}
\index{g\_\-tab\_\-event@{g\_\-tab\_\-event}!scheduler_private.h@{scheduler\_\-private.h}}
\subsubsection[g\_\-tab\_\-event]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf event\_\-t} {\bf g\_\-tab\_\-event}[SCHEDULER\_\-NB\_\-MAX\_\-EVENT]}\label{scheduler__private_8h_b6afd7536844985dc4f8617825e8ceeb}


declared in \doxyref{scheduler\_\-host.c}{p.}{scheduler__host_8c} in case of host version

declared in \doxyref{scheduler.c}{p.}{scheduler_8c} in case of AVR version 

Definition at line 35 of file scheduler.c.

Referenced by dump\_\-events(), scheduler\_\-add\_\-event(), scheduler\_\-del\_\-event(), scheduler\_\-init(), and scheduler\_\-interrupt().