Skip to main content

pamoja_sht3x_periodic

Function pamoja_sht3x_periodic 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_sht3x_periodic( repeatability: u8, rate: u8, out_command: *mut u16, ) -> PamojaStatus
Expand description

Returns the SHT3x periodic-mode command for a repeatability and rate.

§Returns

PamojaStatus::Ok on success, with *out_command set, or PamojaStatus::InvalidArgument if either code is outside its range.

§Safety

out_command must point to a writable uint16_t.