- Rename app_test_i2s_loopback to test_i2s_loopback

- Port test_i2s_loopback from xmostest to pytest and test_support
This commit is contained in:
xross
2022-07-05 18:14:05 +01:00
parent 476e3d9f2f
commit 9401bfff83
18 changed files with 162 additions and 49 deletions

View File

@@ -0,0 +1,13 @@
// Copyright 2018-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#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