Searched refs:itpos (Results 1 – 2 of 2) sorted by relevance
1126 uint16_t itpos = 0, itmask = 0 ; in SPI_I2S_ITConfig() local1134 itpos = SPI_I2S_IT >> 4; in SPI_I2S_ITConfig()1137 itmask = (uint16_t)1 << (uint16_t)itpos; in SPI_I2S_ITConfig()1237 uint16_t itpos = 0, itmask = 0, enablestatus = 0; in SPI_I2S_GetITStatus() local1244 itpos = 0x01 << (SPI_I2S_IT & 0x0F); in SPI_I2S_GetITStatus()1256 if (((SPIx->SR & itpos) != (uint16_t)RESET) && enablestatus) in SPI_I2S_GetITStatus()1291 uint16_t itpos = 0; in SPI_I2S_ClearITPendingBit() local1297 itpos = 0x01 << (SPI_I2S_IT & 0x0F); in SPI_I2S_ClearITPendingBit()1300 SPIx->SR = (uint16_t)~itpos; in SPI_I2S_ClearITPendingBit()
1234 uint32_t usartreg = 0x00, itpos = 0x00, itmask = 0x00; in USART_ITConfig() local1253 itpos = USART_IT & IT_MASK; in USART_ITConfig()1254 itmask = (((uint32_t)0x01) << itpos); in USART_ITConfig()