Crate stm32f103_pac

Crate stm32f103_pac 

Source
Expand description

Peripheral access API for STM32F103 microcontrollers (generated using svd2rust v0.37.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 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::gpioa as gpiof;
pub use self::gpioa as gpiog;
pub use self::dma1 as dma2;
pub use self::tim1 as tim8;
pub use self::tim2 as tim3;
pub use self::tim2 as tim4;
pub use self::tim2 as tim5;
pub use self::tim9 as tim12;
pub use self::tim10 as tim11;
pub use self::tim10 as tim13;
pub use self::tim10 as tim14;
pub use self::tim6 as tim7;
pub use self::i2c1 as i2c2;
pub use self::spi1 as spi2;
pub use self::spi1 as spi3;
pub use self::usart1 as usart2;
pub use self::usart1 as usart3;
pub use self::adc2 as adc3;
pub use self::can1 as can2;

Modules§

adc1
Analog to digital converter
adc2
Analog to digital converter
afio
Alternate function I/O
bkp
Backup registers
can1
Controller area network
crc
CRC calculation unit
dac
Digital to analog converter
dbg
Debug support
dma1
DMA controller
ethernet_dma
Ethernet: DMA controller operation
ethernet_mac
Ethernet: media access control
ethernet_mmc
Ethernet: MAC management counters
ethernet_ptp
Ethernet: Precision time protocol
exti
EXTI
flash
FLASH
fsmc
Flexible static memory controller
generic
Common register and bit access and modify traits
gpioa
General purpose I/O
i2c1
Inter integrated circuit
iwdg
Independent watchdog
nvic_stir
Nested vectored interrupt controller
otg_fs_device
USB on the go full speed
otg_fs_global
USB on the go full speed
otg_fs_host
USB on the go full speed
otg_fs_pwrclk
USB on the go full speed
pwr
Power control
rcc
Reset and clock control
rtc
Real time clock
scb_actrl
System control block ACTLR
sdio
Secure digital input/output interface
spi1
Serial peripheral interface
stk
SysTick timer
tim1
Advanced timer
tim2
General purpose timer
tim6
Basic timer
tim9
General purpose timer
tim10
General purpose timer
uart4
Universal asynchronous receiver transmitter
uart5
Universal asynchronous receiver transmitter
usart1
Universal synchronous asynchronous receiver transmitter
usb
Universal serial bus full-speed device interface
wwdg
Window watchdog

Structs§

Peripherals
All the peripherals.

Enums§

Interrupt
Enumeration of all the interrupts.

Constants§

NVIC_PRIO_BITS
Number available in the NVIC for configuring priority

Type Aliases§

Adc1
Analog to digital converter
Adc2
Analog to digital converter
Adc3
Analog to digital converter
Afio
Alternate function I/O
Bkp
Backup registers
Can1
Controller area network
Can2
Controller area network
Crc
CRC calculation unit
Dac
Digital to analog converter
Dbg
Debug support
Dma1
DMA controller
Dma2
DMA controller
EthernetDma
Ethernet: DMA controller operation
EthernetMac
Ethernet: media access control
EthernetMmc
Ethernet: MAC management counters
EthernetPtp
Ethernet: Precision time protocol
Exti
EXTI
Flash
FLASH
Fsmc
Flexible static memory controller
Gpioa
General purpose I/O
Gpiob
General purpose I/O
Gpioc
General purpose I/O
Gpiod
General purpose I/O
Gpioe
General purpose I/O
Gpiof
General purpose I/O
Gpiog
General purpose I/O
I2c1
Inter integrated circuit
I2c2
Inter integrated circuit
Iwdg
Independent watchdog
NvicStir
Nested vectored interrupt controller
OtgFsDevice
USB on the go full speed
OtgFsGlobal
USB on the go full speed
OtgFsHost
USB on the go full speed
OtgFsPwrclk
USB on the go full speed
Pwr
Power control
Rcc
Reset and clock control
Rtc
Real time clock
ScbActrl
System control block ACTLR
Sdio
Secure digital input/output interface
Spi1
Serial peripheral interface
Spi2
Serial peripheral interface
Spi3
Serial peripheral interface
Stk
SysTick timer
Tim1
Advanced timer
Tim2
General purpose timer
Tim3
General purpose timer
Tim4
General purpose timer
Tim5
General purpose timer
Tim6
Basic timer
Tim7
Basic timer
Tim8
Advanced timer
Tim9
General purpose timer
Tim10
General purpose timer
Tim11
General purpose timer
Tim12
General purpose timer
Tim13
General purpose timer
Tim14
General purpose timer
Uart4
Universal asynchronous receiver transmitter
Uart5
Universal asynchronous receiver transmitter
Usart1
Universal synchronous asynchronous receiver transmitter
Usart2
Universal synchronous asynchronous receiver transmitter
Usart3
Universal synchronous asynchronous receiver transmitter
Usb
Universal serial bus full-speed device interface
Wwdg
Window watchdog