Skip to main content

pamoja_hdc1080_configuration

Function pamoja_hdc1080_configuration 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_hdc1080_configuration( sensor: *const PamojaHdc1080, out_config: *mut PamojaHdc1080Config, ) -> PamojaStatus
Expand description

Copies the configuration an HDC1080 driver writes.

§Arguments

  • sensor - the driver.
  • out_config - receives the configuration.

§Returns

PamojaStatus::Ok, or PamojaStatus::InvalidArgument for a null argument.

§Safety

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