Platform drivers for Mbed.
Dependents: EVAL-CN0535-FMCZ EVAL-CN0535-FMCZ EVAL-AD568x-AD569x EVAL-AD7606 ... more
i2c.h
00001 /***************************************************************************//** 00002 * @file i2c.h 00003 * @author MPhalke (Mahesh.Phalke@analog.com) 00004 ******************************************************************************** 00005 * Copyright (c) 2021 Analog Devices, Inc. 00006 * All rights reserved. 00007 * 00008 * This software is proprietary to Analog Devices, Inc. and its licensors. 00009 * By using this software you agree to the terms of the associated 00010 * Analog Devices Software License Agreement. 00011 *******************************************************************************/ 00012 00013 #ifndef MBED_I2C_H_ 00014 #define MBED_I2C_H_ 00015 00016 /******************************************************************************/ 00017 /************************ Functions Declarations ******************************/ 00018 /******************************************************************************/ 00019 00020 #define i2c_init(desc, init_param) i2c_init_noos(desc, init_param) 00021 #define i2c_write(desc, data, bytes_number, stop_bits) i2c_write_noos(desc, data, bytes_number, stop_bits) 00022 #define i2c_read(desc, data, bytes_number, stop_bits) i2c_read_noos(desc, data, bytes_number, stop_bits) 00023 00024 /******************************************************************************/ 00025 /***************************** Include Files **********************************/ 00026 /******************************************************************************/ 00027 00028 #include "no-OS/include/i2c.h" 00029 00030 #endif // MBED_I2C_H_
Generated on Wed Jul 13 2022 14:37:51 by 1.7.2