Firmware
Classes | Macros
drv_accel.h File Reference

Accelerometer driver interface. More...

#include <stdint.h>
#include <sys/ioctl.h>
#include "drv_sensor.h"
#include "drv_orb_dev.h"
#include <uORB/topics/sensor_accel.h>

Go to the source code of this file.

Classes

struct  accel_calibration_s
 accel scaling factors; Vout = Vscale * (Vin + Voffset) More...
 

Macros

#define ACCEL_BASE_DEVICE_PATH   "/dev/accel"
 
#define _ACCELIOCBASE   (0x2100)
 
#define _ACCELIOC(_n)   (_PX4_IOC(_ACCELIOCBASE, _n))
 
#define ACCELIOCSSCALE   _ACCELIOC(5)
 set the accel scaling constants to the structure pointed to by (arg)
 

Detailed Description

Accelerometer driver interface.