Skip to main content

automatic_self_calibration_word

Function automatic_self_calibration_word 

Source
pub fn automatic_self_calibration_word(enabled: bool) -> u16
Expand description

Builds the automatic self-calibration word for an enabled state.

The inverse of automatic_self_calibration_enabled, and the word command::SET_AUTOMATIC_SELF_CALIBRATION_ENABLED carries.

§Arguments

  • enabled - whether automatic self-calibration should be on.

§Returns

1 for enabled, 0 for disabled.