EJ Digital Audio Interface(PCM)

I want to know an example that works with PCM_SYNC signals, and as PCM_CLK configure all registers and assigns the slot