Constant stm32ral::stm32l1::stm32l151::i2c::I2C1[][src]

pub const I2C1: *const RegisterBlock = 0x40005400 as *const _; // {0x40005400 as *const stm32l1::peripherals::i2c::RegisterBlock}
Expand description

Raw pointer to I2C1

Dereferencing this is unsafe because you are not ensured unique access to the peripheral, so you may encounter data races with other users of this peripheral. It is up to you to ensure you will not cause data races.

This constant is provided for ease of use in unsafe code: you can simply call for example write_reg!(gpio, GPIOA, ODR, 1);.