Support for flow protected switches. More...
Macros | |
#define | MCUX_CSSL_FP_SWITCH_ID(id) |
Generator for switch identifiers. | |
#define | MCUX_CSSL_FP_SWITCH_DECL_IMPL(id) |
Declaration implementation of a flow protected switch. | |
#define | MCUX_CSSL_FP_SWITCH_VALUE(id) |
Macro to get the value for a given switch. | |
#define | MCUX_CSSL_FP_SWITCH_CASE_IMPLn(id, case, ...) |
Case that is being handled from a switch. | |
#define | MCUX_CSSL_FP_SWITCH_CASE_IMPL2(id, case) |
Case that is being handled from a switch. | |
#define | MCUX_CSSL_FP_SWITCH_CASE_IMPL(...) |
Case that is being handled from a switch. | |
#define | MCUX_CSSL_FP_SWITCH_DEFAULT_VALUE |
Value to use for default case. | |
#define | MCUX_CSSL_FP_SWITCH_DEFAULT_IMPLn(id, ...) |
Case that is being handled from a switch. | |
#define | MCUX_CSSL_FP_SWITCH_DEFAULT_IMPL1(id) |
Case that is being handled from a switch. | |
#define | MCUX_CSSL_FP_SWITCH_DEFAULT_IMPL(...) |
Case that is being handled from a switch. | |
#define | MCUX_CSSL_FP_SWITCH_TAKEN_IMPL3(id, case, condition) |
Expected that a specific case is handled from a switch. | |
#define | MCUX_CSSL_FP_SWITCH_TAKEN_IMPL2(id, case) |
Expected that a specific case is handled from a switch. | |
#define | MCUX_CSSL_FP_SWITCH_TAKEN_IMPL(...) |
Expected that a specific case is handled from a switch. | |
#define | MCUX_CSSL_FP_SWITCH_TAKEN_DEFAULT_IMPL2(id, condition) |
Expected that default case is handled from a switch. | |
#define | MCUX_CSSL_FP_SWITCH_TAKEN_DEFAULT_IMPL1(id) |
Expected that default case is handled from a switch. | |
#define | MCUX_CSSL_FP_SWITCH_TAKEN_DEFAULT_IMPL(...) |
Expected that default case is handled from a switch. | |
Support for flow protected switches.
#define MCUX_CSSL_FP_SWITCH_ID | ( | id | ) |
Generator for switch identifiers.
id | Identifier for the flow protected switch. |
#define MCUX_CSSL_FP_SWITCH_DECL_IMPL | ( | id | ) |
Declaration implementation of a flow protected switch.
id | Identifier for the switch that is flow protected. |
#define MCUX_CSSL_FP_SWITCH_VALUE | ( | id | ) |
Macro to get the value for a given switch.
id | Identifier for the switch that is flow protected. |
id
. #define MCUX_CSSL_FP_SWITCH_CASE_IMPLn | ( | id, | |
case, | |||
... | |||
) |
Case that is being handled from a switch.
id | Identifier of the flow protected switch. |
case | Case value that is chosen in the switch. |
expect | One or more (comma separated) declarations of expected code flow behavior related to this event. |
#define MCUX_CSSL_FP_SWITCH_CASE_IMPL2 | ( | id, | |
case | |||
) |
Case that is being handled from a switch.
id | Identifier of the flow protected switch. |
case | Case value that is chosen in the switch. |
#define MCUX_CSSL_FP_SWITCH_CASE_IMPL | ( | ... | ) |
Case that is being handled from a switch.
Implemented as an overloaded macro to simplify the use of the API.
id | Identifier of the flow protected switch. |
case | Case value that is chosen in the switch. |
expect | Zero or more (comma separated) declarations of expected code flow behavior related to this event. |
#define MCUX_CSSL_FP_SWITCH_DEFAULT_VALUE |
Value to use for default case.
#define MCUX_CSSL_FP_SWITCH_DEFAULT_IMPLn | ( | id, | |
... | |||
) |
Case that is being handled from a switch.
id | Identifier of the flow protected switch. |
expect | Zero or more (comma separated) declarations of expected code flow behavior related to this event. |
#define MCUX_CSSL_FP_SWITCH_DEFAULT_IMPL1 | ( | id | ) |
Case that is being handled from a switch.
id | Identifier of the flow protected switch. |
#define MCUX_CSSL_FP_SWITCH_DEFAULT_IMPL | ( | ... | ) |
Case that is being handled from a switch.
Implemented as an overloaded macro to simplify the use of the API.
id | Identifier of the flow protected switch. |
expect | Zero or more (comma separated) declarations of expected code flow behavior related to this event. |
#define MCUX_CSSL_FP_SWITCH_TAKEN_IMPL3 | ( | id, | |
case, | |||
condition | |||
) |
Expected that a specific case is handled from a switch.
id | Identifier of the flow protected switch. |
case | Value of the case that is expected to be chosen in the switch. |
condition | Optional, condition under which the case is taken. |
#define MCUX_CSSL_FP_SWITCH_TAKEN_IMPL2 | ( | id, | |
case | |||
) |
Expected that a specific case is handled from a switch.
id | Identifier of the flow protected switch. |
case | Value of the case that is expected to be chosen in the switch. |
#define MCUX_CSSL_FP_SWITCH_TAKEN_IMPL | ( | ... | ) |
Expected that a specific case is handled from a switch.
Implemented as an overloaded macro to simplify the use of the API.
id | Identifier of the flow protected switch. |
case | Value of the case that is expected to be chosen in the switch. |
condition | Optional, condition under which the case is taken. |
#define MCUX_CSSL_FP_SWITCH_TAKEN_DEFAULT_IMPL2 | ( | id, | |
condition | |||
) |
Expected that default case is handled from a switch.
id | Identifier of the flow protected switch. |
condition | Condition under which the default case is taken. |
#define MCUX_CSSL_FP_SWITCH_TAKEN_DEFAULT_IMPL1 | ( | id | ) |
Expected that default case is handled from a switch.
id | Identifier of the flow protected switch. |
#define MCUX_CSSL_FP_SWITCH_TAKEN_DEFAULT_IMPL | ( | ... | ) |
Expected that default case is handled from a switch.
Implemented as an overloaded macro to simplify the use of the API.
id | Identifier of the flow protected switch. |
condition | Optional, condition under which the default case is taken. |