[][src]Crate nucleo_f042k6

Re-exports

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

Modules

adc

Analog-to-digital converter

adc

API for the Analog to Digital converter

asm

Miscellaneous assembly instructions

can

Controller area network

cec

HDMI-CEC controller

comp

General purpose comparators

crc

cyclic redundancy check calculation unit

crs

Clock recovery system

dac

Digital-to-analog converter

dbgmcu

Debug support

delay

API for delays with the systick timer

dma1

DMA controller

exti

External interrupt/event controller

flash

Flash

gpio

General Purpose Input / Output

gpioa

General-purpose I/Os

gpiof

General-purpose I/Os

i2c
i2c1

Inter-integrated circuit

interrupt

Interrupts

itm

Instrumentation Trace Macrocell

iwdg

Independent watchdog

peripheral

Core peripherals

prelude
pwr

Power control

rcc

Reset and clock control

rcc
register

Processor core registers

rtc

Real-time clock

serial

API for the integrated USART ports

spi

API for the integrate SPI peripherals

spi1

Serial peripheral interface

stk

SysTick timer

stm32
stm32f0

Peripheral access API for STM32F0 microcontrollers (generated using svd2rust 0.15.0)

syscfg

System configuration controller

tim1

Advanced-timers

tim2

General-purpose-timers

tim3

General-purpose-timers

tim6

Basic-timers

tim14

General-purpose-timers

tim15

General-purpose-timers

tim16

General-purpose-timers

time
timers

API for the integrated timers

tsc

Touch sensing controller

tsc

Touch sense controller

usart1

Universal synchronous asynchronous receiver transmitter

usb

Universal serial bus full-speed device interface

watchdog

API for the IWDG

wwdg

Window watchdog

Macros

iprint

Macro for sending a formatted string through an ITM channel

iprintln

Macro for sending a formatted string through an ITM channel, with a newline.

singleton

Macro to create a mutable reference to a statically allocated value

Structs

ADC

Analog-to-digital converter

CAN

Controller area network

CBP

Cache and branch predictor maintenance operations

CEC

HDMI-CEC controller

COMP

General purpose comparators

CPUID

CPUID

CRC

cyclic redundancy check calculation unit

CRS

Clock recovery system

CorePeripherals

Core peripherals

DAC

Digital-to-analog converter

DBGMCU

Debug support

DCB

Debug Control Block

DMA1

DMA controller

DWT

Data Watchpoint and Trace unit

EXTI

External interrupt/event controller

ExceptionFrame

Registers stacked (pushed into the stack) during an exception

FLASH

Flash

FPB

Flash Patch and Breakpoint unit

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

GPIOF

General-purpose I/Os

I2C1

Inter-integrated circuit

I2C2

Inter-integrated circuit

ITM

Instrumentation Trace Macrocell

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

Serial peripheral interface

STK

SysTick timer

SYSCFG

System configuration controller

SYST

SysTick: System Timer

TIM1

Advanced-timers

TIM2

General-purpose-timers

TIM3

General-purpose-timers

TIM6

Basic-timers

TIM7

Basic-timers

TIM14

General-purpose-timers

TIM15

General-purpose-timers

TIM16

General-purpose-timers

TIM17

General-purpose-timers

TPIU

Trace Port Interface Unit

TSC

Touch sensing controller

USART1

Universal synchronous asynchronous receiver transmitter

USART2

Universal synchronous asynchronous receiver transmitter

USART3

Universal synchronous asynchronous receiver transmitter

USART4

Universal synchronous asynchronous receiver transmitter

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

Traits

_embedded_hal_Capture

Input capture

_embedded_hal_Pwm

Pulse Width Modulation

_embedded_hal_PwmPin

A single PWM channel / pin

_embedded_hal_Qei

Quadrature encoder interface

_embedded_hal_adc_OneShot

ADCs that sample on single channels per request, and do so at the time of the request.

_embedded_hal_blocking_delay_DelayMs

Millisecond delay

_embedded_hal_blocking_delay_DelayUs

Microsecond delay

_embedded_hal_blocking_i2c_WriteRead

Blocking write + read

_embedded_hal_blocking_i2c_Write

Blocking write

_embedded_hal_blocking_i2c_Read

Blocking read

_embedded_hal_blocking_rng_Read

Blocking read

_embedded_hal_blocking_serial_Write

Write half of a serial interface (blocking variant)

_embedded_hal_blocking_spi_Transfer

Blocking transfer

_embedded_hal_blocking_spi_Write

Blocking write

_embedded_hal_digital_InputPinDeprecated

Single digital input pin

_embedded_hal_digital_OutputPinDeprecated

Single digital push-pull output pin

_embedded_hal_digital_ToggleableOutputPinDeprecated

Output pin that can be toggled

_embedded_hal_serial_Read

Read half of a serial interface

_embedded_hal_serial_Write

Write half of a serial interface

_embedded_hal_spi_FullDuplex

Full duplex (master mode)

_embedded_hal_timer_CountDown

A count down timer

_embedded_hal_watchdog_WatchdogDisable

Disables a running watchdog timer so the processor won't be reset.

_embedded_hal_watchdog_WatchdogEnable

Enables A watchdog timer to reset the processor if software is frozen or stalled.

_stm32f0xx_hal_rcc_RccExt

Extension trait that sets up the RCC peripheral

_stm32f0xx_hal_gpio_GpioExt

Extension trait to split a GPIO peripheral in independent pins and registers

_stm32f0xx_hal_embedded_hal_watchdog_Watchdog

Feeds an existing watchdog to ensure the processor isn't reset. Sometimes commonly referred to as "kicking" or "refreshing".

_stm32f0xx_hal_time_U32Ext

Extension trait that adds convenience methods to the u32 type

Functions

heap_start

Returns a pointer to the start of the heap