Expand description

Peripheral access API for STM32F302 microcontrollers (generated using svd2rust v0.24.1 ( ))

You can find an overview of the generated API here.

API features to be included in the next svd2rust release can be generated by cloning the svd2rust repository, checking out the above commit, and running cargo doc --open.

Re-exports

pub use self::Interrupt as interrupt;
pub use gpioc as gpiod;
pub use gpioc as gpioe;
pub use gpioc as gpiof;
pub use gpioc as gpiog;
pub use gpioc as gpioh;
pub use dma1 as dma2;
pub use tim3 as tim4;
pub use usart1 as usart2;
pub use usart1 as usart3;
pub use usart1 as uart4;
pub use usart1 as uart5;
pub use spi1 as spi2;
pub use spi1 as spi3;
pub use spi1 as i2s2ext;
pub use spi1 as i2s3ext;
pub use spi1 as spi4;
pub use i2c1 as i2c2;
pub use i2c1 as i2c3;
pub use tim6 as tim7;
pub use tim1 as tim20;
pub use adc1 as adc2;

Modules

Analog-to-Digital Converter

Analog-to-Digital Converter

Controller area network

General purpose comparators

cyclic redundancy check calculation unit

Digital-to-analog converter

Debug support

DMA controller 1

External interrupt/event controller

Flash

Flexible memory controller

Floting point unit

Floating point unit CPACR

General-purpose I/Os

General-purpose I/Os

General-purpose I/Os

Inter-integrated circuit

Independent watchdog

Nested vectored interrupt controller

Operational Amplifier

Power control

Reset and clock control

Real-time clock

System control block ACTLR

Serial peripheral interface/Inter-IC sound

SysTick timer

System configuration controller

Advanced timer

General purpose timer

General purpose timer

Basic timers

Advanced-timers

General purpose timers

General-purpose-timers

General purpose timer

Touch sensing controller

Universal synchronous asynchronous receiver transmitter

Universal serial bus full-speed device interface

Window watchdog

Structs

Analog-to-Digital Converter

Analog-to-Digital Converter

Analog-to-Digital Converter

Controller area network

Cache and branch predictor maintenance operations

General purpose comparators

CPUID

cyclic redundancy check calculation unit

Core peripherals

Digital-to-analog converter

Debug support

Debug Control Block

DMA controller 1

DMA controller 1

Data Watchpoint and Trace unit

External interrupt/event controller

Flash

Flexible memory controller

Flash Patch and Breakpoint unit

Floting point unit

Floating point unit CPACR

General-purpose I/Os

General-purpose I/Os

General-purpose I/Os

General-purpose I/Os

General-purpose I/Os

General-purpose I/Os

General-purpose I/Os

General-purpose I/Os

Inter-integrated circuit

Inter-integrated circuit

Inter-integrated circuit

Serial peripheral interface/Inter-IC sound

Serial peripheral interface/Inter-IC sound

Instrumentation Trace Macrocell

Independent watchdog

Memory Protection Unit

Nested Vector Interrupt Controller

Nested vectored interrupt controller

Operational Amplifier

Power control

All the peripherals

Reset and clock control

Real-time clock

System Control Block

System control block ACTLR

Serial peripheral interface/Inter-IC sound

Serial peripheral interface/Inter-IC sound

Serial peripheral interface/Inter-IC sound

Serial peripheral interface/Inter-IC sound

SysTick timer

System configuration controller

SysTick: System Timer

Advanced timer

General purpose timer

General purpose timer

General purpose timer

Basic timers

Basic timers

Advanced-timers

General purpose timers

General-purpose-timers

General purpose timer

Advanced timer

Trace Port Interface Unit

Touch sensing controller

Universal synchronous asynchronous receiver transmitter

Universal synchronous asynchronous receiver transmitter

Universal synchronous asynchronous receiver transmitter

Universal synchronous asynchronous receiver transmitter

Universal synchronous asynchronous receiver transmitter

Universal serial bus full-speed device interface

Window watchdog

Enums

Enumeration of all the interrupts.

Constants

Number available in the NVIC for configuring priority

Attribute Macros