Re-exports§
pub use stm32f1xx_hal as hal;
pub use crate::hal::stm32::interrupt::*;
Modules§
- adc
- API for the Analog to Digital converter
- adc1
- Analog to digital converter
- adc2
- Analog to digital converter
- asm
- Miscellaneous assembly instructions
- backup_
domain - Registers that are not reset as long as Vbat or Vdd has power.
- bb
- Bit banding
- bkp
- Backup registers
- can1
- Controller area network
- crc
- CRC calculation unit
- dac
- Digital to analog converter
- dbgmcu
- Debug support
- delay
- Delays
- dma
- Direct Memory Access
- dma1
- DMA controller
- ethernet_
dma - Ethernet: DMA controller operation
- ethernet_
mac - Ethernet: media access control
- ethernet_
mmc - Ethernet: MAC management counters
- ethernet_
ptp - Ethernet: Precision time protocol
- exti
- EXTI
- fsmc
- Flexible static memory controller
- gpio
- General Purpose I/Os
- gpioa
- General purpose I/O
- i2c
- Inter-Integrated Circuit (I2C) bus
- i2c1
- Inter integrated circuit
- itm
- Instrumentation Trace Macrocell
- iwdg
- Independent watchdog
- nvic_
stir - Nested vectored interrupt controller
- otg_
fs_ device - USB on the go full speed
- otg_
fs_ global - USB on the go full speed
- otg_
fs_ host - USB on the go full speed
- otg_
fs_ pwrclk - USB on the go full speed
- pac
- peripheral
- Core peripherals
- prelude
- pwm
- Pulse width modulation
- pwm_
input - This module allows Timer peripherals to be configured as pwm input. In this mode, the timer sample a squared signal to find it’s frequency and duty cycle.
- pwr
- Power control
- qei
- Quadrature Encoder Interface
- register
- Processor core registers
- scb_
actrl - System control block ACTLR
- sdio
- Secure digital input/output interface
- serial
- Serial Communication (USART)
- spi
- Serial Peripheral Interface
- spi1
- Serial peripheral interface
- stk
- SysTick timer
- tim1
- Advanced timer
- tim2
- General purpose timer
- tim6
- Basic timer
- tim9
- General purpose timer
- tim10
- General purpose timer
- time
- Time units
- timer
- Timer
- uart4
- Universal asynchronous receiver transmitter
- usart1
- Universal synchronous asynchronous receiver transmitter
- usb
- Universal serial bus full-speed device interface
- watchdog
- Watchdog peripherals
- wwdg
- Window watchdog
Macros§
- 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.
- singleton
- Macro to create a mutable reference to a statically allocated value
Structs§
- ADC1
- Analog to digital converter
- ADC2
- Analog to digital converter
- AFIO
- Alternate function I/O
- BKP
- Backup registers
- CAN1
- Controller area network
- CAN2
- CAN2
- CBP
- Cache and branch predictor maintenance operations
- CPUID
- CPUID
- CRC
- CRC calculation unit
- Core
Peripherals - Core peripherals
- DAC
- Digital to analog converter
- DBGMCU
- Debug support
- DCB
- Debug Control Block
- DMA1
- DMA controller
- DMA2
- DMA2
- DWT
- Data Watchpoint and Trace unit
- ETHERNET_
DMA - Ethernet: DMA controller operation
- ETHERNET_
MAC - Ethernet: media access control
- ETHERNET_
MMC - Ethernet: MAC management counters
- ETHERNET_
PTP - Ethernet: Precision time protocol
- EXTI
- EXTI
- Exception
Frame - Registers stacked (pushed onto the stack) during an exception.
- FPB
- Flash Patch and Breakpoint unit
- GPIOA
- General purpose I/O
- GPIOB
- GPIOB
- GPIOC
- GPIOC
- GPIOD
- GPIOD
- GPIOE
- GPIOE
- GPIOF
- GPIOF
- GPIOG
- GPIOG
- I2C1
- Inter integrated circuit
- I2C2
- I2C2
- ITM
- Instrumentation Trace Macrocell
- IWDG
- Independent watchdog
- MPU
- Memory Protection Unit
- NVIC
- Nested Vector Interrupt Controller
- NVIC_
STIR - Nested vectored interrupt controller
- OTG_
FS_ DEVICE - USB on the go full speed
- OTG_
FS_ GLOBAL - USB on the go full speed
- OTG_
FS_ HOST - USB on the go full speed
- OTG_
FS_ PWRCLK - USB on the go full speed
- PWR
- Power control
- Peripherals
- Core peripherals
- SCB
- System Control Block
- SCB_
ACTRL - System control block ACTLR
- STK
- SysTick timer
- SYST
- SysTick: System Timer
- TIM1
- Advanced timer
- TIM8
- TIM8
- TIM9
- General purpose timer
- TIM10
- General purpose timer
- TIM11
- TIM11
- TIM12
- TIM12
- TIM13
- TIM13
- TIM14
- TIM14
- TPIU
- Trace Port Interface Unit
- USB
- Universal serial bus full-speed device interface
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_ Stateful Output Pin Deprecated - Push-pull output pin that can read its output state
- _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.
- _stm32_
hal_ afio_ Afio Ext - _stm32_
hal_ dma_ Circ Read Dma - _stm32_
hal_ dma_ DmaExt - _stm32_
hal_ dma_ Read Dma - _stm32_
hal_ dma_ Write Dma - _stm32_
hal_ flash_ Flash Ext - Extension trait to constrain the FLASH peripheral
- _stm32_
hal_ gpio_ Gpio Ext - Extension trait to split a GPIO peripheral in independent pins and registers
- _stm32_
hal_ pwm_ PwmExt - _stm32_
hal_ rcc_ RccExt - Extension trait that constrains the
RCC
peripheral - _stm32_
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