2015-06-04 03:09 PM
I've used CubeMX to init SPI. There is a struct called hspi3 created by the init code which holds settings for SPI. I would like to use SPI library in a C file I've written (DAC driver) but I can't because HAL_SPI_Transmit() required a pointer to the hspi3. What is the common method for solving this?
2015-06-05 05:57 PM
#include ''spi.h''