demos_source/code_TestInterrupt.c File Reference

#include "femtoos_code.h"

Include dependency graph for code_TestInterrupt.c:

Go to the source code of this file.

Defines

#define delay03   2229U
#define delay02   1218U
#define delay01   666U
#define delay00   364U
#define smallISR   cfgTrue

Functions

void appBoot (void)
 Prototype for the general initialization.
static void setLed (Tuint08 lednr, Tbool state)
void appLoop_LEDtask0 (void)
void appLoop_LEDtask1 (void)
void appLoop_LEDtask2 (void)
void appLoop_LEDtask3 (void)
void devSigExternalInt (void)


Define Documentation

#define delay00   364U

Definition at line 52 of file code_TestInterrupt.c.

#define delay01   666U

Definition at line 51 of file code_TestInterrupt.c.

#define delay02   1218U

Definition at line 50 of file code_TestInterrupt.c.

#define delay03   2229U

Definition at line 49 of file code_TestInterrupt.c.

#define smallISR   cfgTrue

Definition at line 65 of file code_TestInterrupt.c.


Function Documentation

void appBoot ( void   ) 

Prototype for the general initialization.

This example is made to demonstrate how the tick hooks can be used. There are three tick hooks present. One on every tick, one on every tick block (256 ticks) and one on every rollover (65536 ticks). They all are coupled to a counter and with one switch you can switch between the different hooks. The counter is display on the ledport. (PORTA on the ATtiny861)

Definition at line 56 of file code_TestInterrupt.c.

References preBitSet1.

void appLoop_LEDtask0 ( void   ) 

Definition at line 76 of file code_TestInterrupt.c.

References defSuspendCheck, delay00, setLed, taskDelayFromNow(), taskSuspend(), and Tuint08.

Here is the call graph for this function:

void appLoop_LEDtask1 ( void   ) 

Definition at line 84 of file code_TestInterrupt.c.

References defSuspendCheck, delay01, setLed, taskDelayFromNow(), taskSuspend(), and Tuint08.

Here is the call graph for this function:

void appLoop_LEDtask2 ( void   ) 

Definition at line 92 of file code_TestInterrupt.c.

References defSuspendCheck, delay02, setLed, taskDelayFromNow(), taskSuspend(), and Tuint08.

Here is the call graph for this function:

void appLoop_LEDtask3 ( void   ) 

Definition at line 100 of file code_TestInterrupt.c.

References defSuspendCheck, delay03, setLed, taskDelayFromNow(), taskSuspend(), and Tuint08.

Here is the call graph for this function:

void devSigExternalInt ( void   ) 

Definition at line 115 of file code_TestInterrupt.c.

References genResumeOnName, genSuspendOnName, isrStackCheck(), preBitIsSet, and Tuint08.

Here is the call graph for this function:

static void setLed ( Tuint08  lednr,
Tbool  state 
) [static]

Definition at line 68 of file code_TestInterrupt.c.

References taskEnterGlobalCritical(), and taskExitGlobalCritical().

Here is the call graph for this function:


Generated on Fri Oct 16 00:05:24 2009 for FemtoOS by  doxygen 1.5.2