mirror of https://github.com/m-labs/artiq.git
coredevice.spi: docstring fix
This commit is contained in:
parent
f754d2c117
commit
d973eb879f
|
@ -203,7 +203,7 @@ class SPIMaster:
|
||||||
|
|
||||||
@kernel
|
@kernel
|
||||||
def read_async(self):
|
def read_async(self):
|
||||||
"""Trigger an asynchronous read from the data register.
|
"""Trigger an asynchronous read from the ``data`` register.
|
||||||
|
|
||||||
Reads always finish in two cycles.
|
Reads always finish in two cycles.
|
||||||
|
|
||||||
|
@ -218,7 +218,7 @@ class SPIMaster:
|
||||||
|
|
||||||
@kernel
|
@kernel
|
||||||
def input_async(self):
|
def input_async(self):
|
||||||
"""Retrieves data written asynchronously.
|
"""Retrieves data read asynchronously from the ``data`` register.
|
||||||
|
|
||||||
:meth:`input_async` must match a preeeding :meth:`read_async`.
|
:meth:`input_async` must match a preeeding :meth:`read_async`.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue