Sound Byte Libs 0.5.1-121-g3358a44
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
barrier.hpp File Reference

ARM Cortex-M memory barrier primitives. More...

Detailed Description

ARM Cortex-M memory barrier primitives.

Direct memory barrier operations for ARM Cortex-M processors. No templates - just hardware primitives that compile to single instructions.

Definition in file barrier.hpp.

Go to the source code of this file.

Namespaces

namespace  sbl
 Root namespace for all Sound Byte Libs code.
 
namespace  sbl::hal
 Hardware abstraction: handles and convenience layers over the drivers.
 
namespace  sbl::hal::memory
 Memory barriers and placement.
 

Functions

void sbl::hal::memory::compiler_barrier ()
 Compiler memory barrier.
 
void sbl::hal::memory::data_barrier ()
 Data Memory Barrier (ARM DMB instruction)
 
void sbl::hal::memory::sync_barrier ()
 Data Synchronization Barrier (ARM DSB instruction)
 
void sbl::hal::memory::instruction_barrier ()
 Instruction Synchronization Barrier (ARM ISB instruction)