I need to write some registers of an integrated circuit connected to an STM32F407VG MCU by the SPI2 line.
I found these two functions:
which documentation can be found at STM32F4xx_StdPeriph_Driver: Data transfers functions
I just didn't get how to tell the function which register I want to write to, since the SPI_I2S_SendData() accepts only 2 parameters: SPI line number (e.g. SPI1, SPI2, SPI3) and the data to be transmitted.
Any help is highly appreciated.