Main Page | Data Structures | File List | Data Fields | Globals | Related Pages

include/dirpd.h File Reference

Interface: direct control of Dual IR Proximity Detector. More...

Go to the source code of this file.

Defines

#define DIRPD_LEFT_S   0xd000
#define DIRPD_LEFT_E   0xe000
#define DIRPD_RIGHT_S   0xb000
#define DIRPD_RIGHT_E   0xbfff
#define DIRPD_CENTER_S   0xf000
#define DIRPD_CENTER_E   0xffff
#define DIRPD_NONE_S   0x8000
#define DIRPD_NONE_E   0x8fff
#define DIRPD_LEFT(araw)   (araw >= DIRPD_LEFT_S && araw <= DIRPD_LEFT_E)
#define DIRPD_RIGHT(araw)   (araw >= DIRPD_RIGHT_S && araw <= DIRPD_RIGHT_E)
#define DIRPD_CENTER(araw)   (araw >= DIRPD_CENTER_S && araw <= DIRPD_CENTER_E)
#define DIRPD_NONE(araw)   (araw >= DIRPD_NONE_S && araw <= DIRPD_NONE_E)


Detailed Description

Interface: direct control of Dual IR Proximity Detector.

Author:
Mark Falco (falcom@onebox.com)
This code applies to the Dual IR Proximity Detector that can be ordered from http://www.techno-stuff.com. You may need to modify the ranges

Definition in file dirpd.h.


Define Documentation

#define DIRPD_CENTER araw   )     (araw >= DIRPD_CENTER_S && araw <= DIRPD_CENTER_E)
 

Definition at line 47 of file dirpd.h.

#define DIRPD_CENTER_E   0xffff
 

Definition at line 36 of file dirpd.h.

#define DIRPD_CENTER_S   0xf000
 

Definition at line 35 of file dirpd.h.

#define DIRPD_LEFT araw   )     (araw >= DIRPD_LEFT_S && araw <= DIRPD_LEFT_E)
 

Definition at line 45 of file dirpd.h.

#define DIRPD_LEFT_E   0xe000
 

Definition at line 28 of file dirpd.h.

#define DIRPD_LEFT_S   0xd000
 

Definition at line 27 of file dirpd.h.

#define DIRPD_NONE araw   )     (araw >= DIRPD_NONE_S && araw <= DIRPD_NONE_E)
 

Definition at line 48 of file dirpd.h.

#define DIRPD_NONE_E   0x8fff
 

Definition at line 40 of file dirpd.h.

#define DIRPD_NONE_S   0x8000
 

Definition at line 39 of file dirpd.h.

#define DIRPD_RIGHT araw   )     (araw >= DIRPD_RIGHT_S && araw <= DIRPD_RIGHT_E)
 

Definition at line 46 of file dirpd.h.

#define DIRPD_RIGHT_E   0xbfff
 

Definition at line 32 of file dirpd.h.

#define DIRPD_RIGHT_S   0xb000
 

Definition at line 31 of file dirpd.h.


brickOS is released under the Mozilla Public License.
Original code copyright 1998-2002 by the authors.

Generated on Mon Feb 16 21:01:53 2004 for brickOS C by doxygen 1.3.5