I've done a plain copypasta of the SPI1/2/3 code, but it won't compile until valid DMA mask values are assigned, and I don't know where to find this information (I'm new to this DMA stuff)...
Can somebody help me?
PS: Is there a way to use SPI in half-duplex mode? ST's demo is using only MOSI, but I would like to read registers from the ILI9341, which works in half-duplex mode.