@@ -209,9 +209,7 @@ class to add those features, at the cost of increased memory usage.
209
209
"""When set to True, the magnitude of the fan output signal is inverted, making 0 the maximum
210
210
value and 100 the minimum value"""
211
211
212
- dac_output_enabled = RWBit (_REG_CONFIG , 4 )
213
- """When set, the fan control signal is output as a DC voltage instead of a PWM signal"""
214
-
212
+ _dac_output_enabled = RWBit (_REG_CONFIG , 4 )
215
213
_conversion_rate = RWBits (4 , 0x04 , 0 )
216
214
# fan spin-up
217
215
_spin_drive = RWBits (2 , _FAN_SPINUP , 3 )
@@ -299,6 +297,16 @@ def manual_fan_speed(self, fan_speed):
299
297
self ._fan_setting = fan_speed_lsb
300
298
self ._fan_lut_prog = lut_disabled
301
299
300
+ @property
301
+ def dac_output_enabled (self ):
302
+ """When set, the fan control signal is output as a DC voltage instead of a PWM signal"""
303
+ return self ._dac_output_enabled
304
+
305
+ @dac_output_enabled .setter
306
+ def dac_output_enabled (self , value ):
307
+ self ._dac_output_enabled = value
308
+ self ._calculate_full_speed (dac = value )
309
+
302
310
@property
303
311
def lut_enabled (self ):
304
312
"""Enable or disable the internal look up table used to map a given temperature
0 commit comments