Constant stm32ral::stm32f3::stm32f3x4::spi::SPI2[][src]

pub const SPI2: *const RegisterBlock = 0x40003800 as *const _; // {0x40003800 as *const stm32f3::peripherals::spi_v1::RegisterBlock}
Expand description

Raw pointer to SPI2

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);.