|
Xenomai API
2.6.4
|
RTDM device. More...

Data Fields | |
| int | struct_version |
| Revision number of this structure, see Driver Versioning defines. | |
| int | device_flags |
| Device flags, see Device Flags for details. | |
| size_t | context_size |
| Size of driver defined appendix to struct rtdm_dev_context. | |
| char | device_name [RTDM_MAX_DEVNAME_LEN+1] |
| Named device identification (orthogonal to Linux device name space) | |
| int | protocol_family |
| Protocol device identification: protocol family (PF_xxx) | |
| int | socket_type |
| Protocol device identification: socket type (SOCK_xxx) | |
| rtdm_open_handler_t | open_rt |
| Named device instance creation for real-time contexts, optional (but deprecated) if open_nrt is non-NULL, ignored for protocol devices. | |
| rtdm_open_handler_t | open_nrt |
| Named device instance creation for non-real-time contexts, optional if open_rt is non-NULL, ignored for protocol devices. | |
| rtdm_socket_handler_t | socket_rt |
| Protocol socket creation for real-time contexts, optional (but deprecated) if socket_nrt is non-NULL, ignored for named devices. | |
| rtdm_socket_handler_t | socket_nrt |
| Protocol socket creation for non-real-time contexts, optional if socket_rt is non-NULL, ignored for named devices. | |
| struct rtdm_operations | ops |
| Default operations on newly opened device instance. | |
| int | device_class |
| Device class ID, see RTDM_CLASS_xxx. | |
| int | device_sub_class |
| Device sub-class, see RTDM_SUBCLASS_xxx definition in the Device Profiles. | |
| int | profile_version |
| Supported device profile version. | |
| const char * | driver_name |
| Informational driver name (reported via /proc) | |
| int | driver_version |
| Driver version, see Driver Versioning defines. | |
| const char * | peripheral_name |
| Informational peripheral name the device is attached to (reported via /proc) | |
| const char * | provider_name |
| Informational driver provider name (reported via /proc) | |
| const char * | proc_name |
| Name of /proc entry for the device, must not be NULL. | |
| int | device_id |
| Driver definable device ID. | |
| void * | device_data |
| Driver definable device data. | |
| struct rtdm_dev_reserved | reserved |
| Data stored by RTDM inside a registered device (internal use only) | |
RTDM device.
This structure specifies a RTDM device. As some fields, especially the reserved area, will be modified by RTDM during runtime, the structure must not reside in write-protected memory.
| rtdm_open_handler_t rtdm_device::open_rt |
Named device instance creation for real-time contexts, optional (but deprecated) if open_nrt is non-NULL, ignored for protocol devices.
Referenced by rtdm_dev_register().
| rtdm_socket_handler_t rtdm_device::socket_rt |
Protocol socket creation for real-time contexts, optional (but deprecated) if socket_nrt is non-NULL, ignored for named devices.
Referenced by rtdm_dev_register().