28 unsigned int debug =
FALSE;
54 int smpl_ctrl_hi = (options.
dout_rate & 0x0F);
63 int filter_ctrl_lo = (options.
filter_sel & 0x1F);
69 int count_ctrl_lo = (options.
count_out & 0x1);
86 #ifdef SPI // Always disable UART_AUTO mode for burst reading when using SPI IF 104 unsigned int debug =
TRUE;
105 printf(
"\r\nRegister Dump:\r\n");
#define ADDR_SMPL_CTRL_HI
unsigned short registerRead16(unsigned char, unsigned char, unsigned int)
void registerWriteByte(unsigned char, unsigned char, unsigned char, unsigned int)
#define ADDR_UART_CTRL_LO
#define ADDR_FILTER_CTRL_LO
#define ADDR_COUNT_CTRL_LO
int sensorInitOptions(struct EpsonOptions options)