Xenomai 3.3.2
Loading...
Searching...
No Matches
command.h
1
18#ifndef _COBALT_RTDM_ANALOGY_COMMAND_H
19#define _COBALT_RTDM_ANALOGY_COMMAND_H
20
21#include <rtdm/uapi/analogy.h>
22#include <rtdm/analogy/context.h>
23
24#define CR_CHAN(a) CHAN(a)
25#define CR_RNG(a) (((a)>>16)&0xff)
26#define CR_AREF(a) (((a)>>24)&0xf)
27
28/* --- Command related function --- */
29void a4l_free_cmddesc(struct a4l_cmd_desc * desc);
30
31/* --- Upper layer functions --- */
32int a4l_check_cmddesc(struct a4l_device_context * cxt, struct a4l_cmd_desc * desc);
33int a4l_ioctl_cmd(struct a4l_device_context * cxt, void *arg);
34
35#endif /* !_COBALT_RTDM_ANALOGY_COMMAND_H */
Structure describing the asynchronous instruction.
Definition analogy.h:289
Analogy for Linux, UAPI bits.