40 #ifndef _DEVICE_CDEV_HPP 41 #define _DEVICE_CDEV_HPP 46 #include <px4_platform_common/px4_config.h> 47 #include <px4_platform_common/posix.h> 69 CDev(
const char *
name,
const char *devname);
71 virtual ~
CDev() =
default;
87 virtual int ioctl(
file_t *filep,
int cmd,
unsigned long arg);
91 bool _pub_blocked{
false};
Namespace encapsulating all device framework classes, functions and data.
Abstract class for any character device.
Definitions for the generic base classes in the device framework.
Abstract class for any character device.
void init()
Activates/configures the hardware registers.
Fundamental base class for all physical drivers (I2C, SPI).