13 lines
469 B
C
13 lines
469 B
C
// Copyright (c) 2018, XMOS Ltd, All rights reserved
|
|
#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
|