SPI_MODE_USER_MASK
spi->mode = tmp & SPI_MODE_USER_MASK;
static_assert((SPI_MODE_KERNEL_MASK & SPI_MODE_USER_MASK) == 0,