27 unsigned short rxData;
28 unsigned int debug =
FALSE;
29 unsigned short retryCount = 3000;
38 }
while((rxData & 0x0400) == 0x0000 && (retryCount != 0));
42 printf(
"\r\n...Error: Stuck in Sampling Mode.");
76 unsigned int debug =
TRUE;
77 printf(
"\r\nRegister Dump:\r\n");
#define ADDR_COUNT_CTRL_LO
#define ADDR_SMPL_CTRL_HI
#define ADDR_MODE_CTRL_HI
#define ADDR_MODE_CTRL_LO
void seDelayMicroSecs(uint32_t micros)
unsigned short registerRead16(unsigned char, unsigned char, unsigned int)
void registerWriteByte(unsigned char, unsigned char, unsigned char, unsigned int)
#define ADDR_UART_CTRL_LO