OpenOCD
DIV_ROUND_UP
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
Development Tools
OpenOCD
DIV_ROUND_UP
DIV_ROUND_UP macro
Rounds @c m up to the nearest multiple of @c n using division.
Syntax
Show:
Summary
Declaration
from
types.h:79
#define
DIV_ROUND_UP
(
m
,
n
)
(
(
(
m
)
+
(
n
)
-
1
)
/
(
n
)
)
Arguments
Argument
Description
m
The value to round up to @c n.
n
Round @c m up to a multiple of this number.
Return value
The rounded integer value.
Examples
References
from
examples
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