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
Delays
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
Serial peripheral interface
SysTick timer
System configuration controller
Advanced-timers
General-purpose-timers
Basic-timers
General-purpose-timers
General-purpose-timers
General-purpose-timers
Touch sensing controller
Universal synchronous asynchronous receiver transmitter
Universal serial bus full-speed device interface
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
Constants
Number available in the NVIC for configuring priority
Traits
Input capture
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.
Millisecond delay
Microsecond delay
Blocking read
Blocking write
Blocking write + read
Blocking read
Write half of a serial interface (blocking variant)
Blocking transfer
Blocking write
_embedded_hal_digital_InputPinDeprecated
Single digital input pin
_embedded_hal_digital_OutputPinDeprecated
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)
A count down timer
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.
Extension trait to split a GPIO peripheral in independent pins and registers
Extension trait that constrains the
RCC
peripheralExtension trait that adds convenience methods to the
u32
typeFunctions
Returns a pointer to the start of the heap