Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

include/sys/dmotor.h

Go to the documentation of this file.
00001 
00006 /*
00007  *  The contents of this file are subject to the Mozilla Public License
00008  *  Version 1.0 (the "License"); you may not use this file except in
00009  *  compliance with the License. You may obtain a copy of the License
00010  *  at http://www.mozilla.org/MPL/
00011  *
00012  *  Software distributed under the License is distributed on an "AS IS"
00013  *  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
00014  *  the License for the specific language governing rights and
00015  *  limitations under the License.
00016  *
00017  *  The Original Code is legOS code, released October 17, 1999.
00018  *
00019  *  The Initial Developer of the Original Code is Markus L. Noga.
00020  *  Portions created by Markus L. Noga are Copyright (C) 1999
00021  *  Markus L. Noga. All Rights Reserved.
00022  *
00023  *  Contributor(s): Markus L. Noga <markus@noga.de>
00024  */
00025 
00026 #ifndef __sys_dmotor_h__
00027 #define __sys_dmotor_h__
00028 
00029 #ifdef  __cplusplus
00030 extern "C" {
00031 #endif
00032 
00033 #include "../dmotor.h"
00034 
00035 #ifdef CONF_DMOTOR
00036 
00038 //
00039 // Variables
00040 //
00042 
00043 // the RCX-specific motor driver I/O address
00044 extern unsigned char motor_controller;  
00045 
00046 
00048 //
00049 // Functions
00050 //
00052 
00054 //
00055 void dm_init(void);
00056 
00058 //
00059 void dm_shutdown(void);
00060 
00061 #endif // CONF_DMOTOR
00062 
00063 #ifdef  __cplusplus
00064 }
00065 #endif
00066 
00067 #endif // __sys_dmotor_h__

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

Generated on Mon Feb 16 21:02:10 2004 for brickOS Kernel Developer by doxygen 1.3.5