forked from M-Labs/artiq
spi: fix typo in doc
This commit is contained in:
parent
d0b21a8e85
commit
189020344c
|
@ -95,7 +95,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