Implementing an EEPROM Driver with Interrupts
I wanna implement an EEPROM driver but I have some hesitates.
I actually implement a driver in polling mode, and as you might guess, there are some HAL_SPI_Transmit functions to send command, and some data(a buffer, not a single byte). I thought to translate HAL_SPI_Transmit functions to HAL_SPI_Transmit_IT, but now I've some hesitates, should I also translate the HAL_SPI_Transmit function for which I am using to send command, or just the ones for which I am using to send data is enough?
Furthermore, will this work? Or I am thinking completely wrong?
Thx in advance for your responses.