Crate gd32vf103_pac

Source
Expand description

Peripheral access API for GD32VF103 microcontrollers (generated using svd2rust v0.28.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::can0 as can1;
pub use self::gpioa as gpiob;
pub use self::gpioa as gpioc;
pub use self::gpioa as gpiod;
pub use self::gpioa as gpioe;
pub use self::i2c0 as i2c1;
pub use self::spi0 as spi1;
pub use self::spi0 as spi2;
pub use self::timer1 as timer2;
pub use self::timer1 as timer3;
pub use self::timer1 as timer4;
pub use self::timer5 as timer6;
pub use self::usart0 as usart1;
pub use self::usart0 as usart2;
pub use self::uart3 as uart4;

Modules§

adc0
Analog to digital converter
adc1
Analog to digital converter
afio
Alternate-function I/Os
bkp
Backup registers
can0
Controller area network
crc
cyclic redundancy check calculation unit
ctimer
Core timer
dac
Digital-to-analog converter
dbg
Debug support
dma0
DMA controller
dma1
Direct memory access controller
eclic
Enhanced Core Local Interrupt Controller
exmc
External memory controller
exti
External interrupt/event controller
fmc
FMC
fwdgt
free watchdog timer
generic
Common register and bit access and modify traits
gpioa
General-purpose I/Os
i2c0
Inter integrated circuit
pmu
Power management unit
rcu
Reset and clock unit
rtc
Real-time clock
spi0
Serial peripheral interface
timer0
Advanced-timers
timer1
General-purpose-timers
timer5
Basic-timers
uart3
Universal asynchronous receiver transmitter
usart0
Universal synchronous asynchronous receiver transmitter
usbfs_device
USB on the go full speed device
usbfs_global
USB full speed global registers
usbfs_host
USB on the go full speed host
usbfs_pwrclk
USB on the go full speed
wwdgt
Window watchdog timer

Structs§

ADC0
Analog to digital converter
ADC1
Analog to digital converter
AFIO
Alternate-function I/Os
BKP
Backup registers
CAN0
Controller area network
CAN1
Controller area network
CRC
cyclic redundancy check calculation unit
CTIMER
Core timer
DAC
Digital-to-analog converter
DBG
Debug support
DMA0
DMA controller
DMA1
Direct memory access controller
ECLIC
Enhanced Core Local Interrupt Controller
EXMC
External memory controller
EXTI
External interrupt/event controller
FMC
FMC
FWDGT
free watchdog timer
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
I2C0
Inter integrated circuit
I2C1
Inter integrated circuit
PMU
Power management unit
Peripherals
All the peripherals.
RCU
Reset and clock unit
RTC
Real-time clock
SPI0
Serial peripheral interface
SPI1
Serial peripheral interface
SPI2
Serial peripheral interface
TIMER0
Advanced-timers
TIMER1
General-purpose-timers
TIMER2
General-purpose-timers
TIMER3
General-purpose-timers
TIMER4
General-purpose-timers
TIMER5
Basic-timers
TIMER6
Basic-timers
UART3
Universal asynchronous receiver transmitter
UART4
Universal asynchronous receiver transmitter
USART0
Universal synchronous asynchronous receiver transmitter
USART1
Universal synchronous asynchronous receiver transmitter
USART2
Universal synchronous asynchronous receiver transmitter
USBFS_DEVICE
USB on the go full speed device
USBFS_GLOBAL
USB full speed global registers
USBFS_HOST
USB on the go full speed host
USBFS_PWRCLK
USB on the go full speed
WWDGT
Window watchdog timer

Enums§

Interrupt
Enumeration of all the interrupts.

Constants§

NVIC_PRIO_BITS
Number available in the NVIC for configuring priority