28 unsigned int debug =
FALSE;
65 int smpl_ctrl_hi = (options.
dout_rate & 0x0F);
74 int filter_ctrl_lo = (options.
filter_sel & 0x1F);
103 #ifdef ACCL_RANGE_16G
104 int dlt_ctrl_hi = (options.
dlt_ovf_en & 0x01) << 1 | 1;
106 int dlt_ctrl_hi = (options.
dlt_ovf_en & 0x01) << 1;
107 #endif // ACCL_RANGE_16G
138 unsigned short rxData;
139 unsigned short retryCount = 3000;
143 }
while ((rxData & 0x0020) == 0x0020 && (retryCount != 0));
145 if (retryCount == 0) {
146 printf(
"\r\n...Error: Filter busy bit did not return to 0b.");
150 #ifdef SPI // Always disable UART_AUTO mode for burst reading when using SPI IF
173 unsigned int debug =
TRUE;
174 printf(
"\r\nRegister Dump:\r\n");
202 #if defined G370PDF1 || defined G370PDS0
205 #endif // defined G370PDF1 || defined G370PDS0