mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 19:28:26 +08:00
spi: fix typo in doc
This commit is contained in:
parent
4e9165fd1d
commit
0ffc752310
@ -74,7 +74,7 @@ class SPIMaster:
|
|||||||
def set_config(self, flags=0, write_freq=20*MHz, read_freq=20*MHz):
|
def set_config(self, flags=0, write_freq=20*MHz, read_freq=20*MHz):
|
||||||
"""Set the configuration register.
|
"""Set the configuration register.
|
||||||
|
|
||||||
* If ``config.cs_polarity`` == 0 (```cs`` active low, the default),
|
* If ``config.cs_polarity`` == 0 (``cs`` active low, the default),
|
||||||
"``cs_n`` all deasserted" means "all ``cs_n`` bits high".
|
"``cs_n`` all deasserted" means "all ``cs_n`` bits high".
|
||||||
* ``cs_n`` is not mandatory in the pads supplied to the gateware core.
|
* ``cs_n`` is not mandatory in the pads supplied to the gateware core.
|
||||||
Framing and chip selection can also be handled independently
|
Framing and chip selection can also be handled independently
|
||||||
|
Loading…
Reference in New Issue
Block a user