Skip to main content

write

Function write 

Source
pub unsafe fn write(basepri: u8)
Expand description

Writes to the CPU register

Forms a read/write memory barrier for the compiler.

IMPORTANT If you are using a Cortex-M7 device with revision r0p1 you MUST enable the cm7-r0p1 Cargo feature or this function WILL misbehave.