PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Mixer ioctl interfaces. More...
#include <px4_platform_common/defines.h>
#include <stdint.h>
#include <sys/ioctl.h>
Go to the source code of this file.
Macros | |
#define | MIXER0_DEVICE_PATH "/dev/mixer0" |
#define | _MIXERIOCBASE (0x2500) |
#define | _MIXERIOC(_n) (_PX4_IOC(_MIXERIOCBASE, _n)) |
#define | MIXERIOCRESET _MIXERIOC(1) |
reset (clear) the mixer configuration More... | |
#define | MIXERIOCLOADBUF _MIXERIOC(5) |
Add mixer(s) from the buffer in (const char *)arg. More... | |
Mixer ioctl interfaces.
Normal workflow is:
Each client has its own configuration.
When mixing, outputs are produced by mixers in the order they are added. A simple mixer produces one output; a multirotor mixer will produce several outputs, etc.
Definition in file drv_mixer.h.
#define _MIXERIOC | ( | _n | ) | (_PX4_IOC(_MIXERIOCBASE, _n)) |
Definition at line 66 of file drv_mixer.h.
#define _MIXERIOCBASE (0x2500) |
Definition at line 65 of file drv_mixer.h.
#define MIXER0_DEVICE_PATH "/dev/mixer0" |
Definition at line 60 of file drv_mixer.h.
#define MIXERIOCLOADBUF _MIXERIOC(5) |
Add mixer(s) from the buffer in (const char *)arg.
Definition at line 79 of file drv_mixer.h.
Referenced by PWMSim::ioctl(), TAP_ESC::ioctl(), UavcanNode::ioctl(), PX4IO::ioctl(), load(), MK::pwm_ioctl(), PX4FMU::pwm_ioctl(), and DShotOutput::pwm_ioctl().
#define MIXERIOCRESET _MIXERIOC(1) |
reset (clear) the mixer configuration
Definition at line 71 of file drv_mixer.h.
Referenced by PWMSim::ioctl(), TAP_ESC::ioctl(), UavcanNode::ioctl(), PX4IO::ioctl(), load(), MK::pwm_ioctl(), PX4FMU::pwm_ioctl(), and DShotOutput::pwm_ioctl().