$search
00001 /* -*- mode: C++ -*- 00002 * 00003 * Description: Quicksilver SilverLode hardware interface 00004 * 00005 * Copyright (C) 2011 Austin Robot Technology 00006 * License: Modified BSD Software License Agreement 00007 * 00008 * $Id: silverlode.h 1161 2011-03-26 02:10:49Z jack.oquin $ 00009 */ 00010 00011 #ifndef _SILVERLODE_H_ 00012 #define _SILVERLODE_H_ 00013 00014 namespace silverlode 00015 { 00016 00017 namespace isw 00018 { 00019 enum isw 00020 { 00021 index_found = 0x0001, 00022 last_calc_zero = 0x0002, 00023 last_calc_pos = 0x0004, 00024 last_calc_neg = 0x0008, 00025 io_1_high = 0x0010, 00026 io_2_high = 0x0020, 00027 io_3_high = 0x0040, 00028 temp_driver_en = 0x0080, 00029 moving_error = 0x0100, 00030 holding_error = 0x0200, 00031 halt_sent = 0x0400, 00032 input_found = 0x0800, 00033 delay_exhausted = 0x1000, 00034 over_voltage = 0x2000, 00035 low_voltage = 0x4000, 00036 }; 00037 00038 } // namespace isw 00039 00040 } // namespace silverlode 00041 00042 #endif // _SILVERLODE_H_