AnsweredAssumed Answered

SPI_HandleTypeDef structure extern?

Question asked by TSK on Jun 5, 2015
Latest reply on Jun 6, 2015 by B.H
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?

Outcomes