Configurable SPI clock mode
The SPI master driver needs to support configurable SPI clock mode.
The "SPIM" command is modified to support multiple attributes to be described in the device name. For example, the "spim spi@40003800:w16:m2:r1000000 0 r 1"
command specifies 16-bit data access and clock mode 2.
For STM32MCUs, only the first spim
command applies configuration.
由 Victor Chen 编辑于