Skip to main content

pamoja_hdc1080_config_to_register

Function pamoja_hdc1080_config_to_register 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_hdc1080_config_to_register( config: PamojaHdc1080Config, out_register: *mut u16, ) -> PamojaStatus
Expand description

Assembles an HDC1080 configuration register value.

§Returns

PamojaStatus::Ok on success, with *out_register set, or PamojaStatus::InvalidArgument if either resolution is not one the part offers.

§Safety

out_register must point to a writable uint16_t.