Skip to main content

Crate py32_hal

Crate py32_hal 

Source

Re-exports§

pub use py32_metapac as pac;

Modules§

adc
Analog to Digital Converter (ADC)
dma
Direct Memory Access (DMA)
embassy
exti
External Interrupts (EXTI)
flash
gpio
General-purpose Input/Output (GPIO)
i2c
Inter-Integrated-Circuit (I2C)
interrupt
Interrupt definitions.
mode
Operating modes for peripherals.
peripherals
Types for the peripheral singletons.
rcc
time
Time units
timer
Timers, PWM, quadrature decoder.
uid
Unique ID (UID)
usart
Universal Synchronous/Asynchronous Receiver Transmitter (USART, UART, LPUART)
usb

Macros§

bind_interrupts
into_ref
Convenience converting into reference.

Structs§

Config
py32-hal global configuration.
PeripheralRef
An exclusive reference to a peripheral.
Peripherals
Struct containing all the peripheral singletons.

Traits§

Peripheral
Trait for any type that can be used as a peripheral of type P.

Functions§

init
Initialize the embassy-stm32 HAL with the provided configuration.

Attribute Macros§

interrupt