MIRA
Macros
Align.h File Reference

Macros for data alignment in memory. More...

#include <platform/Platform.h>
Include dependency graph for Align.h:

Go to the source code of this file.

Macros

#define MIRA_ALIGN(n)   __attribute__((aligned(n)))
 Forces the data to be n-byte aligned, e.g. MIRA_ALIGN(16) int value;. More...
 

Detailed Description

Macros for data alignment in memory.

Author
Erik Einhorn
Date
2013/07/03

Macro Definition Documentation

◆ MIRA_ALIGN

#define MIRA_ALIGN (   n)    __attribute__((aligned(n)))

Forces the data to be n-byte aligned, e.g. MIRA_ALIGN(16) int value;.