https://github.com/sslab-gatech/lkl/blob/master/drivers/spi/spi-stm32.c
https://github.com/torvalds/linux/blob/master/drivers/spi/spi-stm32.c