Browse Source

Update output_pt8211.cpp

dds
Frank 3 years ago
parent
commit
e4dfba809b
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      output_pt8211.cpp

+ 2
- 1
output_pt8211.cpp View File

I2S0_TCSR |= I2S_TCSR_TE | I2S_TCSR_BCE | I2S_TCSR_FRDE | I2S_TCSR_FR; I2S0_TCSR |= I2S_TCSR_TE | I2S_TCSR_BCE | I2S_TCSR_FRDE | I2S_TCSR_FR;
return; return;
#elif defined(__IMXRT1052__) || defined(__IMXRT1062__) #elif defined(__IMXRT1052__) || defined(__IMXRT1062__)
arm_dcache_flush_delete(i2s_tx_buffer, sizeof(i2s_tx_buffer));
#if defined(__IMXRT1052__) #if defined(__IMXRT1052__)
CORE_PIN6_CONFIG = 3; //1:TX_DATA0 CORE_PIN6_CONFIG = 3; //1:TX_DATA0
#elif defined(__IMXRT1062__) #elif defined(__IMXRT1062__)
arm_dcache_flush_delete(i2s_tx_buffer, sizeof(i2s_tx_buffer));
CORE_PIN7_CONFIG = 3; //1:TX_DATA0 CORE_PIN7_CONFIG = 3; //1:TX_DATA0
#endif #endif



Loading…
Cancel
Save