Crate nucleo_f042k6

source ·

Re-exports

pub use stm32f0xx_hal as hal;
pub use crate::hal::stm32::interrupt::*;

Modules

Analog-to-digital converter
Miscellaneous assembly instructions
Controller area network
HDMI-CEC controller
cyclic redundancy check calculation unit
Clock recovery system
Digital-to-analog converter
Debug support
API for delays with the systick timer
DMA controller
External interrupt/event controller
Flash
General Purpose Input / Output
General-purpose I/Os
General-purpose I/Os
Inter-integrated circuit
Interrupts
Instrumentation Trace Macrocell
Independent watchdog
Core peripherals
Power control
Reset and clock control
Processor core registers
Real-time clock
API for the integrated USART ports
Serial peripheral interface
SysTick timer
Peripheral access API for STM32F0 microcontrollers (generated using svd2rust 0.14.0)
System configuration controller
Advanced-timers
General-purpose-timers
Basic-timers
General-purpose-timers
General-purpose-timers
General-purpose-timers
API for the integrated timers
Touch sensing controller
Universal synchronous asynchronous receiver transmitter
Universal serial bus full-speed device interface
API for the IWDG
Window watchdog

Macros

Macro for sending a formatted string through an ITM channel
Macro for sending a formatted string through an ITM channel, with a newline.
Macro to create a mutable reference to a statically allocated value

Structs

Analog-to-digital converter
Controller area network
Cache and branch predictor maintenance operations
HDMI-CEC controller
CPUID
cyclic redundancy check calculation unit
Clock recovery system
Core peripherals
Digital-to-analog converter
Debug support
Debug Control Block
DMA controller
Data Watchpoint and Trace unit
External interrupt/event controller
Registers stacked (pushed onto the stack) during an exception.
Flash
Flash Patch and Breakpoint unit
General-purpose I/Os
GPIOB
GPIOC
GPIOD
GPIOE
General-purpose I/Os
Inter-integrated circuit
I2C2
Instrumentation Trace Macrocell
Independent watchdog
Memory Protection Unit
Nested Vector Interrupt Controller
Power control
Core peripherals
Reset and clock control
Real-time clock
System Control Block
Serial peripheral interface
SPI2
SysTick timer
System configuration controller
SysTick: System Timer
Advanced-timers
General-purpose-timers
TIM3
Basic-timers
TIM7
General-purpose-timers
General-purpose-timers
General-purpose-timers
TIM17
Trace Port Interface Unit
Touch sensing controller
Universal synchronous asynchronous receiver transmitter
USART2
USART3
USART4
Universal serial bus full-speed device interface
Window watchdog

Enums

Enumeration of all the interrupts
Enumeration of all the interrupts

Constants

Number available in the NVIC for configuring priority

Traits

Pulse Width Modulation
A single PWM channel / pin
Quadrature encoder interface
ADCs that sample on single channels per request, and do so at the time of the request.
Write half of a serial interface (blocking variant)
Single digital input pin
Single digital push-pull output pin
Output pin that can be toggled
Read half of a serial interface
Write half of a serial interface
Full duplex (master mode)
Feeds an existing watchdog to ensure the processor isn’t reset. Sometimes commonly referred to as “kicking” or “refreshing”.
Disables a running watchdog timer so the processor won’t be reset.
Enables A watchdog timer to reset the processor if software is frozen or stalled.
Feeds an existing watchdog to ensure the processor isn’t reset. Sometimes commonly referred to as “kicking” or “refreshing”.
Enables A watchdog timer to reset the processor if software is frozen or stalled.
Extension trait to split a GPIO peripheral in independent pins and registers
Extension trait that constrains the RCC peripheral
Extension trait that adds convenience methods to the u32 type

Functions

Returns a pointer to the start of the heap

Attribute Macros

Attribute to declare the entry point of the program
Attribute to declare an exception handler
Attribute to declare an interrupt (AKA device-specific exception) handler
Attribute to mark which function will be called at the beginning of the reset handler.