/************************************************************************************************/ /** * @file ciu32f003_std_i2c.c * @author MCU Ecosystem Development Team * @brief I2C STD库驱动。 * 实现I2C初始化等API。 * * ************************************************************************************************** * @attention * Copyright (c) CEC Huada Electronic Design Co.,Ltd. All rights reserved. * ************************************************************************************************** */ /************************************************************************************************/ /** * @addtogroup CIU32F003_STD_Driver * @{ */ /** * @addtogroup I2C * @{ * */ /************************************************************************************************/ /*------------------------------------------includes--------------------------------------------*/ #include "ciu32f003_std.h" #ifdef STD_I2C_PERIPHERAL_USED /*-------------------------------------------functions------------------------------------------*/ /************************************************************************************************/ /** * @addtogroup I2C_External_Functions * @{ * */ /************************************************************************************************/ /** * @brief I2C去初始化函数 * @retval 无 */ void std_i2c_deinit(void) { /* I2C复位I2C的时钟 */ std_rcc_apb1_reset(RCC_PERIPH_RESET_I2C1); } /** * @} */ #endif /* STD_I2C_PERIPHERAL_USED */ /** * @} */ /** * @} */