]> begriffs open source - cmsis-driver-validation/blob - Config/DV_I2C_Config.h
Update GitHub Actions runner to ubuntu-22.04 (#18)
[cmsis-driver-validation] / Config / DV_I2C_Config.h
1 /*
2  * Copyright (c) 2015-2020 Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
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
9  *
10  * www.apache.org/licenses/LICENSE-2.0
11  *
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.
17  *
18  * -----------------------------------------------------------------------------
19  *
20  * $Revision:   V1.0.0
21  *
22  * Project:     CMSIS-Driver Validation
23  * Title:       Inter-Integrated Circuit (I2C) driver validation 
24  *              configuration file
25  *
26  * -----------------------------------------------------------------------------
27  */
28
29 #ifndef DV_I2C_CONFIG_H_
30 #define DV_I2C_CONFIG_H_
31
32 //-------- <<< Use Configuration Wizard in Context Menu >>> --------------------
33
34 // <h> I2C
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.
39 #define DRV_I2C                         1
40 // <h> Tests
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
52 // <q> I2C_BusClear
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
58 // </h>
59 // </h>
60
61 #endif /* DV_I2C_CONFIG_H_ */