2 * Copyright (c) 2015-2020 Arm Limited. All rights reserved.
4 * SPDX-License-Identifier: Apache-2.0
6 * Licensed under the Apache License, Version 2.0 (the License); you may
7 * not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an AS IS BASIS, WITHOUT
14 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
18 * -----------------------------------------------------------------------------
22 * Project: CMSIS-Driver Validation
23 * Title: Inter-Integrated Circuit (I2C) driver validation
26 * -----------------------------------------------------------------------------
29 #ifndef DV_I2C_CONFIG_H_
30 #define DV_I2C_CONFIG_H_
32 //-------- <<< Use Configuration Wizard in Context Menu >>> --------------------
35 // <i> Inter-Integrated Circuit (I2C) driver validation configuration
36 // <o> Driver_I2C# <0-255>
37 // <i> Choose the Driver_I2C# instance to test.
38 // <i> For example to test Driver_I2C0 select 0.
41 // <i> Enable / disable tests.
42 // <q> I2C_GetCapabilities
43 #define I2C_GETCAPABILITIES_EN 1
44 // <q> I2C_Initialization
45 #define I2C_INITIALIZATION_EN 1
46 // <q> I2C_PowerControl
47 #define I2C_POWERCONTROL_EN 1
48 // <q> I2C_SetBusSpeed
49 #define I2C_SETBUSSPEED_EN 1
50 // <q> I2C_SetOwnAddress
51 #define I2C_SETOWNADDRESS_EN 1
53 #define I2C_BUSCLEAR_EN 1
54 // <q> I2C_AbortTransfer
55 #define I2C_ABORTTRANSFER_EN 1
56 // <q> I2C_CheckInvalidInit
57 #define I2C_CHECKINVALIDINIT_EN 1
61 #endif /* DV_I2C_CONFIG_H_ */