Crate stm32u5

Source
Expand description

Peripheral access API for STM32U5 microcontrollers (generated using svd2rust 0.36.1)

You can find an overview of the API here: svd2rust/#peripheral-api

For more details see the README here: stm32-rs

This crate supports all STM32U5 devices; for the complete list please see: stm32u5

Due to doc build limitations, not all devices may be shown on docs.rs; a representative few have been selected instead. For a complete list of available registers and fields see: stm32-rs Device Coverage

Modules§

stm32u5a5
Peripheral access API for STM32U5A5 microcontrollers (generated using svd2rust v0.36.1 (4052ce6 2025-04-04))
stm32u5a9
Peripheral access API for STM32U5A9 microcontrollers (generated using svd2rust v0.36.1 (4052ce6 2025-04-04))
stm32u535
Peripheral access API for STM32U535 microcontrollers (generated using svd2rust v0.36.1 (4052ce6 2025-04-04))
stm32u545
Peripheral access API for STM32U545 microcontrollers (generated using svd2rust v0.36.1 (4052ce6 2025-04-04))
stm32u575
Peripheral access API for STM32U575 microcontrollers (generated using svd2rust v0.36.1 (4052ce6 2025-04-04))
stm32u585
Peripheral access API for STM32U585 microcontrollers (generated using svd2rust v0.36.1 (4052ce6 2025-04-04))
stm32u595
Peripheral access API for STM32U595 microcontrollers (generated using svd2rust v0.36.1 (4052ce6 2025-04-04))
stm32u599
Peripheral access API for STM32U599 microcontrollers (generated using svd2rust v0.36.1 (4052ce6 2025-04-04))

Structs§

Periph
Generic peripheral accessor
Range
Marker for field writers are safe to write in specified inclusive range
RangeFrom
Marker for field writers are safe to write in specified inclusive range
RangeTo
Marker for field writers are safe to write in specified inclusive range
Reg
This structure provides volatile access to registers.
Safe
Marker for register/field writers which can take any value of specified width
Unsafe
You should check that value is allowed to pass to register/field writer marked with this

Traits§

FieldSpec
Raw field type
IsEnum
Marker for fields with fixed values
RawReg
Raw register type (u8, u16, u32, …)
Readable
Trait implemented by readable registers to enable the read method.
RegisterSpec
Raw register type
Resettable
Reset value of the register.
Writable
Trait implemented by writeable registers.

Type Aliases§

BitReader
Bit-wise field reader
BitWriter
Bit-wise write field proxy
BitWriter0C
Bit-wise write field proxy
BitWriter0S
Bit-wise write field proxy
BitWriter0T
Bit-wise write field proxy
BitWriter1C
Bit-wise write field proxy
BitWriter1S
Bit-wise write field proxy
BitWriter1T
Bit-wise write field proxy
FieldReader
Field reader.
FieldWriter
Write field Proxy
R
Register reader.
W
Register writer.