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:
19
tests/test_i2s_loopback/xk_216_mc/cs5368.h
Normal file
19
tests/test_i2s_loopback/xk_216_mc/cs5368.h
Normal file
@@ -0,0 +1,19 @@
|
||||
// Copyright 2017-2021 XMOS LIMITED.
|
||||
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
|
||||
#ifndef _CS5368_H_
|
||||
#define _CS5368_H_
|
||||
|
||||
//Address on I2C bus
|
||||
#define CS5368_I2C_ADDR (0x4C)
|
||||
|
||||
//Register Addresess
|
||||
#define CS5368_CHIP_REV 0x00
|
||||
#define CS5368_GCTL_MDE 0x01
|
||||
#define CS5368_OVFL_ST 0x02
|
||||
#define CS5368_OVFL_MSK 0x03
|
||||
#define CS5368_HPF_CTRL 0x04
|
||||
#define CS5368_PWR_DN 0x06
|
||||
#define CS5368_MUTE_CTRL 0x08
|
||||
#define CS5368_SDO_EN 0x0a
|
||||
|
||||
#endif /* _CS5368_H_ */
|
||||
Reference in New Issue
Block a user