#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_ads1115_init(
sensor: *mut PamojaAds1115,
) -> PamojaStatusExpand description
Writes the input, range, and data rate, and reads the configuration back, which is the identity check a part with no id register allows.
§Arguments
sensor- the driver.
§Returns
PamojaStatus::Ok; PamojaStatus::InvalidArgument for a null driver;
PamojaStatus::Io when the bus fails; or PamojaStatus::Codec when the configuration
reads back differently.
§Safety
sensor must be a live handle or null.