PX4 Firmware
PX4 Autopilot Software http://px4.io
Device.hpp File Reference

Definitions for the generic base classes in the device framework. More...

#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/posix.h>
#include <drivers/drv_device.h>
Include dependency graph for Device.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  device::Device
 Fundamental base class for all physical drivers (I2C, SPI). More...
 
struct  device::Device::DeviceStructure
 
union  device::Device::DeviceId
 
union  device::Device::_device_id
 device identifier information More...
 

Namespaces

 device
 Namespace encapsulating all device framework classes, functions and data.
 

Macros

#define DEVICE_LOG(FMT, ...)   PX4_LOG_NAMED(_name, FMT, ##__VA_ARGS__)
 
#define DEVICE_DEBUG(FMT, ...)   PX4_LOG_NAMED_COND(_name, _debug_enabled, FMT, ##__VA_ARGS__)
 

Detailed Description

Definitions for the generic base classes in the device framework.

Definition in file Device.hpp.

Macro Definition Documentation

◆ DEVICE_DEBUG

◆ DEVICE_LOG