| //delayMicroseconds(500); | //delayMicroseconds(500); | ||||
| //digitalWriteFast(3, LOW); | //digitalWriteFast(3, LOW); | ||||
| // TODO: should we set & clear the I2S_RCSR_SR bit here? | |||||
| AudioOutputI2S::config_i2s(); | AudioOutputI2S::config_i2s(); | ||||
| CORE_PIN13_CONFIG = PORT_PCR_MUX(4); // pin 13, PTC5, I2S0_RXD0 | CORE_PIN13_CONFIG = PORT_PCR_MUX(4); // pin 13, PTC5, I2S0_RXD0 |
| block_left_1st = NULL; | block_left_1st = NULL; | ||||
| block_right_1st = NULL; | block_right_1st = NULL; | ||||
| // TODO: should we set & clear the I2S_TCSR_SR bit here? | |||||
| config_i2s(); | config_i2s(); | ||||
| CORE_PIN22_CONFIG = PORT_PCR_MUX(6); // pin 22, PTC1, I2S0_TXD0 | CORE_PIN22_CONFIG = PORT_PCR_MUX(6); // pin 22, PTC1, I2S0_TXD0 | ||||