Crate stm32f407g_disc

Source

Re-exports§

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

Modules§

accelerometer
adc
Analog to digital converter configuration. According to CubeMx, all STM32F4 chips use the same ADC IP so this should be correct for all variants.
adc1
Analog-to-digital converter
adc_common
Common ADC registers
asm
Miscellaneous assembly instructions
bb
Bit banding
can1
Controller area network
crc
Cryptographic processor
crc32
CRC32 Calculation Unit
cryp
Cryptographic processor
dbgmcu
Debug support
dcmi
Digital camera interface
dma
Direct Memory Access.
dma2
DMA controller
dwt
Debug and trace and stuff
ethernet_dma
Ethernet: DMA controller operation
ethernet_mac
Ethernet: media access control (MAC)
ethernet_mmc
Ethernet: MAC management counters
ethernet_ptp
Ethernet: Precision time protocol
exti
External interrupt/event controller
flash
FLASH
fpu
Floting point unit
fpu_cpacr
Floating point unit CPACR
fsmc
Flexible static memory controller
gpio
General Purpose Input / Output
gpioa
General-purpose I/Os
gpiob
General-purpose I/Os
gpioi
General-purpose I/Os
hash
Hash processor
i2c
i2c1
Inter-integrated circuit
itm
Instrumentation Trace Macrocell
iwdg
Independent watchdog
led
On-board user LEDs
ltdc
LCD-TFT Controller
nb
Minimal and reusable non-blocking I/O layer
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
otg_hs_device
USB on the go high speed
otg_hs_global
USB on the go high speed
otg_hs_host
USB on the go high speed
otg_hs_pwrclk
USB on the go high speed
peripheral
Core peripherals.
pwm
pwr
Power control
qei
Quadrature Encoder Interface
register
Processor core registers
sai1
Serial audio interface
scb_actrl
System control block ACTLR
sdio
Secure digital input/output interface
serial
signature
Device electronic signature
spi
spi1
Serial peripheral interface
stk
SysTick timer
stm32
tim1
Advanced-timers
tim2
General purpose timers
tim3
General purpose timers
tim5
General-purpose-timers
tim6
Basic timers
tim9
General purpose timers
tim10
General-purpose-timers
tim11
General-purpose-timers
time
timer
Timers
uart4
Universal synchronous asynchronous receiver transmitter
usart1
Universal synchronous asynchronous receiver transmitter
watchdog
Watchdog peripherals
wwdg
Window watchdog

Macros§

block
Turns the non-blocking expression $e into a blocking operation.
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
ADC3
Analog-to-digital converter
ADC_COMMON
Common ADC registers
CAN1
Controller area network
CAN2
Controller area network
CBP
Cache and branch predictor maintenance operations
CPUID
CPUID
CRC
Cryptographic processor
CorePeripherals
Core peripherals
DAC
Digital-to-analog converter
DBGMCU
Debug support
DCB
Debug Control Block
DMA1
DMA controller
DMA2
DMA controller
DWT
Data Watchpoint and Trace unit
ETHERNET_DMA
Ethernet: DMA controller operation
ETHERNET_MAC
Ethernet: media access control (MAC)
ETHERNET_MMC
Ethernet: MAC management counters
ETHERNET_PTP
Ethernet: Precision time protocol
EXTI
External interrupt/event controller
ExceptionFrame
Registers stacked (pushed into the stack) during an exception
FLASH
FLASH
FPB
Flash Patch and Breakpoint unit
FPU_CPACR
Floating point unit CPACR
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
GPIOG
General-purpose I/Os
GPIOH
General-purpose I/Os
GPIOI
General-purpose I/Os
GPIOJ
General-purpose I/Os
GPIOK
General-purpose I/Os
HASH
Hash processor
I2C1
Inter-integrated circuit
I2C2
Inter-integrated circuit
I2C3
Inter-integrated circuit
I2S2EXT
Serial peripheral interface
I2S3EXT
Serial peripheral interface
ITM
Instrumentation Trace Macrocell
IWDG
Independent watchdog
LTDC
LCD-TFT Controller
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
OTG_HS_DEVICE
USB on the go high speed
OTG_HS_GLOBAL
USB on the go high speed
OTG_HS_HOST
USB on the go high speed
OTG_HS_PWRCLK
USB on the go high speed
PWR
Power control
Peripherals
All the peripherals
RNG
Random number generator
RTC
Real-time clock
SAI1
Serial audio interface
SCB
System Control Block
SCB_ACTRL
System control block ACTLR
SPI4
Serial peripheral interface
SPI5
Serial peripheral interface
SPI6
Serial peripheral interface
STK
SysTick timer
SYSCFG
System configuration controller
SYST
SysTick: System Timer
TIM1
Advanced-timers
TIM6
Basic timers
TIM8
Advanced-timers
TIM9
General purpose timers
TIM10
General-purpose-timers
TIM11
General-purpose-timers
TIM12
General purpose timers
TIM13
General-purpose-timers
TIM14
General-purpose-timers
TPIU
Trace Port Interface Unit
UART7
Universal synchronous asynchronous receiver transmitter
UART8
Universal synchronous asynchronous receiver transmitter

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

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.