Crate s2pac_ch32v103

Crate s2pac_ch32v103 

Source
Expand description

Peripheral access API for CH32V103XX microcontrollers (generated using svd2rust v0.31.5 ( ))

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::gpioa as gpiob;
pub use self::gpioa as gpioc;
pub use self::gpioa as gpiod;
pub use self::tim2 as tim3;
pub use self::tim2 as tim4;
pub use self::i2c1 as i2c2;
pub use self::spi1 as spi2;
pub use self::usart1 as usart2;
pub use self::usart1 as usart3;

Modules§

adc
Analog to digital converter
afio
Alternate function I/O
bkp
Backup registers
crc
CRC calculation unit
dac1
Digital to analog converter
dbg
Debug support
dma
DMA controller
extend
extension configuration
exti
EXTI
flash
FLASH
generic
Common register and bit access and modify traits
gpioa
General purpose I/O
i2c1
Inter integrated circuit
iwdg
Independent watchdog
pfic
Programmable Fast Interrupt Controller
pwr
Power control
rcc
Reset and clock control
rtc
Real time clock
spi1
Serial peripheral interface
tim1
Advanced timer
tim2
General purpose timer
usart1
Universal synchronous asynchronous receiver transmitter
usbd
Universal serial bus full-speed device interface
usbhd
USB register
wwdg
Window watchdog

Macros§

interrupt
Assigns a handler to an interrupt

Structs§

ADC
Analog to digital converter
AFIO
Alternate function I/O
BKP
Backup registers
CRC
CRC calculation unit
DAC1
Digital to analog converter
DBG
Debug support
DMA
DMA controller
EXTEND
extension configuration
EXTI
EXTI
FLASH
FLASH
GPIOA
General purpose I/O
GPIOB
General purpose I/O
GPIOC
General purpose I/O
GPIOD
General purpose I/O
I2C1
Inter integrated circuit
I2C2
Inter integrated circuit
IWDG
Independent watchdog
PFIC
Programmable Fast Interrupt Controller
PWR
Power control
Peripherals
All the peripherals.
RCC
Reset and clock control
RTC
Real time clock
SPI1
Serial peripheral interface
SPI2
Serial peripheral interface
TIM1
Advanced timer
TIM2
General purpose timer
TIM3
General purpose timer
TIM4
General purpose timer
USART1
Universal synchronous asynchronous receiver transmitter
USART2
Universal synchronous asynchronous receiver transmitter
USART3
Universal synchronous asynchronous receiver transmitter
USBD
Universal serial bus full-speed device interface
USBHD
USB register
WWDG
Window watchdog

Enums§

Interrupt
Enumeration of all the interrupts.