Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

di194-internal.h

Go to the documentation of this file.
00001 
00013 #ifndef _DI194_INTERNAL_H
00014 #define  _DI194_INTERNAL_H
00015 
00017 const time_t serial_timeout = 5;
00018 
00019 // In progress - DI-194 commands. Sizes vary, so not in a table or array
00020 const uint8_t stop_cmd[] =  {0x00, 'S', '0'}; 
00021 const uint8_t sn_cmd[] =    {0x00, 'N', 'Z'};
00022 const uint8_t start_cmd[] = {0x00, 'S', '1'}; 
00023 const uint8_t rst_cmd[] =   {0x00, 'R', 'Z'};
00024 const uint8_t all_chan[] =  {0x00, 'C', 0x3F};
00025 const uint8_t dig_chan[] =  {0x00, 'D', '0'}; 
00026 const uint8_t odd_cmd[] = {0x00, 'B', 0x01}; // unknown, used as init cmd
00027 
00029 const uint8_t key_cmd[] = {0x00, 'E'};
00030 const uint8_t di_enable_key[] = 
00031 {
00032     0x33, 0x35, 0x46, 0x46, 0x44, 0x30, 0x42, 0x44
00033 };
00034 /* This version was from original source; above is from portlog 
00035     {0x41, 0x38, 0x34, 0x34, 0x38, 0x45, 0x35, 0x41};
00036 */
00037 
00038 #endif

Generated on Thu May 1 11:31:45 2003 for DI-194 driver by doxygen1.3