sarmfsw: SMFSW Toolbox (for ARM & compatible with Arduino platform) 3.7
SMFSW collection of miscellaneous functions & macros (for ARM & compatible with Arduino platform)
|
Header scope deviation has been granted for following rules:
Rule-20.5 - Advisory: #undef
(misra-c2012-20.5)
Rule-20.10 - Advisory: #
and ##
preprocessor operators (misra-c2012-20.10)
Header scope legitimate use derogation authorized for:
Rule-21.1 - Required: #define
and #undef
on reserved identifiers (misra-c2012-21.1)
Justification: #define
are generic reserved identifiers for attributes.
#undef
(misra-c2012-20.5)#undef
(misra-c2012-20.5)#define
and #undef
on reserved identifiers (misra-c2012-21.1)#undef
(misra-c2012-20.5)#
and ##
preprocessor operators (misra-c2012-20.10) Header scope deviation has been granted for following rules:
Rule-19.2 - Advisory: union
keyword (misra-c2012-19.2)
Header scope legitimate use derogation authorized for:
Rule-21.1 - Required: #define
and #undef
on reserved identifiers (misra-c2012-21.1)
Justification: #define
are library specific reserved identifiers.
func
paramater shall be a function name; raising error otherwise is intended.name
wouldn't produce the desired structured access expansion.#
and ##
preprocessor operators (misra-c2012-20.10)typ
parameter would be cast instead of type.mbr
parameter shall be a structure member; will in any way raise an error in case not.#
and ##
preprocessor operators (misra-c2012-20.10)pArray
is used as array, makes sense to declare it in the same manner.array
needs to have a size and is always used in conjunction with nb
.typ_t
parameter would be always be used as cast and wouldn't name concatenate.mbr
parameter shall be a structure member; will in any way raise an error in case not.array
being an array of array, this is a rather legitimate representation of object than a pointer.typ
parameter would be cast instead of type declaration (thus raising error); other parameters shall be variable names, raising error otherwise is intended.arr
shall be an instance of type; raising error otherwise is intended.obj
parameter can be a type instead of an istance of type.typ
parameter would be cast instead of type.typ
parameter would be cast instead of type.mbr
parameter shall be a structure member; will in any way raise an error in case not.union
keyword (misra-c2012-19.2)typ
parameter would be cast instead of type.mbr
parameter shall be a structure member; will in any way raise an error in case not.typ
parameter would be cast instead of type.