Crate PY32f072cxx_pac

Source
Expand description

Peripheral access API for PY32F0XX_DFP microcontrollers (generated using svd2rust v0.25.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 gpioa as gpiob;
pub use gpioa as gpioc;
pub use gpioa as gpiof;
pub use i2c1 as i2c2;
pub use spi1 as spi2;
pub use tim6 as tim7;
pub use tim16 as tim17;
pub use usart1 as usart2;
pub use usart1 as usart3;
pub use usart1 as usart4;

Modules§

adc
Analog to Digital Converter
can
desc CAN
comp1
Comparator 1
comp2
Comparator2
comp3
Comparator3
crc
CRC calculation unit
ctc
desc CTC
dac
desc DAC
dbgmcu
Debug support
div
Hardware Divider
dma
Direct memory access
exti
External interrupt/event controller
flash
desc FLASH
generic
Common register and bit access and modify traits
gpioa
General-purpose I/Os
i2c1
Inter integrated circuit
iwdg
Independent watchdog
lcd
LCD CONTROLLER
lptim1
Low power timer
opa
des OPA
pwr
Power control
rcc
Reset and clock control
rtc
desc RTC
spi1
Serial peripheral interface
syscfg
desc SYSCFG
tim1
Advanced timer
tim2
desc TIM
tim3
General purpose timer
tim6
desc TIM
tim14
General purpose timer
tim15
TIM15
tim16
General purpose timer
usart1
Universal synchronous asynchronous receiver transmitter
usb
USB
wwdg
Window watchdog

Structs§

ADC
Analog to Digital Converter
CAN
desc CAN
CBP
Cache and branch predictor maintenance operations
COMP1
Comparator 1
COMP2
Comparator2
COMP3
Comparator3
CPUID
CPUID
CRC
CRC calculation unit
CTC
desc CTC
CorePeripherals
Core peripherals
DAC
desc DAC
DBGMCU
Debug support
DCB
Debug Control Block
DIV
Hardware Divider
DMA
Direct memory access
DWT
Data Watchpoint and Trace unit
EXTI
External interrupt/event controller
FLASH
desc FLASH
FPB
Flash Patch and Breakpoint unit
GPIOA
General-purpose I/Os
GPIOB
General-purpose I/Os
GPIOC
General-purpose I/Os
GPIOF
General-purpose I/Os
I2C1
Inter integrated circuit
I2C2
desc I2C
ITM
Instrumentation Trace Macrocell
IWDG
Independent watchdog
LCD
LCD CONTROLLER
LPTIM1
Low power timer
MPU
Memory Protection Unit
NVIC
Nested Vector Interrupt Controller
OPA
des OPA
PWR
Power control
Peripherals
All the peripherals
RCC
Reset and clock control
RTC
desc RTC
SCB
System Control Block
SPI1
Serial peripheral interface
SPI2
Serial peripheral interface
SYSCFG
desc SYSCFG
SYST
SysTick: System Timer
TIM1
Advanced timer
TIM2
desc TIM
TIM3
General purpose timer
TIM6
desc TIM
TIM7
desc TIM
TIM14
General purpose timer
TIM15
TIM15
TIM16
General purpose timer
TIM17
General purpose timer
TPIU
Trace Port Interface Unit
USART1
Universal synchronous asynchronous receiver transmitter
USART2
Universal synchronous asynchronous receiver transmitter
USART3
desc USART
USART4
desc USART
USB
USB
WWDG
Window watchdog

Enums§

Interrupt
Enumeration of all the interrupts.

Constants§

NVIC_PRIO_BITS
Number available in the NVIC for configuring priority