PX4 Firmware
PX4 Autopilot Software http://px4.io
drv_sbus.h File Reference

Futaba S.BUS / S.BUS 2 compatible interface. More...

#include <stdint.h>
#include <sys/ioctl.h>
#include "drv_orb_dev.h"
Include dependency graph for drv_sbus.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SBUS0_DEVICE_PATH   "/dev/sbus0"
 Path for the default S.BUS device. More...
 
#define _SBUS_BASE   0x2c00
 
#define SBUS_SET_PROTO_VERSION   _IOC(_SBUS_BASE, 0)
 Enable S.BUS version 1 / 2 output (0 to disable) More...
 

Detailed Description

Futaba S.BUS / S.BUS 2 compatible interface.

Definition in file drv_sbus.h.

Macro Definition Documentation

◆ _SBUS_BASE

#define _SBUS_BASE   0x2c00

Definition at line 53 of file drv_sbus.h.

◆ SBUS0_DEVICE_PATH

#define SBUS0_DEVICE_PATH   "/dev/sbus0"

Path for the default S.BUS device.

Definition at line 51 of file drv_sbus.h.

◆ SBUS_SET_PROTO_VERSION

#define SBUS_SET_PROTO_VERSION   _IOC(_SBUS_BASE, 0)

Enable S.BUS version 1 / 2 output (0 to disable)

Definition at line 56 of file drv_sbus.h.

Referenced by PX4IO::ioctl(), and px4io_main().