Module cortex_m::peripheral [] [src]

Core peripherals

Notes

  • Although the *_mut() functions always return a valid/live reference, the API doesn't prevent the user from creating multiple mutable aliases. It's up to the user to ensure that no unsynchonized concurrent access is performed through these references.

Caveats

  • The API doesn't check if the value passed to write is valid (e.g. reserved bits are not modified) or not. It's up to the user to verify that.

References

  • ARMv7-M Architecture Reference Manual (Issue E.b) - Chapter B3

Modules

cpuid

CPUID

dcb

Debug Control Block

dwt

Data Watchpoint and Trace unit

fpb

Flash Patch and Breakpoint unit

fpu

Floating Point Unit

itm

Instrumentation Trace Macrocell

mpu

Memory Protection Unit

nvic

Nested Vector Interrupt Controller

scb

System Control Block

syst

SysTick: System Timer

tpiu

Trace Port Interface Unit

Functions

cpuid

&cpuid::Registers

dcb

&dcb::Registers

dcb_mut

&mut dcb::Registers

dwt

&dwt::Registers

dwt_mut

&mut dwt::Registers

fpb

&fpb::Registers

fpb_mut

&mut fpb::Registers

fpu

&fpu::Registers

fpu_mut

&mut fpu::Registers

itm

&itm::Registers

itm_mut

&mut itm::Registers

mpu

&mpu::Registers

mpu_mut

&mut mpu::Registers

nvic

&nvic::Registers

nvic_mut

&mut nvic::Registers

scb

&scb::Registers

scb_mut

&mut scb::Registers

syst

&syst::Registers

syst_mut

&mut syst::Registers

tpiu

&tpiu::Registers

tpiu_mut

&mut tpiu::Registers