Skip to main content

part

Function part 

Source
pub fn part(address: u8) -> WordPart
Expand description

An INA219 answering at an address, carrying MICROAMPS at BUS_MILLIVOLTS through SHUNT_MILLIOHMS.

§Arguments

  • address - the address it answers to, BASE_ADDRESS plus what its A1 and A0 pins add.

§Returns

The part, which a driver with its default shunt reads.