Skip to main content

pamoja_ina219_bus_register

Function pamoja_ina219_bus_register 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_ina219_bus_register(millivolts: u32) -> u16
Expand description

Builds the INA219 bus-voltage register a monitor reports for a bus voltage.

ยงReturns

The bus-voltage register, with the conversion-ready flag set.