Searched refs:I2Cx (Results 1 – 9 of 9) sorted by relevance
/lk-master/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/inc/ |
A D | stm32f0xx_ll_i2c.h | 409 SET_BIT(I2Cx->CR1, I2C_CR1_PE); in LL_I2C_Enable() 423 CLEAR_BIT(I2Cx->CR1, I2C_CR1_PE); in LL_I2C_Disable() 656 SET_BIT(I2Cx->CR1, I2C_CR1_SBC); in LL_I2C_EnableSlaveByteControl() 667 CLEAR_BIT(I2Cx->CR1, I2C_CR1_SBC); in LL_I2C_DisableSlaveByteControl() 693 SET_BIT(I2Cx->CR1, I2C_CR1_WUPEN); in LL_I2C_EnableWakeUpFromStop() 732 SET_BIT(I2Cx->CR1, I2C_CR1_GCEN); in LL_I2C_EnableGeneralCall() 902 WRITE_REG(I2Cx->TIMINGR, Timing); in LL_I2C_SetTiming() 1266 SET_BIT(I2Cx->CR1, I2C_CR1_TXIE); in LL_I2C_EnableIT_TX() 1299 SET_BIT(I2Cx->CR1, I2C_CR1_RXIE); in LL_I2C_EnableIT_RX() 1434 SET_BIT(I2Cx->CR1, I2C_CR1_TCIE); in LL_I2C_EnableIT_TC() [all …]
|
A D | stm32f0xx_ll_rcc.h | 1380 __STATIC_INLINE uint32_t LL_RCC_GetI2CClockSource(uint32_t I2Cx) in LL_RCC_GetI2CClockSource() argument 1382 return (uint32_t)(READ_BIT(RCC->CFGR3, I2Cx)); in LL_RCC_GetI2CClockSource()
|
/lk-master/external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/src/ |
A D | stm32f2xx_i2c.c | 143 if (I2Cx == I2C1) in I2C_DeInit() 159 if (I2Cx == I2C3) in I2C_DeInit() 198 tmpreg = I2Cx->CR2; in I2C_Init() 208 I2Cx->CR2 = tmpreg; in I2C_Init() 264 I2Cx->CCR = tmpreg; in I2C_Init() 270 tmpreg = I2Cx->CR1; in I2C_Init() 278 I2Cx->CR1 = tmpreg; in I2C_Init() 407 I2Cx->DR = Address; in I2C_Send7bitAddress() 700 I2Cx->DR = Data; in I2C_SendData() 1108 flag1 = I2Cx->SR1; in I2C_CheckEvent() [all …]
|
/lk-master/external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/src/ |
A D | stm32f4xx_i2c.c | 142 if (I2Cx == I2C1) in I2C_DeInit() 158 if (I2Cx == I2C3) in I2C_DeInit() 197 tmpreg = I2Cx->CR2; in I2C_Init() 207 I2Cx->CR2 = tmpreg; in I2C_Init() 263 I2Cx->CCR = tmpreg; in I2C_Init() 269 tmpreg = I2Cx->CR1; in I2C_Init() 277 I2Cx->CR1 = tmpreg; in I2C_Init() 468 I2Cx->DR = Address; in I2C_Send7bitAddress() 761 I2Cx->DR = Data; in I2C_SendData() 1169 flag1 = I2Cx->SR1; in I2C_CheckEvent() [all …]
|
/lk-master/external/platform/stm32f1xx/STM32F10x_StdPeriph_Driver/src/ |
A D | stm32f10x_i2c.c | 166 if (I2Cx == I2C1) in I2C_DeInit() 207 tmpreg = I2Cx->CR2; in I2C_Init() 217 I2Cx->CR2 = tmpreg; in I2C_Init() 271 I2Cx->CCR = tmpreg; in I2C_Init() 277 tmpreg = I2Cx->CR1; in I2C_Init() 285 I2Cx->CR1 = tmpreg; in I2C_Init() 574 I2Cx->DR = Data; in I2C_SendData() 995 flag1 = I2Cx->SR1; in I2C_CheckEvent() 996 flag2 = I2Cx->SR2; in I2C_CheckEvent() 1041 flag1 = I2Cx->SR1; in I2C_GetLastEvent() [all …]
|
/lk-master/external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/inc/ |
A D | stm32f4xx_i2c.h | 547 void I2C_DeInit(I2C_TypeDef* I2Cx); 552 void I2C_Cmd(I2C_TypeDef* I2Cx, FunctionalState NewState); 559 void I2C_OwnAddress2Config(I2C_TypeDef* I2Cx, uint8_t Address); 567 void I2C_ARPCmd(I2C_TypeDef* I2Cx, FunctionalState NewState); 570 void I2C_SendData(I2C_TypeDef* I2Cx, uint8_t Data); 571 uint8_t I2C_ReceiveData(I2C_TypeDef* I2Cx); 577 uint8_t I2C_GetPEC(I2C_TypeDef* I2Cx); 580 void I2C_DMACmd(I2C_TypeDef* I2Cx, FunctionalState NewState); 683 uint32_t I2C_GetLastEvent(I2C_TypeDef* I2Cx); 692 void I2C_ClearFlag(I2C_TypeDef* I2Cx, uint32_t I2C_FLAG); [all …]
|
/lk-master/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/ |
A D | stm32f0xx_ll_i2c.c | 103 uint32_t LL_I2C_DeInit(I2C_TypeDef *I2Cx) in LL_I2C_DeInit() argument 108 assert_param(IS_I2C_ALL_INSTANCE(I2Cx)); in LL_I2C_DeInit() 110 if (I2Cx == I2C1) in LL_I2C_DeInit() 119 else if (I2Cx == I2C2) in LL_I2C_DeInit() 148 assert_param(IS_I2C_ALL_INSTANCE(I2Cx)); in LL_I2C_Init() 159 LL_I2C_Disable(I2Cx); in LL_I2C_Init() 173 LL_I2C_SetTiming(I2Cx, I2C_InitStruct->Timing); in LL_I2C_Init() 176 LL_I2C_Enable(I2Cx); in LL_I2C_Init() 183 LL_I2C_DisableOwnAddress1(I2Cx); in LL_I2C_Init() 189 LL_I2C_EnableOwnAddress1(I2Cx); in LL_I2C_Init() [all …]
|
/lk-master/external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/inc/ |
A D | stm32f2xx_i2c.h | 537 void I2C_DeInit(I2C_TypeDef* I2Cx); 542 void I2C_Cmd(I2C_TypeDef* I2Cx, FunctionalState NewState); 547 void I2C_OwnAddress2Config(I2C_TypeDef* I2Cx, uint8_t Address); 555 void I2C_ARPCmd(I2C_TypeDef* I2Cx, FunctionalState NewState); 558 void I2C_SendData(I2C_TypeDef* I2Cx, uint8_t Data); 559 uint8_t I2C_ReceiveData(I2C_TypeDef* I2Cx); 565 uint8_t I2C_GetPEC(I2C_TypeDef* I2Cx); 568 void I2C_DMACmd(I2C_TypeDef* I2Cx, FunctionalState NewState); 671 uint32_t I2C_GetLastEvent(I2C_TypeDef* I2Cx); 680 void I2C_ClearFlag(I2C_TypeDef* I2Cx, uint32_t I2C_FLAG); [all …]
|
/lk-master/external/platform/stm32f1xx/STM32F10x_StdPeriph_Driver/inc/ |
A D | stm32f10x_i2c.h | 521 void I2C_DeInit(I2C_TypeDef* I2Cx); 524 void I2C_Cmd(I2C_TypeDef* I2Cx, FunctionalState NewState); 525 void I2C_DMACmd(I2C_TypeDef* I2Cx, FunctionalState NewState); 530 void I2C_OwnAddress2Config(I2C_TypeDef* I2Cx, uint8_t Address); 534 void I2C_SendData(I2C_TypeDef* I2Cx, uint8_t Data); 535 uint8_t I2C_ReceiveData(I2C_TypeDef* I2Cx); 543 uint8_t I2C_GetPEC(I2C_TypeDef* I2Cx); 544 void I2C_ARPCmd(I2C_TypeDef* I2Cx, FunctionalState NewState); 637 uint32_t I2C_GetLastEvent(I2C_TypeDef* I2Cx); 649 void I2C_ClearFlag(I2C_TypeDef* I2Cx, uint32_t I2C_FLAG); [all …]
|
Completed in 35 milliseconds