Skip to main content

pamoja_i2c_address_is_reserved

Function pamoja_i2c_address_is_reserved 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_i2c_address_is_reserved( address: PamojaI2cAddress, ) -> bool
Expand description

Reports whether a 7-bit address falls in a range the I2C specification reserves.

ยงReturns

true for a 7-bit address in 0x00..=0x07 or 0x78..=0x7F, which leaves 0x08..=0x77 for ordinary devices. A 10-bit address is never reserved in this sense.