Lines Matching refs:I2Cx
86 ErrorStatus LL_I2C_DeInit(const I2C_TypeDef *I2Cx) in LL_I2C_DeInit() argument
91 assert_param(IS_I2C_ALL_INSTANCE(I2Cx)); in LL_I2C_DeInit()
93 if (I2Cx == I2C1) in LL_I2C_DeInit()
101 else if (I2Cx == I2C2) in LL_I2C_DeInit()
110 else if (I2Cx == I2C3) in LL_I2C_DeInit()
118 else if (I2Cx == I2C4) in LL_I2C_DeInit()
127 else if (I2Cx == I2C5) in LL_I2C_DeInit()
137 else if (I2Cx == I2C6) in LL_I2C_DeInit()
162 ErrorStatus LL_I2C_Init(I2C_TypeDef *I2Cx, const LL_I2C_InitTypeDef *I2C_InitStruct) in LL_I2C_Init() argument
165 assert_param(IS_I2C_ALL_INSTANCE(I2Cx)); in LL_I2C_Init()
176 LL_I2C_Disable(I2Cx); in LL_I2C_Init()
183 LL_I2C_ConfigFilters(I2Cx, I2C_InitStruct->AnalogFilter, I2C_InitStruct->DigitalFilter); in LL_I2C_Init()
190 LL_I2C_SetTiming(I2Cx, I2C_InitStruct->Timing); in LL_I2C_Init()
193 LL_I2C_Enable(I2Cx); in LL_I2C_Init()
200 LL_I2C_DisableOwnAddress1(I2Cx); in LL_I2C_Init()
201 LL_I2C_SetOwnAddress1(I2Cx, I2C_InitStruct->OwnAddress1, I2C_InitStruct->OwnAddrSize); in LL_I2C_Init()
206 LL_I2C_EnableOwnAddress1(I2Cx); in LL_I2C_Init()
213 LL_I2C_SetMode(I2Cx, I2C_InitStruct->PeripheralMode); in LL_I2C_Init()
220 LL_I2C_AcknowledgeNextData(I2Cx, I2C_InitStruct->TypeAcknowledge); in LL_I2C_Init()