56#include "../include/sane/config.h"
57#include "../include/sane/sane.h"
71#define sanei_lm983x_read_byte(fd, reg, value) \
72 sanei_lm983x_read (fd, reg, value, 1, 0)
94 SANE_Byte reg, SANE_Byte value );
113 SANE_Byte *buffer, SANE_Word len,
114 SANE_Bool increment );
134 SANE_Byte *buffer, SANE_Word len,
135 SANE_Bool increment );
void sanei_lm983x_init(void)
Initialize sanei_lm983x.
SANE_Bool sanei_lm983x_reset(SANE_Int fd)
Reset the LM983x chip.
SANE_Status sanei_lm983x_read(SANE_Int fd, SANE_Byte reg, SANE_Byte *buffer, SANE_Word len, SANE_Bool increment)
Read one or more data bytes from one ore more specific LM983x registers.
SANE_Status sanei_lm983x_write(SANE_Int fd, SANE_Byte reg, SANE_Byte *buffer, SANE_Word len, SANE_Bool increment)
Write one or more data bytes to one or more specific LM983x registers.
SANE_Status sanei_lm983x_write_byte(SANE_Int fd, SANE_Byte reg, SANE_Byte value)
Write one data byte to a specific LM983x register.