demos_source/code_TestMinimal.c File Reference

#include "femtoos_code.h"

Include dependency graph for code_TestMinimal.c:

Go to the source code of this file.

Functions

void appLoop_LEDtask (void)
void appLoop_SWITCHtask (void)

Variables

volatile Tuint08 state
 This file is solely for demonstration purposes.


Function Documentation

void appLoop_LEDtask ( void   ) 

Definition at line 46 of file code_TestMinimal.c.

References state.

void appLoop_SWITCHtask ( void   ) 

Definition at line 52 of file code_TestMinimal.c.

References state.


Variable Documentation

volatile Tuint08 state

This file is solely for demonstration purposes.

This example is made to demonstrate how small the Femto OS can be. It just runs two tasks. One task reads the status of the switches and copies the result to a variable. The other reads the variable and displays it on the leds. It takes around 600 bytes of flash and 29 bytes of ram.

Definition at line 43 of file code_TestMinimal.c.

Referenced by appLoop_LEDtask(), and appLoop_SWITCHtask().


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