116 16.2 IIS Special Function Register
CW6632B Bluetooth 3.0 Audio Player SOC Version 1.0.0
Copyright ©2015, www.appotech.com. All Rights Reserved.
IIS_VALBIT: the valid receive or send bits
if IIS work at N bit mode,then write N-1 to this register.
This value should smaller than or equals to IIS_ALLBIT
Register 16–9 IIS_DAT0-7: first group of IIS buffer
IIS_DAT0-7: buffer of IIS group
Write: only write IIS_DAT0 8 times ,
frist write time is the highest bits
Read:read IIS_DAT0 – DAT7.
IIS_DAT0 is the highest bits,IIS_DAT7 is the lowest bits
Register 16–10 IIS_WSCNT0-1: calcute bclks between a ws period
IIS_WSCNT0-1: calculate iis_bclk between a ws period
Write: only write IIS_WSCNT1 bit(6) to enable this function;
Read:Read IIS_WSCNT0 – IIS_WSCNT1, if the result is smp_ws_cnt;
IIS_WSCNT0 = smp_ws_cnt[7:0];
IIS_WSCNT = {1‟h0,smp_ws_en,smp_ws_cnt[13:8]};
Register 16–11 IIS_REFCLK_CFG: iis reference clk configuration
IIS_REFCLK_CFG: iis reference clk configuration
if want to output IIS_REFCLK, the bit 5 of this register should be written 1;
the Fiis_refclk = Fiis/( IIS_REFCLK_CFG[4:0]+1);
Register 16–12 IIS_ADR0:DMA write addr