Main Page | File List | Globals

basic.h File Reference

Basic datatypes and definitions. More...

Go to the source code of this file.

Data Structures

struct  measuretype

Defines

#define ROBOT   /*!< defined for the ir.c - actual no use */
#define IRCONT   /*!< steer by IR */
#define SCRIPT   /*!< basic scripting functions: drive, play, loops */
#define SCRIPT2   /*!< further scripting functions: register, conditions */
#define PROGRAMMING   /*!< programming features: Station can program IR-Data and script */
#define BEHAVIOUR   /*!< simple behaviour, drive around, flee if hold and sleep at night */
#define _NOP   asm volatile ("nop\n\t"::) /*!< one NOP operation */

Typedefs

typedef unsigned char u08
 8 bit unsigned

typedef unsigned int u16
 16 bit unsigned

typedef signed char s08
 8 bit signed

typedef signed int s16
 16 bit signed


Enumerations

enum  modtype {
  boredom, sleep, connected, searching,
  flee, empty, script, ircont,
  radar, ir_s, ir_r, irstring_s
}
enum  admodtype {
  none, irstation, irfr2, irpos,
  light, vcc, vcco
}

Variables

enum modtype modus
enum modtype oldmodus
enum modtype oldmodus2
enum admodtype admodus
 Holds the value of the acutal ad-conversation.

measuretype measuremodus [13]


Detailed Description

Basic datatypes and definitions.

Definition in file basic.h.


Define Documentation

#define _NOP   asm volatile ("nop\n\t"::) /*!< one NOP operation */
 

one NOP operation

Definition at line 29 of file basic.h.

Referenced by main().

#define BEHAVIOUR   /*!< simple behaviour, drive around, flee if hold and sleep at night */
 

simple behaviour, drive around, flee if hold and sleep at night

Definition at line 24 of file basic.h.

#define IRCONT   /*!< steer by IR */
 

steer by IR

Definition at line 16 of file basic.h.

#define PROGRAMMING   /*!< programming features: Station can program IR-Data and script */
 

programming features: Station can program IR-Data and script

Definition at line 22 of file basic.h.

#define ROBOT   /*!< defined for the ir.c - actual no use */
 

defined for the ir.c - actual no use

Definition at line 13 of file basic.h.

#define SCRIPT   /*!< basic scripting functions: drive, play, loops */
 

basic scripting functions: drive, play, loops

Definition at line 18 of file basic.h.

#define SCRIPT2   /*!< further scripting functions: register, conditions */
 

further scripting functions: register, conditions

Definition at line 20 of file basic.h.


Enumeration Type Documentation

enum admodtype
 

Enumeration values:
none  normal: off
irstation  for finding the station
irfr2  do not use
irpos  check the distance via ir
light  sensing normal light
vcc  for checking the voltage.
vcco  for checking loading station

Definition at line 33 of file basic.h.


Generated on Wed Feb 2 20:03:50 2005 for Robot by doxygen 1.3.6