You copied the Doc URL to your clipboard.

__dsb intrinsic

This intrinsic inserts a DSB or equivalent instruction into the instruction stream generated by the compiler.

The DSB instruction ensures the completion of memory accesses.

The __dsb() intrinsic is also an optimization barrier. If the target does not support the DSB instruction, the intrinsic behaves as an optimization barrier.

Syntax

void __dsb(unsigned int val)

Where val is a numeric argument indicating the scope and access type of the barrier. See ARM C Language Extensions for more information.

Was this page helpful? Yes No