Skip to main content

pamoja_ina219_current_lsb

Function pamoja_ina219_current_lsb 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_ina219_current_lsb( sensor: *const PamojaIna219, ) -> u32
Expand description

Returns the current step an INA219 driver programs.

§Arguments

  • sensor - the driver.

§Returns

Microamps per count of the current register, or 0 for a null driver.

§Safety

sensor must be a live handle or null.