How to send 10-bit message using HAL_SPI_TRANSMIT
I am trying to interface with an AD8400 single channel digital potentiometer. It communicates over SPI and requires 2 address bits and 8 data bits to set its resistance. I am having trouble figuring out how to send a 10-bit message.I have set the dat...