Go to the documentation of this file.
28 unsigned int debug =
FALSE;
65 int smpl_ctrl_hi = (options.
dout_rate & 0x0F);
74 int filter_ctrl_lo = (options.
filter_sel & 0x1F);
105 int dlt_ctrl_hi = (options.
dlt_ovf_en & 0x01) << 1;
120 int atti_ctrl_lo = (options.
atti_conv & 0x1f);
143 unsigned short rxData;
144 unsigned short retryCount = 3000;
148 }
while ((rxData & 0x0020) == 0x0020 && (retryCount != 0));
150 if (retryCount == 0) {
151 printf(
"\r\n...Error: Filter busy bit did not return to 0b.");
155 #ifdef SPI // Always disable UART_AUTO mode for burst reading when using SPI IF
186 unsigned int debug =
TRUE;
187 printf(
"\r\nRegister Dump:\r\n");
#define ADDR_BURST_CTRL2_HI
void seDelayMS(uint32_t millis)
unsigned short registerRead16(unsigned char, unsigned char, unsigned int)
void registerWriteByte(unsigned char, unsigned char, unsigned char, unsigned int)
int sensorInitOptions(struct EpsonOptions options)
#define ADDR_BURST_CTRL1_LO
#define ADDR_ATTI_CTRL_LO
#define ADDR_BURST_CTRL1_HI
#define ADDR_FILTER_CTRL_LO
#define ADDR_ATTI_CTRL_HI
#define ADDR_GLOB_CMD2_LO
#define EPSON_ATTI_PROFILE_DELAY
#define ADDR_SMPL_CTRL_HI
#define EPSON_FILTER_DELAY
#define ADDR_UART_CTRL_LO