pub fn allowed_during_measurement(command: u16) -> boolExpand description
Returns whether a command may be sent while a periodic measurement is running.
This is the “during measurement” column of Table 9: only read_measurement,
stop_periodic_measurement, set_ambient_pressure, and get_data_ready_status
are allowed; every other command needs the sensor in idle mode.
§Arguments
command- one of thecommandwords.
§Returns
true if the command is accepted during a periodic measurement.