Difference between revisions of "r7.1.1:Define LFDS711 PAL ALIGN SINGLE POINTER"
Jump to navigation
Jump to search
m (1 revision imported) |
(No difference)
|
Latest revision as of 18:11, 16 February 2017
Source File
└───liblfds711 └───inc └───liblfds711 lfds711_porting_abstraction_layer_processor.h
Define
#define LFDS711_PAL_ALIGN_SINGLE_POINTER [lfds711_pal_uint_t size in bytes]
Example
#define LFDS711_PAL_ALIGN_DOUBLE_POINTER 8
Optionality
This define is mandatory and the library cannot compile if it is not set.
Notes
The value to use for this define is sizeof(lfds711_pal_uint_t). Unfortunately, compilers do not accept C code as an argument to their alignment keyword, so it is not possible to use sizeof(lfds711_pal_uint_t) in the source code. As such, it must be provided in a define.