pub struct LpI2c { /* private fields */ }Expand description
Represents a Low-Power I2C peripheral.
Implementations§
Source§impl LpI2c
 
impl LpI2c
Sourcepub fn new(
    i2c: LP_I2C0<'static>,
    _sda: LowPowerOutputOpenDrain<'_, 6>,
    _scl: LowPowerOutputOpenDrain<'_, 7>,
    frequency: Rate,
) -> Self
 
pub fn new( i2c: LP_I2C0<'static>, _sda: LowPowerOutputOpenDrain<'_, 6>, _scl: LowPowerOutputOpenDrain<'_, 7>, frequency: Rate, ) -> Self
Creates a new instance of the LpI2c peripheral.