Comedi-Lib
view release on metacpan or search on metacpan
/* Not implemented yet - comedi_command_test */
int lib_poll(comedi_t *dev, unsigned int subdev)
{
return comedi_poll(dev, subdev);
}
int lib_set_max_buffer_size(comedi_t *dev, unsigned int subdev,
unsigned int max_size)
{
return comedi_set_max_buffer_size(dev, subdev, max_size);
}
int lib_get_buffer_contents(comedi_t *dev, unsigned int subdev)
{
return comedi_get_buffer_contents(dev, subdev);
}
int lib_mark_buffer_read(comedi_t *dev, unsigned int subdev,
unsigned int num_bytes)
{
return comedi_mark_buffer_read(dev, subdev, num_bytes);
}
int lib_mark_buffer_written(comedi_t *dev, unsigned int subdev,
unsigned int num_bytes)
{
return comedi_mark_buffer_written(dev, subdev, num_bytes);
}
int lib_get_buffer_offset(comedi_t *dev, unsigned int subdev)
{
return comedi_get_buffer_offset(dev, subdev);
}
/* _DEPRECATED_ - comedi_get_timer */
/* _DEPRECATED_ - comedi_timed_1chan */
MODULE = Comedi::Lib PACKAGE = Comedi::Lib
PROTOTYPES: DISABLE
int
lib_close (dev)
comedi_t * dev
comedi_t *
lib_open (fn)
const char * fn
int
lib_loglevel (level)
int level
void
lib_perror (str)
const char * str
PREINIT:
I32* temp;
PPCODE:
temp = PL_markstack_ptr++;
lib_perror(str);
if (PL_markstack_ptr != temp) {
/* truly void, because dXSARGS not invoked */
PL_markstack_ptr = temp;
XSRETURN_EMPTY; /* return empty stack */
}
/* must have used dXSARGS; list context implied */
return; /* assume stack size is correct */
const char *
lib_strerror (errnum)
int errnum
int
lib_errno ()
int
lib_fileno (dev)
comedi_t * dev
int
lib_get_n_subdevices (dev)
comedi_t * dev
int
lib_get_version_code (dev)
comedi_t * dev
const char *
lib_get_driver_name (dev)
comedi_t * dev
const char *
lib_get_board_name (dev)
comedi_t * dev
int
lib_get_subdevice_type (dev, subdev)
comedi_t * dev
unsigned int subdev
int
lib_find_subdevice_by_type (dev, type, start)
comedi_t * dev
int type
unsigned int start
int
lib_get_read_subdevice (dev)
comedi_t * dev
int
lib_get_write_subdevice (dev)
comedi_t * dev
int
lib_get_subdevice_flags (dev, subdev)
comedi_t * dev
unsigned int subdev
( run in 1.166 second using v1.01-cache-2.11-cpan-71847e10f99 )