COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
Collaboration diagram for PIC constants:

Macros

#define PIC_BAUD   9600
 
#define PIC_BITS   8
 
#define PIC_PARITY   0
 
#define PIC_STOPBITS   1
 
#define PIC_HEADER_SIZE   (ptrdiff_t)(((pic_header*)0)+1)
 
#define PIC_DATA_SIZE   300
 
#define SUCHI_CMD_SET_HEATER_ON   0x10
 
#define SUCHI_CMD_SET_HEATER_OFF   0x11
 
#define SUCHI_CMD_SET_SHUTTER_OPEN   0x20
 
#define SUCHI_CMD_SET_SHUTTER_CLOSED   0x21
 
#define SUCHI_CMD_SET_CAMERA_ON   0x30
 
#define SUCHI_CMD_SET_CAMERA_OFF   0x31
 
#define SUCHI_CMD_GET_REPORT   0x41
 
#define SUCHI_STATE_HEATER_ON_1   0x0001
 
#define SUCHI_STATE_HEATER_ON_2   0x0002
 
#define SUCHI_STATE_HEATER_ON_3   0x0004
 
#define SUCHI_STATE_HEATER_ON_4   0x0008
 
#define SUCHI_STATE_SHUTTER_OPEN_1   0x0010
 
#define SUCHI_STATE_SHUTTER_OPEN_2   0x0020
 
#define SUCHI_STATE_SHUTTER_OPEN_3   0x0040
 
#define SUCHI_STATE_SHUTTER_OPEN_4   0x0080
 
#define SUCHI_STATE_CAMERA_ON   0x0100
 

Detailed Description

Macro Definition Documentation

#define PIC_BAUD   9600
#define PIC_BITS   8
#define PIC_PARITY   0
#define PIC_STOPBITS   1
#define PIC_HEADER_SIZE   (ptrdiff_t)(((pic_header*)0)+1)
#define PIC_DATA_SIZE   300
#define SUCHI_CMD_SET_HEATER_ON   0x10
#define SUCHI_CMD_SET_HEATER_OFF   0x11
#define SUCHI_CMD_SET_SHUTTER_OPEN   0x20
#define SUCHI_CMD_SET_SHUTTER_CLOSED   0x21
#define SUCHI_CMD_SET_CAMERA_ON   0x30
#define SUCHI_CMD_SET_CAMERA_OFF   0x31
#define SUCHI_CMD_GET_REPORT   0x41
#define SUCHI_STATE_HEATER_ON_1   0x0001
#define SUCHI_STATE_HEATER_ON_2   0x0002
#define SUCHI_STATE_HEATER_ON_3   0x0004
#define SUCHI_STATE_HEATER_ON_4   0x0008
#define SUCHI_STATE_SHUTTER_OPEN_1   0x0010
#define SUCHI_STATE_SHUTTER_OPEN_2   0x0020
#define SUCHI_STATE_SHUTTER_OPEN_3   0x0040
#define SUCHI_STATE_SHUTTER_OPEN_4   0x0080
#define SUCHI_STATE_CAMERA_ON   0x0100