Skip to main content

lsb_milli_lux

Function lsb_milli_lux 

Source
pub fn lsb_milli_lux(exponent: u8) -> Option<u32>
Expand description

Returns the LSB size, in milli-lux, of a result or limit register at an exponent.

The datasheet’s LSB_Size = 0.01 lux * 2^E, so 10 milli-lux doubled per step.

§Arguments

  • exponent - the 4-bit exponent, a range number from 0 to 11.

§Returns

The LSB size in milli-lux, or None if exponent is above RANGE_MAX.