Searched refs:I2C_InitStruct (Results 1 – 8 of 8) sorted by relevance
/lk-master/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/ |
A D | stm32f0xx_ll_i2c.c | 166 LL_I2C_ConfigFilters(I2Cx, I2C_InitStruct->AnalogFilter, I2C_InitStruct->DigitalFilter); in LL_I2C_Init() 173 LL_I2C_SetTiming(I2Cx, I2C_InitStruct->Timing); in LL_I2C_Init() 184 LL_I2C_SetOwnAddress1(I2Cx, I2C_InitStruct->OwnAddress1, I2C_InitStruct->OwnAddrSize); in LL_I2C_Init() 187 if (I2C_InitStruct->OwnAddress1 != 0U) in LL_I2C_Init() 196 LL_I2C_SetMode(I2Cx, I2C_InitStruct->PeripheralMode); in LL_I2C_Init() 213 void LL_I2C_StructInit(LL_I2C_InitTypeDef *I2C_InitStruct) in LL_I2C_StructInit() argument 216 I2C_InitStruct->PeripheralMode = LL_I2C_MODE_I2C; in LL_I2C_StructInit() 217 I2C_InitStruct->Timing = 0U; in LL_I2C_StructInit() 219 I2C_InitStruct->DigitalFilter = 0U; in LL_I2C_StructInit() 220 I2C_InitStruct->OwnAddress1 = 0U; in LL_I2C_StructInit() [all …]
|
/lk-master/external/platform/stm32f1xx/STM32F10x_StdPeriph_Driver/src/ |
A D | stm32f10x_i2c.c | 199 assert_param(IS_I2C_MODE(I2C_InitStruct->I2C_Mode)); in I2C_Init() 227 if (I2C_InitStruct->I2C_ClockSpeed <= 100000) in I2C_Init() 245 if (I2C_InitStruct->I2C_DutyCycle == I2C_DutyCycle_2) in I2C_Init() 283 tmpreg |= (uint16_t)((uint32_t)I2C_InitStruct->I2C_Mode | I2C_InitStruct->I2C_Ack); in I2C_Init() 289 I2Cx->OAR1 = (I2C_InitStruct->I2C_AcknowledgedAddress | I2C_InitStruct->I2C_OwnAddress1); in I2C_Init() 297 void I2C_StructInit(I2C_InitTypeDef* I2C_InitStruct) in I2C_StructInit() argument 301 I2C_InitStruct->I2C_ClockSpeed = 5000; in I2C_StructInit() 303 I2C_InitStruct->I2C_Mode = I2C_Mode_I2C; in I2C_StructInit() 305 I2C_InitStruct->I2C_DutyCycle = I2C_DutyCycle_2; in I2C_StructInit() 307 I2C_InitStruct->I2C_OwnAddress1 = 0; in I2C_StructInit() [all …]
|
/lk-master/external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/src/ |
A D | stm32f2xx_i2c.c | 190 assert_param(IS_I2C_MODE(I2C_InitStruct->I2C_Mode)); in I2C_Init() 218 if (I2C_InitStruct->I2C_ClockSpeed <= 100000) in I2C_Init() 238 if (I2C_InitStruct->I2C_DutyCycle == I2C_DutyCycle_2) in I2C_Init() 276 tmpreg |= (uint16_t)((uint32_t)I2C_InitStruct->I2C_Mode | I2C_InitStruct->I2C_Ack); in I2C_Init() 282 I2Cx->OAR1 = (I2C_InitStruct->I2C_AcknowledgedAddress | I2C_InitStruct->I2C_OwnAddress1); in I2C_Init() 290 void I2C_StructInit(I2C_InitTypeDef* I2C_InitStruct) in I2C_StructInit() argument 294 I2C_InitStruct->I2C_ClockSpeed = 5000; in I2C_StructInit() 296 I2C_InitStruct->I2C_Mode = I2C_Mode_I2C; in I2C_StructInit() 298 I2C_InitStruct->I2C_DutyCycle = I2C_DutyCycle_2; in I2C_StructInit() 300 I2C_InitStruct->I2C_OwnAddress1 = 0; in I2C_StructInit() [all …]
|
/lk-master/external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/src/ |
A D | stm32f4xx_i2c.c | 189 assert_param(IS_I2C_MODE(I2C_InitStruct->I2C_Mode)); in I2C_Init() 217 if (I2C_InitStruct->I2C_ClockSpeed <= 100000) in I2C_Init() 237 if (I2C_InitStruct->I2C_DutyCycle == I2C_DutyCycle_2) in I2C_Init() 275 tmpreg |= (uint16_t)((uint32_t)I2C_InitStruct->I2C_Mode | I2C_InitStruct->I2C_Ack); in I2C_Init() 281 I2Cx->OAR1 = (I2C_InitStruct->I2C_AcknowledgedAddress | I2C_InitStruct->I2C_OwnAddress1); in I2C_Init() 289 void I2C_StructInit(I2C_InitTypeDef* I2C_InitStruct) in I2C_StructInit() argument 293 I2C_InitStruct->I2C_ClockSpeed = 5000; in I2C_StructInit() 295 I2C_InitStruct->I2C_Mode = I2C_Mode_I2C; in I2C_StructInit() 297 I2C_InitStruct->I2C_DutyCycle = I2C_DutyCycle_2; in I2C_StructInit() 299 I2C_InitStruct->I2C_OwnAddress1 = 0; in I2C_StructInit() [all …]
|
/lk-master/external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/inc/ |
A D | stm32f2xx_i2c.h | 540 void I2C_Init(I2C_TypeDef* I2Cx, I2C_InitTypeDef* I2C_InitStruct); 541 void I2C_StructInit(I2C_InitTypeDef* I2C_InitStruct);
|
/lk-master/external/platform/stm32f1xx/STM32F10x_StdPeriph_Driver/inc/ |
A D | stm32f10x_i2c.h | 522 void I2C_Init(I2C_TypeDef* I2Cx, I2C_InitTypeDef* I2C_InitStruct); 523 void I2C_StructInit(I2C_InitTypeDef* I2C_InitStruct);
|
/lk-master/external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/inc/ |
A D | stm32f4xx_i2c.h | 550 void I2C_Init(I2C_TypeDef* I2Cx, I2C_InitTypeDef* I2C_InitStruct); 551 void I2C_StructInit(I2C_InitTypeDef* I2C_InitStruct);
|
/lk-master/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/inc/ |
A D | stm32f0xx_ll_i2c.h | 2216 uint32_t LL_I2C_Init(I2C_TypeDef *I2Cx, LL_I2C_InitTypeDef *I2C_InitStruct); 2218 void LL_I2C_StructInit(LL_I2C_InitTypeDef *I2C_InitStruct);
|
Completed in 21 milliseconds