/* * Copyright (c) 2018 Arm Limited. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * ----------------------------------------------------------------------- * * $Date: 20. February 2018 * $Revision: V1.0.0 * * Driver: Driver_I2C# (default: Driver_I2C0) * Project: I2C Master to Multi-Slave Wrapper Configuration * ----------------------------------------------------------------------- * Use the following configuration settings in the middleware component * to connect to this driver. * * Configuration Setting Value * --------------------- ----- * Connect to hardware via Driver_I2C# = n (default: 0) * -------------------------------------------------------------------- */ //-------- <<< Use Configuration Wizard in Context Menu >>> ------------------ // I2C Multi-Slave Driver Configuration // Connect to hardware via Driver_I2C# <0-255> // Select driver control block for hardware interface #define I2C_DRIVER 0 // Slave Device 0 // Enable or disable slave device // Export control block Driver_I2C# <0-255> // Define exported driver control block number // #define I2C_ENABLE_SLAVE_0 1 #define I2C_DRIVER_SLAVE_0 10 // Slave Device 1 // Enable or disable slave device // Export control block Driver_I2C# <0-255> // Define exported driver control block number // #define I2C_ENABLE_SLAVE_1 1 #define I2C_DRIVER_SLAVE_1 11 // Slave Device 2 // Enable or disable slave device // Export control block Driver_I2C# <0-255> // Define exported driver control block number // #define I2C_ENABLE_SLAVE_2 0 #define I2C_DRIVER_SLAVE_2 12 // Slave Device 3 // Enable or disable slave device // Export control block Driver_I2C# <0-255> // Define exported driver control block number // #define I2C_ENABLE_SLAVE_3 0 #define I2C_DRIVER_SLAVE_3 13 // Slave Device 4 // Enable or disable slave device // Export control block Driver_I2C# <0-255> // Define exported driver control block number // #define I2C_ENABLE_SLAVE_4 0 #define I2C_DRIVER_SLAVE_4 14 // Slave Device 5 // Enable or disable slave device // Export control block Driver_I2C# <0-255> // Define exported driver control block number // #define I2C_ENABLE_SLAVE_5 0 #define I2C_DRIVER_SLAVE_5 15 // Slave Device 6 // Enable or disable slave device // Export control block Driver_I2C# <0-255> // Define exported driver control block number // #define I2C_ENABLE_SLAVE_6 0 #define I2C_DRIVER_SLAVE_6 16 // Slave Device 7 // Enable or disable slave device // Export control block Driver_I2C# <0-255> // Define exported driver control block number // #define I2C_ENABLE_SLAVE_7 0 #define I2C_DRIVER_SLAVE_7 17 // //------------- <<< end of configuration section >>> -------------------------