PX4 Firmware
PX4 Autopilot Software http://px4.io
PAW3902.hpp File Reference
#include "PixArt_PAW3902JF_Registers.hpp"
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/defines.h>
#include <px4_platform_common/getopt.h>
#include <px4_platform_common/px4_work_queue/ScheduledWorkItem.hpp>
#include <drivers/device/spi.h>
#include <conversion/rotation.h>
#include <lib/perf/perf_counter.h>
#include <lib/parameters/param.h>
#include <drivers/drv_hrt.h>
#include <drivers/drv_range_finder.h>
#include <uORB/PublicationMulti.hpp>
#include <uORB/topics/optical_flow.h>
Include dependency graph for PAW3902.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PAW3902
 

Macros

#define PAW3902_SPI_BUS_SPEED   (2000000L)
 
#define DIR_WRITE(a)   ((a) | (1 << 7))
 
#define DIR_READ(a)   ((a) & 0x7f)
 

Macro Definition Documentation

◆ DIR_READ

#define DIR_READ (   a)    ((a) & 0x7f)

Definition at line 82 of file PAW3902.hpp.

◆ DIR_WRITE

#define DIR_WRITE (   a)    ((a) | (1 << 7))

Definition at line 81 of file PAW3902.hpp.

◆ PAW3902_SPI_BUS_SPEED

#define PAW3902_SPI_BUS_SPEED   (2000000L)

Definition at line 79 of file PAW3902.hpp.