[−][src]Trait libmedium::sensors::WriteableTempSensor
Helper trait that sums up all functionality of a read-write temp sensor.
Provided methods
pub fn write_offset(&self, offset: Temperature) -> Result<(), Error>
[src]
Converts offset and writes it to this temp's offset subfunction. Returns an error, if this sensor doesn't support the subfunction.
pub fn write_max_hyst(&self, max_hyst: Temperature) -> Result<(), Error>
[src]
Converts max_hyst and writes it to this temp's max_hyst subfunction. Returns an error, if this sensor doesn't support the subfunction.
pub fn write_min_hyst(&self, min_hyst: Temperature) -> Result<(), Error>
[src]
Converts min_hyst and writes it to this temp's min_hyst subfunction. Returns an error, if this sensor doesn't support the subfunction.
pub fn write_crit_hyst(&self, crit_hyst: Temperature) -> Result<(), Error>
[src]
Converts crit_hyst and writes it to this temp's crit_hyst subfunction. Returns an error, if this sensor doesn't support the subfunction.
pub fn write_emergency(&self, emergency: Temperature) -> Result<(), Error>
[src]
Converts emergency and writes it to this temp's emergency subfunction. Returns an error, if this sensor doesn't support the subfunction.
pub fn write_emergency_hyst(
&self,
emergency_hyst: Temperature
) -> Result<(), Error>
[src]
&self,
emergency_hyst: Temperature
) -> Result<(), Error>
Converts emergency_hyst and writes it to this temp's emergency_hyst subfunction. Returns an error, if this sensor doesn't support the subfunction.
pub fn write_lcrit_hyst(&self, lcrit_hyst: Temperature) -> Result<(), Error>
[src]
Converts lcrit_hyst and writes it to this temp's lcrit_hyst subfunction. Returns an error, if this sensor doesn't support the subfunction.