Re: Using new I2S Driver
Posted: Wed Apr 09, 2014 8:22 pm
Yes, I'm pointing i2sPtr at the head of the i2s_rx_buf array for the half event and halfway into the array for the full event. If you'd rather, you can just change the memory compares to "memcmp(i2s_rx_buf, pattern, I2S_HALF_BUF*sizeof(int16_t))" for the half and "memcmp(&i2s_rx_buf[I2S_HALF_BUF], pattern, I2S_HALF_BUF*sizeof(int16_t))" for the full event.
Thanks, I appreciate the help.
Thanks, I appreciate the help.