Searched refs:I2C_IT (Results 1 – 6 of 6) sorted by relevance
| /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 …]
|
| /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 …]
|
| /external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/src/ |
| A D | stm32f4xx_i2c.c | 1097 assert_param(IS_I2C_CONFIG_IT(I2C_IT)); in I2C_ITConfig() 1102 I2Cx->CR2 |= I2C_IT; in I2C_ITConfig() 1107 I2Cx->CR2 &= (uint16_t)~I2C_IT; in I2C_ITConfig() 1374 ITStatus I2C_GetITStatus(I2C_TypeDef* I2Cx, uint32_t I2C_IT) in I2C_GetITStatus() argument 1381 assert_param(IS_I2C_GET_IT(I2C_IT)); in I2C_GetITStatus() 1384 enablestatus = (uint32_t)(((I2C_IT & ITEN_MASK) >> 16) & (I2Cx->CR2)) ; in I2C_GetITStatus() 1387 I2C_IT &= FLAG_MASK; in I2C_GetITStatus() 1390 if (((I2Cx->SR1 & I2C_IT) != (uint32_t)RESET) && enablestatus) in I2C_GetITStatus() 1434 void I2C_ClearITPendingBit(I2C_TypeDef* I2Cx, uint32_t I2C_IT) in I2C_ClearITPendingBit() argument 1439 assert_param(IS_I2C_CLEAR_IT(I2C_IT)); in I2C_ClearITPendingBit() [all …]
|
| /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);
|
| /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);
|
| /external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/inc/ |
| A D | stm32f4xx_i2c.h | 577 void I2C_ITConfig(I2C_TypeDef* I2Cx, uint16_t I2C_IT, FunctionalState NewState); 685 ITStatus I2C_GetITStatus(I2C_TypeDef* I2Cx, uint32_t I2C_IT); 686 void I2C_ClearITPendingBit(I2C_TypeDef* I2Cx, uint32_t I2C_IT);
|
Completed in 15 milliseconds