ardupilot/libraries/AP_HAL_Linux/qflight/qflight_dsp.idl

16 lines
554 B
Plaintext
Raw Normal View History

2015-12-13 23:19:54 -04:00
#include "AEEStdDef.idl"
interface qflight {
// sensor calls
long get_imu_data(rout sequence<uint8> outdata);
long get_mag_data(rout sequence<uint8> outdata);
long get_baro_data(rout sequence<uint8> outdata);
// UART control
long UART_open(in string device, rout int32 fd);
long UART_set_baudrate(in int32 fd, in uint32 baudrate);
long UART_read(in int32 fd, rout sequence<uint8> buf, rout int32 nread);
long UART_write(in int32 fd, in sequence<uint8> buf, rout int32 nwritten);
long UART_close(in int32 fd);
};