Created
August 18, 2017 07:15
-
-
Save electronut/2274900e83f8c38c69b5b4a26e63cb74 to your computer and use it in GitHub Desktop.
I2S data handler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is the I2S data handler - all data exchange related to the I2S transfers | |
// is done here. | |
static void data_handler(uint32_t const * p_data_received, | |
uint32_t * p_data_to_send, | |
uint16_t number_of_words) | |
{ | |
// Non-NULL value in 'p_data_to_send' indicates that the driver needs | |
// a new portion of data to send. | |
if (p_data_to_send != NULL) | |
{ | |
// do nothing - buffer is updated elsewhere | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment