Firmware
Macros
drv_orb_dev.h File Reference

uORB published object driver. More...

#include <px4_defines.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define _ORBIOCBASE   (0x2600)
 
#define _ORBIOC(_n)   (_PX4_IOC(_ORBIOCBASE, _n))
 
#define ORBIOCLASTUPDATE   _ORBIOC(10)
 Fetch the time at which the topic was last updated into *(uint64_t *)arg.
 
#define ORBIOCUPDATED   _ORBIOC(11)
 Check whether the topic has been updated since it was last read, sets *(bool *)arg.
 
#define ORBIOCSETINTERVAL   _ORBIOC(12)
 Set the minimum interval at which the topic can be seen to be updated for this subscription.
 
#define ORBIOCGADVERTISER   _ORBIOC(13)
 Get the global advertiser handle for the topic.
 
#define ORBIOCGPRIORITY   _ORBIOC(14)
 Get the priority for the topic.
 
#define ORBIOCSETQUEUESIZE   _ORBIOC(15)
 Set the queue size of the topic.
 
#define ORBIOCGETINTERVAL   _ORBIOC(16)
 Get the minimum interval at which the topic can be seen to be updated for this subscription.
 
#define ORBIOCISPUBLISHED   _ORBIOC(17)
 Check whether the topic is published, sets *(unsigned long *)arg to 1 if published, 0 otherwise.
 

Detailed Description

uORB published object driver.