/****************************************************************************** * Copyright (C) 2021, Xiaohua Semiconductor Co., Ltd. All rights reserved. * * This software component is licensed by XHSC under BSD 3-Clause license * (the "License"); You may not use this file except in compliance with the * License. You may obtain a copy of the License at: * opensource.org/licenses/BSD-3-Clause * ******************************************************************************/ /****************************************************************************** * @file i2c.h * * @brief Header file for I2C functions * * @author MADS Team * ******************************************************************************/ #ifndef __I2C_H__ #define __I2C_H__ #include "ddl.h" /** ******************************************************************************* ** \defgroup I2cGroup Inter-Integrated Circuit (I2C) ** ** ******************************************************************************/ //@{ /******************************************************************************/ /* Global pre-processor symbols/macros ('#define') */ /******************************************************************************/ /****************************************************************************** * Global type definitions ******************************************************************************/ /** ****************************************************************************** ** \brief I2C功能配置 *****************************************************************************/ typedef enum en_i2c_func { I2cModule_En = 6u, ///