Crate nucleo_f103rb

Source

Re-exports§

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

Modules§

adc
API for the Analog to Digital converter
adc1
Analog to digital converter
adc2
Analog to digital converter
asm
Miscellaneous assembly instructions
backup_domain
Registers that are not reset as long as Vbat or Vdd has power.
bb
Bit banding
bkp
Backup registers
can1
Controller area network
crc
CRC calculation unit
dac
Digital to analog converter
dbgmcu
Debug support
delay
Delays
dma
Direct Memory Access
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
fsmc
Flexible static memory controller
gpio
General Purpose I/Os
gpioa
General purpose I/O
i2c
Inter-Integrated Circuit (I2C) bus
i2c1
Inter integrated circuit
itm
Instrumentation Trace Macrocell
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
pac
peripheral
Core peripherals
prelude
pwm
Pulse width modulation
pwm_input
This module allows Timer peripherals to be configured as pwm input. In this mode, the timer sample a squared signal to find it’s frequency and duty cycle.
pwr
Power control
qei
Quadrature Encoder Interface
register
Processor core registers
scb_actrl
System control block ACTLR
sdio
Secure digital input/output interface
serial
Serial Communication (USART)
spi
Serial Peripheral 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
time
Time units
timer
Timer
uart4
Universal asynchronous receiver transmitter
usart1
Universal synchronous asynchronous receiver transmitter
usb
Universal serial bus full-speed device interface
watchdog
Watchdog peripherals
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§

ADC1
Analog to digital converter
ADC2
Analog to digital converter
AFIO
Alternate function I/O
BKP
Backup registers
CAN1
Controller area network
CAN2
CAN2
CBP
Cache and branch predictor maintenance operations
CPUID
CPUID
CRC
CRC calculation unit
CorePeripherals
Core peripherals
DAC
Digital to analog converter
DBGMCU
Debug support
DCB
Debug Control Block
DMA1
DMA controller
DMA2
DMA2
DWT
Data Watchpoint and Trace unit
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
ExceptionFrame
Registers stacked (pushed onto the stack) during an exception.
FPB
Flash Patch and Breakpoint unit
GPIOA
General purpose I/O
GPIOB
GPIOB
GPIOC
GPIOC
GPIOD
GPIOD
GPIOE
GPIOE
GPIOF
GPIOF
GPIOG
GPIOG
I2C1
Inter integrated circuit
I2C2
I2C2
ITM
Instrumentation Trace Macrocell
IWDG
Independent watchdog
MPU
Memory Protection Unit
NVIC
Nested Vector Interrupt Controller
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
Peripherals
Core peripherals
SCB
System Control Block
SCB_ACTRL
System control block ACTLR
STK
SysTick timer
SYST
SysTick: System Timer
TIM1
Advanced timer
TIM8
TIM8
TIM9
General purpose timer
TIM10
General purpose timer
TIM11
TIM11
TIM12
TIM12
TIM13
TIM13
TIM14
TIM14
TPIU
Trace Port Interface Unit
USB
Universal serial bus full-speed device interface

Enums§

Interrupt
Enumeration of all the interrupts
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_Read
Blocking read
_embedded_hal_blocking_i2c_Write
Blocking write
_embedded_hal_blocking_i2c_WriteRead
Blocking write + 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_StatefulOutputPinDeprecated
Push-pull output pin that can read its output state
_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_Watchdog
Feeds an existing watchdog to ensure the processor isn’t reset. Sometimes commonly referred to as “kicking” or “refreshing”.
_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.
_stm32_hal_afio_AfioExt
_stm32_hal_dma_CircReadDma
_stm32_hal_dma_DmaExt
_stm32_hal_dma_ReadDma
_stm32_hal_dma_WriteDma
_stm32_hal_flash_FlashExt
Extension trait to constrain the FLASH peripheral
_stm32_hal_gpio_GpioExt
Extension trait to split a GPIO peripheral in independent pins and registers
_stm32_hal_pwm_PwmExt
_stm32_hal_rcc_RccExt
Extension trait that constrains the RCC peripheral
_stm32_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

Attribute Macros§

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