When playing the audio by I 2 S function, the output data comes from the memory by PDMA or by
CPU. However, it may result some pop noise if the playing gain level is changed by user at any
time. Because, the output data is not zero, and the output data cross the gain change will
generate a sharp pop noise. Therefore, the zero_crossing flag will help to reduce this situation. If
enable the zero crossing function, hardware will detect the next transfer data is zero or sign
change. If the next data is zero or sign change, zero_crossing flag will be set to high, and the
output data will be mute automatically, until the flag is cleared by software.
摘自 nuvoton NUC472 单片机的数据手册