COSMOS core
1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
|
Classes | |
struct | pic_header |
struct | pic_cmd_args0 |
struct | pic_cmd_args1 |
struct | pic_res_suchireport |
struct | __attribute__ |
struct | pic_handle |
Enumerations | |
enum | { ISC_CMD_SET_BUS ='a', ISC_CMD_GET_BUS, ISC_CMD_GET_STRG } |
Functions | |
struct pic_handle | __attribute__ ((__may_alias__)) |
int32_t | pic_connect (char *dev, pic_handle *handle) |
Connect to PIC. More... | |
int32_t | pic_disconnect (pic_handle *handle) |
Disconnect from PIC. More... | |
int32_t | suchi_heater (pic_handle *handle, uint8_t number, uint8_t state) |
int32_t | suchi_shutter (pic_handle *handle, uint8_t number, uint8_t state) |
int32_t | suchi_camera (pic_handle *handle, uint8_t number, uint8_t state) |
int32_t | suchi_report (pic_handle *handle) |
int32_t | isc_power_on (pic_handle *handle, uint8_t number, uint32_t seconds) |
int32_t | isc_report (pic_handle *handle) |
int32_t | isc_put (pic_handle *handle) |
int32_t | isc_get (pic_handle *handle) |
anonymous enum |
struct pic_handle __attribute__ | ( | (__may_alias__) | ) |
int32_t pic_connect | ( | char * | dev, |
pic_handle * | handle | ||
) |
Connect to PIC.
Connect to a PIC speaking NMEA protocol, connected to the specified RS232 device, in preparation for querying it for position measurements.
dev | Name of RS232 character device. |
handle | Pointer to pic_handle. |
int32_t pic_disconnect | ( | pic_handle * | handle | ) |
Disconnect from PIC.
Disconnect from previously connected PIC, closing associated serial device.
handle | Pointer to pic_handle. |
int32_t suchi_heater | ( | pic_handle * | handle, |
uint8_t | number, | ||
uint8_t | state | ||
) |
int32_t suchi_shutter | ( | pic_handle * | handle, |
uint8_t | number, | ||
uint8_t | state | ||
) |
int32_t suchi_camera | ( | pic_handle * | handle, |
uint8_t | number, | ||
uint8_t | state | ||
) |
int32_t suchi_report | ( | pic_handle * | handle | ) |
int32_t isc_power_on | ( | pic_handle * | handle, |
uint8_t | number, | ||
uint32_t | seconds | ||
) |
int32_t isc_report | ( | pic_handle * | handle | ) |
int32_t isc_put | ( | pic_handle * | handle | ) |
int32_t isc_get | ( | pic_handle * | handle | ) |