Re-exports§
pub use stm32f0xx_hal as hal;
pub use crate::hal::stm32::interrupt::*;
Modules§
- asm
- Miscellaneous assembly instructions
- can
- Controller area network
- cec
- HDMI-CEC controller
- comp
- General purpose comparators
- crc
- cyclic redundancy check calculation unit
- crs
- Clock recovery system
- dac
- Digital-to-analog converter
- dbgmcu
- Debug support
- delay
- API for delays with the systick timer
- dma1
- DMA controller
- exti
- External interrupt/event controller
- flash
- Flash
- gpio
- General Purpose Input / Output
- gpioa
- General-purpose I/Os
- gpiof
- General-purpose I/Os
- i2c
- i2c1
- Inter-integrated circuit
- itm
- Instrumentation Trace Macrocell
- iwdg
- Independent watchdog
- led
- peripheral
- Core peripherals
- prelude
- pwr
- Power control
- register
- Processor core registers
- rtc
- Real-time clock
- serial
- API for the integrated USART ports
- spi
- API for the integrate SPI peripherals
- spi1
- Serial peripheral interface
- stk
- SysTick timer
- stm32f0
- Peripheral access API for STM32F0 microcontrollers (generated using svd2rust 0.14.0)
- syscfg
- System configuration controller
- tim1
- Advanced-timers
- tim2
- General-purpose-timers
- tim6
- Basic-timers
- tim14
- General-purpose-timers
- tim15
- General-purpose-timers
- tim16
- General-purpose-timers
- time
- timers
- API for the integrated timers
- usart1
- Universal synchronous asynchronous receiver transmitter
- usb
- Universal serial bus full-speed device interface
- watchdog
- API for the IWDG
- wwdg
- Window watchdog
Macros§
- blue
- green
- iprint
- Macro for sending a formatted string through an ITM channel
- iprintln
- Macro for sending a formatted string through an ITM channel, with a newline.
- orange
- red
- singleton
- Macro to create a mutable reference to a statically allocated value
Structs§
- ADC
- Analog-to-digital converter
- CAN
- Controller area network
- CBP
- Cache and branch predictor maintenance operations
- CEC
- HDMI-CEC controller
- COMP
- General purpose comparators
- CPUID
- CPUID
- CRC
- cyclic redundancy check calculation unit
- CRS
- Clock recovery system
- Core
Peripherals - Core peripherals
- DAC
- Digital-to-analog converter
- DBGMCU
- Debug support
- DCB
- Debug Control Block
- DMA1
- DMA controller
- DWT
- Data Watchpoint and Trace unit
- EXTI
- External interrupt/event controller
- Exception
Frame - Registers stacked (pushed onto the stack) during an exception.
- FPB
- Flash Patch and Breakpoint unit
- GPIOA
- General-purpose I/Os
- GPIOB
- GPIOB
- GPIOC
- GPIOC
- GPIOD
- GPIOD
- GPIOE
- GPIOE
- GPIOF
- General-purpose I/Os
- ITM
- Instrumentation Trace Macrocell
- IWDG
- Independent watchdog
- MPU
- Memory Protection Unit
- NVIC
- Nested Vector Interrupt Controller
- PWR
- Power control
- Peripherals
- Core peripherals
- RCC
- Reset and clock control
- SCB
- System Control Block
- STK
- SysTick timer
- SYSCFG
- System configuration controller
- SYST
- SysTick: System Timer
- TIM1
- Advanced-timers
- TIM6
- Basic-timers
- TPIU
- Trace Port Interface Unit
- USART3
- USART3
- USART4
- USART4
Enums§
Constants§
- NVIC_
PRIO_ BITS - Number available in the NVIC for configuring priority
Traits§
- _embedded_
hal_ Capture - Input capture
- _embedded_
hal_ Pwm - Pulse Width Modulation
- _embedded_
hal_ PwmPin - A single PWM channel / pin
- _embedded_
hal_ Qei - Quadrature encoder interface
- _embedded_
hal_ adc_ OneShot - ADCs that sample on single channels per request, and do so at the time of the request.
- _embedded_
hal_ blocking_ delay_ Delay Ms - Millisecond delay
- _embedded_
hal_ blocking_ delay_ Delay Us - Microsecond delay
- _embedded_
hal_ blocking_ i2c_ Read - Blocking read
- _embedded_
hal_ blocking_ i2c_ Write - Blocking write
- _embedded_
hal_ blocking_ i2c_ Write Read - Blocking write + read
- _embedded_
hal_ blocking_ rng_ Read - Blocking read
- _embedded_
hal_ blocking_ serial_ Write - Write half of a serial interface (blocking variant)
- _embedded_
hal_ blocking_ spi_ Transfer - Blocking transfer
- _embedded_
hal_ blocking_ spi_ Write - Blocking write
- _embedded_
hal_ digital_ Input Pin Deprecated - Single digital input pin
- _embedded_
hal_ digital_ Output Pin Deprecated - Single digital push-pull output pin
- _embedded_
hal_ digital_ Toggleable Output Pin Deprecated - Output pin that can be toggled
- _embedded_
hal_ serial_ Read - Read half of a serial interface
- _embedded_
hal_ serial_ Write - Write half of a serial interface
- _embedded_
hal_ spi_ Full Duplex - Full duplex (master mode)
- _embedded_
hal_ timer_ Count Down - A count down timer
- _embedded_
hal_ watchdog_ Watchdog - Feeds an existing watchdog to ensure the processor isn’t reset. Sometimes commonly referred to as “kicking” or “refreshing”.
- _embedded_
hal_ watchdog_ Watchdog Disable - Disables a running watchdog timer so the processor won’t be reset.
- _embedded_
hal_ watchdog_ Watchdog Enable - Enables A watchdog timer to reset the processor if software is frozen or stalled.
- _stm32f0xx_
hal_ embedded_ hal_ watchdog_ Watchdog - Feeds an existing watchdog to ensure the processor isn’t reset. Sometimes commonly referred to as “kicking” or “refreshing”.
- _stm32f0xx_
hal_ embedded_ hal_ watchdog_ Watchdog Enable - Enables A watchdog timer to reset the processor if software is frozen or stalled.
- _stm32f0xx_
hal_ gpio_ Gpio Ext - Extension trait to split a GPIO peripheral in independent pins and registers
- _stm32f0xx_
hal_ rcc_ RccExt - Extension trait that sets up the
RCC
peripheral - _stm32f0xx_
hal_ time_ U32Ext - Extension trait that adds convenience methods to the
u32
type
Functions§
- heap_
start - Returns a pointer to the start of the heap