C MIP-SDK
mip_sdk_config.h
Go to the documentation of this file.
00001 
00002 //
00006 //
00008 //
00009 // External dependencies:
00010 //
00011 //  
00012 // 
00014 //
00017 //
00027 //
00029 
00030 #ifndef _MIP_SDK_CONFIG_H
00031 #define _MIP_SDK_CONFIG_H
00032 
00033    
00035 //
00036 //Include Files
00037 //
00039 
00040 
00042 //
00043 // Defines
00044 //
00047 
00049 //The MIP protocol is big-endian, if the user needs little-endian, MIP_SDK_CONFIG_BYTESWAP should be 1.
00051 
00052 #define MIP_SDK_CONFIG_BYTESWAP  1
00053 
00054 
00056 //The maximum number of callbacks the interface structure can hold
00057 //Notes:
00058 //
00059 //   Each callback takes up 9 bytes.  Several loops search the callback list for
00060 //   valid callbacks, increasing the number will result in slightly slower execution.
00061 //
00063 
00064 #define MIP_INTERFACE_MAX_CALLBACKS 10
00065 
00066 
00068 //The maximum time (in milliseconds) the MIP interface will wait for bytes to become available on the port
00070 
00071 #define MIP_INTERFACE_PORT_READ_TIMEOUT_MS 10
00072 
00073 
00075 //The maximum time the (in milliseconds) to wait for most command/response cycles to complete
00077 
00078 #define MIP_INTERFACE_DEFAULT_COMMAND_RESPONSE_TIMEOUT_MS 1000
00079 
00080 
00082 //The maximum time the (in milliseconds) to wait for command/response cycles that require long processing on the device to complete
00083 //(e.g. turning sub-device power on/off, running a BIT, etc.)
00085 
00086 #define MIP_INTERFACE_LONG_COMMAND_RESPONSE_TIMEOUT_MS 10000
00087 
00089 //The maximum time in milliseconds to wait for the capture gyro bias command to return.
00091 
00092 #define MIP_INTERFACE_GYRO_BIAS_COMMAND_RESPONSE_TIMEOUT_MS     45000
00093 
00094 
00095 #endif
 All Data Structures Files Functions Defines