Function pamoja_opt3001_full_scale_milli_lux
Source #[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_opt3001_full_scale_milli_lux(
range_number: u8,
out_milli_lux: *mut u32,
) -> bool
Expand description
Returns the full scale an OPT3001 range number covers.
§Returns
true when the range is one the part defines, with *out_milli_lux set to
the full scale; false for a reserved range number, which has none.
§Safety
out_milli_lux must point to a writable uint32_t.