Xenomai
3.1
|
Functions | |
int | a4l_sys_open (const char *fname) |
Open an Analogy device. More... | |
int | a4l_sys_close (int fd) |
Close an Analogy device. More... | |
int | a4l_sys_read (int fd, void *buf, size_t nbyte) |
Read from an Analogy device. More... | |
int | a4l_sys_write (int fd, void *buf, size_t nbyte) |
Write to an Analogy device. More... | |
int a4l_sys_close | ( | int | fd | ) |
Close an Analogy device.
[in] | fd | File descriptor as returned by a4l_sys_open() |
Referenced by a4l_close(), and a4l_open().
int a4l_sys_open | ( | const char * | fname | ) |
Open an Analogy device.
[in] | fname | Device name |
Referenced by a4l_open().
int a4l_sys_read | ( | int | fd, |
void * | buf, | ||
size_t | nbyte | ||
) |
Read from an Analogy device.
The function a4l_read() is only useful for acquisition configured through an Analogy command.
[in] | fd | File descriptor as returned by a4l_sys_open() |
[out] | buf | Input buffer |
[in] | nbyte | Number of bytes to read |
int a4l_sys_write | ( | int | fd, |
void * | buf, | ||
size_t | nbyte | ||
) |
Write to an Analogy device.
The function a4l_write() is only useful for acquisition configured through an Analogy command.
[in] | fd | File descriptor as returned by a4l_sys_open() |
[in] | buf | Output buffer |
[in] | nbyte | Number of bytes to write |