i2s_divider_done
时间: 2023-08-07 17:06:16 浏览: 75
i2s_divider_done是一个用于检测I2S(Inter-IC Sound)时钟分频器设置完成的参数。当进行I2S时钟分频器的设置时,可以通过查询i2s_divider_done参数的值来判断设置是否完成。当i2s_divider_done为1时,表示时钟分频器的设置已完成;当i2s_divider_done为0时,表示时钟分频器的设置还未完成。通常,在设置I2S时钟分频器之后,需要等待一段时间以确保设置生效。通过检测i2s_divider_done参数的值,可以确定何时可以开始使用已配置的I2S时钟分频器进行数据传输。
相关问题
EPWM_setClockPrescaler(myEPWM3_BASE, EPWM_CLOCK_DIVIDER_2, EPWM_HSCLOCK_DIVIDER_1);
This code sets the clock prescaler for ePWM3 to divide the clock by 2 and the high-speed clock divider to 1. This will result in a higher frequency PWM signal.
EPWM_setClockPrescaler(myEPWM3_BASE, EPWM_CLOCK_DIVIDER_1, EPWM_HSCLOCK_DIVIDER_1);
This function call sets the clock prescaler of EPWM3 to have a clock divider of 1 and a high speed clock divider of 1. This means that the EPWM3 clock frequency will be equal to the system clock frequency, and the high speed clock frequency will also be equal to the system clock frequency. This will result in a high resolution and accurate PWM signal on the output of EPWM3.
阅读全文