Pre-defined classes of real-time devices.
More...
|
| | User-space driver core |
| | This profile includes all mini-drivers sitting on top of the User-space Device Driver framework (UDD).
|
| |
| | CAN Devices |
| | This is the common interface a RTDM-compliant CAN device has to provide.
|
| |
| | Serial Devices |
| | This is the common interface a RTDM-compliant serial device has to provide.
|
| |
| | Testing Devices |
| | This group of devices is intended to provide in-kernel testing results.
|
| |
| | Real-time IPC |
| | Profile Revision: 1
|
| |
|
The following IOCTLs are common to all device rtdm_profiles.
|
| #define | RTIOC_DEVICE_INFO _IOR(RTIOC_TYPE_COMMON, 0x00, struct rtdm_device_info) |
| | Retrieve information about a device or socket.
|
| |
| #define | RTIOC_PURGE _IOW(RTIOC_TYPE_COMMON, 0x10, int) |
| | Purge internal device or socket buffers.
|
| |
Pre-defined classes of real-time devices.
Device profiles define which operation handlers a driver of a certain class of devices has to implement, which name or protocol it has to register, which IOCTLs it has to provide, and further details. Sub-classes can be defined in order to extend a device profile with more hardware-specific functions.
◆ RTIOC_DEVICE_INFO
| #define RTIOC_DEVICE_INFO _IOR(RTIOC_TYPE_COMMON, 0x00, struct rtdm_device_info) |
Retrieve information about a device or socket.
- Parameters
-
◆ RTIOC_PURGE
| #define RTIOC_PURGE _IOW(RTIOC_TYPE_COMMON, 0x10, int) |
Purge internal device or socket buffers.
- Parameters
-