AVR SD Safety Framework 1.0.0
Loading...
Searching...
No Matches
Configuration validator

Provides optional compile-time validation checks for all Framework configuration macros and constants. More...

Files

file  configuration_validator.c
 Provides optional compile-time validation checks for all Framework configuration macros and constants.

Macros

#define UINT24_MAX   0x00FFFFFFUL
 Defines max value for 24-bit registers used during validation.
#define INT_VECTOR_NUM_MAX   ((_VECTORS_SIZE / _VECTOR_SIZE) - 1U)
 Defines highest valid vector number used during validation.

Detailed Description

Provides optional compile-time validation checks for all Framework configuration macros and constants.

This file can optionally be included during compilation to verify that configurations made are valid as an additional safety measure in addition to the input validation done in Middleware.

Macro Definition Documentation

◆ INT_VECTOR_NUM_MAX

#define INT_VECTOR_NUM_MAX   ((_VECTORS_SIZE / _VECTOR_SIZE) - 1U)

Defines highest valid vector number used during validation.

◆ UINT24_MAX

#define UINT24_MAX   0x00FFFFFFUL

Defines max value for 24-bit registers used during validation.