I am using W25Q16JV as SPI Flash and for this purpose I need a generic SPI driver that I can use in a W25Q16JV Driver. This is part of my Abstraction Layer in C++ where I add a little extra code to avoid having to deal with HAL/HW Interface on every SPI device I use.…