// Copyright 2018-2022 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