cortex_m::asm

Function dsb

source
pub fn dsb()
Expand description

Data Synchronization Barrier

Acts as a special kind of memory barrier. No instruction in program order after this instruction can execute until this instruction completes. This instruction completes only when both:

  • any explicit memory access made before this instruction is complete
  • all cache and branch predictor maintenance operations before this instruction complete