Cargo Features
py32f0xx-hal has no features set by default.
[dependencies]
py32f0xx-hal = { version = "0.1.1", features = ["device-selected", "rt", "py32f030", "py32f003", "py32f002a", "py32f002b", "flash-16", "flash-20", "flash-24", "flash-32", "flash-48", "flash-64", "ram-2", "ram-3", "ram-4", "ram-6", "ram-8", "py32f030xx4", "py32f030xx6", "py32f030xx7", "py32f030xx8", "py32f003xx4", "py32f003xx6", "py32f003xx8", "py32f002ax5", "py32f002bx5"] }
- device-selected py32f002a? py32f002b? py32f003? py32f030?
-
Affects
py32f0xx-hal::adc
,py32f0xx-hal::delay
,py32f0xx-hal::gpio
,py32f0xx-hal::i2c
,py32f0xx-hal::prelude
,py32f0xx-hal::pwm
,py32f0xx-hal::rcc
,py32f0xx-hal::serial
,py32f0xx-hal::spi
,py32f0xx-hal::time
,py32f0xx-hal::timers
,py32f0xx-hal::watchdog
… - rt
- py32f030 py32f030xx4? py32f030xx6? py32f030xx7? py32f030xx8? = device-selected
- py32f003 py32f003xx4? py32f003xx6? py32f003xx8? = device-selected
- py32f002a py32f002ax5? = device-selected
- py32f002b py32f002bx5? = device-selected
- flash-16 py32f003xx4? py32f030xx4?
-
Features based on Flash size (in kbytes)
- flash-20 py32f002ax5?
- flash-24 py32f002bx5?
- flash-32 py32f003xx6? py32f030xx6?
- flash-48 py32f030xx7?
- flash-64 py32f003xx8? py32f030xx8?
- ram-2 py32f003xx4? py32f030xx4?
-
Features based on RAM size (in kbytes)
- ram-3 py32f002ax5? py32f002bx5?
- ram-4 py32f003xx6? py32f030xx6?
- ram-6 py32f030xx7?
- ram-8 py32f003xx8? py32f030xx8?
- py32f030xx4 = flash-16, py32f030, ram-2
-
MCU aliases
Features correspond specific mcu series
Note: The easiest way to pick the proper package feature is to apply the matching feature for your MCU! - py32f030xx6 = flash-32, py32f030, ram-4
- py32f030xx7 = flash-48, py32f030, ram-6
- py32f030xx8 = flash-64, py32f030, ram-8
- py32f003xx4 = flash-16, py32f003, ram-2
- py32f003xx6 = flash-32, py32f003, ram-4
- py32f003xx8 = flash-64, py32f003, ram-8
- py32f002ax5 = flash-20, py32f002a, ram-3
- py32f002bx5 = flash-24, py32f002b, ram-3