I think I'm mixed up a bit in NVIC of stm32 MCUs. I took a look in the SPI.h of the STM32F10x standard peripheral library. I don't know that why while there is SPI_I2S_IT_RXNE
for checking the status of recieved buffer we have SPI_I2S_FLAG_RXNE
flag for this porpuse?
look: