Searched refs:I2C_IT (Results 1 – 6 of 6) sorted by relevance
/lk-master/external/platform/stm32f1xx/STM32F10x_StdPeriph_Driver/src/ |
A D | stm32f10x_i2c.c | 549 assert_param(IS_I2C_CONFIG_IT(I2C_IT)); in I2C_ITConfig() 554 I2Cx->CR2 |= I2C_IT; in I2C_ITConfig() 559 I2Cx->CR2 &= (uint16_t)~I2C_IT; in I2C_ITConfig() 1200 ITStatus I2C_GetITStatus(I2C_TypeDef* I2Cx, uint32_t I2C_IT) in I2C_GetITStatus() argument 1207 assert_param(IS_I2C_GET_IT(I2C_IT)); in I2C_GetITStatus() 1210 enablestatus = (uint32_t)(((I2C_IT & ITEN_Mask) >> 16) & (I2Cx->CR2)) ; in I2C_GetITStatus() 1213 I2C_IT &= FLAG_Mask; in I2C_GetITStatus() 1216 if (((I2Cx->SR1 & I2C_IT) != (uint32_t)RESET) && enablestatus) in I2C_GetITStatus() 1261 void I2C_ClearITPendingBit(I2C_TypeDef* I2Cx, uint32_t I2C_IT) in I2C_ClearITPendingBit() argument 1266 assert_param(IS_I2C_CLEAR_IT(I2C_IT)); in I2C_ClearITPendingBit() [all …]
|
/lk-master/external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/src/ |
A D | stm32f2xx_i2c.c | 1043 assert_param(IS_I2C_CONFIG_IT(I2C_IT)); in I2C_ITConfig() 1048 I2Cx->CR2 |= I2C_IT; in I2C_ITConfig() 1053 I2Cx->CR2 &= (uint16_t)~I2C_IT; in I2C_ITConfig() 1311 ITStatus I2C_GetITStatus(I2C_TypeDef* I2Cx, uint32_t I2C_IT) in I2C_GetITStatus() argument 1318 assert_param(IS_I2C_GET_IT(I2C_IT)); in I2C_GetITStatus() 1321 enablestatus = (uint32_t)(((I2C_IT & ITEN_MASK) >> 16) & (I2Cx->CR2)) ; in I2C_GetITStatus() 1324 I2C_IT &= FLAG_MASK; in I2C_GetITStatus() 1327 if (((I2Cx->SR1 & I2C_IT) != (uint32_t)RESET) && enablestatus) in I2C_GetITStatus() 1371 void I2C_ClearITPendingBit(I2C_TypeDef* I2Cx, uint32_t I2C_IT) in I2C_ClearITPendingBit() argument 1376 assert_param(IS_I2C_CLEAR_IT(I2C_IT)); in I2C_ClearITPendingBit() [all …]
|
/lk-master/external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/src/ |
A D | stm32f4xx_i2c.c | 1104 assert_param(IS_I2C_CONFIG_IT(I2C_IT)); in I2C_ITConfig() 1109 I2Cx->CR2 |= I2C_IT; in I2C_ITConfig() 1114 I2Cx->CR2 &= (uint16_t)~I2C_IT; in I2C_ITConfig() 1372 ITStatus I2C_GetITStatus(I2C_TypeDef* I2Cx, uint32_t I2C_IT) in I2C_GetITStatus() argument 1379 assert_param(IS_I2C_GET_IT(I2C_IT)); in I2C_GetITStatus() 1382 enablestatus = (uint32_t)(((I2C_IT & ITEN_MASK) >> 16) & (I2Cx->CR2)) ; in I2C_GetITStatus() 1385 I2C_IT &= FLAG_MASK; in I2C_GetITStatus() 1388 if (((I2Cx->SR1 & I2C_IT) != (uint32_t)RESET) && enablestatus) in I2C_GetITStatus() 1432 void I2C_ClearITPendingBit(I2C_TypeDef* I2Cx, uint32_t I2C_IT) in I2C_ClearITPendingBit() argument 1437 assert_param(IS_I2C_CLEAR_IT(I2C_IT)); in I2C_ClearITPendingBit() [all …]
|
/lk-master/external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/inc/ |
A D | stm32f2xx_i2c.h | 573 void I2C_ITConfig(I2C_TypeDef* I2Cx, uint16_t I2C_IT, FunctionalState NewState); 681 ITStatus I2C_GetITStatus(I2C_TypeDef* I2Cx, uint32_t I2C_IT); 682 void I2C_ClearITPendingBit(I2C_TypeDef* I2Cx, uint32_t I2C_IT);
|
/lk-master/external/platform/stm32f1xx/STM32F10x_StdPeriph_Driver/inc/ |
A D | stm32f10x_i2c.h | 533 void I2C_ITConfig(I2C_TypeDef* I2Cx, uint16_t I2C_IT, FunctionalState NewState); 650 ITStatus I2C_GetITStatus(I2C_TypeDef* I2Cx, uint32_t I2C_IT); 651 void I2C_ClearITPendingBit(I2C_TypeDef* I2Cx, uint32_t I2C_IT);
|
/lk-master/external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/inc/ |
A D | stm32f4xx_i2c.h | 585 void I2C_ITConfig(I2C_TypeDef* I2Cx, uint16_t I2C_IT, FunctionalState NewState); 693 ITStatus I2C_GetITStatus(I2C_TypeDef* I2Cx, uint32_t I2C_IT); 694 void I2C_ClearITPendingBit(I2C_TypeDef* I2Cx, uint32_t I2C_IT);
|
Completed in 13 milliseconds