Skip to main content

pamoja_bmp280_coefficients

Function pamoja_bmp280_coefficients 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_bmp280_coefficients( sensor: *const PamojaBmp280, out_coefficients: *mut PamojaBmp280Coefficients, ) -> bool
Expand description

Copies the trimming coefficients a BMP280 driver read at initialization.

§Arguments

  • sensor - the driver.
  • out_coefficients - receives the coefficients.

§Returns

true with the coefficients in out_coefficients; false before the part has been initialized, or for a null argument.

§Safety

sensor must be a live handle or null, and out_coefficients a writable pointer or null.