Espressif SPI and GPIO expander

Thank you @Grumpy_Mike

I am unable to build my code using standard SPI library. Since the standard SPI library is in C++ and my library is in C.

I keep getting error for type class, and other definition types that are not supported in C.