PX4 Firmware
PX4 Autopilot Software http://px4.io
cdev_platform.cpp File Reference
#include "cdev_platform.hpp"
#include "../CDev.hpp"
#include <px4_platform_common/posix.h>
#include "drivers/drv_device.h"
#include <sys/ioctl.h>
Include dependency graph for cdev_platform.cpp:

Go to the source code of this file.

Classes

struct  cdev::cdev
 Character device indirection table. More...
 

Namespaces

 cdev
 

Functions

static int cdev::cdev_open (file_t *filp)
 
static int cdev::cdev_close (file_t *filp)
 
static ssize_t cdev::cdev_read (file_t *filp, char *buffer, size_t buflen)
 
static ssize_t cdev::cdev_write (file_t *filp, const char *buffer, size_t buflen)
 
static off_t cdev::cdev_seek (file_t *filp, off_t offset, int whence)
 
static int cdev::cdev_ioctl (file_t *filp, int cmd, unsigned long arg)
 
static int cdev::cdev_poll (file_t *filp, px4_pollfd_struct_t *fds, bool setup)