Crate stm32f042 [−] [src]
Peripheral access API for STM32F042X microcontrollers (generated using svd2rust v0.12.0)
You can find an overview of the API here.
Modules
adc |
Analog-to-digital converter |
can |
Controller area network |
cec |
HDMI-CEC controller |
comp |
Comparator |
crc |
cyclic redundancy check calculation unit |
crs |
Clock recovery system |
dbgmcu |
Debug support |
dma |
DMA controller |
exti |
External interrupt/event controller |
flash |
Flash |
gpioa |
General-purpose I/Os |
gpiof |
General-purpose I/Os |
i2c1 |
Inter-integrated circuit |
iwdg |
Independent watchdog |
pwr |
Power control |
rcc |
Reset and clock control |
rtc |
Real-time clock |
spi1 |
Serial peripheral interface |
syscfg |
System configuration controller |
tim1 |
Advanced-timers |
tim2 |
General-purpose-timers |
tim14 |
General-purpose-timers |
tim16 |
General-purpose-timers |
tsc |
Touch sensing controller |
usart1 |
Universal synchronous asynchronous receiver transmitter |
usb |
Universal serial bus full-speed device interface |
wwdg |
Window watchdog |
Macros
default_handler |
This macro lets you override the default exception handler |
exception |
Assigns a handler to an exception |
interrupt |
Structs
ADC |
Analog-to-digital converter |
CAN |
Controller area network |
CEC |
HDMI-CEC controller |
COMP |
Comparator |
CPUID |
CPUID |
CRC |
cyclic redundancy check calculation unit |
CRS |
Clock recovery system |
CorePeripherals |
Core peripherals |
DBGMCU |
Debug support |
DCB |
Debug Control Block |
DMA |
DMA controller |
DWT |
Data Watchpoint and Trace unit |
EXTI |
External interrupt/event controller |
FLASH |
Flash |
GPIOA |
General-purpose I/Os |
GPIOB |
GPIOB |
GPIOC |
GPIOC |
GPIOF |
General-purpose I/Os |
I2C1 |
Inter-integrated circuit |
IWDG |
Independent watchdog |
MPU |
Memory Protection Unit |
NVIC |
Nested Vector Interrupt Controller |
PWR |
Power control |
Peripherals |
All the peripherals |
RCC |
Reset and clock control |
RTC |
Real-time clock |
SCB |
System Control Block |
SPI1 |
Serial peripheral interface |
SPI2 |
SPI2 |
SYSCFG |
System configuration controller |
SYST |
SysTick: System Timer |
TIM1 |
Advanced-timers |
TIM2 |
General-purpose-timers |
TIM3 |
TIM3 |
TIM14 |
General-purpose-timers |
TIM16 |
General-purpose-timers |
TIM17 |
TIM17 |
TSC |
Touch sensing controller |
USART1 |
Universal synchronous asynchronous receiver transmitter |
USART2 |
USART2 |
USB |
Universal serial bus full-speed device interface |
WWDG |
Window watchdog |
Enums
Interrupt |
Enumeration of all the interrupts |
Constants
NVIC_PRIO_BITS |
Number available in the NVIC for configuring priority |