femtoos_headers/femtoos_code.h File Reference

#include "femtoos_core.h"
#include "femtoos_order.h"

Include dependency graph for femtoos_code.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void appBoot (void)
 Prototype for the general initialization.
void appTick00 (void)
 Tick hook called every tick.
void appTick08 (void)
 Tick hook called every tick block (256 ticks).
void appTick16 (void)
 Tick hook called every tick rollover (65536 ticks).


Function Documentation

void appBoot ( void   ) 

Prototype for the general initialization.

The Remember demonstration fills the file system with random numbers and calculates a (xor) hash on before hand. Then three worker tasks are started which read the files with concurrently and calculate hash's for each files. When all workers are done the main task combines the result and checks if it is equal to the value before. If so, a new round is started. Note that this demo wears out the EEPROM rapidly.

Definition at line 49 of file code_TestBare.c.

void appTick00 ( void   ) 

Tick hook called every tick.

Keep code inside really short! API calls inside are not allowed, even the genXXX are not allowed. The tick counter may not be valid when called. This call is executed inside OS realm. In case of low power down, missed ticks are not catched up.

Definition at line 58 of file code_TestHooks.c.

void appTick08 ( void   ) 

Tick hook called every tick block (256 ticks).

Keep code inside short. API calls inside are not allowed, even the genXXX are not allowed. The tick counter may not be valid when called. This call is executed inside OS realm. In case of low power down, missed ticks are not catched up.

Definition at line 62 of file code_TestHooks.c.

void appTick16 ( void   ) 

Tick hook called every tick rollover (65536 ticks).

Keep code inside short. API calls inside are not allowed, even the genXXX are not allowed. The tick counter may not be valid when called. This call is executed inside OS realm. In case of low power down, missed ticks are catched up, but may be deferred.

Definition at line 86 of file code_TestDoorLight.c.


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