Support for flow protected loops.
More...
Support for flow protected loops.
- Declaration
- MCUX_CSSL_FP_LOOP_DECL_IMPL
- Event
- MCUX_CSSL_FP_LOOP_ITERATION_IMPL
- Expectation
- MCUX_CSSL_FP_LOOP_ITERATIONS_IMPL
◆ MCUX_CSSL_FP_LOOP_ID
#define MCUX_CSSL_FP_LOOP_ID |
( |
|
id | ) |
|
Generator for loop identifiers.
- Parameters
-
id | Identifier for the flow protected loop. |
- Returns
- Counter value for the given loop.
◆ MCUX_CSSL_FP_LOOP_DECL_IMPL
#define MCUX_CSSL_FP_LOOP_DECL_IMPL |
( |
|
id | ) |
|
Declaration implementation of a flow protected loop.
- Parameters
-
id | Identifier for the loop that is flow protected. |
◆ MCUX_CSSL_FP_LOOP_VALUE
#define MCUX_CSSL_FP_LOOP_VALUE |
( |
|
id | ) |
|
Macro to get the value for a given loop.
- Parameters
-
id | Identifier for the loop that is flow protected. |
- Returns
- The counter value for the given loop
id
.
◆ MCUX_CSSL_FP_LOOP_ITERATION_IMPLn
#define MCUX_CSSL_FP_LOOP_ITERATION_IMPLn |
( |
|
id, |
|
|
|
... |
|
) |
| |
Event implementation of a loop iteration (with expectations).
- See also
- MCUX_CSSL_FP_LOOP_ITERATION_IMPL
- Parameters
-
id | Identifier for the loop that is flow protected. |
expect | One or more (comma separated) declarations of expected code flow behavior related to this event. |
◆ MCUX_CSSL_FP_LOOP_ITERATION_IMPL1
#define MCUX_CSSL_FP_LOOP_ITERATION_IMPL1 |
( |
|
id | ) |
|
◆ MCUX_CSSL_FP_LOOP_ITERATION_IMPL
#define MCUX_CSSL_FP_LOOP_ITERATION_IMPL |
( |
|
... | ) |
|
Event implementation of a loop iteration.
Implemented as an overloaded macro to simplify the use of the API.
- See also
- MCUX_CSSL_FP_LOOP_ITERATION_IMPL1
-
MCUX_CSSL_FP_LOOP_ITERATION_IMPLn
- Parameters
-
id | Identifier for the loop that is flow protected. |
expect | Zero or more (comma separated) declarations of expected code flow behavior related to this event. |
◆ MCUX_CSSL_FP_LOOP_ITERATIONS_IMPL
#define MCUX_CSSL_FP_LOOP_ITERATIONS_IMPL |
( |
|
id, |
|
|
|
count |
|
) |
| |
Expectation implementation of a number of loop iterations.
- Parameters
-
id | Identifier of the flow protected loop. |
count | Number of expected iterations. |