Crate stm32f072b_disco

Source

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
CorePeripherals
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
ExceptionFrame
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§

Interrupt
Enumeration of all the interrupts
interrupt
Enumeration of all the interrupts

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_DelayMs
Millisecond delay
_embedded_hal_blocking_delay_DelayUs
Microsecond delay
_embedded_hal_blocking_i2c_Read
Blocking read
_embedded_hal_blocking_i2c_Write
Blocking write
_embedded_hal_blocking_i2c_WriteRead
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_InputPinDeprecated
Single digital input pin
_embedded_hal_digital_OutputPinDeprecated
Single digital push-pull output pin
_embedded_hal_digital_ToggleableOutputPinDeprecated
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_FullDuplex
Full duplex (master mode)
_embedded_hal_timer_CountDown
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_WatchdogDisable
Disables a running watchdog timer so the processor won’t be reset.
_embedded_hal_watchdog_WatchdogEnable
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_WatchdogEnable
Enables A watchdog timer to reset the processor if software is frozen or stalled.
_stm32f0xx_hal_gpio_GpioExt
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

Attribute Macros§

entry
Attribute to declare the entry point of the program
exception
Attribute to declare an exception handler
interrupt
Attribute to declare an interrupt (AKA device-specific exception) handler
pre_init
Attribute to mark which function will be called at the beginning of the reset handler.