forked from M-Labs/artiq
spi: cross-reference bit ordering and alignment, closes #482
This commit is contained in:
parent
033aa33c9e
commit
a8b211f891
@ -196,6 +196,7 @@ class SPIMaster:
|
||||
deasserting ``cs`` in between. Once a transfer completes,
|
||||
the previous transfer's read data is available in the
|
||||
``data`` register.
|
||||
* For bit alignment and bit ordering see :meth:`set_config`.
|
||||
|
||||
This method advances the timeline by the duration of the SPI transfer.
|
||||
If a transfer is to be chained, the timeline needs to be rewound.
|
||||
@ -207,6 +208,8 @@ class SPIMaster:
|
||||
def read_async(self):
|
||||
"""Trigger an asynchronous read from the ``data`` register.
|
||||
|
||||
For bit alignment and bit ordering see :meth:`set_config`.
|
||||
|
||||
Reads always finish in two cycles.
|
||||
|
||||
Every data register read triggered by a :meth:`read_async`
|
||||
|
Loading…
Reference in New Issue
Block a user