Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

sw.c File Reference

Errno functions. More...

#include <config.h>
#include <sw.h>
#include <types.h>

Functions

void sw_set (iu16 value)
 Function for setting sw. More...


Variables

iu16 sw
 Status word returned by functions. More...


Detailed Description

Errno functions.

Id:
sw.c,v 1.1 2002/12/22 15:42:55 m Exp


Function Documentation

void sw_set iu16    value
 

Function for setting sw.

This function reduces the code size on the AVR architecture.


Variable Documentation

iu16 sw
 

Status word returned by functions.

The state of sw is undefined, on return value TRUE.

The content of this variable is returned at the end of the command interpreter loop. Functions falled from the command interpreter loop should set it to SW_OK if they return without error.


Copyright 2002 by Matthias Bruestle. This is licensed under the GNU General Public License.