PX4 Firmware
PX4 Autopilot Software http://px4.io
cdev::cdev Struct Reference

Character device indirection table. More...

Inheritance diagram for cdev::cdev:
Collaboration diagram for cdev::cdev:

Public Attributes

open __pad0__: cdev_open
 
open close: cdev_close
 
open read: cdev_read
 
open write: cdev_write
 
open seek: cdev_seek
 
open ioctl: cdev_ioctl
 
open poll: cdev_poll
 

Detailed Description

Character device indirection table.

Every cdev we register gets the same function table; we use the private data field in the inode to store the instance pointer.

Note that we use the GNU extension syntax here because we don't get designated initialisers in gcc 4.6.

Definition at line 74 of file cdev_platform.cpp.

Member Data Documentation

◆ __pad0__

open cdev::cdev::__pad0__

Definition at line 75 of file cdev_platform.cpp.

◆ close

open cdev::cdev::close

Definition at line 75 of file cdev_platform.cpp.

◆ ioctl

open cdev::cdev::ioctl

Definition at line 75 of file cdev_platform.cpp.

◆ poll

open cdev::cdev::poll

Definition at line 75 of file cdev_platform.cpp.

◆ read

open cdev::cdev::read

Definition at line 75 of file cdev_platform.cpp.

◆ seek

open cdev::cdev::seek

Definition at line 75 of file cdev_platform.cpp.

◆ write

open cdev::cdev::write

Definition at line 75 of file cdev_platform.cpp.


The documentation for this struct was generated from the following file: