stm32-hal2 2.0.0

Hardware abstraction layer for the STM32 MCUs
Documentation
1
2
3
4
5
6
7
8
9
10
use cfg_aliases::cfg_aliases;

fn main() {
    cfg_aliases! {
        dma2: { not(any(feature = "f3x4", feature = "f301", feature = "g0", feature = "wb", feature = "c0")) },
        // Only applies to "baseline" clocks. (no H)
        msi: { not(any(feature = "g0", feature = "g4", feature = "c0")) },
        flash_bsy1: { any(feature = "c0", feature = "g030", feature = "g050", feature = "g070") }
    }
}