urukul: mention min/max attenuation

Signed-off-by: Robert Jördens <rj@quartiq.de>
This commit is contained in:
Robert Jördens 2018-11-09 13:32:05 +01:00
parent e565ca6b82
commit 38c6878d49
1 changed files with 2 additions and 1 deletions

View File

@ -300,7 +300,8 @@ class CPLD:
:param channel: Attenuator channel (0-3). :param channel: Attenuator channel (0-3).
:param att: Attenuation setting in dB. Higher value is more :param att: Attenuation setting in dB. Higher value is more
attenuation. attenuation. Minimum attenuation is 0*dB, maximum attenuation is
31.5*dB.
""" """
self.set_att_mu(channel, 255 - int32(round(att*8))) self.set_att_mu(channel, 255 - int32(round(att*8)))