forked from PAWPAW-Mirror/lib_xua
- 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:
13
tests/test_i2s_loopback/xk_216_mc/cs2100.h
Normal file
13
tests/test_i2s_loopback/xk_216_mc/cs2100.h
Normal 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
|
||||
Reference in New Issue
Block a user