Crate stm32l476

Source
Expand description

Peripheral access API for STM32L476 microcontrollers (generated using svd2rust v0.36.0 ( ))

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::dma1 as dma2;
pub use self::i2c1 as i2c2;
pub use self::i2c1 as i2c3;
pub use self::adc1 as adc2;
pub use self::adc1 as adc3;
pub use self::gpioc as gpiod;
pub use self::gpioc as gpioe;
pub use self::gpioc as gpiof;
pub use self::gpioc as gpiog;
pub use self::gpioc as gpioh;
pub use self::sai1 as sai2;
pub use self::tim2 as tim3;
pub use self::tim2 as tim4;
pub use self::tim2 as tim5;
pub use self::tim16 as tim17;
pub use self::tim6 as tim7;
pub use self::lptim1 as lptim2;
pub use self::uart4 as uart5;
pub use self::spi1 as spi2;
pub use self::spi1 as spi3;

Modules§

adc1
Analog-to-Digital Converter
adc_common
Analog-to-Digital Converter
aes
Advanced encryption standard hardware accelerator
can1
Controller area network
comp
Comparator
crc
Cyclic redundancy check calculation unit
crs
Clock recovery system
dac
Digital-to-analog converter
dbgmcu
Debug support
dcmi
Digital camera interface
dfsdm1
Digital filter for sigma delta modulators
dma1
Direct memory access controller
exti
External interrupt/event controller
firewall
Firewall
flash
Flash
fmc
Flexible memory controller
generic
Common register and bit access and modify traits
gpioa
General-purpose I/Os
gpiob
General-purpose I/Os
gpioc
General-purpose I/Os
i2c1
Inter-integrated circuit
iwdg
Independent watchdog
lcd
Liquid crystal display controller
lptim1
Low power timer
lpuart1
Universal synchronous asynchronous receiver transmitter
opamp
Operational amplifiers
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
quadspi
QuadSPI interface
rcc
Reset and clock control
rng
Random number generator
rtc
Real-time clock
sai1
Serial audio interface
sdmmc1
Secure digital input/output interface
spi1
Serial peripheral interface/Inter-IC sound
swpmi1
Single Wire Protocol Master Interface
syscfg
System configuration controller
tim1
Advanced-timers
tim2
General-purpose-timers
tim6
Basic-timers
tim8
Advanced-timers
tim15
General purpose timers
tim16
General purpose timers
tsc
Touch sensing controller
uart4
Universal synchronous asynchronous receiver transmitter
usart1
Universal synchronous asynchronous receiver transmitter
usart2
Universal synchronous asynchronous receiver transmitter
usart3
Universal synchronous asynchronous receiver transmitter
vrefbuf
Voltage reference buffer
wwdg
System window watchdog

Structs§

Peripherals
All the peripherals.

Enums§

Interrupt
Enumeration of all the interrupts.

Constants§

NVIC_PRIO_BITS
Number available in the NVIC for configuring priority

Type Aliases§

Adc1
Analog-to-Digital Converter
Adc2
Analog-to-Digital Converter
Adc3
Analog-to-Digital Converter
AdcCommon
Analog-to-Digital Converter
Aes
Advanced encryption standard hardware accelerator
Can1
Controller area network
Comp
Comparator
Crc
Cyclic redundancy check calculation unit
Crs
Clock recovery system
Dac
Digital-to-analog converter
Dbgmcu
Debug support
Dcmi
Digital camera interface
Dfsdm1
Digital filter for sigma delta modulators
Dma1
Direct memory access controller
Dma2
Direct memory access controller
Exti
External interrupt/event controller
Firewall
Firewall
Flash
Flash
Fmc
Flexible memory controller
Gpioa
General-purpose I/Os
Gpiob
General-purpose I/Os
Gpioc
General-purpose I/Os
Gpiod
General-purpose I/Os
Gpioe
General-purpose I/Os
Gpiof
General-purpose I/Os
Gpiog
General-purpose I/Os
Gpioh
General-purpose I/Os
I2c1
Inter-integrated circuit
I2c2
Inter-integrated circuit
I2c3
Inter-integrated circuit
Iwdg
Independent watchdog
Lcd
Liquid crystal display controller
Lptim1
Low power timer
Lptim2
Low power timer
Lpuart1
Universal synchronous asynchronous receiver transmitter
Opamp
Operational amplifiers
OtgFsDevice
USB on the go full speed
OtgFsGlobal
USB on the go full speed
OtgFsHost
USB on the go full speed
OtgFsPwrclk
USB on the go full speed
Pwr
Power control
Quadspi
QuadSPI interface
Rcc
Reset and clock control
Rng
Random number generator
Rtc
Real-time clock
Sai1
Serial audio interface
Sai2
Serial audio interface
Sdmmc1
Secure digital input/output interface
Spi1
Serial peripheral interface/Inter-IC sound
Spi2
Serial peripheral interface/Inter-IC sound
Spi3
Serial peripheral interface/Inter-IC sound
Swpmi1
Single Wire Protocol Master Interface
Syscfg
System configuration controller
Tim1
Advanced-timers
Tim2
General-purpose-timers
Tim3
General-purpose-timers
Tim4
General-purpose-timers
Tim5
General-purpose-timers
Tim6
Basic-timers
Tim7
Basic-timers
Tim8
Advanced-timers
Tim15
General purpose timers
Tim16
General purpose timers
Tim17
General purpose timers
Tsc
Touch sensing controller
Uart4
Universal synchronous asynchronous receiver transmitter
Uart5
Universal synchronous asynchronous receiver transmitter
Usart1
Universal synchronous asynchronous receiver transmitter
Usart2
Universal synchronous asynchronous receiver transmitter
Usart3
Universal synchronous asynchronous receiver transmitter
Vrefbuf
Voltage reference buffer
Wwdg
System window watchdog