Initial add of i2s_loopback test

This commit is contained in:
xross
2018-01-17 12:08:08 +00:00
parent 1fc3a99f47
commit 41b0cd4448
21 changed files with 1324 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
#define CS2100_I2C_DEVICE_ADDR (0x9c>>1)
#define CS2100_DEVICE_CONTROL 0x02
#define CS2100_DEVICE_CONFIG_1 0x03
#define CS2100_GLOBAL_CONFIG 0x05
#define CS2100_RATIO_1 0x06
#define CS2100_RATIO_2 0x07
#define CS2100_RATIO_3 0x08
#define CS2100_RATIO_4 0x09
#define CS2100_FUNC_CONFIG_1 0x16
#define CS2100_FUNC_CONFIG_2 0x17