2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-24 19:04:02 +08:00

ad9910: Clarify chip_select range [nfc]

`assert 3 <= chip_select <= 7` is rather opaque without looking
at the CPLD source code otherwise.
This commit is contained in:
David Nadlinger 2018-07-29 01:55:51 +01:00
parent 6b89106578
commit 08ee91beb2

View File

@ -39,7 +39,8 @@ class AD9910:
the digital step attenuator, and the RF switch.
:param chip_select: Chip select configuration. On Urukul this is an
encoded chip select and not "one-hot".
encoded chip select and not "one-hot": 3 to address multiple chips
(as configured through CFG_MASK_NU), 4-7 for individual channels.
:param cpld_device: Name of the Urukul CPLD this device is on.
:param sw_device: Name of the RF switch device. The RF switch is a
TTLOut channel available as the :attr:`sw` attribute of this instance.