ESP-IDF
ALIGN_UP_BY
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ALIGN_UP_BY
ALIGN_UP_BY macro
Syntax
Show:
Summary
Declaration
from
sdmmc_transaction.c:33
#define
ALIGN_UP_BY
(
num
,
align
)
(
(
(
num
)
+
(
(
align
)
-
1
)
)
&
~
(
(
align
)
-
1
)
)
Arguments
Argument
num
align
Examples
References
from
examples
Code
Location
#define
ALIGN_UP_BY
(
num
,
align
)
(
(
(
num
)
+
(
(
align
)
-
1
)
)
&
~
(
(
align
)
-
1
)
)
esp_cache.c:28
#define
ALIGN_UP_BY
(
num
,
align
)
(
(
(
num
)
+
(
(
align
)
-
1
)
)
&
~
(
(
align
)
-
1
)
)
esp_dma_utils.c:26
#define
ALIGN_UP_BY
(
num
,
align
)
(
(
(
num
)
+
(
(
align
)
-
1
)
)
&
~
(
(
align
)
-
1
)
)
esp_mmu_map.c:34
#define
ALIGN_UP_BY
(
num
,
align
)
(
(
(
num
)
+
(
(
align
)
-
1
)
)
&
~
(
(
align
)
-
1
)
)
multi_heap.c:75
#define
ALIGN_UP_BY
(
num
,
align
)
(
(
(
num
)
+
(
(
align
)
-
1
)
)
&
~
(
(
align
)
-
1
)
)
sdmmc_transaction.c:33
size
=
ALIGN_UP_BY
(
size
,
data_cache_line_size
)
;
esp_cache.c:173
size
=
ALIGN_UP_BY
(
size
,
alignment_bytes
)
;
esp_dma_utils.c:179
irom_len_to_reserve
=
ALIGN_UP_BY
(
irom_len_to_reserve
,
CONFIG_MMU_PAGE_SIZE
)
;
esp_mmu_map.c:143
drom_len_to_reserve
=
ALIGN_UP_BY
(
drom_len_to_reserve
,
CONFIG_MMU_PAGE_SIZE
)
;
esp_mmu_map.c:171
size_t
aligned_size
=
ALIGN_UP_BY
(
size
,
CONFIG_MMU_PAGE_SIZE
)
;
esp_mmu_map.c:317
size_t
aligned_size
=
ALIGN_UP_BY
(
size
,
CONFIG_MMU_PAGE_SIZE
)
;
esp_mmu_map.c:453
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out