[−][src]Crate stm32f3xx_hal
stm32f3xx-hal
stm32f3xx-hal
contains a multi device hardware abstraction on top of the
peripheral access API for the STMicro STM32F3 series microcontrollers. The
selection of the MCU is done by feature gates
Selecting the right chip
This crate requires you to specify your target chip as a feature.
Please select one of the following
(Note: x
denotes any character in [a-z])
- stm32f301
- stm32f318
- stm32f302xb
- stm32f302xc
- stm32f302xd
- stm32f302xe
- stm32f302x6
- stm32f302x8
- stm32f303xb
- stm32f303xc
- stm32f303xd
- stm32f303xe
- stm32f303x6
- stm32f303x8
- stm32f373
- stm32f378
- stm32f334
- stm32f328
- stm32f358
- stm32f398
Example: The STM32F3Discovery board has a STM32F303VCT6 chip.
So you want to expand your call to cargo
with --features stm32f303xc
.
For more information, see the README
Re-exports
pub use embedded_hal as hal; |
pub use nb; |
Modules
adc | API for the ADC (Analog to Digital Converter) |
can | Controller Area Network |
delay | Delays |
dma | Direct memory access (DMA) controller |
flash | Flash memory |
gpio | General Purpose Input / Output |
i2c | Inter-Integrated Circuit (I2C) bus |
pac | Peripheral access |
prelude | Prelude |
pwm | Pulse width modulation |
rcc | Reset and Clock Control |
rtc | Real Time Clock |
serial | Serial |
spi | Serial Peripheral Interface (SPI) bus |
stm32 | Peripheral access |
time | Time units |
timer | Timers |
usb | USB peripheral |
watchdog | Watchdog |
Macros
block | Turns the non-blocking expression |
expect | Wrapper macro for |
unwrap | Wrapper macro for |
Enums
interrupt | Enumeration of all the interrupts |
Attribute Macros
interrupt | Attribute to declare an interrupt (AKA device-specific exception) handler |