Add note about SPI devices in the Chip documentation.

This commit is contained in:
James Harton 2020-05-10 09:26:02 +12:00
parent ff8a6950c8
commit be8e2a6589

View file

@ -30,6 +30,12 @@ defprotocol Wafer.Chip do
end end
``` ```
## A note on SPI devices
You will have to manually implement this protocol for SPI devices as there is
no conventional way to read and write registers over SPI and every device has
their own way of implementing an SPI instruction set.
""" """
@type register_address :: non_neg_integer @type register_address :: non_neg_integer