While developing recent projects, it became apparent that it would be useful to have the capability of registering a device and it's chip select pin with the SPI driver. That way the user could effectively say "write to deviceX" and the underlying SPI driver will know exactly what you mean. This solves a lot of configuration headache when an SPI bus is being shared across multiple devices and multiple threads.
While developing recent projects, it became apparent that it would be useful to have the capability of registering a device and it's chip select pin with the SPI driver. That way the user could effectively say "write to deviceX" and the underlying SPI driver will know exactly what you mean. This solves a lot of configuration headache when an SPI bus is being shared across multiple devices and multiple threads.