2018-03-08 05:55 AM
Hello,
Before I have written a SPI function. std peripheral library at stm8l0 serie. Here is a part of code.
if(SPI_GetFlagStatus(SPI1, SPI_FLAG_TXE) && (spi_ri < lenght)) // Check tx flags here { SPI_SendData(SPI1, *(buf+spi_ri)); spi_ri++; SPI_ClearFlag(SPI1, SPI_FLAG_TXE); }I have checked tx flags then i have sent my frame.Now i want to do same at ST's stm32l053c8 microcontroller. I checked flags from datasheet and almost same flags exist. But when i opened HAL's SPI library i could not see any flag management function. Am i blind or should i do another thing for check flags?
#hal-spi