diff --git a/src/interfacing/sensor_interfacing/radar_conti_ars408/CMakeLists.txt b/src/interfacing/sensor_interfacing/radar_conti_ars408/CMakeLists.txt index 1eb3849d..3e7a35f2 100644 --- a/src/interfacing/sensor_interfacing/radar_conti_ars408/CMakeLists.txt +++ b/src/interfacing/sensor_interfacing/radar_conti_ars408/CMakeLists.txt @@ -139,15 +139,9 @@ install( DESTINATION include/${PROJECT_NAME}/ ) -# Install YAML files -#install( -# DIRECTORY config -# DESTINATION share/${PROJECT_NAME}) - # Install launch files. install(DIRECTORY launch - config DESTINATION share/${PROJECT_NAME} ) diff --git a/src/interfacing/sensor_interfacing/radar_conti_ars408/include/ars_408_can_defines.h b/src/interfacing/sensor_interfacing/radar_conti_ars408/include/ars_408_can_defines.h index 80e61931..052caaa2 100644 --- a/src/interfacing/sensor_interfacing/radar_conti_ars408/include/ars_408_can_defines.h +++ b/src/interfacing/sensor_interfacing/radar_conti_ars408/include/ars_408_can_defines.h @@ -267,32 +267,32 @@ /** * Message Obj_2_Quality configuration tuple. */ -#define MSG_Obj_2_Quality 0x60c, 0, 7 +#define MSG_Obj_2_Quality 0x60c, 0, 7 /** * Message Obj_2_Quality id. */ -#define ID_Obj_2_Quality 0x60c +#define ID_Obj_2_Quality 0x60c /** * Message Obj_2_Quality extended id bit. */ -#define EXT_Obj_2_Quality 0 +#define EXT_Obj_2_Quality 0 /** * Message Obj_2_Quality Data Length Count. */ -#define DLC_Obj_2_Quality 7 +#define DLC_Obj_2_Quality 7 /** * Message Obj_2_Quality cycle time. */ -#define CYCLE_Obj_2_Quality 0 +#define CYCLE_Obj_2_Quality 0 /** * Message Obj_2_Quality fast cycle time. */ -#define FAST_Obj_2_Quality 0 +#define FAST_Obj_2_Quality 0 /** * Initialise message Obj_2_Quality buffer. @@ -300,18 +300,19 @@ * @param buf * The can message buffer to initialise */ -#define INIT_Obj_2_Quality(buf) { \ - INITSIG_Obj_2_Quality_Obj_ProbOfExist(buf); \ - INITSIG_Obj_2_Quality_Obj_MeasState(buf); \ - INITSIG_Obj_2_Quality_Obj_ArelLong_rms(buf); \ - INITSIG_Obj_2_Quality_Obj_ArelLat_rms(buf); \ - INITSIG_Obj_2_Quality_Obj_VrelLong_rms(buf); \ - INITSIG_Obj_2_Quality_Obj_VrelLat_rms(buf); \ - INITSIG_Obj_2_Quality_Obj_Orientation_rms(buf); \ - INITSIG_Obj_2_Quality_Obj_DistLong_rms(buf); \ - INITSIG_Obj_2_Quality_Obj_DistLat_rms(buf); \ - INITSIG_Obj_2_Quality_Obj_ID(buf); \ -} +#define INIT_Obj_2_Quality(buf) \ + { \ + INITSIG_Obj_2_Quality_Obj_ProbOfExist(buf); \ + INITSIG_Obj_2_Quality_Obj_MeasState(buf); \ + INITSIG_Obj_2_Quality_Obj_ArelLong_rms(buf); \ + INITSIG_Obj_2_Quality_Obj_ArelLat_rms(buf); \ + INITSIG_Obj_2_Quality_Obj_VrelLong_rms(buf); \ + INITSIG_Obj_2_Quality_Obj_VrelLat_rms(buf); \ + INITSIG_Obj_2_Quality_Obj_Orientation_rms(buf); \ + INITSIG_Obj_2_Quality_Obj_DistLong_rms(buf); \ + INITSIG_Obj_2_Quality_Obj_DistLat_rms(buf); \ + INITSIG_Obj_2_Quality_Obj_ID(buf); \ + } /** * @} @@ -342,32 +343,32 @@ /** * Message Obj_3_Extended configuration tuple. */ -#define MSG_Obj_3_Extended 0x60d, 0, 8 +#define MSG_Obj_3_Extended 0x60d, 0, 8 /** * Message Obj_3_Extended id. */ -#define ID_Obj_3_Extended 0x60d +#define ID_Obj_3_Extended 0x60d /** * Message Obj_3_Extended extended id bit. */ -#define EXT_Obj_3_Extended 0 +#define EXT_Obj_3_Extended 0 /** * Message Obj_3_Extended Data Length Count. */ -#define DLC_Obj_3_Extended 8 +#define DLC_Obj_3_Extended 8 /** * Message Obj_3_Extended cycle time. */ -#define CYCLE_Obj_3_Extended 0 +#define CYCLE_Obj_3_Extended 0 /** * Message Obj_3_Extended fast cycle time. */ -#define FAST_Obj_3_Extended 0 +#define FAST_Obj_3_Extended 0 /** * Initialise message Obj_3_Extended buffer. @@ -375,15 +376,16 @@ * @param buf * The can message buffer to initialise */ -#define INIT_Obj_3_Extended(buf) { \ - INITSIG_Obj_3_Extended_Obj_Class(buf); \ - INITSIG_Obj_3_Extended_Obj_ArelLat(buf); \ - INITSIG_Obj_3_Extended_Obj_ID(buf); \ - INITSIG_Obj_3_Extended_Obj_OrientationAngle(buf); \ - INITSIG_Obj_3_Extended_Obj_Width(buf); \ - INITSIG_Obj_3_Extended_Obj_Length(buf); \ - INITSIG_Obj_3_Extended_Obj_ArelLong(buf); \ -} +#define INIT_Obj_3_Extended(buf) \ + { \ + INITSIG_Obj_3_Extended_Obj_Class(buf); \ + INITSIG_Obj_3_Extended_Obj_ArelLat(buf); \ + INITSIG_Obj_3_Extended_Obj_ID(buf); \ + INITSIG_Obj_3_Extended_Obj_OrientationAngle(buf); \ + INITSIG_Obj_3_Extended_Obj_Width(buf); \ + INITSIG_Obj_3_Extended_Obj_Length(buf); \ + INITSIG_Obj_3_Extended_Obj_ArelLong(buf); \ + } /** * @} @@ -414,32 +416,32 @@ /** * Message CollDetRegionState configuration tuple. */ -#define MSG_CollDetRegionState 0x402, 0, 8 +#define MSG_CollDetRegionState 0x402, 0, 8 /** * Message CollDetRegionState id. */ -#define ID_CollDetRegionState 0x402 +#define ID_CollDetRegionState 0x402 /** * Message CollDetRegionState extended id bit. */ -#define EXT_CollDetRegionState 0 +#define EXT_CollDetRegionState 0 /** * Message CollDetRegionState Data Length Count. */ -#define DLC_CollDetRegionState 8 +#define DLC_CollDetRegionState 8 /** * Message CollDetRegionState cycle time. */ -#define CYCLE_CollDetRegionState 0 +#define CYCLE_CollDetRegionState 0 /** * Message CollDetRegionState fast cycle time. */ -#define FAST_CollDetRegionState 0 +#define FAST_CollDetRegionState 0 /** * Initialise message CollDetRegionState buffer. @@ -447,15 +449,16 @@ * @param buf * The can message buffer to initialise */ -#define INIT_CollDetRegionState(buf) { \ - INITSIG_CollDetRegionState_CollDetRegState_WarningLevel(buf); \ - INITSIG_CollDetRegionState_CollDetRegState_NofObjects(buf); \ - INITSIG_CollDetRegionState_CollDetRegState_RegionID(buf); \ - INITSIG_CollDetRegionState_CollDetRegState_Point2Y(buf); \ - INITSIG_CollDetRegionState_CollDetRegState_Point2X(buf); \ - INITSIG_CollDetRegionState_CollDetRegState_Point1Y(buf); \ - INITSIG_CollDetRegionState_CollDetRegState_Point1X(buf); \ -} +#define INIT_CollDetRegionState(buf) \ + { \ + INITSIG_CollDetRegionState_CollDetRegState_WarningLevel(buf); \ + INITSIG_CollDetRegionState_CollDetRegState_NofObjects(buf); \ + INITSIG_CollDetRegionState_CollDetRegState_RegionID(buf); \ + INITSIG_CollDetRegionState_CollDetRegState_Point2Y(buf); \ + INITSIG_CollDetRegionState_CollDetRegState_Point2X(buf); \ + INITSIG_CollDetRegionState_CollDetRegState_Point1Y(buf); \ + INITSIG_CollDetRegionState_CollDetRegState_Point1X(buf); \ + } /** * @} @@ -481,32 +484,32 @@ /** * Message Obj_4_Warning configuration tuple. */ -#define MSG_Obj_4_Warning 0x60e, 0, 4 +#define MSG_Obj_4_Warning 0x60e, 0, 4 /** * Message Obj_4_Warning id. */ -#define ID_Obj_4_Warning 0x60e +#define ID_Obj_4_Warning 0x60e /** * Message Obj_4_Warning extended id bit. */ -#define EXT_Obj_4_Warning 0 +#define EXT_Obj_4_Warning 0 /** * Message Obj_4_Warning Data Length Count. */ -#define DLC_Obj_4_Warning 4 +#define DLC_Obj_4_Warning 4 /** * Message Obj_4_Warning cycle time. */ -#define CYCLE_Obj_4_Warning 0 +#define CYCLE_Obj_4_Warning 0 /** * Message Obj_4_Warning fast cycle time. */ -#define FAST_Obj_4_Warning 0 +#define FAST_Obj_4_Warning 0 /** * Initialise message Obj_4_Warning buffer. @@ -514,10 +517,11 @@ * @param buf * The can message buffer to initialise */ -#define INIT_Obj_4_Warning(buf) { \ - INITSIG_Obj_4_Warning_Obj_CollDetRegionBitfield(buf); \ - INITSIG_Obj_4_Warning_Obj_ID(buf); \ -} +#define INIT_Obj_4_Warning(buf) \ + { \ + INITSIG_Obj_4_Warning_Obj_CollDetRegionBitfield(buf); \ + INITSIG_Obj_4_Warning_Obj_ID(buf); \ + } /** * @} @@ -542,32 +546,32 @@ /** * Message CollDetRelayCtrl configuration tuple. */ -#define MSG_CollDetRelayCtrl 0x8, 0, 1 +#define MSG_CollDetRelayCtrl 0x8, 0, 1 /** * Message CollDetRelayCtrl id. */ -#define ID_CollDetRelayCtrl 0x8 +#define ID_CollDetRelayCtrl 0x8 /** * Message CollDetRelayCtrl extended id bit. */ -#define EXT_CollDetRelayCtrl 0 +#define EXT_CollDetRelayCtrl 0 /** * Message CollDetRelayCtrl Data Length Count. */ -#define DLC_CollDetRelayCtrl 1 +#define DLC_CollDetRelayCtrl 1 /** * Message CollDetRelayCtrl cycle time. */ -#define CYCLE_CollDetRelayCtrl 0 +#define CYCLE_CollDetRelayCtrl 0 /** * Message CollDetRelayCtrl fast cycle time. */ -#define FAST_CollDetRelayCtrl 0 +#define FAST_CollDetRelayCtrl 0 /** * Initialise message CollDetRelayCtrl buffer. @@ -575,9 +579,8 @@ * @param buf * The can message buffer to initialise */ -#define INIT_CollDetRelayCtrl(buf) { \ - INITSIG_CollDetRelayCtrl_CollDetRelayCtrl_Param(buf); \ -} +#define INIT_CollDetRelayCtrl(buf) \ + { INITSIG_CollDetRelayCtrl_CollDetRelayCtrl_Param(buf); } /** * @} @@ -636,32 +639,32 @@ /** * Message FilterState_Cfg configuration tuple. */ -#define MSG_FilterState_Cfg 0x204, 0, 5 +#define MSG_FilterState_Cfg 0x204, 0, 5 /** * Message FilterState_Cfg id. */ -#define ID_FilterState_Cfg 0x204 +#define ID_FilterState_Cfg 0x204 /** * Message FilterState_Cfg extended id bit. */ -#define EXT_FilterState_Cfg 0 +#define EXT_FilterState_Cfg 0 /** * Message FilterState_Cfg Data Length Count. */ -#define DLC_FilterState_Cfg 5 +#define DLC_FilterState_Cfg 5 /** * Message FilterState_Cfg cycle time. */ -#define CYCLE_FilterState_Cfg 0 +#define CYCLE_FilterState_Cfg 0 /** * Message FilterState_Cfg fast cycle time. */ -#define FAST_FilterState_Cfg 0 +#define FAST_FilterState_Cfg 0 /** * Initialise message FilterState_Cfg buffer. @@ -669,43 +672,44 @@ * @param buf * The can message buffer to initialise */ -#define INIT_FilterState_Cfg(buf) { \ - INITSIG_FilterState_Cfg_FilterState_Max_Class(buf); \ - INITSIG_FilterState_Cfg_FilterState_Min_Class(buf); \ - INITSIG_FilterState_Cfg_FilterState_Min_Y(buf); \ - INITSIG_FilterState_Cfg_FilterState_Min_X(buf); \ - INITSIG_FilterState_Cfg_FilterState_Min_VYRightLeft(buf); \ - INITSIG_FilterState_Cfg_FilterState_Min_VYLeftRight(buf); \ - INITSIG_FilterState_Cfg_FilterState_Min_VXOncome(buf); \ - INITSIG_FilterState_Cfg_FilterState_Min_VXDepart(buf); \ - INITSIG_FilterState_Cfg_FilterState_Max_Y(buf); \ - INITSIG_FilterState_Cfg_FilterState_Max_X(buf); \ - INITSIG_FilterState_Cfg_FilterState_Max_VYRightLeft(buf); \ - INITSIG_FilterState_Cfg_FilterState_Max_VYLeftRight(buf); \ - INITSIG_FilterState_Cfg_FilterState_Max_VXOncome(buf); \ - INITSIG_FilterState_Cfg_FilterState_Max_VXDepart(buf); \ - INITSIG_FilterState_Cfg_FilterState_Type(buf); \ - INITSIG_FilterState_Cfg_FilterState_Min_VrelOncome(buf); \ - INITSIG_FilterState_Cfg_FilterState_Min_VrelDepart(buf); \ - INITSIG_FilterState_Cfg_FilterState_Min_Size(buf); \ - INITSIG_FilterState_Cfg_FilterState_Min_RCS(buf); \ - INITSIG_FilterState_Cfg_FilterState_Min_ProbExists(buf); \ - INITSIG_FilterState_Cfg_FilterState_Min_NofObj(buf); \ - INITSIG_FilterState_Cfg_FilterState_Min_Lifetime(buf); \ - INITSIG_FilterState_Cfg_FilterState_Min_Distance(buf); \ - INITSIG_FilterState_Cfg_FilterState_Min_Azimuth(buf); \ - INITSIG_FilterState_Cfg_FilterState_Max_VrelOncome(buf); \ - INITSIG_FilterState_Cfg_FilterState_Max_VrelDepart(buf); \ - INITSIG_FilterState_Cfg_FilterState_Max_Size(buf); \ - INITSIG_FilterState_Cfg_FilterState_Max_RCS(buf); \ - INITSIG_FilterState_Cfg_FilterState_Max_ProbExists(buf); \ - INITSIG_FilterState_Cfg_FilterState_Max_NofObj(buf); \ - INITSIG_FilterState_Cfg_FilterState_Max_Lifetime(buf); \ - INITSIG_FilterState_Cfg_FilterState_Max_Distance(buf); \ - INITSIG_FilterState_Cfg_FilterState_Max_Azimuth(buf); \ - INITSIG_FilterState_Cfg_FilterState_Index(buf); \ - INITSIG_FilterState_Cfg_FilterState_Active(buf); \ -} +#define INIT_FilterState_Cfg(buf) \ + { \ + INITSIG_FilterState_Cfg_FilterState_Max_Class(buf); \ + INITSIG_FilterState_Cfg_FilterState_Min_Class(buf); \ + INITSIG_FilterState_Cfg_FilterState_Min_Y(buf); \ + INITSIG_FilterState_Cfg_FilterState_Min_X(buf); \ + INITSIG_FilterState_Cfg_FilterState_Min_VYRightLeft(buf); \ + INITSIG_FilterState_Cfg_FilterState_Min_VYLeftRight(buf); \ + INITSIG_FilterState_Cfg_FilterState_Min_VXOncome(buf); \ + INITSIG_FilterState_Cfg_FilterState_Min_VXDepart(buf); \ + INITSIG_FilterState_Cfg_FilterState_Max_Y(buf); \ + INITSIG_FilterState_Cfg_FilterState_Max_X(buf); \ + INITSIG_FilterState_Cfg_FilterState_Max_VYRightLeft(buf); \ + INITSIG_FilterState_Cfg_FilterState_Max_VYLeftRight(buf); \ + INITSIG_FilterState_Cfg_FilterState_Max_VXOncome(buf); \ + INITSIG_FilterState_Cfg_FilterState_Max_VXDepart(buf); \ + INITSIG_FilterState_Cfg_FilterState_Type(buf); \ + INITSIG_FilterState_Cfg_FilterState_Min_VrelOncome(buf); \ + INITSIG_FilterState_Cfg_FilterState_Min_VrelDepart(buf); \ + INITSIG_FilterState_Cfg_FilterState_Min_Size(buf); \ + INITSIG_FilterState_Cfg_FilterState_Min_RCS(buf); \ + INITSIG_FilterState_Cfg_FilterState_Min_ProbExists(buf); \ + INITSIG_FilterState_Cfg_FilterState_Min_NofObj(buf); \ + INITSIG_FilterState_Cfg_FilterState_Min_Lifetime(buf); \ + INITSIG_FilterState_Cfg_FilterState_Min_Distance(buf); \ + INITSIG_FilterState_Cfg_FilterState_Min_Azimuth(buf); \ + INITSIG_FilterState_Cfg_FilterState_Max_VrelOncome(buf); \ + INITSIG_FilterState_Cfg_FilterState_Max_VrelDepart(buf); \ + INITSIG_FilterState_Cfg_FilterState_Max_Size(buf); \ + INITSIG_FilterState_Cfg_FilterState_Max_RCS(buf); \ + INITSIG_FilterState_Cfg_FilterState_Max_ProbExists(buf); \ + INITSIG_FilterState_Cfg_FilterState_Max_NofObj(buf); \ + INITSIG_FilterState_Cfg_FilterState_Max_Lifetime(buf); \ + INITSIG_FilterState_Cfg_FilterState_Max_Distance(buf); \ + INITSIG_FilterState_Cfg_FilterState_Max_Azimuth(buf); \ + INITSIG_FilterState_Cfg_FilterState_Index(buf); \ + INITSIG_FilterState_Cfg_FilterState_Active(buf); \ + } /** * @} @@ -731,32 +735,32 @@ /** * Message FilterState_Header configuration tuple. */ -#define MSG_FilterState_Header 0x203, 0, 2 +#define MSG_FilterState_Header 0x203, 0, 2 /** * Message FilterState_Header id. */ -#define ID_FilterState_Header 0x203 +#define ID_FilterState_Header 0x203 /** * Message FilterState_Header extended id bit. */ -#define EXT_FilterState_Header 0 +#define EXT_FilterState_Header 0 /** * Message FilterState_Header Data Length Count. */ -#define DLC_FilterState_Header 2 +#define DLC_FilterState_Header 2 /** * Message FilterState_Header cycle time. */ -#define CYCLE_FilterState_Header 0 +#define CYCLE_FilterState_Header 0 /** * Message FilterState_Header fast cycle time. */ -#define FAST_FilterState_Header 0 +#define FAST_FilterState_Header 0 /** * Initialise message FilterState_Header buffer. @@ -764,10 +768,11 @@ * @param buf * The can message buffer to initialise */ -#define INIT_FilterState_Header(buf) { \ - INITSIG_FilterState_Header_FilterState_NofObjectFilterCfg(buf); \ - INITSIG_FilterState_Header_FilterState_NofClusterFilterCfg(buf); \ -} +#define INIT_FilterState_Header(buf) \ + { \ + INITSIG_FilterState_Header_FilterState_NofObjectFilterCfg(buf); \ + INITSIG_FilterState_Header_FilterState_NofClusterFilterCfg(buf); \ + } /** * @} @@ -827,32 +832,32 @@ /** * Message FilterCfg configuration tuple. */ -#define MSG_FilterCfg 0x202, 0, 5 +#define MSG_FilterCfg 0x202, 0, 5 /** * Message FilterCfg id. */ -#define ID_FilterCfg 0x202 +#define ID_FilterCfg 0x202 /** * Message FilterCfg extended id bit. */ -#define EXT_FilterCfg 0 +#define EXT_FilterCfg 0 /** * Message FilterCfg Data Length Count. */ -#define DLC_FilterCfg 5 +#define DLC_FilterCfg 5 /** * Message FilterCfg cycle time. */ -#define CYCLE_FilterCfg 0 +#define CYCLE_FilterCfg 0 /** * Message FilterCfg fast cycle time. */ -#define FAST_FilterCfg 0 +#define FAST_FilterCfg 0 /** * Initialise message FilterCfg buffer. @@ -860,44 +865,45 @@ * @param buf * The can message buffer to initialise */ -#define INIT_FilterCfg(buf) { \ - INITSIG_FilterCfg_FilterCfg_Min_Class(buf); \ - INITSIG_FilterCfg_FilterCfg_Max_Class(buf); \ - INITSIG_FilterCfg_FilterCfg_Min_Y(buf); \ - INITSIG_FilterCfg_FilterCfg_Min_X(buf); \ - INITSIG_FilterCfg_FilterCfg_Min_VYRightLeft(buf); \ - INITSIG_FilterCfg_FilterCfg_Min_VYLeftRight(buf); \ - INITSIG_FilterCfg_FilterCfg_Min_VXOncome(buf); \ - INITSIG_FilterCfg_FilterCfg_Min_VXDepart(buf); \ - INITSIG_FilterCfg_FilterCfg_Max_Y(buf); \ - INITSIG_FilterCfg_FilterCfg_Max_X(buf); \ - INITSIG_FilterCfg_FilterCfg_Max_VYRightLeft(buf); \ - INITSIG_FilterCfg_FilterCfg_Max_VXOncome(buf); \ - INITSIG_FilterCfg_FilterCfg_Max_VYLeftRight(buf); \ - INITSIG_FilterCfg_FilterCfg_Max_VXDepart(buf); \ - INITSIG_FilterCfg_FilterCfg_Valid(buf); \ - INITSIG_FilterCfg_FilterCfg_Active(buf); \ - INITSIG_FilterCfg_FilterCfg_Max_VrelOncome(buf); \ - INITSIG_FilterCfg_FilterCfg_Max_VrelDepart(buf); \ - INITSIG_FilterCfg_FilterCfg_Max_Size(buf); \ - INITSIG_FilterCfg_FilterCfg_Max_RCS(buf); \ - INITSIG_FilterCfg_FilterCfg_Max_ProbExists(buf); \ - INITSIG_FilterCfg_FilterCfg_Max_NofObj(buf); \ - INITSIG_FilterCfg_FilterCfg_Max_Lifetime(buf); \ - INITSIG_FilterCfg_FilterCfg_Max_Distance(buf); \ - INITSIG_FilterCfg_FilterCfg_Max_Azimuth(buf); \ - INITSIG_FilterCfg_FilterCfg_Min_VrelOncome(buf); \ - INITSIG_FilterCfg_FilterCfg_Min_VrelDepart(buf); \ - INITSIG_FilterCfg_FilterCfg_Min_Size(buf); \ - INITSIG_FilterCfg_FilterCfg_Min_RCS(buf); \ - INITSIG_FilterCfg_FilterCfg_Min_ProbExists(buf); \ - INITSIG_FilterCfg_FilterCfg_Min_Lifetime(buf); \ - INITSIG_FilterCfg_FilterCfg_Min_Azimuth(buf); \ - INITSIG_FilterCfg_FilterCfg_Min_NofObj(buf); \ - INITSIG_FilterCfg_FilterCfg_Min_Distance(buf); \ - INITSIG_FilterCfg_FilterCfg_Index(buf); \ - INITSIG_FilterCfg_FilterCfg_Type(buf); \ -} +#define INIT_FilterCfg(buf) \ + { \ + INITSIG_FilterCfg_FilterCfg_Min_Class(buf); \ + INITSIG_FilterCfg_FilterCfg_Max_Class(buf); \ + INITSIG_FilterCfg_FilterCfg_Min_Y(buf); \ + INITSIG_FilterCfg_FilterCfg_Min_X(buf); \ + INITSIG_FilterCfg_FilterCfg_Min_VYRightLeft(buf); \ + INITSIG_FilterCfg_FilterCfg_Min_VYLeftRight(buf); \ + INITSIG_FilterCfg_FilterCfg_Min_VXOncome(buf); \ + INITSIG_FilterCfg_FilterCfg_Min_VXDepart(buf); \ + INITSIG_FilterCfg_FilterCfg_Max_Y(buf); \ + INITSIG_FilterCfg_FilterCfg_Max_X(buf); \ + INITSIG_FilterCfg_FilterCfg_Max_VYRightLeft(buf); \ + INITSIG_FilterCfg_FilterCfg_Max_VXOncome(buf); \ + INITSIG_FilterCfg_FilterCfg_Max_VYLeftRight(buf); \ + INITSIG_FilterCfg_FilterCfg_Max_VXDepart(buf); \ + INITSIG_FilterCfg_FilterCfg_Valid(buf); \ + INITSIG_FilterCfg_FilterCfg_Active(buf); \ + INITSIG_FilterCfg_FilterCfg_Max_VrelOncome(buf); \ + INITSIG_FilterCfg_FilterCfg_Max_VrelDepart(buf); \ + INITSIG_FilterCfg_FilterCfg_Max_Size(buf); \ + INITSIG_FilterCfg_FilterCfg_Max_RCS(buf); \ + INITSIG_FilterCfg_FilterCfg_Max_ProbExists(buf); \ + INITSIG_FilterCfg_FilterCfg_Max_NofObj(buf); \ + INITSIG_FilterCfg_FilterCfg_Max_Lifetime(buf); \ + INITSIG_FilterCfg_FilterCfg_Max_Distance(buf); \ + INITSIG_FilterCfg_FilterCfg_Max_Azimuth(buf); \ + INITSIG_FilterCfg_FilterCfg_Min_VrelOncome(buf); \ + INITSIG_FilterCfg_FilterCfg_Min_VrelDepart(buf); \ + INITSIG_FilterCfg_FilterCfg_Min_Size(buf); \ + INITSIG_FilterCfg_FilterCfg_Min_RCS(buf); \ + INITSIG_FilterCfg_FilterCfg_Min_ProbExists(buf); \ + INITSIG_FilterCfg_FilterCfg_Min_Lifetime(buf); \ + INITSIG_FilterCfg_FilterCfg_Min_Azimuth(buf); \ + INITSIG_FilterCfg_FilterCfg_Min_NofObj(buf); \ + INITSIG_FilterCfg_FilterCfg_Min_Distance(buf); \ + INITSIG_FilterCfg_FilterCfg_Index(buf); \ + INITSIG_FilterCfg_FilterCfg_Type(buf); \ + } /** * @} @@ -941,32 +947,32 @@ /** * Message RadarConfiguration configuration tuple. */ -#define MSG_RadarConfiguration 0x200, 0, 8 +#define MSG_RadarConfiguration 0x200, 0, 8 /** * Message RadarConfiguration id. */ -#define ID_RadarConfiguration 0x200 +#define ID_RadarConfiguration 0x200 /** * Message RadarConfiguration extended id bit. */ -#define EXT_RadarConfiguration 0 +#define EXT_RadarConfiguration 0 /** * Message RadarConfiguration Data Length Count. */ -#define DLC_RadarConfiguration 8 +#define DLC_RadarConfiguration 8 /** * Message RadarConfiguration cycle time. */ -#define CYCLE_RadarConfiguration 0 +#define CYCLE_RadarConfiguration 0 /** * Message RadarConfiguration fast cycle time. */ -#define FAST_RadarConfiguration 0 +#define FAST_RadarConfiguration 0 /** * Initialise message RadarConfiguration buffer. @@ -974,28 +980,29 @@ * @param buf * The can message buffer to initialise */ -#define INIT_RadarConfiguration(buf) { \ - INITSIG_RadarConfiguration_RadarCfg_RCS_Threshold_Valid(buf); \ - INITSIG_RadarConfiguration_RadarCfg_RCS_Threshold(buf); \ - INITSIG_RadarConfiguration_RadarCfg_StoreInNVM_valid(buf); \ - INITSIG_RadarConfiguration_RadarCfg_SortIndex_valid(buf); \ - INITSIG_RadarConfiguration_RadarCfg_SortIndex(buf); \ - INITSIG_RadarConfiguration_RadarCfg_StoreInNVM(buf); \ - INITSIG_RadarConfiguration_RadarCfg_SendExtInfo_valid(buf); \ - INITSIG_RadarConfiguration_RadarCfg_SendExtInfo(buf); \ - INITSIG_RadarConfiguration_RadarCfg_CtrlRelay_valid(buf); \ - INITSIG_RadarConfiguration_RadarCfg_CtrlRelay(buf); \ - INITSIG_RadarConfiguration_RadarCfg_SendQuality_valid(buf); \ - INITSIG_RadarConfiguration_RadarCfg_SendQuality(buf); \ - INITSIG_RadarConfiguration_RadarCfg_MaxDistance_valid(buf); \ - INITSIG_RadarConfiguration_RadarCfg_RadarPower_valid(buf); \ - INITSIG_RadarConfiguration_RadarCfg_OutputType_valid(buf); \ - INITSIG_RadarConfiguration_RadarCfg_SensorID_valid(buf); \ - INITSIG_RadarConfiguration_RadarCfg_MaxDistance(buf); \ - INITSIG_RadarConfiguration_RadarCfg_RadarPower(buf); \ - INITSIG_RadarConfiguration_RadarCfg_OutputType(buf); \ - INITSIG_RadarConfiguration_RadarCfg_SensorID(buf); \ -} +#define INIT_RadarConfiguration(buf) \ + { \ + INITSIG_RadarConfiguration_RadarCfg_RCS_Threshold_Valid(buf); \ + INITSIG_RadarConfiguration_RadarCfg_RCS_Threshold(buf); \ + INITSIG_RadarConfiguration_RadarCfg_StoreInNVM_valid(buf); \ + INITSIG_RadarConfiguration_RadarCfg_SortIndex_valid(buf); \ + INITSIG_RadarConfiguration_RadarCfg_SortIndex(buf); \ + INITSIG_RadarConfiguration_RadarCfg_StoreInNVM(buf); \ + INITSIG_RadarConfiguration_RadarCfg_SendExtInfo_valid(buf); \ + INITSIG_RadarConfiguration_RadarCfg_SendExtInfo(buf); \ + INITSIG_RadarConfiguration_RadarCfg_CtrlRelay_valid(buf); \ + INITSIG_RadarConfiguration_RadarCfg_CtrlRelay(buf); \ + INITSIG_RadarConfiguration_RadarCfg_SendQuality_valid(buf); \ + INITSIG_RadarConfiguration_RadarCfg_SendQuality(buf); \ + INITSIG_RadarConfiguration_RadarCfg_MaxDistance_valid(buf); \ + INITSIG_RadarConfiguration_RadarCfg_RadarPower_valid(buf); \ + INITSIG_RadarConfiguration_RadarCfg_OutputType_valid(buf); \ + INITSIG_RadarConfiguration_RadarCfg_SensorID_valid(buf); \ + INITSIG_RadarConfiguration_RadarCfg_MaxDistance(buf); \ + INITSIG_RadarConfiguration_RadarCfg_RadarPower(buf); \ + INITSIG_RadarConfiguration_RadarCfg_OutputType(buf); \ + INITSIG_RadarConfiguration_RadarCfg_SensorID(buf); \ + } /** * @} @@ -1036,32 +1043,32 @@ /** * Message RadarState configuration tuple. */ -#define MSG_RadarState 0x201, 0, 8 +#define MSG_RadarState 0x201, 0, 8 /** * Message RadarState id. */ -#define ID_RadarState 0x201 +#define ID_RadarState 0x201 /** * Message RadarState extended id bit. */ -#define EXT_RadarState 0 +#define EXT_RadarState 0 /** * Message RadarState Data Length Count. */ -#define DLC_RadarState 8 +#define DLC_RadarState 8 /** * Message RadarState cycle time. */ -#define CYCLE_RadarState 50 +#define CYCLE_RadarState 50 /** * Message RadarState fast cycle time. */ -#define FAST_RadarState 0 +#define FAST_RadarState 0 /** * Initialise message RadarState buffer. @@ -1069,25 +1076,26 @@ * @param buf * The can message buffer to initialise */ -#define INIT_RadarState(buf) { \ - INITSIG_RadarState_RadarState_Voltage_Error(buf); \ - INITSIG_RadarState_RadarState_Temporary_Error(buf); \ - INITSIG_RadarState_RadarState_Temperature_Error(buf); \ - INITSIG_RadarState_RadarState_Interference(buf); \ - INITSIG_RadarState_RadarState_Persistent_Error(buf); \ - INITSIG_RadarState_RadarState_SortIndex(buf); \ - INITSIG_RadarState_RadarState_RCS_Threshold(buf); \ - INITSIG_RadarState_RadarState_CtrlRelayCfg(buf); \ - INITSIG_RadarState_RadarState_SendQualityCfg(buf); \ - INITSIG_RadarState_RadarState_SendExtInfoCfg(buf); \ - INITSIG_RadarState_RadarState_MotionRxState(buf); \ - INITSIG_RadarState_RadarState_SensorID(buf); \ - INITSIG_RadarState_RadarState_OutputTypeCfg(buf); \ - INITSIG_RadarState_RadarState_RadarPowerCfg(buf); \ - INITSIG_RadarState_RadarState_NVMReadStatus(buf); \ - INITSIG_RadarState_RadarState_NVMwriteStatus(buf); \ - INITSIG_RadarState_RadarState_MaxDistanceCfg(buf); \ -} +#define INIT_RadarState(buf) \ + { \ + INITSIG_RadarState_RadarState_Voltage_Error(buf); \ + INITSIG_RadarState_RadarState_Temporary_Error(buf); \ + INITSIG_RadarState_RadarState_Temperature_Error(buf); \ + INITSIG_RadarState_RadarState_Interference(buf); \ + INITSIG_RadarState_RadarState_Persistent_Error(buf); \ + INITSIG_RadarState_RadarState_SortIndex(buf); \ + INITSIG_RadarState_RadarState_RCS_Threshold(buf); \ + INITSIG_RadarState_RadarState_CtrlRelayCfg(buf); \ + INITSIG_RadarState_RadarState_SendQualityCfg(buf); \ + INITSIG_RadarState_RadarState_SendExtInfoCfg(buf); \ + INITSIG_RadarState_RadarState_MotionRxState(buf); \ + INITSIG_RadarState_RadarState_SensorID(buf); \ + INITSIG_RadarState_RadarState_OutputTypeCfg(buf); \ + INITSIG_RadarState_RadarState_RadarPowerCfg(buf); \ + INITSIG_RadarState_RadarState_NVMReadStatus(buf); \ + INITSIG_RadarState_RadarState_NVMwriteStatus(buf); \ + INITSIG_RadarState_RadarState_MaxDistanceCfg(buf); \ + } /** * @} @@ -1113,32 +1121,32 @@ /** * Message SpeedInformation configuration tuple. */ -#define MSG_SpeedInformation 0x300, 0, 2 +#define MSG_SpeedInformation 0x300, 0, 2 /** * Message SpeedInformation id. */ -#define ID_SpeedInformation 0x300 +#define ID_SpeedInformation 0x300 /** * Message SpeedInformation extended id bit. */ -#define EXT_SpeedInformation 0 +#define EXT_SpeedInformation 0 /** * Message SpeedInformation Data Length Count. */ -#define DLC_SpeedInformation 2 +#define DLC_SpeedInformation 2 /** * Message SpeedInformation cycle time. */ -#define CYCLE_SpeedInformation 0 +#define CYCLE_SpeedInformation 0 /** * Message SpeedInformation fast cycle time. */ -#define FAST_SpeedInformation 0 +#define FAST_SpeedInformation 0 /** * Initialise message SpeedInformation buffer. @@ -1146,10 +1154,11 @@ * @param buf * The can message buffer to initialise */ -#define INIT_SpeedInformation(buf) { \ - INITSIG_SpeedInformation_RadarDevice_Speed(buf); \ - INITSIG_SpeedInformation_RadarDevice_SpeedDirection(buf); \ -} +#define INIT_SpeedInformation(buf) \ + { \ + INITSIG_SpeedInformation_RadarDevice_Speed(buf); \ + INITSIG_SpeedInformation_RadarDevice_SpeedDirection(buf); \ + } /** * @} @@ -1174,32 +1183,32 @@ /** * Message YawRateInformation configuration tuple. */ -#define MSG_YawRateInformation 0x301, 0, 2 +#define MSG_YawRateInformation 0x301, 0, 2 /** * Message YawRateInformation id. */ -#define ID_YawRateInformation 0x301 +#define ID_YawRateInformation 0x301 /** * Message YawRateInformation extended id bit. */ -#define EXT_YawRateInformation 0 +#define EXT_YawRateInformation 0 /** * Message YawRateInformation Data Length Count. */ -#define DLC_YawRateInformation 2 +#define DLC_YawRateInformation 2 /** * Message YawRateInformation cycle time. */ -#define CYCLE_YawRateInformation 0 +#define CYCLE_YawRateInformation 0 /** * Message YawRateInformation fast cycle time. */ -#define FAST_YawRateInformation 0 +#define FAST_YawRateInformation 0 /** * Initialise message YawRateInformation buffer. @@ -1207,9 +1216,8 @@ * @param buf * The can message buffer to initialise */ -#define INIT_YawRateInformation(buf) { \ - INITSIG_YawRateInformation_RadarDevice_YawRate(buf); \ -} +#define INIT_YawRateInformation(buf) \ + { INITSIG_YawRateInformation_RadarDevice_YawRate(buf); } /** * @} @@ -1238,32 +1246,32 @@ /** * Message CollDetCfg configuration tuple. */ -#define MSG_CollDetCfg 0x400, 0, 2 +#define MSG_CollDetCfg 0x400, 0, 2 /** * Message CollDetCfg id. */ -#define ID_CollDetCfg 0x400 +#define ID_CollDetCfg 0x400 /** * Message CollDetCfg extended id bit. */ -#define EXT_CollDetCfg 0 +#define EXT_CollDetCfg 0 /** * Message CollDetCfg Data Length Count. */ -#define DLC_CollDetCfg 2 +#define DLC_CollDetCfg 2 /** * Message CollDetCfg cycle time. */ -#define CYCLE_CollDetCfg 0 +#define CYCLE_CollDetCfg 0 /** * Message CollDetCfg fast cycle time. */ -#define FAST_CollDetCfg 0 +#define FAST_CollDetCfg 0 /** * Initialise message CollDetCfg buffer. @@ -1271,13 +1279,14 @@ * @param buf * The can message buffer to initialise */ -#define INIT_CollDetCfg(buf) { \ - INITSIG_CollDetCfg_CollDetCfg_ClearRegions(buf); \ - INITSIG_CollDetCfg_CollDetCfg_WarningReset(buf); \ - INITSIG_CollDetCfg_CollDetCfg_Activate(buf); \ - INITSIG_CollDetCfg_CollDetCfg_MinTime_valid(buf); \ - INITSIG_CollDetCfg_CollDetCfg_MinDetectTime(buf); \ -} +#define INIT_CollDetCfg(buf) \ + { \ + INITSIG_CollDetCfg_CollDetCfg_ClearRegions(buf); \ + INITSIG_CollDetCfg_CollDetCfg_WarningReset(buf); \ + INITSIG_CollDetCfg_CollDetCfg_Activate(buf); \ + INITSIG_CollDetCfg_CollDetCfg_MinTime_valid(buf); \ + INITSIG_CollDetCfg_CollDetCfg_MinDetectTime(buf); \ + } /** * @} @@ -1308,32 +1317,32 @@ /** * Message CollDetRegionCfg configuration tuple. */ -#define MSG_CollDetRegionCfg 0x401, 0, 8 +#define MSG_CollDetRegionCfg 0x401, 0, 8 /** * Message CollDetRegionCfg id. */ -#define ID_CollDetRegionCfg 0x401 +#define ID_CollDetRegionCfg 0x401 /** * Message CollDetRegionCfg extended id bit. */ -#define EXT_CollDetRegionCfg 0 +#define EXT_CollDetRegionCfg 0 /** * Message CollDetRegionCfg Data Length Count. */ -#define DLC_CollDetRegionCfg 8 +#define DLC_CollDetRegionCfg 8 /** * Message CollDetRegionCfg cycle time. */ -#define CYCLE_CollDetRegionCfg 0 +#define CYCLE_CollDetRegionCfg 0 /** * Message CollDetRegionCfg fast cycle time. */ -#define FAST_CollDetRegionCfg 0 +#define FAST_CollDetRegionCfg 0 /** * Initialise message CollDetRegionCfg buffer. @@ -1341,15 +1350,16 @@ * @param buf * The can message buffer to initialise */ -#define INIT_CollDetRegionCfg(buf) { \ - INITSIG_CollDetRegionCfg_CollDetRegCfg_Activate(buf); \ - INITSIG_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid(buf); \ - INITSIG_CollDetRegionCfg_CollDetRegCfg_RegionID(buf); \ - INITSIG_CollDetRegionCfg_CollDetRegCfg_Point1X(buf); \ - INITSIG_CollDetRegionCfg_CollDetRegCfg_Point1Y(buf); \ - INITSIG_CollDetRegionCfg_CollDetRegCfg_Point2X(buf); \ - INITSIG_CollDetRegionCfg_CollDetRegCfg_Point2Y(buf); \ -} +#define INIT_CollDetRegionCfg(buf) \ + { \ + INITSIG_CollDetRegionCfg_CollDetRegCfg_Activate(buf); \ + INITSIG_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid(buf); \ + INITSIG_CollDetRegionCfg_CollDetRegCfg_RegionID(buf); \ + INITSIG_CollDetRegionCfg_CollDetRegCfg_Point1X(buf); \ + INITSIG_CollDetRegionCfg_CollDetRegCfg_Point1Y(buf); \ + INITSIG_CollDetRegionCfg_CollDetRegCfg_Point2X(buf); \ + INITSIG_CollDetRegionCfg_CollDetRegCfg_Point2Y(buf); \ + } /** * @} @@ -1377,32 +1387,32 @@ /** * Message CollDetState configuration tuple. */ -#define MSG_CollDetState 0x408, 0, 4 +#define MSG_CollDetState 0x408, 0, 4 /** * Message CollDetState id. */ -#define ID_CollDetState 0x408 +#define ID_CollDetState 0x408 /** * Message CollDetState extended id bit. */ -#define EXT_CollDetState 0 +#define EXT_CollDetState 0 /** * Message CollDetState Data Length Count. */ -#define DLC_CollDetState 4 +#define DLC_CollDetState 4 /** * Message CollDetState cycle time. */ -#define CYCLE_CollDetState 0 +#define CYCLE_CollDetState 0 /** * Message CollDetState fast cycle time. */ -#define FAST_CollDetState 0 +#define FAST_CollDetState 0 /** * Initialise message CollDetState buffer. @@ -1410,12 +1420,13 @@ * @param buf * The can message buffer to initialise */ -#define INIT_CollDetState(buf) { \ - INITSIG_CollDetState_CollDetState_MeasCounter(buf); \ - INITSIG_CollDetState_CollDetState_Active(buf); \ - INITSIG_CollDetState_CollDetState_NofRegions(buf); \ - INITSIG_CollDetState_CollDetState_MinDetectTime(buf); \ -} +#define INIT_CollDetState(buf) \ + { \ + INITSIG_CollDetState_CollDetState_MeasCounter(buf); \ + INITSIG_CollDetState_CollDetState_Active(buf); \ + INITSIG_CollDetState_CollDetState_NofRegions(buf); \ + INITSIG_CollDetState_CollDetState_MinDetectTime(buf); \ + } /** * @} @@ -1443,32 +1454,32 @@ /** * Message Cluster_0_Status configuration tuple. */ -#define MSG_Cluster_0_Status 0x600, 0, 5 +#define MSG_Cluster_0_Status 0x600, 0, 5 /** * Message Cluster_0_Status id. */ -#define ID_Cluster_0_Status 0x600 +#define ID_Cluster_0_Status 0x600 /** * Message Cluster_0_Status extended id bit. */ -#define EXT_Cluster_0_Status 0 +#define EXT_Cluster_0_Status 0 /** * Message Cluster_0_Status Data Length Count. */ -#define DLC_Cluster_0_Status 5 +#define DLC_Cluster_0_Status 5 /** * Message Cluster_0_Status cycle time. */ -#define CYCLE_Cluster_0_Status 0 +#define CYCLE_Cluster_0_Status 0 /** * Message Cluster_0_Status fast cycle time. */ -#define FAST_Cluster_0_Status 0 +#define FAST_Cluster_0_Status 0 /** * Initialise message Cluster_0_Status buffer. @@ -1476,12 +1487,13 @@ * @param buf * The can message buffer to initialise */ -#define INIT_Cluster_0_Status(buf) { \ - INITSIG_Cluster_0_Status_Cluster_MeasCounter(buf); \ - INITSIG_Cluster_0_Status_Cluster_NofClustersNear(buf); \ - INITSIG_Cluster_0_Status_Cluster_NofClustersFar(buf); \ - INITSIG_Cluster_0_Status_Cluster_InterfaceVersion(buf); \ -} +#define INIT_Cluster_0_Status(buf) \ + { \ + INITSIG_Cluster_0_Status_Cluster_MeasCounter(buf); \ + INITSIG_Cluster_0_Status_Cluster_NofClustersNear(buf); \ + INITSIG_Cluster_0_Status_Cluster_NofClustersFar(buf); \ + INITSIG_Cluster_0_Status_Cluster_InterfaceVersion(buf); \ + } /** * @} @@ -1508,32 +1520,32 @@ /** * Message Obj_0_Status configuration tuple. */ -#define MSG_Obj_0_Status 0x60a, 0, 4 +#define MSG_Obj_0_Status 0x60a, 0, 4 /** * Message Obj_0_Status id. */ -#define ID_Obj_0_Status 0x60a +#define ID_Obj_0_Status 0x60a /** * Message Obj_0_Status extended id bit. */ -#define EXT_Obj_0_Status 0 +#define EXT_Obj_0_Status 0 /** * Message Obj_0_Status Data Length Count. */ -#define DLC_Obj_0_Status 4 +#define DLC_Obj_0_Status 4 /** * Message Obj_0_Status cycle time. */ -#define CYCLE_Obj_0_Status 0 +#define CYCLE_Obj_0_Status 0 /** * Message Obj_0_Status fast cycle time. */ -#define FAST_Obj_0_Status 0 +#define FAST_Obj_0_Status 0 /** * Initialise message Obj_0_Status buffer. @@ -1541,11 +1553,12 @@ * @param buf * The can message buffer to initialise */ -#define INIT_Obj_0_Status(buf) { \ - INITSIG_Obj_0_Status_Obj_NofObjects(buf); \ - INITSIG_Obj_0_Status_Obj_MeasCounter(buf); \ - INITSIG_Obj_0_Status_Obj_InterfaceVersion(buf); \ -} +#define INIT_Obj_0_Status(buf) \ + { \ + INITSIG_Obj_0_Status_Obj_NofObjects(buf); \ + INITSIG_Obj_0_Status_Obj_MeasCounter(buf); \ + INITSIG_Obj_0_Status_Obj_InterfaceVersion(buf); \ + } /** * @} @@ -1576,32 +1589,32 @@ /** * Message Obj_1_General configuration tuple. */ -#define MSG_Obj_1_General 0x60b, 0, 8 +#define MSG_Obj_1_General 0x60b, 0, 8 /** * Message Obj_1_General id. */ -#define ID_Obj_1_General 0x60b +#define ID_Obj_1_General 0x60b /** * Message Obj_1_General extended id bit. */ -#define EXT_Obj_1_General 0 +#define EXT_Obj_1_General 0 /** * Message Obj_1_General Data Length Count. */ -#define DLC_Obj_1_General 8 +#define DLC_Obj_1_General 8 /** * Message Obj_1_General cycle time. */ -#define CYCLE_Obj_1_General 0 +#define CYCLE_Obj_1_General 0 /** * Message Obj_1_General fast cycle time. */ -#define FAST_Obj_1_General 0 +#define FAST_Obj_1_General 0 /** * Initialise message Obj_1_General buffer. @@ -1609,15 +1622,16 @@ * @param buf * The can message buffer to initialise */ -#define INIT_Obj_1_General(buf) { \ - INITSIG_Obj_1_General_Obj_DynProp(buf); \ - INITSIG_Obj_1_General_Obj_RCS(buf); \ - INITSIG_Obj_1_General_Obj_VrelLat(buf); \ - INITSIG_Obj_1_General_Obj_ID(buf); \ - INITSIG_Obj_1_General_Obj_DistLong(buf); \ - INITSIG_Obj_1_General_Obj_VrelLong(buf); \ - INITSIG_Obj_1_General_Obj_DistLat(buf); \ -} +#define INIT_Obj_1_General(buf) \ + { \ + INITSIG_Obj_1_General_Obj_DynProp(buf); \ + INITSIG_Obj_1_General_Obj_RCS(buf); \ + INITSIG_Obj_1_General_Obj_VrelLat(buf); \ + INITSIG_Obj_1_General_Obj_ID(buf); \ + INITSIG_Obj_1_General_Obj_DistLong(buf); \ + INITSIG_Obj_1_General_Obj_VrelLong(buf); \ + INITSIG_Obj_1_General_Obj_DistLat(buf); \ + } /** * @} @@ -1646,32 +1660,32 @@ /** * Message VersionID configuration tuple. */ -#define MSG_VersionID 0x700, 0, 4 +#define MSG_VersionID 0x700, 0, 4 /** * Message VersionID id. */ -#define ID_VersionID 0x700 +#define ID_VersionID 0x700 /** * Message VersionID extended id bit. */ -#define EXT_VersionID 0 +#define EXT_VersionID 0 /** * Message VersionID Data Length Count. */ -#define DLC_VersionID 4 +#define DLC_VersionID 4 /** * Message VersionID cycle time. */ -#define CYCLE_VersionID 0 +#define CYCLE_VersionID 0 /** * Message VersionID fast cycle time. */ -#define FAST_VersionID 0 +#define FAST_VersionID 0 /** * Initialise message VersionID buffer. @@ -1679,13 +1693,14 @@ * @param buf * The can message buffer to initialise */ -#define INIT_VersionID(buf) { \ - INITSIG_VersionID_Version_ExtendedRange(buf); \ - INITSIG_VersionID_Version_CountryCode(buf); \ - INITSIG_VersionID_Version_MajorRelease(buf); \ - INITSIG_VersionID_Version_MinorRelease(buf); \ - INITSIG_VersionID_Version_PatchLevel(buf); \ -} +#define INIT_VersionID(buf) \ + { \ + INITSIG_VersionID_Version_ExtendedRange(buf); \ + INITSIG_VersionID_Version_CountryCode(buf); \ + INITSIG_VersionID_Version_MajorRelease(buf); \ + INITSIG_VersionID_Version_MinorRelease(buf); \ + INITSIG_VersionID_Version_PatchLevel(buf); \ + } /** * @} @@ -1716,32 +1731,32 @@ /** * Message Cluster_1_General configuration tuple. */ -#define MSG_Cluster_1_General 0x701, 0, 8 +#define MSG_Cluster_1_General 0x701, 0, 8 /** * Message Cluster_1_General id. */ -#define ID_Cluster_1_General 0x701 +#define ID_Cluster_1_General 0x701 /** * Message Cluster_1_General extended id bit. */ -#define EXT_Cluster_1_General 0 +#define EXT_Cluster_1_General 0 /** * Message Cluster_1_General Data Length Count. */ -#define DLC_Cluster_1_General 8 +#define DLC_Cluster_1_General 8 /** * Message Cluster_1_General cycle time. */ -#define CYCLE_Cluster_1_General 0 +#define CYCLE_Cluster_1_General 0 /** * Message Cluster_1_General fast cycle time. */ -#define FAST_Cluster_1_General 0 +#define FAST_Cluster_1_General 0 /** * Initialise message Cluster_1_General buffer. @@ -1749,15 +1764,16 @@ * @param buf * The can message buffer to initialise */ -#define INIT_Cluster_1_General(buf) { \ - INITSIG_Cluster_1_General_Cluster_DynProp(buf); \ - INITSIG_Cluster_1_General_Cluster_VrelLat(buf); \ - INITSIG_Cluster_1_General_Cluster_RCS(buf); \ - INITSIG_Cluster_1_General_Cluster_DistLong(buf); \ - INITSIG_Cluster_1_General_Cluster_ID(buf); \ - INITSIG_Cluster_1_General_Cluster_VrelLong(buf); \ - INITSIG_Cluster_1_General_Cluster_DistLat(buf); \ -} +#define INIT_Cluster_1_General(buf) \ + { \ + INITSIG_Cluster_1_General_Cluster_DynProp(buf); \ + INITSIG_Cluster_1_General_Cluster_VrelLat(buf); \ + INITSIG_Cluster_1_General_Cluster_RCS(buf); \ + INITSIG_Cluster_1_General_Cluster_DistLong(buf); \ + INITSIG_Cluster_1_General_Cluster_ID(buf); \ + INITSIG_Cluster_1_General_Cluster_VrelLong(buf); \ + INITSIG_Cluster_1_General_Cluster_DistLat(buf); \ + } /** * @} @@ -1789,32 +1805,32 @@ /** * Message Cluster_2_Quality configuration tuple. */ -#define MSG_Cluster_2_Quality 0x702, 0, 5 +#define MSG_Cluster_2_Quality 0x702, 0, 5 /** * Message Cluster_2_Quality id. */ -#define ID_Cluster_2_Quality 0x702 +#define ID_Cluster_2_Quality 0x702 /** * Message Cluster_2_Quality extended id bit. */ -#define EXT_Cluster_2_Quality 0 +#define EXT_Cluster_2_Quality 0 /** * Message Cluster_2_Quality Data Length Count. */ -#define DLC_Cluster_2_Quality 5 +#define DLC_Cluster_2_Quality 5 /** * Message Cluster_2_Quality cycle time. */ -#define CYCLE_Cluster_2_Quality 0 +#define CYCLE_Cluster_2_Quality 0 /** * Message Cluster_2_Quality fast cycle time. */ -#define FAST_Cluster_2_Quality 0 +#define FAST_Cluster_2_Quality 0 /** * Initialise message Cluster_2_Quality buffer. @@ -1822,23 +1838,25 @@ * @param buf * The can message buffer to initialise */ -#define INIT_Cluster_2_Quality(buf) { \ - INITSIG_Cluster_2_Quality_Cluster_ID(buf); \ - INITSIG_Cluster_2_Quality_Cluster_VrelLat_rms(buf); \ - INITSIG_Cluster_2_Quality_Cluster_InvalidState(buf); \ - INITSIG_Cluster_2_Quality_Cluster_DistLat_rms(buf); \ - INITSIG_Cluster_2_Quality_Cluster_DistLong_rms(buf); \ - INITSIG_Cluster_2_Quality_Cluster_VrelLong_rms(buf); \ - INITSIG_Cluster_2_Quality_Cluster_PdH0(buf); \ - INITSIG_Cluster_2_Quality_Cluster_AmbigState(buf); \ -} +#define INIT_Cluster_2_Quality(buf) \ + { \ + INITSIG_Cluster_2_Quality_Cluster_ID(buf); \ + INITSIG_Cluster_2_Quality_Cluster_VrelLat_rms(buf); \ + INITSIG_Cluster_2_Quality_Cluster_InvalidState(buf); \ + INITSIG_Cluster_2_Quality_Cluster_DistLat_rms(buf); \ + INITSIG_Cluster_2_Quality_Cluster_DistLong_rms(buf); \ + INITSIG_Cluster_2_Quality_Cluster_VrelLong_rms(buf); \ + INITSIG_Cluster_2_Quality_Cluster_PdH0(buf); \ + INITSIG_Cluster_2_Quality_Cluster_AmbigState(buf); \ + } /** * @} */ /** - * @defgroup SIG_Obj_2_Quality_Obj_ProbOfExist Signal Obj_ProbOfExist of Message Obj_2_Quality (0x60c) + * @defgroup SIG_Obj_2_Quality_Obj_ProbOfExist Signal Obj_ProbOfExist of Message Obj_2_Quality + * (0x60c) * * Object probability of existence * @@ -1855,9 +1873,10 @@ * Signal Obj_ProbOfExist configuration tuple. * * @deprecated - * Use \ref SET_Obj_2_Quality_Obj_ProbOfExist and \ref GET_Obj_2_Quality_Obj_ProbOfExist instead. + * Use \ref SET_Obj_2_Quality_Obj_ProbOfExist and \ref GET_Obj_2_Quality_Obj_ProbOfExist + *instead. */ -#define SIG_Obj_2_Quality_Obj_ProbOfExist 1, 0, 55, 3 +#define SIG_Obj_2_Quality_Obj_ProbOfExist 1, 0, 55, 3 /** * Signal Obj_ProbOfExist setup tuple. @@ -1865,7 +1884,7 @@ * @deprecated * Use \ref INITSIG_Obj_2_Quality_Obj_ProbOfExist or \ref INIT_Obj_2_Quality instead. */ -#define SETUP_Obj_2_Quality_Obj_ProbOfExist 1, 0, 55, 3, 0 +#define SETUP_Obj_2_Quality_Obj_ProbOfExist 1, 0, 55, 3, 0 /** * Get signal Obj_ProbOfExist from buffer. @@ -1875,9 +1894,7 @@ * @return * The raw signal */ -#define GET_Obj_2_Quality_Obj_ProbOfExist(buf) (0 \ - | (ubyte)(+(ubyte)((buf[6] >> 5) & 0x07) << 0) \ -) +#define GET_Obj_2_Quality_Obj_ProbOfExist(buf) (0 | (ubyte)(+(ubyte)((buf[6] >> 5) & 0x07) << 0)) /** * Set signal Obj_ProbOfExist in buffer. @@ -1887,10 +1904,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_2_Quality_Obj_ProbOfExist(buf, val) { \ - buf[6] &= ~(0x07 << 5); \ - buf[6] |= (((ubyte)(val) >> 0) & 0x07) << 5; \ -} +#define SET_Obj_2_Quality_Obj_ProbOfExist(buf, val) \ + { \ + buf[6] &= ~(0x07 << 5); \ + buf[6] |= (((ubyte)(val) >> 0) & 0x07) << 5; \ + } /** * Set signal Obj_ProbOfExist in buffer to its initial value. @@ -1898,8 +1916,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_2_Quality_Obj_ProbOfExist(buf) \ - SET_Obj_2_Quality_Obj_ProbOfExist(buf, 0) +#define INITSIG_Obj_2_Quality_Obj_ProbOfExist(buf) SET_Obj_2_Quality_Obj_ProbOfExist(buf, 0) /** * Signal Obj_ProbOfExist value conversion with 16 bit factor and offset. @@ -1912,35 +1929,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_2_Quality_Obj_ProbOfExist(x, fmt) \ - ((x) * fmt) +#define CALC_Obj_2_Quality_Obj_ProbOfExist(x, fmt) ((x) * fmt) /** * Signal Obj_ProbOfExist raw initial value. */ -#define START_Obj_2_Quality_Obj_ProbOfExist 0 +#define START_Obj_2_Quality_Obj_ProbOfExist 0 /** * Signal Obj_ProbOfExist raw minimum value. */ -#define MIN_Obj_2_Quality_Obj_ProbOfExist 0 +#define MIN_Obj_2_Quality_Obj_ProbOfExist 0 /** * Signal Obj_ProbOfExist raw maximum value. */ -#define MAX_Obj_2_Quality_Obj_ProbOfExist 7 +#define MAX_Obj_2_Quality_Obj_ProbOfExist 7 /** * Signal Obj_ProbOfExist raw offset value. */ -#define OFF_Obj_2_Quality_Obj_ProbOfExist 0 +#define OFF_Obj_2_Quality_Obj_ProbOfExist 0 /** * @} */ /** - * @defgroup ENUM_Obj_2_Quality_Obj_ProbOfExist Value Table for Signal Obj_ProbOfExist in Message Obj_2_Quality (0x60c) + * @defgroup ENUM_Obj_2_Quality_Obj_ProbOfExist Value Table for Signal Obj_ProbOfExist in Message + * Obj_2_Quality (0x60c) * * Enum values defined for \ref SIG_Obj_2_Quality_Obj_ProbOfExist. * @@ -1954,7 +1971,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ProbOfExist */ -#define Obj_2_Quality_Obj_ProbOfExist___100_ 7 +#define Obj_2_Quality_Obj_ProbOfExist___100_ 7 /** * Value table Obj_2_Quality_Obj_ProbOfExist entry _99_9_. @@ -1963,7 +1980,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ProbOfExist */ -#define Obj_2_Quality_Obj_ProbOfExist__99_9_ 6 +#define Obj_2_Quality_Obj_ProbOfExist__99_9_ 6 /** * Value table Obj_2_Quality_Obj_ProbOfExist entry _99_. @@ -1972,7 +1989,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ProbOfExist */ -#define Obj_2_Quality_Obj_ProbOfExist__99_ 5 +#define Obj_2_Quality_Obj_ProbOfExist__99_ 5 /** * Value table Obj_2_Quality_Obj_ProbOfExist entry _90_. @@ -1981,7 +1998,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ProbOfExist */ -#define Obj_2_Quality_Obj_ProbOfExist__90_ 4 +#define Obj_2_Quality_Obj_ProbOfExist__90_ 4 /** * Value table Obj_2_Quality_Obj_ProbOfExist entry _75_. @@ -1990,7 +2007,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ProbOfExist */ -#define Obj_2_Quality_Obj_ProbOfExist__75_ 3 +#define Obj_2_Quality_Obj_ProbOfExist__75_ 3 /** * Value table Obj_2_Quality_Obj_ProbOfExist entry _50_. @@ -1999,7 +2016,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ProbOfExist */ -#define Obj_2_Quality_Obj_ProbOfExist__50_ 2 +#define Obj_2_Quality_Obj_ProbOfExist__50_ 2 /** * Value table Obj_2_Quality_Obj_ProbOfExist entry _25_. @@ -2008,14 +2025,14 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ProbOfExist */ -#define Obj_2_Quality_Obj_ProbOfExist__25_ 1 +#define Obj_2_Quality_Obj_ProbOfExist__25_ 1 /** * Value table Obj_2_Quality_Obj_ProbOfExist entry invalid. * * @ingroup ENUM_Obj_2_Quality_Obj_ProbOfExist */ -#define Obj_2_Quality_Obj_ProbOfExist_invalid 0 +#define Obj_2_Quality_Obj_ProbOfExist_invalid 0 /** * @defgroup SIG_Obj_2_Quality_Obj_MeasState Signal Obj_MeasState of Message Obj_2_Quality (0x60c) @@ -2037,7 +2054,7 @@ * @deprecated * Use \ref SET_Obj_2_Quality_Obj_MeasState and \ref GET_Obj_2_Quality_Obj_MeasState instead. */ -#define SIG_Obj_2_Quality_Obj_MeasState 1, 0, 52, 3 +#define SIG_Obj_2_Quality_Obj_MeasState 1, 0, 52, 3 /** * Signal Obj_MeasState setup tuple. @@ -2045,7 +2062,7 @@ * @deprecated * Use \ref INITSIG_Obj_2_Quality_Obj_MeasState or \ref INIT_Obj_2_Quality instead. */ -#define SETUP_Obj_2_Quality_Obj_MeasState 1, 0, 52, 3, 0 +#define SETUP_Obj_2_Quality_Obj_MeasState 1, 0, 52, 3, 0 /** * Get signal Obj_MeasState from buffer. @@ -2055,9 +2072,7 @@ * @return * The raw signal */ -#define GET_Obj_2_Quality_Obj_MeasState(buf) (0 \ - | (ubyte)(+(ubyte)((buf[6] >> 2) & 0x07) << 0) \ -) +#define GET_Obj_2_Quality_Obj_MeasState(buf) (0 | (ubyte)(+(ubyte)((buf[6] >> 2) & 0x07) << 0)) /** * Set signal Obj_MeasState in buffer. @@ -2067,10 +2082,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_2_Quality_Obj_MeasState(buf, val) { \ - buf[6] &= ~(0x07 << 2); \ - buf[6] |= (((ubyte)(val) >> 0) & 0x07) << 2; \ -} +#define SET_Obj_2_Quality_Obj_MeasState(buf, val) \ + { \ + buf[6] &= ~(0x07 << 2); \ + buf[6] |= (((ubyte)(val) >> 0) & 0x07) << 2; \ + } /** * Set signal Obj_MeasState in buffer to its initial value. @@ -2078,8 +2094,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_2_Quality_Obj_MeasState(buf) \ - SET_Obj_2_Quality_Obj_MeasState(buf, 0) +#define INITSIG_Obj_2_Quality_Obj_MeasState(buf) SET_Obj_2_Quality_Obj_MeasState(buf, 0) /** * Signal Obj_MeasState value conversion with 16 bit factor and offset. @@ -2092,35 +2107,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_2_Quality_Obj_MeasState(x, fmt) \ - ((x) * fmt) +#define CALC_Obj_2_Quality_Obj_MeasState(x, fmt) ((x) * fmt) /** * Signal Obj_MeasState raw initial value. */ -#define START_Obj_2_Quality_Obj_MeasState 0 +#define START_Obj_2_Quality_Obj_MeasState 0 /** * Signal Obj_MeasState raw minimum value. */ -#define MIN_Obj_2_Quality_Obj_MeasState 0 +#define MIN_Obj_2_Quality_Obj_MeasState 0 /** * Signal Obj_MeasState raw maximum value. */ -#define MAX_Obj_2_Quality_Obj_MeasState 7 +#define MAX_Obj_2_Quality_Obj_MeasState 7 /** * Signal Obj_MeasState raw offset value. */ -#define OFF_Obj_2_Quality_Obj_MeasState 0 +#define OFF_Obj_2_Quality_Obj_MeasState 0 /** * @} */ /** - * @defgroup ENUM_Obj_2_Quality_Obj_MeasState Value Table for Signal Obj_MeasState in Message Obj_2_Quality (0x60c) + * @defgroup ENUM_Obj_2_Quality_Obj_MeasState Value Table for Signal Obj_MeasState in Message + * Obj_2_Quality (0x60c) * * Enum values defined for \ref SIG_Obj_2_Quality_Obj_MeasState. * @@ -2134,7 +2149,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_MeasState */ -#define Obj_2_Quality_Obj_MeasState_New 5 +#define Obj_2_Quality_Obj_MeasState_New 5 /** * Value table Obj_2_Quality_Obj_MeasState entry Deleted. @@ -2143,38 +2158,39 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_MeasState */ -#define Obj_2_Quality_Obj_MeasState_Deleted 4 +#define Obj_2_Quality_Obj_MeasState_Deleted 4 /** * Value table Obj_2_Quality_Obj_MeasState entry Predicted. * * @ingroup ENUM_Obj_2_Quality_Obj_MeasState */ -#define Obj_2_Quality_Obj_MeasState_Predicted 3 +#define Obj_2_Quality_Obj_MeasState_Predicted 3 /** * Value table Obj_2_Quality_Obj_MeasState entry Measured. * * @ingroup ENUM_Obj_2_Quality_Obj_MeasState */ -#define Obj_2_Quality_Obj_MeasState_Measured 2 +#define Obj_2_Quality_Obj_MeasState_Measured 2 /** * Value table Obj_2_Quality_Obj_MeasState entry New_1. * * @ingroup ENUM_Obj_2_Quality_Obj_MeasState */ -#define Obj_2_Quality_Obj_MeasState_New_1 1 +#define Obj_2_Quality_Obj_MeasState_New_1 1 /** * Value table Obj_2_Quality_Obj_MeasState entry Deleted_0. * * @ingroup ENUM_Obj_2_Quality_Obj_MeasState */ -#define Obj_2_Quality_Obj_MeasState_Deleted_0 0 +#define Obj_2_Quality_Obj_MeasState_Deleted_0 0 /** - * @defgroup SIG_Obj_2_Quality_Obj_ArelLong_rms Signal Obj_ArelLong_rms of Message Obj_2_Quality (0x60c) + * @defgroup SIG_Obj_2_Quality_Obj_ArelLong_rms Signal Obj_ArelLong_rms of Message Obj_2_Quality + * (0x60c) * * Object relative longitudinal acceleration standard deviation * @@ -2191,9 +2207,10 @@ * Signal Obj_ArelLong_rms configuration tuple. * * @deprecated - * Use \ref SET_Obj_2_Quality_Obj_ArelLong_rms and \ref GET_Obj_2_Quality_Obj_ArelLong_rms instead. + * Use \ref SET_Obj_2_Quality_Obj_ArelLong_rms and \ref GET_Obj_2_Quality_Obj_ArelLong_rms + *instead. */ -#define SIG_Obj_2_Quality_Obj_ArelLong_rms 1, 0, 27, 5 +#define SIG_Obj_2_Quality_Obj_ArelLong_rms 1, 0, 27, 5 /** * Signal Obj_ArelLong_rms setup tuple. @@ -2201,7 +2218,7 @@ * @deprecated * Use \ref INITSIG_Obj_2_Quality_Obj_ArelLong_rms or \ref INIT_Obj_2_Quality instead. */ -#define SETUP_Obj_2_Quality_Obj_ArelLong_rms 1, 0, 27, 5, 0 +#define SETUP_Obj_2_Quality_Obj_ArelLong_rms 1, 0, 27, 5, 0 /** * Get signal Obj_ArelLong_rms from buffer. @@ -2211,10 +2228,8 @@ * @return * The raw signal */ -#define GET_Obj_2_Quality_Obj_ArelLong_rms(buf) (0 \ - | (ubyte)(+(ubyte)((buf[3] >> 0) & 0x0f) << 1) \ - | (ubyte)(+(ubyte)((buf[4] >> 7) & 0x01) << 0) \ -) +#define GET_Obj_2_Quality_Obj_ArelLong_rms(buf) \ + (0 | (ubyte)(+(ubyte)((buf[3] >> 0) & 0x0f) << 1) | (ubyte)(+(ubyte)((buf[4] >> 7) & 0x01) << 0)) /** * Set signal Obj_ArelLong_rms in buffer. @@ -2224,12 +2239,13 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_2_Quality_Obj_ArelLong_rms(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= (((ubyte)(val) >> 1) & 0x0f) << 0; \ - buf[4] &= ~(0x01 << 7); \ - buf[4] |= (((ubyte)(val) >> 0) & 0x01) << 7; \ -} +#define SET_Obj_2_Quality_Obj_ArelLong_rms(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= (((ubyte)(val) >> 1) & 0x0f) << 0; \ + buf[4] &= ~(0x01 << 7); \ + buf[4] |= (((ubyte)(val) >> 0) & 0x01) << 7; \ + } /** * Set signal Obj_ArelLong_rms in buffer to its initial value. @@ -2237,8 +2253,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_2_Quality_Obj_ArelLong_rms(buf) \ - SET_Obj_2_Quality_Obj_ArelLong_rms(buf, 0) +#define INITSIG_Obj_2_Quality_Obj_ArelLong_rms(buf) SET_Obj_2_Quality_Obj_ArelLong_rms(buf, 0) /** * Signal Obj_ArelLong_rms value conversion with 16 bit factor and offset. @@ -2251,35 +2266,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_2_Quality_Obj_ArelLong_rms(x, fmt) \ - ((x) * fmt) +#define CALC_Obj_2_Quality_Obj_ArelLong_rms(x, fmt) ((x) * fmt) /** * Signal Obj_ArelLong_rms raw initial value. */ -#define START_Obj_2_Quality_Obj_ArelLong_rms 0 +#define START_Obj_2_Quality_Obj_ArelLong_rms 0 /** * Signal Obj_ArelLong_rms raw minimum value. */ -#define MIN_Obj_2_Quality_Obj_ArelLong_rms 0 +#define MIN_Obj_2_Quality_Obj_ArelLong_rms 0 /** * Signal Obj_ArelLong_rms raw maximum value. */ -#define MAX_Obj_2_Quality_Obj_ArelLong_rms 31 +#define MAX_Obj_2_Quality_Obj_ArelLong_rms 31 /** * Signal Obj_ArelLong_rms raw offset value. */ -#define OFF_Obj_2_Quality_Obj_ArelLong_rms 0 +#define OFF_Obj_2_Quality_Obj_ArelLong_rms 0 /** * @} */ /** - * @defgroup ENUM_Obj_2_Quality_Obj_ArelLong_rms Value Table for Signal Obj_ArelLong_rms in Message Obj_2_Quality (0x60c) + * @defgroup ENUM_Obj_2_Quality_Obj_ArelLong_rms Value Table for Signal Obj_ArelLong_rms in Message + * Obj_2_Quality (0x60c) * * Enum values defined for \ref SIG_Obj_2_Quality_Obj_ArelLong_rms. * @@ -2291,7 +2306,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms_Invalid 31 +#define Obj_2_Quality_Obj_ArelLong_rms_Invalid 31 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _10_000. @@ -2300,7 +2315,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__10_000 30 +#define Obj_2_Quality_Obj_ArelLong_rms__10_000 30 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _7_762. @@ -2309,7 +2324,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__7_762 29 +#define Obj_2_Quality_Obj_ArelLong_rms__7_762 29 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _6_025. @@ -2318,7 +2333,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__6_025 28 +#define Obj_2_Quality_Obj_ArelLong_rms__6_025 28 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _4_676. @@ -2327,7 +2342,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__4_676 27 +#define Obj_2_Quality_Obj_ArelLong_rms__4_676 27 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _3_630. @@ -2336,7 +2351,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__3_630 26 +#define Obj_2_Quality_Obj_ArelLong_rms__3_630 26 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _2_817. @@ -2345,7 +2360,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__2_817 25 +#define Obj_2_Quality_Obj_ArelLong_rms__2_817 25 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _2_187. @@ -2354,7 +2369,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__2_187 24 +#define Obj_2_Quality_Obj_ArelLong_rms__2_187 24 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _1_697. @@ -2363,7 +2378,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__1_697 23 +#define Obj_2_Quality_Obj_ArelLong_rms__1_697 23 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _1_317. @@ -2372,7 +2387,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__1_317 22 +#define Obj_2_Quality_Obj_ArelLong_rms__1_317 22 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _1_023. @@ -2381,7 +2396,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__1_023 21 +#define Obj_2_Quality_Obj_ArelLong_rms__1_023 21 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_794. @@ -2390,7 +2405,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_794 20 +#define Obj_2_Quality_Obj_ArelLong_rms__0_794 20 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_616. @@ -2399,7 +2414,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_616 19 +#define Obj_2_Quality_Obj_ArelLong_rms__0_616 19 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_478. @@ -2408,7 +2423,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_478 18 +#define Obj_2_Quality_Obj_ArelLong_rms__0_478 18 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_371. @@ -2417,7 +2432,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_371 17 +#define Obj_2_Quality_Obj_ArelLong_rms__0_371 17 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_288. @@ -2426,7 +2441,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_288 16 +#define Obj_2_Quality_Obj_ArelLong_rms__0_288 16 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_224. @@ -2435,7 +2450,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_224 15 +#define Obj_2_Quality_Obj_ArelLong_rms__0_224 15 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_174. @@ -2444,7 +2459,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_174 14 +#define Obj_2_Quality_Obj_ArelLong_rms__0_174 14 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_135. @@ -2453,7 +2468,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_135 13 +#define Obj_2_Quality_Obj_ArelLong_rms__0_135 13 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_105. @@ -2462,7 +2477,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_105 12 +#define Obj_2_Quality_Obj_ArelLong_rms__0_105 12 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_081. @@ -2471,7 +2486,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_081 11 +#define Obj_2_Quality_Obj_ArelLong_rms__0_081 11 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_063. @@ -2480,7 +2495,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_063 10 +#define Obj_2_Quality_Obj_ArelLong_rms__0_063 10 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_049. @@ -2489,7 +2504,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_049 9 +#define Obj_2_Quality_Obj_ArelLong_rms__0_049 9 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_038. @@ -2498,7 +2513,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_038 8 +#define Obj_2_Quality_Obj_ArelLong_rms__0_038 8 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_029. @@ -2507,7 +2522,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_029 7 +#define Obj_2_Quality_Obj_ArelLong_rms__0_029 7 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_023. @@ -2516,7 +2531,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_023 6 +#define Obj_2_Quality_Obj_ArelLong_rms__0_023 6 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_018. @@ -2525,7 +2540,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_018 5 +#define Obj_2_Quality_Obj_ArelLong_rms__0_018 5 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_014. @@ -2534,7 +2549,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_014 4 +#define Obj_2_Quality_Obj_ArelLong_rms__0_014 4 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_011. @@ -2543,7 +2558,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_011 3 +#define Obj_2_Quality_Obj_ArelLong_rms__0_011 3 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_008. @@ -2552,7 +2567,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_008 2 +#define Obj_2_Quality_Obj_ArelLong_rms__0_008 2 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_006. @@ -2561,7 +2576,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_006 1 +#define Obj_2_Quality_Obj_ArelLong_rms__0_006 1 /** * Value table Obj_2_Quality_Obj_ArelLong_rms entry _0_005. @@ -2570,10 +2585,11 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLong_rms */ -#define Obj_2_Quality_Obj_ArelLong_rms__0_005 0 +#define Obj_2_Quality_Obj_ArelLong_rms__0_005 0 /** - * @defgroup SIG_Obj_2_Quality_Obj_ArelLat_rms Signal Obj_ArelLat_rms of Message Obj_2_Quality (0x60c) + * @defgroup SIG_Obj_2_Quality_Obj_ArelLat_rms Signal Obj_ArelLat_rms of Message Obj_2_Quality + * (0x60c) * * Object relative lateral acceleration standard deviation * @@ -2590,9 +2606,10 @@ * Signal Obj_ArelLat_rms configuration tuple. * * @deprecated - * Use \ref SET_Obj_2_Quality_Obj_ArelLat_rms and \ref GET_Obj_2_Quality_Obj_ArelLat_rms instead. + * Use \ref SET_Obj_2_Quality_Obj_ArelLat_rms and \ref GET_Obj_2_Quality_Obj_ArelLat_rms + *instead. */ -#define SIG_Obj_2_Quality_Obj_ArelLat_rms 1, 0, 38, 5 +#define SIG_Obj_2_Quality_Obj_ArelLat_rms 1, 0, 38, 5 /** * Signal Obj_ArelLat_rms setup tuple. @@ -2600,7 +2617,7 @@ * @deprecated * Use \ref INITSIG_Obj_2_Quality_Obj_ArelLat_rms or \ref INIT_Obj_2_Quality instead. */ -#define SETUP_Obj_2_Quality_Obj_ArelLat_rms 1, 0, 38, 5, 0 +#define SETUP_Obj_2_Quality_Obj_ArelLat_rms 1, 0, 38, 5, 0 /** * Get signal Obj_ArelLat_rms from buffer. @@ -2610,9 +2627,7 @@ * @return * The raw signal */ -#define GET_Obj_2_Quality_Obj_ArelLat_rms(buf) (0 \ - | (ubyte)(+(ubyte)((buf[4] >> 2) & 0x1f) << 0) \ -) +#define GET_Obj_2_Quality_Obj_ArelLat_rms(buf) (0 | (ubyte)(+(ubyte)((buf[4] >> 2) & 0x1f) << 0)) /** * Set signal Obj_ArelLat_rms in buffer. @@ -2622,10 +2637,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_2_Quality_Obj_ArelLat_rms(buf, val) { \ - buf[4] &= ~(0x1f << 2); \ - buf[4] |= (((ubyte)(val) >> 0) & 0x1f) << 2; \ -} +#define SET_Obj_2_Quality_Obj_ArelLat_rms(buf, val) \ + { \ + buf[4] &= ~(0x1f << 2); \ + buf[4] |= (((ubyte)(val) >> 0) & 0x1f) << 2; \ + } /** * Set signal Obj_ArelLat_rms in buffer to its initial value. @@ -2633,8 +2649,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_2_Quality_Obj_ArelLat_rms(buf) \ - SET_Obj_2_Quality_Obj_ArelLat_rms(buf, 0) +#define INITSIG_Obj_2_Quality_Obj_ArelLat_rms(buf) SET_Obj_2_Quality_Obj_ArelLat_rms(buf, 0) /** * Signal Obj_ArelLat_rms value conversion with 16 bit factor and offset. @@ -2647,35 +2662,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_2_Quality_Obj_ArelLat_rms(x, fmt) \ - ((x) * fmt) +#define CALC_Obj_2_Quality_Obj_ArelLat_rms(x, fmt) ((x) * fmt) /** * Signal Obj_ArelLat_rms raw initial value. */ -#define START_Obj_2_Quality_Obj_ArelLat_rms 0 +#define START_Obj_2_Quality_Obj_ArelLat_rms 0 /** * Signal Obj_ArelLat_rms raw minimum value. */ -#define MIN_Obj_2_Quality_Obj_ArelLat_rms 0 +#define MIN_Obj_2_Quality_Obj_ArelLat_rms 0 /** * Signal Obj_ArelLat_rms raw maximum value. */ -#define MAX_Obj_2_Quality_Obj_ArelLat_rms 31 +#define MAX_Obj_2_Quality_Obj_ArelLat_rms 31 /** * Signal Obj_ArelLat_rms raw offset value. */ -#define OFF_Obj_2_Quality_Obj_ArelLat_rms 0 +#define OFF_Obj_2_Quality_Obj_ArelLat_rms 0 /** * @} */ /** - * @defgroup ENUM_Obj_2_Quality_Obj_ArelLat_rms Value Table for Signal Obj_ArelLat_rms in Message Obj_2_Quality (0x60c) + * @defgroup ENUM_Obj_2_Quality_Obj_ArelLat_rms Value Table for Signal Obj_ArelLat_rms in Message + * Obj_2_Quality (0x60c) * * Enum values defined for \ref SIG_Obj_2_Quality_Obj_ArelLat_rms. * @@ -2687,7 +2702,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms_Invalid 31 +#define Obj_2_Quality_Obj_ArelLat_rms_Invalid 31 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _10_000. @@ -2696,7 +2711,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__10_000 30 +#define Obj_2_Quality_Obj_ArelLat_rms__10_000 30 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _7_762. @@ -2705,7 +2720,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__7_762 29 +#define Obj_2_Quality_Obj_ArelLat_rms__7_762 29 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _6_025. @@ -2714,7 +2729,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__6_025 28 +#define Obj_2_Quality_Obj_ArelLat_rms__6_025 28 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _4_676. @@ -2723,7 +2738,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__4_676 27 +#define Obj_2_Quality_Obj_ArelLat_rms__4_676 27 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _3_630. @@ -2732,7 +2747,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__3_630 26 +#define Obj_2_Quality_Obj_ArelLat_rms__3_630 26 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _2_817. @@ -2741,7 +2756,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__2_817 25 +#define Obj_2_Quality_Obj_ArelLat_rms__2_817 25 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _2_187. @@ -2750,7 +2765,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__2_187 24 +#define Obj_2_Quality_Obj_ArelLat_rms__2_187 24 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _1_697. @@ -2759,7 +2774,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__1_697 23 +#define Obj_2_Quality_Obj_ArelLat_rms__1_697 23 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _1_317. @@ -2768,7 +2783,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__1_317 22 +#define Obj_2_Quality_Obj_ArelLat_rms__1_317 22 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _1_023. @@ -2777,7 +2792,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__1_023 21 +#define Obj_2_Quality_Obj_ArelLat_rms__1_023 21 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_794. @@ -2786,7 +2801,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_794 20 +#define Obj_2_Quality_Obj_ArelLat_rms__0_794 20 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_616. @@ -2795,7 +2810,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_616 19 +#define Obj_2_Quality_Obj_ArelLat_rms__0_616 19 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_478. @@ -2804,7 +2819,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_478 18 +#define Obj_2_Quality_Obj_ArelLat_rms__0_478 18 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_371. @@ -2813,7 +2828,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_371 17 +#define Obj_2_Quality_Obj_ArelLat_rms__0_371 17 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_288. @@ -2822,7 +2837,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_288 16 +#define Obj_2_Quality_Obj_ArelLat_rms__0_288 16 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_224. @@ -2831,7 +2846,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_224 15 +#define Obj_2_Quality_Obj_ArelLat_rms__0_224 15 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_174. @@ -2840,7 +2855,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_174 14 +#define Obj_2_Quality_Obj_ArelLat_rms__0_174 14 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_135. @@ -2849,7 +2864,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_135 13 +#define Obj_2_Quality_Obj_ArelLat_rms__0_135 13 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_105. @@ -2858,7 +2873,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_105 12 +#define Obj_2_Quality_Obj_ArelLat_rms__0_105 12 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_081. @@ -2867,7 +2882,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_081 11 +#define Obj_2_Quality_Obj_ArelLat_rms__0_081 11 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_063. @@ -2876,7 +2891,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_063 10 +#define Obj_2_Quality_Obj_ArelLat_rms__0_063 10 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_049. @@ -2885,7 +2900,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_049 9 +#define Obj_2_Quality_Obj_ArelLat_rms__0_049 9 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_038. @@ -2894,7 +2909,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_038 8 +#define Obj_2_Quality_Obj_ArelLat_rms__0_038 8 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_029. @@ -2903,7 +2918,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_029 7 +#define Obj_2_Quality_Obj_ArelLat_rms__0_029 7 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_023. @@ -2912,7 +2927,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_023 6 +#define Obj_2_Quality_Obj_ArelLat_rms__0_023 6 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_018. @@ -2921,7 +2936,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_018 5 +#define Obj_2_Quality_Obj_ArelLat_rms__0_018 5 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_014. @@ -2930,7 +2945,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_014 4 +#define Obj_2_Quality_Obj_ArelLat_rms__0_014 4 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_011. @@ -2939,7 +2954,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_011 3 +#define Obj_2_Quality_Obj_ArelLat_rms__0_011 3 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_008. @@ -2948,7 +2963,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_008 2 +#define Obj_2_Quality_Obj_ArelLat_rms__0_008 2 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_006. @@ -2957,7 +2972,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_006 1 +#define Obj_2_Quality_Obj_ArelLat_rms__0_006 1 /** * Value table Obj_2_Quality_Obj_ArelLat_rms entry _0_005. @@ -2966,10 +2981,11 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_ArelLat_rms */ -#define Obj_2_Quality_Obj_ArelLat_rms__0_005 0 +#define Obj_2_Quality_Obj_ArelLat_rms__0_005 0 /** - * @defgroup SIG_Obj_2_Quality_Obj_VrelLong_rms Signal Obj_VrelLong_rms of Message Obj_2_Quality (0x60c) + * @defgroup SIG_Obj_2_Quality_Obj_VrelLong_rms Signal Obj_VrelLong_rms of Message Obj_2_Quality + * (0x60c) * * Object relative longitudinal velocity standard deviation * @@ -2986,9 +3002,10 @@ * Signal Obj_VrelLong_rms configuration tuple. * * @deprecated - * Use \ref SET_Obj_2_Quality_Obj_VrelLong_rms and \ref GET_Obj_2_Quality_Obj_VrelLong_rms instead. + * Use \ref SET_Obj_2_Quality_Obj_VrelLong_rms and \ref GET_Obj_2_Quality_Obj_VrelLong_rms + *instead. */ -#define SIG_Obj_2_Quality_Obj_VrelLong_rms 1, 0, 21, 5 +#define SIG_Obj_2_Quality_Obj_VrelLong_rms 1, 0, 21, 5 /** * Signal Obj_VrelLong_rms setup tuple. @@ -2996,7 +3013,7 @@ * @deprecated * Use \ref INITSIG_Obj_2_Quality_Obj_VrelLong_rms or \ref INIT_Obj_2_Quality instead. */ -#define SETUP_Obj_2_Quality_Obj_VrelLong_rms 1, 0, 21, 5, 0 +#define SETUP_Obj_2_Quality_Obj_VrelLong_rms 1, 0, 21, 5, 0 /** * Get signal Obj_VrelLong_rms from buffer. @@ -3006,9 +3023,7 @@ * @return * The raw signal */ -#define GET_Obj_2_Quality_Obj_VrelLong_rms(buf) (0 \ - | (ubyte)(+(ubyte)((buf[2] >> 1) & 0x1f) << 0) \ -) +#define GET_Obj_2_Quality_Obj_VrelLong_rms(buf) (0 | (ubyte)(+(ubyte)((buf[2] >> 1) & 0x1f) << 0)) /** * Set signal Obj_VrelLong_rms in buffer. @@ -3018,10 +3033,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_2_Quality_Obj_VrelLong_rms(buf, val) { \ - buf[2] &= ~(0x1f << 1); \ - buf[2] |= (((ubyte)(val) >> 0) & 0x1f) << 1; \ -} +#define SET_Obj_2_Quality_Obj_VrelLong_rms(buf, val) \ + { \ + buf[2] &= ~(0x1f << 1); \ + buf[2] |= (((ubyte)(val) >> 0) & 0x1f) << 1; \ + } /** * Set signal Obj_VrelLong_rms in buffer to its initial value. @@ -3029,8 +3045,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_2_Quality_Obj_VrelLong_rms(buf) \ - SET_Obj_2_Quality_Obj_VrelLong_rms(buf, 0) +#define INITSIG_Obj_2_Quality_Obj_VrelLong_rms(buf) SET_Obj_2_Quality_Obj_VrelLong_rms(buf, 0) /** * Signal Obj_VrelLong_rms value conversion with 16 bit factor and offset. @@ -3043,35 +3058,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_2_Quality_Obj_VrelLong_rms(x, fmt) \ - ((x) * fmt) +#define CALC_Obj_2_Quality_Obj_VrelLong_rms(x, fmt) ((x) * fmt) /** * Signal Obj_VrelLong_rms raw initial value. */ -#define START_Obj_2_Quality_Obj_VrelLong_rms 0 +#define START_Obj_2_Quality_Obj_VrelLong_rms 0 /** * Signal Obj_VrelLong_rms raw minimum value. */ -#define MIN_Obj_2_Quality_Obj_VrelLong_rms 0 +#define MIN_Obj_2_Quality_Obj_VrelLong_rms 0 /** * Signal Obj_VrelLong_rms raw maximum value. */ -#define MAX_Obj_2_Quality_Obj_VrelLong_rms 31 +#define MAX_Obj_2_Quality_Obj_VrelLong_rms 31 /** * Signal Obj_VrelLong_rms raw offset value. */ -#define OFF_Obj_2_Quality_Obj_VrelLong_rms 0 +#define OFF_Obj_2_Quality_Obj_VrelLong_rms 0 /** * @} */ /** - * @defgroup ENUM_Obj_2_Quality_Obj_VrelLong_rms Value Table for Signal Obj_VrelLong_rms in Message Obj_2_Quality (0x60c) + * @defgroup ENUM_Obj_2_Quality_Obj_VrelLong_rms Value Table for Signal Obj_VrelLong_rms in Message + * Obj_2_Quality (0x60c) * * Enum values defined for \ref SIG_Obj_2_Quality_Obj_VrelLong_rms. * @@ -3083,7 +3098,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms_Invalid 31 +#define Obj_2_Quality_Obj_VrelLong_rms_Invalid 31 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _10_000. @@ -3092,7 +3107,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__10_000 30 +#define Obj_2_Quality_Obj_VrelLong_rms__10_000 30 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _7_762. @@ -3101,7 +3116,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__7_762 29 +#define Obj_2_Quality_Obj_VrelLong_rms__7_762 29 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _6_025. @@ -3110,7 +3125,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__6_025 28 +#define Obj_2_Quality_Obj_VrelLong_rms__6_025 28 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _4_676. @@ -3119,7 +3134,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__4_676 27 +#define Obj_2_Quality_Obj_VrelLong_rms__4_676 27 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _3_630. @@ -3128,7 +3143,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__3_630 26 +#define Obj_2_Quality_Obj_VrelLong_rms__3_630 26 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _2_817. @@ -3137,7 +3152,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__2_817 25 +#define Obj_2_Quality_Obj_VrelLong_rms__2_817 25 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _2_187. @@ -3146,7 +3161,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__2_187 24 +#define Obj_2_Quality_Obj_VrelLong_rms__2_187 24 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _1_697. @@ -3155,7 +3170,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__1_697 23 +#define Obj_2_Quality_Obj_VrelLong_rms__1_697 23 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _1_317. @@ -3164,7 +3179,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__1_317 22 +#define Obj_2_Quality_Obj_VrelLong_rms__1_317 22 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _1_023. @@ -3173,7 +3188,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__1_023 21 +#define Obj_2_Quality_Obj_VrelLong_rms__1_023 21 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_794. @@ -3182,7 +3197,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_794 20 +#define Obj_2_Quality_Obj_VrelLong_rms__0_794 20 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_616. @@ -3191,7 +3206,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_616 19 +#define Obj_2_Quality_Obj_VrelLong_rms__0_616 19 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_478. @@ -3200,7 +3215,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_478 18 +#define Obj_2_Quality_Obj_VrelLong_rms__0_478 18 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_371. @@ -3209,7 +3224,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_371 17 +#define Obj_2_Quality_Obj_VrelLong_rms__0_371 17 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_288. @@ -3218,7 +3233,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_288 16 +#define Obj_2_Quality_Obj_VrelLong_rms__0_288 16 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_224. @@ -3227,7 +3242,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_224 15 +#define Obj_2_Quality_Obj_VrelLong_rms__0_224 15 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_174. @@ -3236,7 +3251,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_174 14 +#define Obj_2_Quality_Obj_VrelLong_rms__0_174 14 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_135. @@ -3245,7 +3260,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_135 13 +#define Obj_2_Quality_Obj_VrelLong_rms__0_135 13 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_105. @@ -3254,7 +3269,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_105 12 +#define Obj_2_Quality_Obj_VrelLong_rms__0_105 12 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_081. @@ -3263,7 +3278,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_081 11 +#define Obj_2_Quality_Obj_VrelLong_rms__0_081 11 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_063. @@ -3272,7 +3287,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_063 10 +#define Obj_2_Quality_Obj_VrelLong_rms__0_063 10 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_049. @@ -3281,7 +3296,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_049 9 +#define Obj_2_Quality_Obj_VrelLong_rms__0_049 9 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_038. @@ -3290,7 +3305,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_038 8 +#define Obj_2_Quality_Obj_VrelLong_rms__0_038 8 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_029. @@ -3299,7 +3314,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_029 7 +#define Obj_2_Quality_Obj_VrelLong_rms__0_029 7 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_023. @@ -3308,7 +3323,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_023 6 +#define Obj_2_Quality_Obj_VrelLong_rms__0_023 6 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_018. @@ -3317,7 +3332,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_018 5 +#define Obj_2_Quality_Obj_VrelLong_rms__0_018 5 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_014. @@ -3326,7 +3341,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_014 4 +#define Obj_2_Quality_Obj_VrelLong_rms__0_014 4 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_011. @@ -3335,7 +3350,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_011 3 +#define Obj_2_Quality_Obj_VrelLong_rms__0_011 3 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_008. @@ -3344,7 +3359,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_008 2 +#define Obj_2_Quality_Obj_VrelLong_rms__0_008 2 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_006. @@ -3353,7 +3368,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_006 1 +#define Obj_2_Quality_Obj_VrelLong_rms__0_006 1 /** * Value table Obj_2_Quality_Obj_VrelLong_rms entry _0_005. @@ -3362,10 +3377,11 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLong_rms */ -#define Obj_2_Quality_Obj_VrelLong_rms__0_005 0 +#define Obj_2_Quality_Obj_VrelLong_rms__0_005 0 /** - * @defgroup SIG_Obj_2_Quality_Obj_VrelLat_rms Signal Obj_VrelLat_rms of Message Obj_2_Quality (0x60c) + * @defgroup SIG_Obj_2_Quality_Obj_VrelLat_rms Signal Obj_VrelLat_rms of Message Obj_2_Quality + * (0x60c) * * Object relative lateral velocity standard deviation * @@ -3382,9 +3398,10 @@ * Signal Obj_VrelLat_rms configuration tuple. * * @deprecated - * Use \ref SET_Obj_2_Quality_Obj_VrelLat_rms and \ref GET_Obj_2_Quality_Obj_VrelLat_rms instead. + * Use \ref SET_Obj_2_Quality_Obj_VrelLat_rms and \ref GET_Obj_2_Quality_Obj_VrelLat_rms + *instead. */ -#define SIG_Obj_2_Quality_Obj_VrelLat_rms 1, 0, 16, 5 +#define SIG_Obj_2_Quality_Obj_VrelLat_rms 1, 0, 16, 5 /** * Signal Obj_VrelLat_rms setup tuple. @@ -3392,7 +3409,7 @@ * @deprecated * Use \ref INITSIG_Obj_2_Quality_Obj_VrelLat_rms or \ref INIT_Obj_2_Quality instead. */ -#define SETUP_Obj_2_Quality_Obj_VrelLat_rms 1, 0, 16, 5, 0 +#define SETUP_Obj_2_Quality_Obj_VrelLat_rms 1, 0, 16, 5, 0 /** * Get signal Obj_VrelLat_rms from buffer. @@ -3402,10 +3419,8 @@ * @return * The raw signal */ -#define GET_Obj_2_Quality_Obj_VrelLat_rms(buf) (0 \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0x01) << 4) \ - | (ubyte)(+(ubyte)((buf[3] >> 4) & 0x0f) << 0) \ -) +#define GET_Obj_2_Quality_Obj_VrelLat_rms(buf) \ + (0 | (ubyte)(+(ubyte)((buf[2] >> 0) & 0x01) << 4) | (ubyte)(+(ubyte)((buf[3] >> 4) & 0x0f) << 0)) /** * Set signal Obj_VrelLat_rms in buffer. @@ -3415,12 +3430,13 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_2_Quality_Obj_VrelLat_rms(buf, val) { \ - buf[2] &= ~(0x01 << 0); \ - buf[2] |= (((ubyte)(val) >> 4) & 0x01) << 0; \ - buf[3] &= ~(0x0f << 4); \ - buf[3] |= (((ubyte)(val) >> 0) & 0x0f) << 4; \ -} +#define SET_Obj_2_Quality_Obj_VrelLat_rms(buf, val) \ + { \ + buf[2] &= ~(0x01 << 0); \ + buf[2] |= (((ubyte)(val) >> 4) & 0x01) << 0; \ + buf[3] &= ~(0x0f << 4); \ + buf[3] |= (((ubyte)(val) >> 0) & 0x0f) << 4; \ + } /** * Set signal Obj_VrelLat_rms in buffer to its initial value. @@ -3428,8 +3444,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_2_Quality_Obj_VrelLat_rms(buf) \ - SET_Obj_2_Quality_Obj_VrelLat_rms(buf, 0) +#define INITSIG_Obj_2_Quality_Obj_VrelLat_rms(buf) SET_Obj_2_Quality_Obj_VrelLat_rms(buf, 0) /** * Signal Obj_VrelLat_rms value conversion with 16 bit factor and offset. @@ -3442,35 +3457,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_2_Quality_Obj_VrelLat_rms(x, fmt) \ - ((x) * fmt) +#define CALC_Obj_2_Quality_Obj_VrelLat_rms(x, fmt) ((x) * fmt) /** * Signal Obj_VrelLat_rms raw initial value. */ -#define START_Obj_2_Quality_Obj_VrelLat_rms 0 +#define START_Obj_2_Quality_Obj_VrelLat_rms 0 /** * Signal Obj_VrelLat_rms raw minimum value. */ -#define MIN_Obj_2_Quality_Obj_VrelLat_rms 0 +#define MIN_Obj_2_Quality_Obj_VrelLat_rms 0 /** * Signal Obj_VrelLat_rms raw maximum value. */ -#define MAX_Obj_2_Quality_Obj_VrelLat_rms 31 +#define MAX_Obj_2_Quality_Obj_VrelLat_rms 31 /** * Signal Obj_VrelLat_rms raw offset value. */ -#define OFF_Obj_2_Quality_Obj_VrelLat_rms 0 +#define OFF_Obj_2_Quality_Obj_VrelLat_rms 0 /** * @} */ /** - * @defgroup ENUM_Obj_2_Quality_Obj_VrelLat_rms Value Table for Signal Obj_VrelLat_rms in Message Obj_2_Quality (0x60c) + * @defgroup ENUM_Obj_2_Quality_Obj_VrelLat_rms Value Table for Signal Obj_VrelLat_rms in Message + * Obj_2_Quality (0x60c) * * Enum values defined for \ref SIG_Obj_2_Quality_Obj_VrelLat_rms. * @@ -3482,7 +3497,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms_Invalid 31 +#define Obj_2_Quality_Obj_VrelLat_rms_Invalid 31 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _10_000. @@ -3491,7 +3506,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__10_000 30 +#define Obj_2_Quality_Obj_VrelLat_rms__10_000 30 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _7_762. @@ -3500,7 +3515,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__7_762 29 +#define Obj_2_Quality_Obj_VrelLat_rms__7_762 29 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _6_025. @@ -3509,7 +3524,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__6_025 28 +#define Obj_2_Quality_Obj_VrelLat_rms__6_025 28 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _4_676. @@ -3518,7 +3533,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__4_676 27 +#define Obj_2_Quality_Obj_VrelLat_rms__4_676 27 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _3_630. @@ -3527,7 +3542,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__3_630 26 +#define Obj_2_Quality_Obj_VrelLat_rms__3_630 26 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _2_817. @@ -3536,7 +3551,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__2_817 25 +#define Obj_2_Quality_Obj_VrelLat_rms__2_817 25 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _2_187. @@ -3545,7 +3560,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__2_187 24 +#define Obj_2_Quality_Obj_VrelLat_rms__2_187 24 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _1_697. @@ -3554,7 +3569,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__1_697 23 +#define Obj_2_Quality_Obj_VrelLat_rms__1_697 23 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _1_317. @@ -3563,7 +3578,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__1_317 22 +#define Obj_2_Quality_Obj_VrelLat_rms__1_317 22 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _1_023. @@ -3572,7 +3587,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__1_023 21 +#define Obj_2_Quality_Obj_VrelLat_rms__1_023 21 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_794. @@ -3581,7 +3596,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_794 20 +#define Obj_2_Quality_Obj_VrelLat_rms__0_794 20 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_616. @@ -3590,7 +3605,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_616 19 +#define Obj_2_Quality_Obj_VrelLat_rms__0_616 19 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_478. @@ -3599,7 +3614,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_478 18 +#define Obj_2_Quality_Obj_VrelLat_rms__0_478 18 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_371. @@ -3608,7 +3623,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_371 17 +#define Obj_2_Quality_Obj_VrelLat_rms__0_371 17 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_288. @@ -3617,7 +3632,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_288 16 +#define Obj_2_Quality_Obj_VrelLat_rms__0_288 16 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_224. @@ -3626,7 +3641,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_224 15 +#define Obj_2_Quality_Obj_VrelLat_rms__0_224 15 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_174. @@ -3635,7 +3650,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_174 14 +#define Obj_2_Quality_Obj_VrelLat_rms__0_174 14 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_135. @@ -3644,7 +3659,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_135 13 +#define Obj_2_Quality_Obj_VrelLat_rms__0_135 13 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_105. @@ -3653,7 +3668,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_105 12 +#define Obj_2_Quality_Obj_VrelLat_rms__0_105 12 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_081. @@ -3662,7 +3677,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_081 11 +#define Obj_2_Quality_Obj_VrelLat_rms__0_081 11 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_063. @@ -3671,7 +3686,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_063 10 +#define Obj_2_Quality_Obj_VrelLat_rms__0_063 10 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_049. @@ -3680,7 +3695,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_049 9 +#define Obj_2_Quality_Obj_VrelLat_rms__0_049 9 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_038. @@ -3689,7 +3704,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_038 8 +#define Obj_2_Quality_Obj_VrelLat_rms__0_038 8 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_029. @@ -3698,7 +3713,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_029 7 +#define Obj_2_Quality_Obj_VrelLat_rms__0_029 7 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_023. @@ -3707,7 +3722,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_023 6 +#define Obj_2_Quality_Obj_VrelLat_rms__0_023 6 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_018. @@ -3716,7 +3731,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_018 5 +#define Obj_2_Quality_Obj_VrelLat_rms__0_018 5 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_014. @@ -3725,7 +3740,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_014 4 +#define Obj_2_Quality_Obj_VrelLat_rms__0_014 4 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_011. @@ -3734,7 +3749,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_011 3 +#define Obj_2_Quality_Obj_VrelLat_rms__0_011 3 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_008. @@ -3743,7 +3758,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_008 2 +#define Obj_2_Quality_Obj_VrelLat_rms__0_008 2 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_006. @@ -3752,7 +3767,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_006 1 +#define Obj_2_Quality_Obj_VrelLat_rms__0_006 1 /** * Value table Obj_2_Quality_Obj_VrelLat_rms entry _0_005. @@ -3761,10 +3776,11 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_VrelLat_rms */ -#define Obj_2_Quality_Obj_VrelLat_rms__0_005 0 +#define Obj_2_Quality_Obj_VrelLat_rms__0_005 0 /** - * @defgroup SIG_Obj_2_Quality_Obj_Orientation_rms Signal Obj_Orientation_rms of Message Obj_2_Quality (0x60c) + * @defgroup SIG_Obj_2_Quality_Obj_Orientation_rms Signal Obj_Orientation_rms of Message + * Obj_2_Quality (0x60c) * * Object orientation angle * @@ -3781,9 +3797,10 @@ * Signal Obj_Orientation_rms configuration tuple. * * @deprecated - * Use \ref SET_Obj_2_Quality_Obj_Orientation_rms and \ref GET_Obj_2_Quality_Obj_Orientation_rms instead. + * Use \ref SET_Obj_2_Quality_Obj_Orientation_rms and \ref + *GET_Obj_2_Quality_Obj_Orientation_rms instead. */ -#define SIG_Obj_2_Quality_Obj_Orientation_rms 1, 0, 33, 5 +#define SIG_Obj_2_Quality_Obj_Orientation_rms 1, 0, 33, 5 /** * Signal Obj_Orientation_rms setup tuple. @@ -3791,7 +3808,7 @@ * @deprecated * Use \ref INITSIG_Obj_2_Quality_Obj_Orientation_rms or \ref INIT_Obj_2_Quality instead. */ -#define SETUP_Obj_2_Quality_Obj_Orientation_rms 1, 0, 33, 5, 0 +#define SETUP_Obj_2_Quality_Obj_Orientation_rms 1, 0, 33, 5, 0 /** * Get signal Obj_Orientation_rms from buffer. @@ -3801,10 +3818,8 @@ * @return * The raw signal */ -#define GET_Obj_2_Quality_Obj_Orientation_rms(buf) (0 \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0x03) << 3) \ - | (ubyte)(+(ubyte)((buf[5] >> 5) & 0x07) << 0) \ -) +#define GET_Obj_2_Quality_Obj_Orientation_rms(buf) \ + (0 | (ubyte)(+(ubyte)((buf[4] >> 0) & 0x03) << 3) | (ubyte)(+(ubyte)((buf[5] >> 5) & 0x07) << 0)) /** * Set signal Obj_Orientation_rms in buffer. @@ -3814,12 +3829,13 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_2_Quality_Obj_Orientation_rms(buf, val) { \ - buf[4] &= ~(0x03 << 0); \ - buf[4] |= (((ubyte)(val) >> 3) & 0x03) << 0; \ - buf[5] &= ~(0x07 << 5); \ - buf[5] |= (((ubyte)(val) >> 0) & 0x07) << 5; \ -} +#define SET_Obj_2_Quality_Obj_Orientation_rms(buf, val) \ + { \ + buf[4] &= ~(0x03 << 0); \ + buf[4] |= (((ubyte)(val) >> 3) & 0x03) << 0; \ + buf[5] &= ~(0x07 << 5); \ + buf[5] |= (((ubyte)(val) >> 0) & 0x07) << 5; \ + } /** * Set signal Obj_Orientation_rms in buffer to its initial value. @@ -3827,8 +3843,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_2_Quality_Obj_Orientation_rms(buf) \ - SET_Obj_2_Quality_Obj_Orientation_rms(buf, 0) +#define INITSIG_Obj_2_Quality_Obj_Orientation_rms(buf) SET_Obj_2_Quality_Obj_Orientation_rms(buf, 0) /** * Signal Obj_Orientation_rms value conversion with 16 bit factor and offset. @@ -3841,35 +3856,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_2_Quality_Obj_Orientation_rms(x, fmt) \ - ((x) * fmt) +#define CALC_Obj_2_Quality_Obj_Orientation_rms(x, fmt) ((x) * fmt) /** * Signal Obj_Orientation_rms raw initial value. */ -#define START_Obj_2_Quality_Obj_Orientation_rms 0 +#define START_Obj_2_Quality_Obj_Orientation_rms 0 /** * Signal Obj_Orientation_rms raw minimum value. */ -#define MIN_Obj_2_Quality_Obj_Orientation_rms 0 +#define MIN_Obj_2_Quality_Obj_Orientation_rms 0 /** * Signal Obj_Orientation_rms raw maximum value. */ -#define MAX_Obj_2_Quality_Obj_Orientation_rms 31 +#define MAX_Obj_2_Quality_Obj_Orientation_rms 31 /** * Signal Obj_Orientation_rms raw offset value. */ -#define OFF_Obj_2_Quality_Obj_Orientation_rms 0 +#define OFF_Obj_2_Quality_Obj_Orientation_rms 0 /** * @} */ /** - * @defgroup ENUM_Obj_2_Quality_Obj_Orientation_rms Value Table for Signal Obj_Orientation_rms in Message Obj_2_Quality (0x60c) + * @defgroup ENUM_Obj_2_Quality_Obj_Orientation_rms Value Table for Signal Obj_Orientation_rms in + * Message Obj_2_Quality (0x60c) * * Enum values defined for \ref SIG_Obj_2_Quality_Obj_Orientation_rms. * @@ -3881,7 +3896,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms_Invalid 31 +#define Obj_2_Quality_Obj_Orientation_rms_Invalid 31 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _180_000. @@ -3890,7 +3905,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__180_000 30 +#define Obj_2_Quality_Obj_Orientation_rms__180_000 30 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _126_881. @@ -3899,7 +3914,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__126_881 29 +#define Obj_2_Quality_Obj_Orientation_rms__126_881 29 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _89_437. @@ -3908,7 +3923,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__89_437 28 +#define Obj_2_Quality_Obj_Orientation_rms__89_437 28 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _63_044. @@ -3917,7 +3932,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__63_044 27 +#define Obj_2_Quality_Obj_Orientation_rms__63_044 27 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _44_439. @@ -3926,7 +3941,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__44_439 26 +#define Obj_2_Quality_Obj_Orientation_rms__44_439 26 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _31_325. @@ -3935,7 +3950,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__31_325 25 +#define Obj_2_Quality_Obj_Orientation_rms__31_325 25 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _22_081. @@ -3944,7 +3959,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__22_081 24 +#define Obj_2_Quality_Obj_Orientation_rms__22_081 24 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _15_565. @@ -3953,7 +3968,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__15_565 23 +#define Obj_2_Quality_Obj_Orientation_rms__15_565 23 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _10_971. @@ -3962,7 +3977,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__10_971 22 +#define Obj_2_Quality_Obj_Orientation_rms__10_971 22 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _7_734. @@ -3971,7 +3986,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__7_734 21 +#define Obj_2_Quality_Obj_Orientation_rms__7_734 21 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _5_451. @@ -3980,7 +3995,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__5_451 20 +#define Obj_2_Quality_Obj_Orientation_rms__5_451 20 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _3_843. @@ -3989,7 +4004,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__3_843 19 +#define Obj_2_Quality_Obj_Orientation_rms__3_843 19 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _2_709. @@ -3998,7 +4013,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__2_709 18 +#define Obj_2_Quality_Obj_Orientation_rms__2_709 18 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _1_909. @@ -4007,7 +4022,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__1_909 17 +#define Obj_2_Quality_Obj_Orientation_rms__1_909 17 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _1_346. @@ -4016,7 +4031,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__1_346 16 +#define Obj_2_Quality_Obj_Orientation_rms__1_346 16 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _0_949. @@ -4025,7 +4040,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__0_949 15 +#define Obj_2_Quality_Obj_Orientation_rms__0_949 15 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _0_669. @@ -4034,7 +4049,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__0_669 14 +#define Obj_2_Quality_Obj_Orientation_rms__0_669 14 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _0_471. @@ -4043,7 +4058,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__0_471 13 +#define Obj_2_Quality_Obj_Orientation_rms__0_471 13 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _0_332. @@ -4052,7 +4067,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__0_332 12 +#define Obj_2_Quality_Obj_Orientation_rms__0_332 12 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _0_234. @@ -4061,7 +4076,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__0_234 11 +#define Obj_2_Quality_Obj_Orientation_rms__0_234 11 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _0_165. @@ -4070,7 +4085,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__0_165 10 +#define Obj_2_Quality_Obj_Orientation_rms__0_165 10 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _0_116. @@ -4079,7 +4094,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__0_116 9 +#define Obj_2_Quality_Obj_Orientation_rms__0_116 9 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _0_082. @@ -4088,7 +4103,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__0_082 8 +#define Obj_2_Quality_Obj_Orientation_rms__0_082 8 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _0_058. @@ -4097,7 +4112,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__0_058 7 +#define Obj_2_Quality_Obj_Orientation_rms__0_058 7 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _0_041. @@ -4106,7 +4121,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__0_041 6 +#define Obj_2_Quality_Obj_Orientation_rms__0_041 6 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _0_029. @@ -4115,7 +4130,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__0_029 5 +#define Obj_2_Quality_Obj_Orientation_rms__0_029 5 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _0_020. @@ -4124,7 +4139,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__0_020 4 +#define Obj_2_Quality_Obj_Orientation_rms__0_020 4 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _0_014. @@ -4133,7 +4148,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__0_014 3 +#define Obj_2_Quality_Obj_Orientation_rms__0_014 3 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _0_010. @@ -4142,7 +4157,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__0_010 2 +#define Obj_2_Quality_Obj_Orientation_rms__0_010 2 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _0_007. @@ -4151,7 +4166,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__0_007 1 +#define Obj_2_Quality_Obj_Orientation_rms__0_007 1 /** * Value table Obj_2_Quality_Obj_Orientation_rms entry _0_005. @@ -4160,10 +4175,11 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_Orientation_rms */ -#define Obj_2_Quality_Obj_Orientation_rms__0_005 0 +#define Obj_2_Quality_Obj_Orientation_rms__0_005 0 /** - * @defgroup SIG_Obj_2_Quality_Obj_DistLong_rms Signal Obj_DistLong_rms of Message Obj_2_Quality (0x60c) + * @defgroup SIG_Obj_2_Quality_Obj_DistLong_rms Signal Obj_DistLong_rms of Message Obj_2_Quality + * (0x60c) * * Object longitudinal distance standard deviation * @@ -4180,9 +4196,10 @@ * Signal Obj_DistLong_rms configuration tuple. * * @deprecated - * Use \ref SET_Obj_2_Quality_Obj_DistLong_rms and \ref GET_Obj_2_Quality_Obj_DistLong_rms instead. + * Use \ref SET_Obj_2_Quality_Obj_DistLong_rms and \ref GET_Obj_2_Quality_Obj_DistLong_rms + *instead. */ -#define SIG_Obj_2_Quality_Obj_DistLong_rms 1, 0, 15, 5 +#define SIG_Obj_2_Quality_Obj_DistLong_rms 1, 0, 15, 5 /** * Signal Obj_DistLong_rms setup tuple. @@ -4190,7 +4207,7 @@ * @deprecated * Use \ref INITSIG_Obj_2_Quality_Obj_DistLong_rms or \ref INIT_Obj_2_Quality instead. */ -#define SETUP_Obj_2_Quality_Obj_DistLong_rms 1, 0, 15, 5, 0 +#define SETUP_Obj_2_Quality_Obj_DistLong_rms 1, 0, 15, 5, 0 /** * Get signal Obj_DistLong_rms from buffer. @@ -4200,9 +4217,7 @@ * @return * The raw signal */ -#define GET_Obj_2_Quality_Obj_DistLong_rms(buf) (0 \ - | (ubyte)(+(ubyte)((buf[1] >> 3) & 0x1f) << 0) \ -) +#define GET_Obj_2_Quality_Obj_DistLong_rms(buf) (0 | (ubyte)(+(ubyte)((buf[1] >> 3) & 0x1f) << 0)) /** * Set signal Obj_DistLong_rms in buffer. @@ -4212,10 +4227,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_2_Quality_Obj_DistLong_rms(buf, val) { \ - buf[1] &= ~(0x1f << 3); \ - buf[1] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ -} +#define SET_Obj_2_Quality_Obj_DistLong_rms(buf, val) \ + { \ + buf[1] &= ~(0x1f << 3); \ + buf[1] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ + } /** * Set signal Obj_DistLong_rms in buffer to its initial value. @@ -4223,8 +4239,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_2_Quality_Obj_DistLong_rms(buf) \ - SET_Obj_2_Quality_Obj_DistLong_rms(buf, 0) +#define INITSIG_Obj_2_Quality_Obj_DistLong_rms(buf) SET_Obj_2_Quality_Obj_DistLong_rms(buf, 0) /** * Signal Obj_DistLong_rms value conversion with 16 bit factor and offset. @@ -4237,35 +4252,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_2_Quality_Obj_DistLong_rms(x, fmt) \ - ((x) * fmt) +#define CALC_Obj_2_Quality_Obj_DistLong_rms(x, fmt) ((x) * fmt) /** * Signal Obj_DistLong_rms raw initial value. */ -#define START_Obj_2_Quality_Obj_DistLong_rms 0 +#define START_Obj_2_Quality_Obj_DistLong_rms 0 /** * Signal Obj_DistLong_rms raw minimum value. */ -#define MIN_Obj_2_Quality_Obj_DistLong_rms 0 +#define MIN_Obj_2_Quality_Obj_DistLong_rms 0 /** * Signal Obj_DistLong_rms raw maximum value. */ -#define MAX_Obj_2_Quality_Obj_DistLong_rms 31 +#define MAX_Obj_2_Quality_Obj_DistLong_rms 31 /** * Signal Obj_DistLong_rms raw offset value. */ -#define OFF_Obj_2_Quality_Obj_DistLong_rms 0 +#define OFF_Obj_2_Quality_Obj_DistLong_rms 0 /** * @} */ /** - * @defgroup ENUM_Obj_2_Quality_Obj_DistLong_rms Value Table for Signal Obj_DistLong_rms in Message Obj_2_Quality (0x60c) + * @defgroup ENUM_Obj_2_Quality_Obj_DistLong_rms Value Table for Signal Obj_DistLong_rms in Message + * Obj_2_Quality (0x60c) * * Enum values defined for \ref SIG_Obj_2_Quality_Obj_DistLong_rms. * @@ -4277,7 +4292,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms_Invalid 31 +#define Obj_2_Quality_Obj_DistLong_rms_Invalid 31 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _10_000. @@ -4286,7 +4301,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__10_000 30 +#define Obj_2_Quality_Obj_DistLong_rms__10_000 30 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _7_762. @@ -4295,7 +4310,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__7_762 29 +#define Obj_2_Quality_Obj_DistLong_rms__7_762 29 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _6_025. @@ -4304,7 +4319,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__6_025 28 +#define Obj_2_Quality_Obj_DistLong_rms__6_025 28 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _4_676. @@ -4313,7 +4328,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__4_676 27 +#define Obj_2_Quality_Obj_DistLong_rms__4_676 27 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _3_630. @@ -4322,7 +4337,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__3_630 26 +#define Obj_2_Quality_Obj_DistLong_rms__3_630 26 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _2_817. @@ -4331,7 +4346,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__2_817 25 +#define Obj_2_Quality_Obj_DistLong_rms__2_817 25 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _2_187. @@ -4340,7 +4355,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__2_187 24 +#define Obj_2_Quality_Obj_DistLong_rms__2_187 24 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _1_697. @@ -4349,7 +4364,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__1_697 23 +#define Obj_2_Quality_Obj_DistLong_rms__1_697 23 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _1_317. @@ -4358,7 +4373,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__1_317 22 +#define Obj_2_Quality_Obj_DistLong_rms__1_317 22 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _1_023. @@ -4367,7 +4382,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__1_023 21 +#define Obj_2_Quality_Obj_DistLong_rms__1_023 21 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_794. @@ -4376,7 +4391,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_794 20 +#define Obj_2_Quality_Obj_DistLong_rms__0_794 20 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_616. @@ -4385,7 +4400,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_616 19 +#define Obj_2_Quality_Obj_DistLong_rms__0_616 19 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_478. @@ -4394,7 +4409,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_478 18 +#define Obj_2_Quality_Obj_DistLong_rms__0_478 18 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_371. @@ -4403,7 +4418,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_371 17 +#define Obj_2_Quality_Obj_DistLong_rms__0_371 17 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_288. @@ -4412,7 +4427,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_288 16 +#define Obj_2_Quality_Obj_DistLong_rms__0_288 16 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_224. @@ -4421,7 +4436,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_224 15 +#define Obj_2_Quality_Obj_DistLong_rms__0_224 15 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_174. @@ -4430,7 +4445,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_174 14 +#define Obj_2_Quality_Obj_DistLong_rms__0_174 14 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_135. @@ -4439,7 +4454,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_135 13 +#define Obj_2_Quality_Obj_DistLong_rms__0_135 13 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_105. @@ -4448,7 +4463,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_105 12 +#define Obj_2_Quality_Obj_DistLong_rms__0_105 12 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_081. @@ -4457,7 +4472,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_081 11 +#define Obj_2_Quality_Obj_DistLong_rms__0_081 11 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_063. @@ -4466,7 +4481,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_063 10 +#define Obj_2_Quality_Obj_DistLong_rms__0_063 10 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_049. @@ -4475,7 +4490,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_049 9 +#define Obj_2_Quality_Obj_DistLong_rms__0_049 9 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_038. @@ -4484,7 +4499,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_038 8 +#define Obj_2_Quality_Obj_DistLong_rms__0_038 8 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_029. @@ -4493,7 +4508,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_029 7 +#define Obj_2_Quality_Obj_DistLong_rms__0_029 7 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_023. @@ -4502,7 +4517,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_023 6 +#define Obj_2_Quality_Obj_DistLong_rms__0_023 6 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_018. @@ -4511,7 +4526,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_018 5 +#define Obj_2_Quality_Obj_DistLong_rms__0_018 5 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_014. @@ -4520,7 +4535,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_014 4 +#define Obj_2_Quality_Obj_DistLong_rms__0_014 4 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_011. @@ -4529,7 +4544,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_011 3 +#define Obj_2_Quality_Obj_DistLong_rms__0_011 3 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_008. @@ -4538,7 +4553,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_008 2 +#define Obj_2_Quality_Obj_DistLong_rms__0_008 2 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_006. @@ -4547,7 +4562,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_006 1 +#define Obj_2_Quality_Obj_DistLong_rms__0_006 1 /** * Value table Obj_2_Quality_Obj_DistLong_rms entry _0_005. @@ -4556,10 +4571,11 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLong_rms */ -#define Obj_2_Quality_Obj_DistLong_rms__0_005 0 +#define Obj_2_Quality_Obj_DistLong_rms__0_005 0 /** - * @defgroup SIG_Obj_2_Quality_Obj_DistLat_rms Signal Obj_DistLat_rms of Message Obj_2_Quality (0x60c) + * @defgroup SIG_Obj_2_Quality_Obj_DistLat_rms Signal Obj_DistLat_rms of Message Obj_2_Quality + * (0x60c) * * Object lateral distance standard deviation * @@ -4576,9 +4592,10 @@ * Signal Obj_DistLat_rms configuration tuple. * * @deprecated - * Use \ref SET_Obj_2_Quality_Obj_DistLat_rms and \ref GET_Obj_2_Quality_Obj_DistLat_rms instead. + * Use \ref SET_Obj_2_Quality_Obj_DistLat_rms and \ref GET_Obj_2_Quality_Obj_DistLat_rms + *instead. */ -#define SIG_Obj_2_Quality_Obj_DistLat_rms 1, 0, 10, 5 +#define SIG_Obj_2_Quality_Obj_DistLat_rms 1, 0, 10, 5 /** * Signal Obj_DistLat_rms setup tuple. @@ -4586,7 +4603,7 @@ * @deprecated * Use \ref INITSIG_Obj_2_Quality_Obj_DistLat_rms or \ref INIT_Obj_2_Quality instead. */ -#define SETUP_Obj_2_Quality_Obj_DistLat_rms 1, 0, 10, 5, 0 +#define SETUP_Obj_2_Quality_Obj_DistLat_rms 1, 0, 10, 5, 0 /** * Get signal Obj_DistLat_rms from buffer. @@ -4596,10 +4613,8 @@ * @return * The raw signal */ -#define GET_Obj_2_Quality_Obj_DistLat_rms(buf) (0 \ - | (ubyte)(+(ubyte)((buf[1] >> 0) & 0x07) << 2) \ - | (ubyte)(+(ubyte)((buf[2] >> 6) & 0x03) << 0) \ -) +#define GET_Obj_2_Quality_Obj_DistLat_rms(buf) \ + (0 | (ubyte)(+(ubyte)((buf[1] >> 0) & 0x07) << 2) | (ubyte)(+(ubyte)((buf[2] >> 6) & 0x03) << 0)) /** * Set signal Obj_DistLat_rms in buffer. @@ -4609,12 +4624,13 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_2_Quality_Obj_DistLat_rms(buf, val) { \ - buf[1] &= ~(0x07 << 0); \ - buf[1] |= (((ubyte)(val) >> 2) & 0x07) << 0; \ - buf[2] &= ~(0x03 << 6); \ - buf[2] |= (((ubyte)(val) >> 0) & 0x03) << 6; \ -} +#define SET_Obj_2_Quality_Obj_DistLat_rms(buf, val) \ + { \ + buf[1] &= ~(0x07 << 0); \ + buf[1] |= (((ubyte)(val) >> 2) & 0x07) << 0; \ + buf[2] &= ~(0x03 << 6); \ + buf[2] |= (((ubyte)(val) >> 0) & 0x03) << 6; \ + } /** * Set signal Obj_DistLat_rms in buffer to its initial value. @@ -4622,8 +4638,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_2_Quality_Obj_DistLat_rms(buf) \ - SET_Obj_2_Quality_Obj_DistLat_rms(buf, 0) +#define INITSIG_Obj_2_Quality_Obj_DistLat_rms(buf) SET_Obj_2_Quality_Obj_DistLat_rms(buf, 0) /** * Signal Obj_DistLat_rms value conversion with 16 bit factor and offset. @@ -4636,35 +4651,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_2_Quality_Obj_DistLat_rms(x, fmt) \ - ((x) * fmt) +#define CALC_Obj_2_Quality_Obj_DistLat_rms(x, fmt) ((x) * fmt) /** * Signal Obj_DistLat_rms raw initial value. */ -#define START_Obj_2_Quality_Obj_DistLat_rms 0 +#define START_Obj_2_Quality_Obj_DistLat_rms 0 /** * Signal Obj_DistLat_rms raw minimum value. */ -#define MIN_Obj_2_Quality_Obj_DistLat_rms 0 +#define MIN_Obj_2_Quality_Obj_DistLat_rms 0 /** * Signal Obj_DistLat_rms raw maximum value. */ -#define MAX_Obj_2_Quality_Obj_DistLat_rms 31 +#define MAX_Obj_2_Quality_Obj_DistLat_rms 31 /** * Signal Obj_DistLat_rms raw offset value. */ -#define OFF_Obj_2_Quality_Obj_DistLat_rms 0 +#define OFF_Obj_2_Quality_Obj_DistLat_rms 0 /** * @} */ /** - * @defgroup ENUM_Obj_2_Quality_Obj_DistLat_rms Value Table for Signal Obj_DistLat_rms in Message Obj_2_Quality (0x60c) + * @defgroup ENUM_Obj_2_Quality_Obj_DistLat_rms Value Table for Signal Obj_DistLat_rms in Message + * Obj_2_Quality (0x60c) * * Enum values defined for \ref SIG_Obj_2_Quality_Obj_DistLat_rms. * @@ -4676,7 +4691,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms_Invalid 31 +#define Obj_2_Quality_Obj_DistLat_rms_Invalid 31 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _10_000. @@ -4685,7 +4700,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__10_000 30 +#define Obj_2_Quality_Obj_DistLat_rms__10_000 30 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _7_762. @@ -4694,7 +4709,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__7_762 29 +#define Obj_2_Quality_Obj_DistLat_rms__7_762 29 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _6_025. @@ -4703,7 +4718,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__6_025 28 +#define Obj_2_Quality_Obj_DistLat_rms__6_025 28 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _4_676. @@ -4712,7 +4727,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__4_676 27 +#define Obj_2_Quality_Obj_DistLat_rms__4_676 27 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _3_630. @@ -4721,7 +4736,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__3_630 26 +#define Obj_2_Quality_Obj_DistLat_rms__3_630 26 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _2_817. @@ -4730,7 +4745,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__2_817 25 +#define Obj_2_Quality_Obj_DistLat_rms__2_817 25 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _2_187. @@ -4739,7 +4754,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__2_187 24 +#define Obj_2_Quality_Obj_DistLat_rms__2_187 24 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _1_697. @@ -4748,7 +4763,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__1_697 23 +#define Obj_2_Quality_Obj_DistLat_rms__1_697 23 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _1_317. @@ -4757,7 +4772,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__1_317 22 +#define Obj_2_Quality_Obj_DistLat_rms__1_317 22 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _1_023. @@ -4766,7 +4781,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__1_023 21 +#define Obj_2_Quality_Obj_DistLat_rms__1_023 21 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_794. @@ -4775,7 +4790,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_794 20 +#define Obj_2_Quality_Obj_DistLat_rms__0_794 20 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_616. @@ -4784,7 +4799,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_616 19 +#define Obj_2_Quality_Obj_DistLat_rms__0_616 19 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_478. @@ -4793,7 +4808,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_478 18 +#define Obj_2_Quality_Obj_DistLat_rms__0_478 18 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_371. @@ -4802,7 +4817,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_371 17 +#define Obj_2_Quality_Obj_DistLat_rms__0_371 17 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_288. @@ -4811,7 +4826,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_288 16 +#define Obj_2_Quality_Obj_DistLat_rms__0_288 16 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_224. @@ -4820,7 +4835,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_224 15 +#define Obj_2_Quality_Obj_DistLat_rms__0_224 15 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_174. @@ -4829,7 +4844,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_174 14 +#define Obj_2_Quality_Obj_DistLat_rms__0_174 14 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_135. @@ -4838,7 +4853,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_135 13 +#define Obj_2_Quality_Obj_DistLat_rms__0_135 13 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_105. @@ -4847,7 +4862,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_105 12 +#define Obj_2_Quality_Obj_DistLat_rms__0_105 12 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_081. @@ -4856,7 +4871,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_081 11 +#define Obj_2_Quality_Obj_DistLat_rms__0_081 11 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_063. @@ -4865,7 +4880,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_063 10 +#define Obj_2_Quality_Obj_DistLat_rms__0_063 10 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_049. @@ -4874,7 +4889,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_049 9 +#define Obj_2_Quality_Obj_DistLat_rms__0_049 9 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_038. @@ -4883,7 +4898,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_038 8 +#define Obj_2_Quality_Obj_DistLat_rms__0_038 8 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_029. @@ -4892,7 +4907,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_029 7 +#define Obj_2_Quality_Obj_DistLat_rms__0_029 7 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_023. @@ -4901,7 +4916,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_023 6 +#define Obj_2_Quality_Obj_DistLat_rms__0_023 6 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_018. @@ -4910,7 +4925,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_018 5 +#define Obj_2_Quality_Obj_DistLat_rms__0_018 5 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_014. @@ -4919,7 +4934,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_014 4 +#define Obj_2_Quality_Obj_DistLat_rms__0_014 4 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_011. @@ -4928,7 +4943,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_011 3 +#define Obj_2_Quality_Obj_DistLat_rms__0_011 3 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_008. @@ -4937,7 +4952,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_008 2 +#define Obj_2_Quality_Obj_DistLat_rms__0_008 2 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_006. @@ -4946,7 +4961,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_006 1 +#define Obj_2_Quality_Obj_DistLat_rms__0_006 1 /** * Value table Obj_2_Quality_Obj_DistLat_rms entry _0_005. @@ -4955,7 +4970,7 @@ * * @ingroup ENUM_Obj_2_Quality_Obj_DistLat_rms */ -#define Obj_2_Quality_Obj_DistLat_rms__0_005 0 +#define Obj_2_Quality_Obj_DistLat_rms__0_005 0 /** * @defgroup SIG_Obj_2_Quality_Obj_ID Signal Obj_ID of Message Obj_2_Quality (0x60c) @@ -4975,7 +4990,7 @@ * @deprecated * Use \ref SET_Obj_2_Quality_Obj_ID and \ref GET_Obj_2_Quality_Obj_ID instead. */ -#define SIG_Obj_2_Quality_Obj_ID 1, 0, 7, 8 +#define SIG_Obj_2_Quality_Obj_ID 1, 0, 7, 8 /** * Signal Obj_ID setup tuple. @@ -4983,7 +4998,7 @@ * @deprecated * Use \ref INITSIG_Obj_2_Quality_Obj_ID or \ref INIT_Obj_2_Quality instead. */ -#define SETUP_Obj_2_Quality_Obj_ID 1, 0, 7, 8, 0 +#define SETUP_Obj_2_Quality_Obj_ID 1, 0, 7, 8, 0 /** * Get signal Obj_ID from buffer. @@ -4993,9 +5008,7 @@ * @return * The raw signal */ -#define GET_Obj_2_Quality_Obj_ID(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0) \ -) +#define GET_Obj_2_Quality_Obj_ID(buf) (0 | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0)) /** * Set signal Obj_ID in buffer. @@ -5005,10 +5018,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_2_Quality_Obj_ID(buf, val) { \ - buf[0] &= ~(0xff << 0); \ - buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_Obj_2_Quality_Obj_ID(buf, val) \ + { \ + buf[0] &= ~(0xff << 0); \ + buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Obj_ID in buffer to its initial value. @@ -5016,8 +5030,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_2_Quality_Obj_ID(buf) \ - SET_Obj_2_Quality_Obj_ID(buf, 0) +#define INITSIG_Obj_2_Quality_Obj_ID(buf) SET_Obj_2_Quality_Obj_ID(buf, 0) /** * Signal Obj_ID value conversion with 16 bit factor and offset. @@ -5030,28 +5043,27 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_2_Quality_Obj_ID(x, fmt) \ - ((x) * fmt) +#define CALC_Obj_2_Quality_Obj_ID(x, fmt) ((x) * fmt) /** * Signal Obj_ID raw initial value. */ -#define START_Obj_2_Quality_Obj_ID 0 +#define START_Obj_2_Quality_Obj_ID 0 /** * Signal Obj_ID raw minimum value. */ -#define MIN_Obj_2_Quality_Obj_ID 0 +#define MIN_Obj_2_Quality_Obj_ID 0 /** * Signal Obj_ID raw maximum value. */ -#define MAX_Obj_2_Quality_Obj_ID 255 +#define MAX_Obj_2_Quality_Obj_ID 255 /** * Signal Obj_ID raw offset value. */ -#define OFF_Obj_2_Quality_Obj_ID 0 +#define OFF_Obj_2_Quality_Obj_ID 0 /** * @} @@ -5077,7 +5089,7 @@ * @deprecated * Use \ref SET_Obj_3_Extended_Obj_Class and \ref GET_Obj_3_Extended_Obj_Class instead. */ -#define SIG_Obj_3_Extended_Obj_Class 1, 0, 26, 3 +#define SIG_Obj_3_Extended_Obj_Class 1, 0, 26, 3 /** * Signal Obj_Class setup tuple. @@ -5085,7 +5097,7 @@ * @deprecated * Use \ref INITSIG_Obj_3_Extended_Obj_Class or \ref INIT_Obj_3_Extended instead. */ -#define SETUP_Obj_3_Extended_Obj_Class 1, 0, 26, 3, 0 +#define SETUP_Obj_3_Extended_Obj_Class 1, 0, 26, 3, 0 /** * Get signal Obj_Class from buffer. @@ -5095,9 +5107,7 @@ * @return * The raw signal */ -#define GET_Obj_3_Extended_Obj_Class(buf) (0 \ - | (ubyte)(+(ubyte)((buf[3] >> 0) & 0x07) << 0) \ -) +#define GET_Obj_3_Extended_Obj_Class(buf) (0 | (ubyte)(+(ubyte)((buf[3] >> 0) & 0x07) << 0)) /** * Set signal Obj_Class in buffer. @@ -5107,10 +5117,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_3_Extended_Obj_Class(buf, val) { \ - buf[3] &= ~(0x07 << 0); \ - buf[3] |= (((ubyte)(val) >> 0) & 0x07) << 0; \ -} +#define SET_Obj_3_Extended_Obj_Class(buf, val) \ + { \ + buf[3] &= ~(0x07 << 0); \ + buf[3] |= (((ubyte)(val) >> 0) & 0x07) << 0; \ + } /** * Set signal Obj_Class in buffer to its initial value. @@ -5118,8 +5129,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_3_Extended_Obj_Class(buf) \ - SET_Obj_3_Extended_Obj_Class(buf, 0) +#define INITSIG_Obj_3_Extended_Obj_Class(buf) SET_Obj_3_Extended_Obj_Class(buf, 0) /** * Signal Obj_Class value conversion with 16 bit factor and offset. @@ -5132,35 +5142,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_3_Extended_Obj_Class(x, fmt) \ - ((x) * fmt) +#define CALC_Obj_3_Extended_Obj_Class(x, fmt) ((x) * fmt) /** * Signal Obj_Class raw initial value. */ -#define START_Obj_3_Extended_Obj_Class 0 +#define START_Obj_3_Extended_Obj_Class 0 /** * Signal Obj_Class raw minimum value. */ -#define MIN_Obj_3_Extended_Obj_Class 0 +#define MIN_Obj_3_Extended_Obj_Class 0 /** * Signal Obj_Class raw maximum value. */ -#define MAX_Obj_3_Extended_Obj_Class 7 +#define MAX_Obj_3_Extended_Obj_Class 7 /** * Signal Obj_Class raw offset value. */ -#define OFF_Obj_3_Extended_Obj_Class 0 +#define OFF_Obj_3_Extended_Obj_Class 0 /** * @} */ /** - * @defgroup ENUM_Obj_3_Extended_Obj_Class Value Table for Signal Obj_Class in Message Obj_3_Extended (0x60d) + * @defgroup ENUM_Obj_3_Extended_Obj_Class Value Table for Signal Obj_Class in Message + * Obj_3_Extended (0x60d) * * Enum values defined for \ref SIG_Obj_3_Extended_Obj_Class. * @@ -5174,56 +5184,56 @@ * * @ingroup ENUM_Obj_3_Extended_Obj_Class */ -#define Obj_3_Extended_Obj_Class_Description 7 +#define Obj_3_Extended_Obj_Class_Description 7 /** * Value table Obj_3_Extended_Obj_Class entry Wide. * * @ingroup ENUM_Obj_3_Extended_Obj_Class */ -#define Obj_3_Extended_Obj_Class_Wide 6 +#define Obj_3_Extended_Obj_Class_Wide 6 /** * Value table Obj_3_Extended_Obj_Class entry Bicycle. * * @ingroup ENUM_Obj_3_Extended_Obj_Class */ -#define Obj_3_Extended_Obj_Class_Bicycle 5 +#define Obj_3_Extended_Obj_Class_Bicycle 5 /** * Value table Obj_3_Extended_Obj_Class entry Motorcycle. * * @ingroup ENUM_Obj_3_Extended_Obj_Class */ -#define Obj_3_Extended_Obj_Class_Motorcycle 4 +#define Obj_3_Extended_Obj_Class_Motorcycle 4 /** * Value table Obj_3_Extended_Obj_Class entry Pedestrian. * * @ingroup ENUM_Obj_3_Extended_Obj_Class */ -#define Obj_3_Extended_Obj_Class_Pedestrian 3 +#define Obj_3_Extended_Obj_Class_Pedestrian 3 /** * Value table Obj_3_Extended_Obj_Class entry Truck. * * @ingroup ENUM_Obj_3_Extended_Obj_Class */ -#define Obj_3_Extended_Obj_Class_Truck 2 +#define Obj_3_Extended_Obj_Class_Truck 2 /** * Value table Obj_3_Extended_Obj_Class entry Car. * * @ingroup ENUM_Obj_3_Extended_Obj_Class */ -#define Obj_3_Extended_Obj_Class_Car 1 +#define Obj_3_Extended_Obj_Class_Car 1 /** * Value table Obj_3_Extended_Obj_Class entry Point. * * @ingroup ENUM_Obj_3_Extended_Obj_Class */ -#define Obj_3_Extended_Obj_Class_Point 0 +#define Obj_3_Extended_Obj_Class_Point 0 /** * @defgroup SIG_Obj_3_Extended_Obj_ArelLat Signal Obj_ArelLat of Message Obj_3_Extended (0x60d) @@ -5243,7 +5253,7 @@ * @deprecated * Use \ref SET_Obj_3_Extended_Obj_ArelLat and \ref GET_Obj_3_Extended_Obj_ArelLat instead. */ -#define SIG_Obj_3_Extended_Obj_ArelLat 1, 0, 20, 9 +#define SIG_Obj_3_Extended_Obj_ArelLat 1, 0, 20, 9 /** * Signal Obj_ArelLat setup tuple. @@ -5251,7 +5261,7 @@ * @deprecated * Use \ref INITSIG_Obj_3_Extended_Obj_ArelLat or \ref INIT_Obj_3_Extended instead. */ -#define SETUP_Obj_3_Extended_Obj_ArelLat 1, 0, 20, 9, 250 +#define SETUP_Obj_3_Extended_Obj_ArelLat 1, 0, 20, 9, 250 /** * Get signal Obj_ArelLat from buffer. @@ -5261,10 +5271,8 @@ * @return * The raw signal */ -#define GET_Obj_3_Extended_Obj_ArelLat(buf) (0 \ - | (uword)(+(uword)((buf[2] >> 0) & 0x1f) << 4) \ - | (ubyte)(+(ubyte)((buf[3] >> 4) & 0x0f) << 0) \ -) +#define GET_Obj_3_Extended_Obj_ArelLat(buf) \ + (0 | (uword)(+(uword)((buf[2] >> 0) & 0x1f) << 4) | (ubyte)(+(ubyte)((buf[3] >> 4) & 0x0f) << 0)) /** * Set signal Obj_ArelLat in buffer. @@ -5274,12 +5282,13 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_3_Extended_Obj_ArelLat(buf, val) { \ - buf[2] &= ~(0x1f << 0); \ - buf[2] |= ((ubyte)((uword)(val) >> 4) & 0x1f) << 0; \ - buf[3] &= ~(0x0f << 4); \ - buf[3] |= (((ubyte)(val) >> 0) & 0x0f) << 4; \ -} +#define SET_Obj_3_Extended_Obj_ArelLat(buf, val) \ + { \ + buf[2] &= ~(0x1f << 0); \ + buf[2] |= ((ubyte)((uword)(val) >> 4) & 0x1f) << 0; \ + buf[3] &= ~(0x0f << 4); \ + buf[3] |= (((ubyte)(val) >> 0) & 0x0f) << 4; \ + } /** * Set signal Obj_ArelLat in buffer to its initial value. @@ -5287,8 +5296,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_3_Extended_Obj_ArelLat(buf) \ - SET_Obj_3_Extended_Obj_ArelLat(buf, 250) +#define INITSIG_Obj_3_Extended_Obj_ArelLat(buf) SET_Obj_3_Extended_Obj_ArelLat(buf, 250) /** * Signal Obj_ArelLat value conversion with 16 bit factor and offset. @@ -5301,28 +5309,27 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_3_Extended_Obj_ArelLat(x, fmt) \ - ((x) * fmt / 100 + fmt * 5 / (-2)) +#define CALC_Obj_3_Extended_Obj_ArelLat(x, fmt) ((x) * fmt / 100 + fmt * 5 / (-2)) /** * Signal Obj_ArelLat raw initial value. */ -#define START_Obj_3_Extended_Obj_ArelLat 250 +#define START_Obj_3_Extended_Obj_ArelLat 250 /** * Signal Obj_ArelLat raw minimum value. */ -#define MIN_Obj_3_Extended_Obj_ArelLat 0 +#define MIN_Obj_3_Extended_Obj_ArelLat 0 /** * Signal Obj_ArelLat raw maximum value. */ -#define MAX_Obj_3_Extended_Obj_ArelLat 511 +#define MAX_Obj_3_Extended_Obj_ArelLat 511 /** * Signal Obj_ArelLat raw offset value. */ -#define OFF_Obj_3_Extended_Obj_ArelLat -250 +#define OFF_Obj_3_Extended_Obj_ArelLat -250 /** * @} @@ -5346,7 +5353,7 @@ * @deprecated * Use \ref SET_Obj_3_Extended_Obj_ID and \ref GET_Obj_3_Extended_Obj_ID instead. */ -#define SIG_Obj_3_Extended_Obj_ID 1, 0, 7, 8 +#define SIG_Obj_3_Extended_Obj_ID 1, 0, 7, 8 /** * Signal Obj_ID setup tuple. @@ -5354,7 +5361,7 @@ * @deprecated * Use \ref INITSIG_Obj_3_Extended_Obj_ID or \ref INIT_Obj_3_Extended instead. */ -#define SETUP_Obj_3_Extended_Obj_ID 1, 0, 7, 8, 0 +#define SETUP_Obj_3_Extended_Obj_ID 1, 0, 7, 8, 0 /** * Get signal Obj_ID from buffer. @@ -5364,9 +5371,7 @@ * @return * The raw signal */ -#define GET_Obj_3_Extended_Obj_ID(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0) \ -) +#define GET_Obj_3_Extended_Obj_ID(buf) (0 | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0)) /** * Set signal Obj_ID in buffer. @@ -5376,10 +5381,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_3_Extended_Obj_ID(buf, val) { \ - buf[0] &= ~(0xff << 0); \ - buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_Obj_3_Extended_Obj_ID(buf, val) \ + { \ + buf[0] &= ~(0xff << 0); \ + buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Obj_ID in buffer to its initial value. @@ -5387,8 +5393,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_3_Extended_Obj_ID(buf) \ - SET_Obj_3_Extended_Obj_ID(buf, 0) +#define INITSIG_Obj_3_Extended_Obj_ID(buf) SET_Obj_3_Extended_Obj_ID(buf, 0) /** * Signal Obj_ID value conversion with 16 bit factor and offset. @@ -5401,35 +5406,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_3_Extended_Obj_ID(x, fmt) \ - ((x) * fmt) +#define CALC_Obj_3_Extended_Obj_ID(x, fmt) ((x) * fmt) /** * Signal Obj_ID raw initial value. */ -#define START_Obj_3_Extended_Obj_ID 0 +#define START_Obj_3_Extended_Obj_ID 0 /** * Signal Obj_ID raw minimum value. */ -#define MIN_Obj_3_Extended_Obj_ID 0 +#define MIN_Obj_3_Extended_Obj_ID 0 /** * Signal Obj_ID raw maximum value. */ -#define MAX_Obj_3_Extended_Obj_ID 255 +#define MAX_Obj_3_Extended_Obj_ID 255 /** * Signal Obj_ID raw offset value. */ -#define OFF_Obj_3_Extended_Obj_ID 0 +#define OFF_Obj_3_Extended_Obj_ID 0 /** * @} */ /** - * @defgroup SIG_Obj_3_Extended_Obj_OrientationAngle Signal Obj_OrientationAngle of Message Obj_3_Extended (0x60d) + * @defgroup SIG_Obj_3_Extended_Obj_OrientationAngle Signal Obj_OrientationAngle of Message + * Obj_3_Extended (0x60d) * * Object orientation angle * @@ -5444,9 +5449,10 @@ * Signal Obj_OrientationAngle configuration tuple. * * @deprecated - * Use \ref SET_Obj_3_Extended_Obj_OrientationAngle and \ref GET_Obj_3_Extended_Obj_OrientationAngle instead. + * Use \ref SET_Obj_3_Extended_Obj_OrientationAngle and \ref + *GET_Obj_3_Extended_Obj_OrientationAngle instead. */ -#define SIG_Obj_3_Extended_Obj_OrientationAngle 1, 0, 39, 10 +#define SIG_Obj_3_Extended_Obj_OrientationAngle 1, 0, 39, 10 /** * Signal Obj_OrientationAngle setup tuple. @@ -5454,7 +5460,7 @@ * @deprecated * Use \ref INITSIG_Obj_3_Extended_Obj_OrientationAngle or \ref INIT_Obj_3_Extended instead. */ -#define SETUP_Obj_3_Extended_Obj_OrientationAngle 1, 0, 39, 10, 450 +#define SETUP_Obj_3_Extended_Obj_OrientationAngle 1, 0, 39, 10, 450 /** * Get signal Obj_OrientationAngle from buffer. @@ -5464,10 +5470,8 @@ * @return * The raw signal */ -#define GET_Obj_3_Extended_Obj_OrientationAngle(buf) (0 \ - | (uword)(+(uword)((buf[4] >> 0) & 0xff) << 2) \ - | (ubyte)(+(ubyte)((buf[5] >> 6) & 0x03) << 0) \ -) +#define GET_Obj_3_Extended_Obj_OrientationAngle(buf) \ + (0 | (uword)(+(uword)((buf[4] >> 0) & 0xff) << 2) | (ubyte)(+(ubyte)((buf[5] >> 6) & 0x03) << 0)) /** * Set signal Obj_OrientationAngle in buffer. @@ -5477,12 +5481,13 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_3_Extended_Obj_OrientationAngle(buf, val) { \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= ((ubyte)((uword)(val) >> 2) & 0xff) << 0; \ - buf[5] &= ~(0x03 << 6); \ - buf[5] |= (((ubyte)(val) >> 0) & 0x03) << 6; \ -} +#define SET_Obj_3_Extended_Obj_OrientationAngle(buf, val) \ + { \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= ((ubyte)((uword)(val) >> 2) & 0xff) << 0; \ + buf[5] &= ~(0x03 << 6); \ + buf[5] |= (((ubyte)(val) >> 0) & 0x03) << 6; \ + } /** * Set signal Obj_OrientationAngle in buffer to its initial value. @@ -5491,7 +5496,7 @@ * The can message buffer to initialise */ #define INITSIG_Obj_3_Extended_Obj_OrientationAngle(buf) \ - SET_Obj_3_Extended_Obj_OrientationAngle(buf, 450) + SET_Obj_3_Extended_Obj_OrientationAngle(buf, 450) /** * Signal Obj_OrientationAngle value conversion with 16 bit factor and offset. @@ -5504,28 +5509,27 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_3_Extended_Obj_OrientationAngle(x, fmt) \ - ((x) * fmt * 2 / 5 + fmt * (-180)) +#define CALC_Obj_3_Extended_Obj_OrientationAngle(x, fmt) ((x) * fmt * 2 / 5 + fmt * (-180)) /** * Signal Obj_OrientationAngle raw initial value. */ -#define START_Obj_3_Extended_Obj_OrientationAngle 450 +#define START_Obj_3_Extended_Obj_OrientationAngle 450 /** * Signal Obj_OrientationAngle raw minimum value. */ -#define MIN_Obj_3_Extended_Obj_OrientationAngle 0 +#define MIN_Obj_3_Extended_Obj_OrientationAngle 0 /** * Signal Obj_OrientationAngle raw maximum value. */ -#define MAX_Obj_3_Extended_Obj_OrientationAngle 1023 +#define MAX_Obj_3_Extended_Obj_OrientationAngle 1023 /** * Signal Obj_OrientationAngle raw offset value. */ -#define OFF_Obj_3_Extended_Obj_OrientationAngle -450 +#define OFF_Obj_3_Extended_Obj_OrientationAngle -450 /** * @} @@ -5549,7 +5553,7 @@ * @deprecated * Use \ref SET_Obj_3_Extended_Obj_Width and \ref GET_Obj_3_Extended_Obj_Width instead. */ -#define SIG_Obj_3_Extended_Obj_Width 1, 0, 63, 8 +#define SIG_Obj_3_Extended_Obj_Width 1, 0, 63, 8 /** * Signal Obj_Width setup tuple. @@ -5557,7 +5561,7 @@ * @deprecated * Use \ref INITSIG_Obj_3_Extended_Obj_Width or \ref INIT_Obj_3_Extended instead. */ -#define SETUP_Obj_3_Extended_Obj_Width 1, 0, 63, 8, 0 +#define SETUP_Obj_3_Extended_Obj_Width 1, 0, 63, 8, 0 /** * Get signal Obj_Width from buffer. @@ -5567,9 +5571,7 @@ * @return * The raw signal */ -#define GET_Obj_3_Extended_Obj_Width(buf) (0 \ - | (ubyte)(+(ubyte)((buf[7] >> 0) & 0xff) << 0) \ -) +#define GET_Obj_3_Extended_Obj_Width(buf) (0 | (ubyte)(+(ubyte)((buf[7] >> 0) & 0xff) << 0)) /** * Set signal Obj_Width in buffer. @@ -5579,10 +5581,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_3_Extended_Obj_Width(buf, val) { \ - buf[7] &= ~(0xff << 0); \ - buf[7] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_Obj_3_Extended_Obj_Width(buf, val) \ + { \ + buf[7] &= ~(0xff << 0); \ + buf[7] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Obj_Width in buffer to its initial value. @@ -5590,8 +5593,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_3_Extended_Obj_Width(buf) \ - SET_Obj_3_Extended_Obj_Width(buf, 0) +#define INITSIG_Obj_3_Extended_Obj_Width(buf) SET_Obj_3_Extended_Obj_Width(buf, 0) /** * Signal Obj_Width value conversion with 16 bit factor and offset. @@ -5604,28 +5606,27 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_3_Extended_Obj_Width(x, fmt) \ - ((x) * fmt / 5) +#define CALC_Obj_3_Extended_Obj_Width(x, fmt) ((x) * fmt / 5) /** * Signal Obj_Width raw initial value. */ -#define START_Obj_3_Extended_Obj_Width 0 +#define START_Obj_3_Extended_Obj_Width 0 /** * Signal Obj_Width raw minimum value. */ -#define MIN_Obj_3_Extended_Obj_Width 0 +#define MIN_Obj_3_Extended_Obj_Width 0 /** * Signal Obj_Width raw maximum value. */ -#define MAX_Obj_3_Extended_Obj_Width 255 +#define MAX_Obj_3_Extended_Obj_Width 255 /** * Signal Obj_Width raw offset value. */ -#define OFF_Obj_3_Extended_Obj_Width 0 +#define OFF_Obj_3_Extended_Obj_Width 0 /** * @} @@ -5649,7 +5650,7 @@ * @deprecated * Use \ref SET_Obj_3_Extended_Obj_Length and \ref GET_Obj_3_Extended_Obj_Length instead. */ -#define SIG_Obj_3_Extended_Obj_Length 1, 0, 55, 8 +#define SIG_Obj_3_Extended_Obj_Length 1, 0, 55, 8 /** * Signal Obj_Length setup tuple. @@ -5657,7 +5658,7 @@ * @deprecated * Use \ref INITSIG_Obj_3_Extended_Obj_Length or \ref INIT_Obj_3_Extended instead. */ -#define SETUP_Obj_3_Extended_Obj_Length 1, 0, 55, 8, 0 +#define SETUP_Obj_3_Extended_Obj_Length 1, 0, 55, 8, 0 /** * Get signal Obj_Length from buffer. @@ -5667,9 +5668,7 @@ * @return * The raw signal */ -#define GET_Obj_3_Extended_Obj_Length(buf) (0 \ - | (ubyte)(+(ubyte)((buf[6] >> 0) & 0xff) << 0) \ -) +#define GET_Obj_3_Extended_Obj_Length(buf) (0 | (ubyte)(+(ubyte)((buf[6] >> 0) & 0xff) << 0)) /** * Set signal Obj_Length in buffer. @@ -5679,10 +5678,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_3_Extended_Obj_Length(buf, val) { \ - buf[6] &= ~(0xff << 0); \ - buf[6] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_Obj_3_Extended_Obj_Length(buf, val) \ + { \ + buf[6] &= ~(0xff << 0); \ + buf[6] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Obj_Length in buffer to its initial value. @@ -5690,8 +5690,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_3_Extended_Obj_Length(buf) \ - SET_Obj_3_Extended_Obj_Length(buf, 0) +#define INITSIG_Obj_3_Extended_Obj_Length(buf) SET_Obj_3_Extended_Obj_Length(buf, 0) /** * Signal Obj_Length value conversion with 16 bit factor and offset. @@ -5704,28 +5703,27 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_3_Extended_Obj_Length(x, fmt) \ - ((x) * fmt / 5) +#define CALC_Obj_3_Extended_Obj_Length(x, fmt) ((x) * fmt / 5) /** * Signal Obj_Length raw initial value. */ -#define START_Obj_3_Extended_Obj_Length 0 +#define START_Obj_3_Extended_Obj_Length 0 /** * Signal Obj_Length raw minimum value. */ -#define MIN_Obj_3_Extended_Obj_Length 0 +#define MIN_Obj_3_Extended_Obj_Length 0 /** * Signal Obj_Length raw maximum value. */ -#define MAX_Obj_3_Extended_Obj_Length 255 +#define MAX_Obj_3_Extended_Obj_Length 255 /** * Signal Obj_Length raw offset value. */ -#define OFF_Obj_3_Extended_Obj_Length 0 +#define OFF_Obj_3_Extended_Obj_Length 0 /** * @} @@ -5749,7 +5747,7 @@ * @deprecated * Use \ref SET_Obj_3_Extended_Obj_ArelLong and \ref GET_Obj_3_Extended_Obj_ArelLong instead. */ -#define SIG_Obj_3_Extended_Obj_ArelLong 1, 0, 15, 11 +#define SIG_Obj_3_Extended_Obj_ArelLong 1, 0, 15, 11 /** * Signal Obj_ArelLong setup tuple. @@ -5757,7 +5755,7 @@ * @deprecated * Use \ref INITSIG_Obj_3_Extended_Obj_ArelLong or \ref INIT_Obj_3_Extended instead. */ -#define SETUP_Obj_3_Extended_Obj_ArelLong 1, 0, 15, 11, 1000 +#define SETUP_Obj_3_Extended_Obj_ArelLong 1, 0, 15, 11, 1000 /** * Get signal Obj_ArelLong from buffer. @@ -5767,10 +5765,8 @@ * @return * The raw signal */ -#define GET_Obj_3_Extended_Obj_ArelLong(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0xff) << 3) \ - | (ubyte)(+(ubyte)((buf[2] >> 5) & 0x07) << 0) \ -) +#define GET_Obj_3_Extended_Obj_ArelLong(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0xff) << 3) | (ubyte)(+(ubyte)((buf[2] >> 5) & 0x07) << 0)) /** * Set signal Obj_ArelLong in buffer. @@ -5780,12 +5776,13 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_3_Extended_Obj_ArelLong(buf, val) { \ - buf[1] &= ~(0xff << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 3) & 0xff) << 0; \ - buf[2] &= ~(0x07 << 5); \ - buf[2] |= (((ubyte)(val) >> 0) & 0x07) << 5; \ -} +#define SET_Obj_3_Extended_Obj_ArelLong(buf, val) \ + { \ + buf[1] &= ~(0xff << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 3) & 0xff) << 0; \ + buf[2] &= ~(0x07 << 5); \ + buf[2] |= (((ubyte)(val) >> 0) & 0x07) << 5; \ + } /** * Set signal Obj_ArelLong in buffer to its initial value. @@ -5793,8 +5790,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_3_Extended_Obj_ArelLong(buf) \ - SET_Obj_3_Extended_Obj_ArelLong(buf, 1000) +#define INITSIG_Obj_3_Extended_Obj_ArelLong(buf) SET_Obj_3_Extended_Obj_ArelLong(buf, 1000) /** * Signal Obj_ArelLong value conversion with 16 bit factor and offset. @@ -5807,35 +5803,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_3_Extended_Obj_ArelLong(x, fmt) \ - ((x) * fmt / 100 + fmt * (-10)) +#define CALC_Obj_3_Extended_Obj_ArelLong(x, fmt) ((x) * fmt / 100 + fmt * (-10)) /** * Signal Obj_ArelLong raw initial value. */ -#define START_Obj_3_Extended_Obj_ArelLong 1000 +#define START_Obj_3_Extended_Obj_ArelLong 1000 /** * Signal Obj_ArelLong raw minimum value. */ -#define MIN_Obj_3_Extended_Obj_ArelLong 0 +#define MIN_Obj_3_Extended_Obj_ArelLong 0 /** * Signal Obj_ArelLong raw maximum value. */ -#define MAX_Obj_3_Extended_Obj_ArelLong 2047 +#define MAX_Obj_3_Extended_Obj_ArelLong 2047 /** * Signal Obj_ArelLong raw offset value. */ -#define OFF_Obj_3_Extended_Obj_ArelLong -1000 +#define OFF_Obj_3_Extended_Obj_ArelLong -1000 /** * @} */ /** - * @defgroup SIG_CollDetRegionState_CollDetRegState_WarningLevel Signal CollDetRegState_WarningLevel of Message CollDetRegionState (0x402) + * @defgroup SIG_CollDetRegionState_CollDetRegState_WarningLevel Signal CollDetRegState_WarningLevel + * of Message CollDetRegionState (0x402) * * Contains the value table \ref ENUM_CollDetRegionState_CollDetRegState_WarningLevel. * @@ -5850,17 +5846,19 @@ * Signal CollDetRegState_WarningLevel configuration tuple. * * @deprecated - * Use \ref SET_CollDetRegionState_CollDetRegState_WarningLevel and \ref GET_CollDetRegionState_CollDetRegState_WarningLevel instead. + * Use \ref SET_CollDetRegionState_CollDetRegState_WarningLevel and \ref + *GET_CollDetRegionState_CollDetRegState_WarningLevel instead. */ -#define SIG_CollDetRegionState_CollDetRegState_WarningLevel 1, 0, 4, 2 +#define SIG_CollDetRegionState_CollDetRegState_WarningLevel 1, 0, 4, 2 /** * Signal CollDetRegState_WarningLevel setup tuple. * * @deprecated - * Use \ref INITSIG_CollDetRegionState_CollDetRegState_WarningLevel or \ref INIT_CollDetRegionState instead. + * Use \ref INITSIG_CollDetRegionState_CollDetRegState_WarningLevel or \ref + *INIT_CollDetRegionState instead. */ -#define SETUP_CollDetRegionState_CollDetRegState_WarningLevel 1, 0, 4, 2, 0 +#define SETUP_CollDetRegionState_CollDetRegState_WarningLevel 1, 0, 4, 2, 0 /** * Get signal CollDetRegState_WarningLevel from buffer. @@ -5870,9 +5868,8 @@ * @return * The raw signal */ -#define GET_CollDetRegionState_CollDetRegState_WarningLevel(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 3) & 0x03) << 0) \ -) +#define GET_CollDetRegionState_CollDetRegState_WarningLevel(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 3) & 0x03) << 0)) /** * Set signal CollDetRegState_WarningLevel in buffer. @@ -5882,10 +5879,11 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetRegionState_CollDetRegState_WarningLevel(buf, val) { \ - buf[0] &= ~(0x03 << 3); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x03) << 3; \ -} +#define SET_CollDetRegionState_CollDetRegState_WarningLevel(buf, val) \ + { \ + buf[0] &= ~(0x03 << 3); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x03) << 3; \ + } /** * Set signal CollDetRegState_WarningLevel in buffer to its initial value. @@ -5894,7 +5892,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetRegionState_CollDetRegState_WarningLevel(buf) \ - SET_CollDetRegionState_CollDetRegState_WarningLevel(buf, 0) + SET_CollDetRegionState_CollDetRegState_WarningLevel(buf, 0) /** * Signal CollDetRegState_WarningLevel value conversion with 16 bit factor and offset. @@ -5907,35 +5905,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetRegionState_CollDetRegState_WarningLevel(x, fmt) \ - ((x) * fmt) +#define CALC_CollDetRegionState_CollDetRegState_WarningLevel(x, fmt) ((x) * fmt) /** * Signal CollDetRegState_WarningLevel raw initial value. */ -#define START_CollDetRegionState_CollDetRegState_WarningLevel 0 +#define START_CollDetRegionState_CollDetRegState_WarningLevel 0 /** * Signal CollDetRegState_WarningLevel raw minimum value. */ -#define MIN_CollDetRegionState_CollDetRegState_WarningLevel 0 +#define MIN_CollDetRegionState_CollDetRegState_WarningLevel 0 /** * Signal CollDetRegState_WarningLevel raw maximum value. */ -#define MAX_CollDetRegionState_CollDetRegState_WarningLevel 3 +#define MAX_CollDetRegionState_CollDetRegState_WarningLevel 3 /** * Signal CollDetRegState_WarningLevel raw offset value. */ -#define OFF_CollDetRegionState_CollDetRegState_WarningLevel 0 +#define OFF_CollDetRegionState_CollDetRegState_WarningLevel 0 /** * @} */ /** - * @defgroup ENUM_CollDetRegionState_CollDetRegState_WarningLevel Value Table for Signal CollDetRegState_WarningLevel in Message CollDetRegionState (0x402) + * @defgroup ENUM_CollDetRegionState_CollDetRegState_WarningLevel Value Table for Signal + * CollDetRegState_WarningLevel in Message CollDetRegionState (0x402) * * Enum values defined for \ref SIG_CollDetRegionState_CollDetRegState_WarningLevel. * @@ -5949,7 +5947,7 @@ * * @ingroup ENUM_CollDetRegionState_CollDetRegState_WarningLevel */ -#define CollDetRegionState_CollDetRegState_WarningLevel_Warning 3 +#define CollDetRegionState_CollDetRegState_WarningLevel_Warning 3 /** * Value table CollDetRegionState_CollDetRegState_WarningLevel entry Preliminary. @@ -5958,7 +5956,7 @@ * * @ingroup ENUM_CollDetRegionState_CollDetRegState_WarningLevel */ -#define CollDetRegionState_CollDetRegState_WarningLevel_Preliminary 2 +#define CollDetRegionState_CollDetRegState_WarningLevel_Preliminary 2 /** * Value table CollDetRegionState_CollDetRegState_WarningLevel entry Object. @@ -5967,7 +5965,7 @@ * * @ingroup ENUM_CollDetRegionState_CollDetRegState_WarningLevel */ -#define CollDetRegionState_CollDetRegState_WarningLevel_Object 1 +#define CollDetRegionState_CollDetRegState_WarningLevel_Object 1 /** * Value table CollDetRegionState_CollDetRegState_WarningLevel entry No. @@ -5976,10 +5974,11 @@ * * @ingroup ENUM_CollDetRegionState_CollDetRegState_WarningLevel */ -#define CollDetRegionState_CollDetRegState_WarningLevel_No 0 +#define CollDetRegionState_CollDetRegState_WarningLevel_No 0 /** - * @defgroup SIG_CollDetRegionState_CollDetRegState_NofObjects Signal CollDetRegState_NofObjects of Message CollDetRegionState (0x402) + * @defgroup SIG_CollDetRegionState_CollDetRegState_NofObjects Signal CollDetRegState_NofObjects of + * Message CollDetRegionState (0x402) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -5992,17 +5991,19 @@ * Signal CollDetRegState_NofObjects configuration tuple. * * @deprecated - * Use \ref SET_CollDetRegionState_CollDetRegState_NofObjects and \ref GET_CollDetRegionState_CollDetRegState_NofObjects instead. + * Use \ref SET_CollDetRegionState_CollDetRegState_NofObjects and \ref + *GET_CollDetRegionState_CollDetRegState_NofObjects instead. */ -#define SIG_CollDetRegionState_CollDetRegState_NofObjects 1, 0, 63, 8 +#define SIG_CollDetRegionState_CollDetRegState_NofObjects 1, 0, 63, 8 /** * Signal CollDetRegState_NofObjects setup tuple. * * @deprecated - * Use \ref INITSIG_CollDetRegionState_CollDetRegState_NofObjects or \ref INIT_CollDetRegionState instead. + * Use \ref INITSIG_CollDetRegionState_CollDetRegState_NofObjects or \ref + *INIT_CollDetRegionState instead. */ -#define SETUP_CollDetRegionState_CollDetRegState_NofObjects 1, 0, 63, 8, 0 +#define SETUP_CollDetRegionState_CollDetRegState_NofObjects 1, 0, 63, 8, 0 /** * Get signal CollDetRegState_NofObjects from buffer. @@ -6012,9 +6013,8 @@ * @return * The raw signal */ -#define GET_CollDetRegionState_CollDetRegState_NofObjects(buf) (0 \ - | (ubyte)(+(ubyte)((buf[7] >> 0) & 0xff) << 0) \ -) +#define GET_CollDetRegionState_CollDetRegState_NofObjects(buf) \ + (0 | (ubyte)(+(ubyte)((buf[7] >> 0) & 0xff) << 0)) /** * Set signal CollDetRegState_NofObjects in buffer. @@ -6024,10 +6024,11 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetRegionState_CollDetRegState_NofObjects(buf, val) { \ - buf[7] &= ~(0xff << 0); \ - buf[7] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_CollDetRegionState_CollDetRegState_NofObjects(buf, val) \ + { \ + buf[7] &= ~(0xff << 0); \ + buf[7] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal CollDetRegState_NofObjects in buffer to its initial value. @@ -6036,7 +6037,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetRegionState_CollDetRegState_NofObjects(buf) \ - SET_CollDetRegionState_CollDetRegState_NofObjects(buf, 0) + SET_CollDetRegionState_CollDetRegState_NofObjects(buf, 0) /** * Signal CollDetRegState_NofObjects value conversion with 16 bit factor and offset. @@ -6049,35 +6050,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetRegionState_CollDetRegState_NofObjects(x, fmt) \ - ((x) * fmt) +#define CALC_CollDetRegionState_CollDetRegState_NofObjects(x, fmt) ((x) * fmt) /** * Signal CollDetRegState_NofObjects raw initial value. */ -#define START_CollDetRegionState_CollDetRegState_NofObjects 0 +#define START_CollDetRegionState_CollDetRegState_NofObjects 0 /** * Signal CollDetRegState_NofObjects raw minimum value. */ -#define MIN_CollDetRegionState_CollDetRegState_NofObjects 0 +#define MIN_CollDetRegionState_CollDetRegState_NofObjects 0 /** * Signal CollDetRegState_NofObjects raw maximum value. */ -#define MAX_CollDetRegionState_CollDetRegState_NofObjects 255 +#define MAX_CollDetRegionState_CollDetRegState_NofObjects 255 /** * Signal CollDetRegState_NofObjects raw offset value. */ -#define OFF_CollDetRegionState_CollDetRegState_NofObjects 0 +#define OFF_CollDetRegionState_CollDetRegState_NofObjects 0 /** * @} */ /** - * @defgroup SIG_CollDetRegionState_CollDetRegState_RegionID Signal CollDetRegState_RegionID of Message CollDetRegionState (0x402) + * @defgroup SIG_CollDetRegionState_CollDetRegState_RegionID Signal CollDetRegState_RegionID of + * Message CollDetRegionState (0x402) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -6090,17 +6091,19 @@ * Signal CollDetRegState_RegionID configuration tuple. * * @deprecated - * Use \ref SET_CollDetRegionState_CollDetRegState_RegionID and \ref GET_CollDetRegionState_CollDetRegState_RegionID instead. + * Use \ref SET_CollDetRegionState_CollDetRegState_RegionID and \ref + *GET_CollDetRegionState_CollDetRegState_RegionID instead. */ -#define SIG_CollDetRegionState_CollDetRegState_RegionID 1, 0, 7, 3 +#define SIG_CollDetRegionState_CollDetRegState_RegionID 1, 0, 7, 3 /** * Signal CollDetRegState_RegionID setup tuple. * * @deprecated - * Use \ref INITSIG_CollDetRegionState_CollDetRegState_RegionID or \ref INIT_CollDetRegionState instead. + * Use \ref INITSIG_CollDetRegionState_CollDetRegState_RegionID or \ref INIT_CollDetRegionState + *instead. */ -#define SETUP_CollDetRegionState_CollDetRegState_RegionID 1, 0, 7, 3, 0 +#define SETUP_CollDetRegionState_CollDetRegState_RegionID 1, 0, 7, 3, 0 /** * Get signal CollDetRegState_RegionID from buffer. @@ -6110,9 +6113,8 @@ * @return * The raw signal */ -#define GET_CollDetRegionState_CollDetRegState_RegionID(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 5) & 0x07) << 0) \ -) +#define GET_CollDetRegionState_CollDetRegState_RegionID(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 5) & 0x07) << 0)) /** * Set signal CollDetRegState_RegionID in buffer. @@ -6122,10 +6124,11 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetRegionState_CollDetRegState_RegionID(buf, val) { \ - buf[0] &= ~(0x07 << 5); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x07) << 5; \ -} +#define SET_CollDetRegionState_CollDetRegState_RegionID(buf, val) \ + { \ + buf[0] &= ~(0x07 << 5); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x07) << 5; \ + } /** * Set signal CollDetRegState_RegionID in buffer to its initial value. @@ -6134,7 +6137,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetRegionState_CollDetRegState_RegionID(buf) \ - SET_CollDetRegionState_CollDetRegState_RegionID(buf, 0) + SET_CollDetRegionState_CollDetRegState_RegionID(buf, 0) /** * Signal CollDetRegState_RegionID value conversion with 16 bit factor and offset. @@ -6147,35 +6150,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetRegionState_CollDetRegState_RegionID(x, fmt) \ - ((x) * fmt) +#define CALC_CollDetRegionState_CollDetRegState_RegionID(x, fmt) ((x) * fmt) /** * Signal CollDetRegState_RegionID raw initial value. */ -#define START_CollDetRegionState_CollDetRegState_RegionID 0 +#define START_CollDetRegionState_CollDetRegState_RegionID 0 /** * Signal CollDetRegState_RegionID raw minimum value. */ -#define MIN_CollDetRegionState_CollDetRegState_RegionID 0 +#define MIN_CollDetRegionState_CollDetRegState_RegionID 0 /** * Signal CollDetRegState_RegionID raw maximum value. */ -#define MAX_CollDetRegionState_CollDetRegState_RegionID 7 +#define MAX_CollDetRegionState_CollDetRegState_RegionID 7 /** * Signal CollDetRegState_RegionID raw offset value. */ -#define OFF_CollDetRegionState_CollDetRegState_RegionID 0 +#define OFF_CollDetRegionState_CollDetRegState_RegionID 0 /** * @} */ /** - * @defgroup SIG_CollDetRegionState_CollDetRegState_Point2Y Signal CollDetRegState_Point2Y of Message CollDetRegionState (0x402) + * @defgroup SIG_CollDetRegionState_CollDetRegState_Point2Y Signal CollDetRegState_Point2Y of + * Message CollDetRegionState (0x402) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -6188,17 +6191,19 @@ * Signal CollDetRegState_Point2Y configuration tuple. * * @deprecated - * Use \ref SET_CollDetRegionState_CollDetRegState_Point2Y and \ref GET_CollDetRegionState_CollDetRegState_Point2Y instead. + * Use \ref SET_CollDetRegionState_CollDetRegState_Point2Y and \ref + *GET_CollDetRegionState_CollDetRegState_Point2Y instead. */ -#define SIG_CollDetRegionState_CollDetRegState_Point2Y 1, 0, 42, 11 +#define SIG_CollDetRegionState_CollDetRegState_Point2Y 1, 0, 42, 11 /** * Signal CollDetRegState_Point2Y setup tuple. * * @deprecated - * Use \ref INITSIG_CollDetRegionState_CollDetRegState_Point2Y or \ref INIT_CollDetRegionState instead. + * Use \ref INITSIG_CollDetRegionState_CollDetRegState_Point2Y or \ref INIT_CollDetRegionState + *instead. */ -#define SETUP_CollDetRegionState_CollDetRegState_Point2Y 1, 0, 42, 11, 1023 +#define SETUP_CollDetRegionState_CollDetRegState_Point2Y 1, 0, 42, 11, 1023 /** * Get signal CollDetRegState_Point2Y from buffer. @@ -6208,10 +6213,8 @@ * @return * The raw signal */ -#define GET_CollDetRegionState_CollDetRegState_Point2Y(buf) (0 \ - | (uword)(+(uword)((buf[5] >> 0) & 0x07) << 8) \ - | (ubyte)(+(ubyte)((buf[6] >> 0) & 0xff) << 0) \ -) +#define GET_CollDetRegionState_CollDetRegState_Point2Y(buf) \ + (0 | (uword)(+(uword)((buf[5] >> 0) & 0x07) << 8) | (ubyte)(+(ubyte)((buf[6] >> 0) & 0xff) << 0)) /** * Set signal CollDetRegState_Point2Y in buffer. @@ -6221,12 +6224,13 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetRegionState_CollDetRegState_Point2Y(buf, val) { \ - buf[5] &= ~(0x07 << 0); \ - buf[5] |= ((ubyte)((uword)(val) >> 8) & 0x07) << 0; \ - buf[6] &= ~(0xff << 0); \ - buf[6] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_CollDetRegionState_CollDetRegState_Point2Y(buf, val) \ + { \ + buf[5] &= ~(0x07 << 0); \ + buf[5] |= ((ubyte)((uword)(val) >> 8) & 0x07) << 0; \ + buf[6] &= ~(0xff << 0); \ + buf[6] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal CollDetRegState_Point2Y in buffer to its initial value. @@ -6235,7 +6239,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetRegionState_CollDetRegState_Point2Y(buf) \ - SET_CollDetRegionState_CollDetRegState_Point2Y(buf, 1023) + SET_CollDetRegionState_CollDetRegState_Point2Y(buf, 1023) /** * Signal CollDetRegState_Point2Y value conversion with 16 bit factor and offset. @@ -6248,35 +6252,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetRegionState_CollDetRegState_Point2Y(x, fmt) \ - ((x) * fmt / 5 + fmt * (-1024) / 5) +#define CALC_CollDetRegionState_CollDetRegState_Point2Y(x, fmt) ((x) * fmt / 5 + fmt * (-1024) / 5) /** * Signal CollDetRegState_Point2Y raw initial value. */ -#define START_CollDetRegionState_CollDetRegState_Point2Y 1023 +#define START_CollDetRegionState_CollDetRegState_Point2Y 1023 /** * Signal CollDetRegState_Point2Y raw minimum value. */ -#define MIN_CollDetRegionState_CollDetRegState_Point2Y 0 +#define MIN_CollDetRegionState_CollDetRegState_Point2Y 0 /** * Signal CollDetRegState_Point2Y raw maximum value. */ -#define MAX_CollDetRegionState_CollDetRegState_Point2Y 2047 +#define MAX_CollDetRegionState_CollDetRegState_Point2Y 2047 /** * Signal CollDetRegState_Point2Y raw offset value. */ -#define OFF_CollDetRegionState_CollDetRegState_Point2Y -1023 +#define OFF_CollDetRegionState_CollDetRegState_Point2Y -1023 /** * @} */ /** - * @defgroup SIG_CollDetRegionState_CollDetRegState_Point2X Signal CollDetRegState_Point2X of Message CollDetRegionState (0x402) + * @defgroup SIG_CollDetRegionState_CollDetRegState_Point2X Signal CollDetRegState_Point2X of + * Message CollDetRegionState (0x402) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -6289,17 +6293,19 @@ * Signal CollDetRegState_Point2X configuration tuple. * * @deprecated - * Use \ref SET_CollDetRegionState_CollDetRegState_Point2X and \ref GET_CollDetRegionState_CollDetRegState_Point2X instead. + * Use \ref SET_CollDetRegionState_CollDetRegState_Point2X and \ref + *GET_CollDetRegionState_CollDetRegState_Point2X instead. */ -#define SIG_CollDetRegionState_CollDetRegState_Point2X 1, 0, 39, 13 +#define SIG_CollDetRegionState_CollDetRegState_Point2X 1, 0, 39, 13 /** * Signal CollDetRegState_Point2X setup tuple. * * @deprecated - * Use \ref INITSIG_CollDetRegionState_CollDetRegState_Point2X or \ref INIT_CollDetRegionState instead. + * Use \ref INITSIG_CollDetRegionState_CollDetRegState_Point2X or \ref INIT_CollDetRegionState + *instead. */ -#define SETUP_CollDetRegionState_CollDetRegState_Point2X 1, 0, 39, 13, 2500 +#define SETUP_CollDetRegionState_CollDetRegState_Point2X 1, 0, 39, 13, 2500 /** * Get signal CollDetRegState_Point2X from buffer. @@ -6309,10 +6315,8 @@ * @return * The raw signal */ -#define GET_CollDetRegionState_CollDetRegState_Point2X(buf) (0 \ - | (uword)(+(uword)((buf[4] >> 0) & 0xff) << 5) \ - | (ubyte)(+(ubyte)((buf[5] >> 3) & 0x1f) << 0) \ -) +#define GET_CollDetRegionState_CollDetRegState_Point2X(buf) \ + (0 | (uword)(+(uword)((buf[4] >> 0) & 0xff) << 5) | (ubyte)(+(ubyte)((buf[5] >> 3) & 0x1f) << 0)) /** * Set signal CollDetRegState_Point2X in buffer. @@ -6322,12 +6326,13 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetRegionState_CollDetRegState_Point2X(buf, val) { \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= ((ubyte)((uword)(val) >> 5) & 0xff) << 0; \ - buf[5] &= ~(0x1f << 3); \ - buf[5] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ -} +#define SET_CollDetRegionState_CollDetRegState_Point2X(buf, val) \ + { \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= ((ubyte)((uword)(val) >> 5) & 0xff) << 0; \ + buf[5] &= ~(0x1f << 3); \ + buf[5] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ + } /** * Set signal CollDetRegState_Point2X in buffer to its initial value. @@ -6336,7 +6341,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetRegionState_CollDetRegState_Point2X(buf) \ - SET_CollDetRegionState_CollDetRegState_Point2X(buf, 2500) + SET_CollDetRegionState_CollDetRegState_Point2X(buf, 2500) /** * Signal CollDetRegState_Point2X value conversion with 16 bit factor and offset. @@ -6349,35 +6354,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetRegionState_CollDetRegState_Point2X(x, fmt) \ - ((x) * fmt / 5 + fmt * (-500)) +#define CALC_CollDetRegionState_CollDetRegState_Point2X(x, fmt) ((x) * fmt / 5 + fmt * (-500)) /** * Signal CollDetRegState_Point2X raw initial value. */ -#define START_CollDetRegionState_CollDetRegState_Point2X 2500 +#define START_CollDetRegionState_CollDetRegState_Point2X 2500 /** * Signal CollDetRegState_Point2X raw minimum value. */ -#define MIN_CollDetRegionState_CollDetRegState_Point2X 0 +#define MIN_CollDetRegionState_CollDetRegState_Point2X 0 /** * Signal CollDetRegState_Point2X raw maximum value. */ -#define MAX_CollDetRegionState_CollDetRegState_Point2X 8191 +#define MAX_CollDetRegionState_CollDetRegState_Point2X 8191 /** * Signal CollDetRegState_Point2X raw offset value. */ -#define OFF_CollDetRegionState_CollDetRegState_Point2X -2500 +#define OFF_CollDetRegionState_CollDetRegState_Point2X -2500 /** * @} */ /** - * @defgroup SIG_CollDetRegionState_CollDetRegState_Point1Y Signal CollDetRegState_Point1Y of Message CollDetRegionState (0x402) + * @defgroup SIG_CollDetRegionState_CollDetRegState_Point1Y Signal CollDetRegState_Point1Y of + * Message CollDetRegionState (0x402) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -6390,17 +6395,19 @@ * Signal CollDetRegState_Point1Y configuration tuple. * * @deprecated - * Use \ref SET_CollDetRegionState_CollDetRegState_Point1Y and \ref GET_CollDetRegionState_CollDetRegState_Point1Y instead. + * Use \ref SET_CollDetRegionState_CollDetRegState_Point1Y and \ref + *GET_CollDetRegionState_CollDetRegState_Point1Y instead. */ -#define SIG_CollDetRegionState_CollDetRegState_Point1Y 1, 0, 18, 11 +#define SIG_CollDetRegionState_CollDetRegState_Point1Y 1, 0, 18, 11 /** * Signal CollDetRegState_Point1Y setup tuple. * * @deprecated - * Use \ref INITSIG_CollDetRegionState_CollDetRegState_Point1Y or \ref INIT_CollDetRegionState instead. + * Use \ref INITSIG_CollDetRegionState_CollDetRegState_Point1Y or \ref INIT_CollDetRegionState + *instead. */ -#define SETUP_CollDetRegionState_CollDetRegState_Point1Y 1, 0, 18, 11, 1023 +#define SETUP_CollDetRegionState_CollDetRegState_Point1Y 1, 0, 18, 11, 1023 /** * Get signal CollDetRegState_Point1Y from buffer. @@ -6410,10 +6417,8 @@ * @return * The raw signal */ -#define GET_CollDetRegionState_CollDetRegState_Point1Y(buf) (0 \ - | (uword)(+(uword)((buf[2] >> 0) & 0x07) << 8) \ - | (ubyte)(+(ubyte)((buf[3] >> 0) & 0xff) << 0) \ -) +#define GET_CollDetRegionState_CollDetRegState_Point1Y(buf) \ + (0 | (uword)(+(uword)((buf[2] >> 0) & 0x07) << 8) | (ubyte)(+(ubyte)((buf[3] >> 0) & 0xff) << 0)) /** * Set signal CollDetRegState_Point1Y in buffer. @@ -6423,12 +6428,13 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetRegionState_CollDetRegState_Point1Y(buf, val) { \ - buf[2] &= ~(0x07 << 0); \ - buf[2] |= ((ubyte)((uword)(val) >> 8) & 0x07) << 0; \ - buf[3] &= ~(0xff << 0); \ - buf[3] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_CollDetRegionState_CollDetRegState_Point1Y(buf, val) \ + { \ + buf[2] &= ~(0x07 << 0); \ + buf[2] |= ((ubyte)((uword)(val) >> 8) & 0x07) << 0; \ + buf[3] &= ~(0xff << 0); \ + buf[3] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal CollDetRegState_Point1Y in buffer to its initial value. @@ -6437,7 +6443,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetRegionState_CollDetRegState_Point1Y(buf) \ - SET_CollDetRegionState_CollDetRegState_Point1Y(buf, 1023) + SET_CollDetRegionState_CollDetRegState_Point1Y(buf, 1023) /** * Signal CollDetRegState_Point1Y value conversion with 16 bit factor and offset. @@ -6450,35 +6456,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetRegionState_CollDetRegState_Point1Y(x, fmt) \ - ((x) * fmt / 5 + fmt * (-1024) / 5) +#define CALC_CollDetRegionState_CollDetRegState_Point1Y(x, fmt) ((x) * fmt / 5 + fmt * (-1024) / 5) /** * Signal CollDetRegState_Point1Y raw initial value. */ -#define START_CollDetRegionState_CollDetRegState_Point1Y 1023 +#define START_CollDetRegionState_CollDetRegState_Point1Y 1023 /** * Signal CollDetRegState_Point1Y raw minimum value. */ -#define MIN_CollDetRegionState_CollDetRegState_Point1Y 0 +#define MIN_CollDetRegionState_CollDetRegState_Point1Y 0 /** * Signal CollDetRegState_Point1Y raw maximum value. */ -#define MAX_CollDetRegionState_CollDetRegState_Point1Y 2047 +#define MAX_CollDetRegionState_CollDetRegState_Point1Y 2047 /** * Signal CollDetRegState_Point1Y raw offset value. */ -#define OFF_CollDetRegionState_CollDetRegState_Point1Y -1023 +#define OFF_CollDetRegionState_CollDetRegState_Point1Y -1023 /** * @} */ /** - * @defgroup SIG_CollDetRegionState_CollDetRegState_Point1X Signal CollDetRegState_Point1X of Message CollDetRegionState (0x402) + * @defgroup SIG_CollDetRegionState_CollDetRegState_Point1X Signal CollDetRegState_Point1X of + * Message CollDetRegionState (0x402) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -6491,17 +6497,19 @@ * Signal CollDetRegState_Point1X configuration tuple. * * @deprecated - * Use \ref SET_CollDetRegionState_CollDetRegState_Point1X and \ref GET_CollDetRegionState_CollDetRegState_Point1X instead. + * Use \ref SET_CollDetRegionState_CollDetRegState_Point1X and \ref + *GET_CollDetRegionState_CollDetRegState_Point1X instead. */ -#define SIG_CollDetRegionState_CollDetRegState_Point1X 1, 0, 15, 13 +#define SIG_CollDetRegionState_CollDetRegState_Point1X 1, 0, 15, 13 /** * Signal CollDetRegState_Point1X setup tuple. * * @deprecated - * Use \ref INITSIG_CollDetRegionState_CollDetRegState_Point1X or \ref INIT_CollDetRegionState instead. + * Use \ref INITSIG_CollDetRegionState_CollDetRegState_Point1X or \ref INIT_CollDetRegionState + *instead. */ -#define SETUP_CollDetRegionState_CollDetRegState_Point1X 1, 0, 15, 13, 2500 +#define SETUP_CollDetRegionState_CollDetRegState_Point1X 1, 0, 15, 13, 2500 /** * Get signal CollDetRegState_Point1X from buffer. @@ -6511,10 +6519,8 @@ * @return * The raw signal */ -#define GET_CollDetRegionState_CollDetRegState_Point1X(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0xff) << 5) \ - | (ubyte)(+(ubyte)((buf[2] >> 3) & 0x1f) << 0) \ -) +#define GET_CollDetRegionState_CollDetRegState_Point1X(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0xff) << 5) | (ubyte)(+(ubyte)((buf[2] >> 3) & 0x1f) << 0)) /** * Set signal CollDetRegState_Point1X in buffer. @@ -6524,12 +6530,13 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetRegionState_CollDetRegState_Point1X(buf, val) { \ - buf[1] &= ~(0xff << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 5) & 0xff) << 0; \ - buf[2] &= ~(0x1f << 3); \ - buf[2] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ -} +#define SET_CollDetRegionState_CollDetRegState_Point1X(buf, val) \ + { \ + buf[1] &= ~(0xff << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 5) & 0xff) << 0; \ + buf[2] &= ~(0x1f << 3); \ + buf[2] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ + } /** * Set signal CollDetRegState_Point1X in buffer to its initial value. @@ -6538,7 +6545,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetRegionState_CollDetRegState_Point1X(buf) \ - SET_CollDetRegionState_CollDetRegState_Point1X(buf, 2500) + SET_CollDetRegionState_CollDetRegState_Point1X(buf, 2500) /** * Signal CollDetRegState_Point1X value conversion with 16 bit factor and offset. @@ -6551,35 +6558,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetRegionState_CollDetRegState_Point1X(x, fmt) \ - ((x) * fmt / 5 + fmt * (-500)) +#define CALC_CollDetRegionState_CollDetRegState_Point1X(x, fmt) ((x) * fmt / 5 + fmt * (-500)) /** * Signal CollDetRegState_Point1X raw initial value. */ -#define START_CollDetRegionState_CollDetRegState_Point1X 2500 +#define START_CollDetRegionState_CollDetRegState_Point1X 2500 /** * Signal CollDetRegState_Point1X raw minimum value. */ -#define MIN_CollDetRegionState_CollDetRegState_Point1X 0 +#define MIN_CollDetRegionState_CollDetRegState_Point1X 0 /** * Signal CollDetRegState_Point1X raw maximum value. */ -#define MAX_CollDetRegionState_CollDetRegState_Point1X 8191 +#define MAX_CollDetRegionState_CollDetRegState_Point1X 8191 /** * Signal CollDetRegState_Point1X raw offset value. */ -#define OFF_CollDetRegionState_CollDetRegState_Point1X -2500 +#define OFF_CollDetRegionState_CollDetRegState_Point1X -2500 /** * @} */ /** - * @defgroup SIG_Obj_4_Warning_Obj_CollDetRegionBitfield Signal Obj_CollDetRegionBitfield of Message Obj_4_Warning (0x60e) + * @defgroup SIG_Obj_4_Warning_Obj_CollDetRegionBitfield Signal Obj_CollDetRegionBitfield of Message + * Obj_4_Warning (0x60e) * * Region bit field with collision detection * @@ -6594,9 +6601,10 @@ * Signal Obj_CollDetRegionBitfield configuration tuple. * * @deprecated - * Use \ref SET_Obj_4_Warning_Obj_CollDetRegionBitfield and \ref GET_Obj_4_Warning_Obj_CollDetRegionBitfield instead. + * Use \ref SET_Obj_4_Warning_Obj_CollDetRegionBitfield and \ref + *GET_Obj_4_Warning_Obj_CollDetRegionBitfield instead. */ -#define SIG_Obj_4_Warning_Obj_CollDetRegionBitfield 1, 0, 15, 8 +#define SIG_Obj_4_Warning_Obj_CollDetRegionBitfield 1, 0, 15, 8 /** * Signal Obj_CollDetRegionBitfield setup tuple. @@ -6604,7 +6612,7 @@ * @deprecated * Use \ref INITSIG_Obj_4_Warning_Obj_CollDetRegionBitfield or \ref INIT_Obj_4_Warning instead. */ -#define SETUP_Obj_4_Warning_Obj_CollDetRegionBitfield 1, 0, 15, 8, 0 +#define SETUP_Obj_4_Warning_Obj_CollDetRegionBitfield 1, 0, 15, 8, 0 /** * Get signal Obj_CollDetRegionBitfield from buffer. @@ -6614,9 +6622,8 @@ * @return * The raw signal */ -#define GET_Obj_4_Warning_Obj_CollDetRegionBitfield(buf) (0 \ - | (ubyte)(+(ubyte)((buf[1] >> 0) & 0xff) << 0) \ -) +#define GET_Obj_4_Warning_Obj_CollDetRegionBitfield(buf) \ + (0 | (ubyte)(+(ubyte)((buf[1] >> 0) & 0xff) << 0)) /** * Set signal Obj_CollDetRegionBitfield in buffer. @@ -6626,10 +6633,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_4_Warning_Obj_CollDetRegionBitfield(buf, val) { \ - buf[1] &= ~(0xff << 0); \ - buf[1] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_Obj_4_Warning_Obj_CollDetRegionBitfield(buf, val) \ + { \ + buf[1] &= ~(0xff << 0); \ + buf[1] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Obj_CollDetRegionBitfield in buffer to its initial value. @@ -6638,7 +6646,7 @@ * The can message buffer to initialise */ #define INITSIG_Obj_4_Warning_Obj_CollDetRegionBitfield(buf) \ - SET_Obj_4_Warning_Obj_CollDetRegionBitfield(buf, 0) + SET_Obj_4_Warning_Obj_CollDetRegionBitfield(buf, 0) /** * Signal Obj_CollDetRegionBitfield value conversion with 16 bit factor and offset. @@ -6651,28 +6659,27 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_4_Warning_Obj_CollDetRegionBitfield(x, fmt) \ - ((x) * fmt) +#define CALC_Obj_4_Warning_Obj_CollDetRegionBitfield(x, fmt) ((x) * fmt) /** * Signal Obj_CollDetRegionBitfield raw initial value. */ -#define START_Obj_4_Warning_Obj_CollDetRegionBitfield 0 +#define START_Obj_4_Warning_Obj_CollDetRegionBitfield 0 /** * Signal Obj_CollDetRegionBitfield raw minimum value. */ -#define MIN_Obj_4_Warning_Obj_CollDetRegionBitfield 0 +#define MIN_Obj_4_Warning_Obj_CollDetRegionBitfield 0 /** * Signal Obj_CollDetRegionBitfield raw maximum value. */ -#define MAX_Obj_4_Warning_Obj_CollDetRegionBitfield 255 +#define MAX_Obj_4_Warning_Obj_CollDetRegionBitfield 255 /** * Signal Obj_CollDetRegionBitfield raw offset value. */ -#define OFF_Obj_4_Warning_Obj_CollDetRegionBitfield 0 +#define OFF_Obj_4_Warning_Obj_CollDetRegionBitfield 0 /** * @} @@ -6696,7 +6703,7 @@ * @deprecated * Use \ref SET_Obj_4_Warning_Obj_ID and \ref GET_Obj_4_Warning_Obj_ID instead. */ -#define SIG_Obj_4_Warning_Obj_ID 1, 0, 7, 8 +#define SIG_Obj_4_Warning_Obj_ID 1, 0, 7, 8 /** * Signal Obj_ID setup tuple. @@ -6704,7 +6711,7 @@ * @deprecated * Use \ref INITSIG_Obj_4_Warning_Obj_ID or \ref INIT_Obj_4_Warning instead. */ -#define SETUP_Obj_4_Warning_Obj_ID 1, 0, 7, 8, 0 +#define SETUP_Obj_4_Warning_Obj_ID 1, 0, 7, 8, 0 /** * Get signal Obj_ID from buffer. @@ -6714,9 +6721,7 @@ * @return * The raw signal */ -#define GET_Obj_4_Warning_Obj_ID(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0) \ -) +#define GET_Obj_4_Warning_Obj_ID(buf) (0 | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0)) /** * Set signal Obj_ID in buffer. @@ -6726,10 +6731,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_4_Warning_Obj_ID(buf, val) { \ - buf[0] &= ~(0xff << 0); \ - buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_Obj_4_Warning_Obj_ID(buf, val) \ + { \ + buf[0] &= ~(0xff << 0); \ + buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Obj_ID in buffer to its initial value. @@ -6737,8 +6743,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_4_Warning_Obj_ID(buf) \ - SET_Obj_4_Warning_Obj_ID(buf, 0) +#define INITSIG_Obj_4_Warning_Obj_ID(buf) SET_Obj_4_Warning_Obj_ID(buf, 0) /** * Signal Obj_ID value conversion with 16 bit factor and offset. @@ -6751,35 +6756,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_4_Warning_Obj_ID(x, fmt) \ - ((x) * fmt) +#define CALC_Obj_4_Warning_Obj_ID(x, fmt) ((x) * fmt) /** * Signal Obj_ID raw initial value. */ -#define START_Obj_4_Warning_Obj_ID 0 +#define START_Obj_4_Warning_Obj_ID 0 /** * Signal Obj_ID raw minimum value. */ -#define MIN_Obj_4_Warning_Obj_ID 0 +#define MIN_Obj_4_Warning_Obj_ID 0 /** * Signal Obj_ID raw maximum value. */ -#define MAX_Obj_4_Warning_Obj_ID 255 +#define MAX_Obj_4_Warning_Obj_ID 255 /** * Signal Obj_ID raw offset value. */ -#define OFF_Obj_4_Warning_Obj_ID 0 +#define OFF_Obj_4_Warning_Obj_ID 0 /** * @} */ /** - * @defgroup SIG_CollDetRelayCtrl_CollDetRelayCtrl_Param Signal CollDetRelayCtrl_Param of Message CollDetRelayCtrl (0x8) + * @defgroup SIG_CollDetRelayCtrl_CollDetRelayCtrl_Param Signal CollDetRelayCtrl_Param of Message + * CollDetRelayCtrl (0x8) * * Region bit field for control relay * @@ -6794,17 +6799,19 @@ * Signal CollDetRelayCtrl_Param configuration tuple. * * @deprecated - * Use \ref SET_CollDetRelayCtrl_CollDetRelayCtrl_Param and \ref GET_CollDetRelayCtrl_CollDetRelayCtrl_Param instead. + * Use \ref SET_CollDetRelayCtrl_CollDetRelayCtrl_Param and \ref + *GET_CollDetRelayCtrl_CollDetRelayCtrl_Param instead. */ -#define SIG_CollDetRelayCtrl_CollDetRelayCtrl_Param 1, 0, 7, 8 +#define SIG_CollDetRelayCtrl_CollDetRelayCtrl_Param 1, 0, 7, 8 /** * Signal CollDetRelayCtrl_Param setup tuple. * * @deprecated - * Use \ref INITSIG_CollDetRelayCtrl_CollDetRelayCtrl_Param or \ref INIT_CollDetRelayCtrl instead. + * Use \ref INITSIG_CollDetRelayCtrl_CollDetRelayCtrl_Param or \ref INIT_CollDetRelayCtrl + *instead. */ -#define SETUP_CollDetRelayCtrl_CollDetRelayCtrl_Param 1, 0, 7, 8, 0 +#define SETUP_CollDetRelayCtrl_CollDetRelayCtrl_Param 1, 0, 7, 8, 0 /** * Get signal CollDetRelayCtrl_Param from buffer. @@ -6814,9 +6821,8 @@ * @return * The raw signal */ -#define GET_CollDetRelayCtrl_CollDetRelayCtrl_Param(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0) \ -) +#define GET_CollDetRelayCtrl_CollDetRelayCtrl_Param(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0)) /** * Set signal CollDetRelayCtrl_Param in buffer. @@ -6826,10 +6832,11 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetRelayCtrl_CollDetRelayCtrl_Param(buf, val) { \ - buf[0] &= ~(0xff << 0); \ - buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_CollDetRelayCtrl_CollDetRelayCtrl_Param(buf, val) \ + { \ + buf[0] &= ~(0xff << 0); \ + buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal CollDetRelayCtrl_Param in buffer to its initial value. @@ -6838,7 +6845,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetRelayCtrl_CollDetRelayCtrl_Param(buf) \ - SET_CollDetRelayCtrl_CollDetRelayCtrl_Param(buf, 0) + SET_CollDetRelayCtrl_CollDetRelayCtrl_Param(buf, 0) /** * Signal CollDetRelayCtrl_Param value conversion with 16 bit factor and offset. @@ -6851,35 +6858,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetRelayCtrl_CollDetRelayCtrl_Param(x, fmt) \ - ((x) * fmt) +#define CALC_CollDetRelayCtrl_CollDetRelayCtrl_Param(x, fmt) ((x) * fmt) /** * Signal CollDetRelayCtrl_Param raw initial value. */ -#define START_CollDetRelayCtrl_CollDetRelayCtrl_Param 0 +#define START_CollDetRelayCtrl_CollDetRelayCtrl_Param 0 /** * Signal CollDetRelayCtrl_Param raw minimum value. */ -#define MIN_CollDetRelayCtrl_CollDetRelayCtrl_Param 0 +#define MIN_CollDetRelayCtrl_CollDetRelayCtrl_Param 0 /** * Signal CollDetRelayCtrl_Param raw maximum value. */ -#define MAX_CollDetRelayCtrl_CollDetRelayCtrl_Param 255 +#define MAX_CollDetRelayCtrl_CollDetRelayCtrl_Param 255 /** * Signal CollDetRelayCtrl_Param raw offset value. */ -#define OFF_CollDetRelayCtrl_CollDetRelayCtrl_Param 0 +#define OFF_CollDetRelayCtrl_CollDetRelayCtrl_Param 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Max_Class Signal FilterState_Max_Class of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Max_Class Signal FilterState_Max_Class of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -6892,9 +6899,10 @@ * Signal FilterState_Max_Class configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Max_Class and \ref GET_FilterState_Cfg_FilterState_Max_Class instead. + * Use \ref SET_FilterState_Cfg_FilterState_Max_Class and \ref + *GET_FilterState_Cfg_FilterState_Max_Class instead. */ -#define SIG_FilterState_Cfg_FilterState_Max_Class 1, 0, 39, 8 +#define SIG_FilterState_Cfg_FilterState_Max_Class 1, 0, 39, 8 /** * Signal FilterState_Max_Class setup tuple. @@ -6902,7 +6910,7 @@ * @deprecated * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_Class or \ref INIT_FilterState_Cfg instead. */ -#define SETUP_FilterState_Cfg_FilterState_Max_Class 1, 0, 39, 8, 0 +#define SETUP_FilterState_Cfg_FilterState_Max_Class 1, 0, 39, 8, 0 /** * Get signal FilterState_Max_Class from buffer. @@ -6912,9 +6920,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Max_Class(buf) (0 \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Max_Class(buf) \ + (0 | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Max_Class in buffer. @@ -6924,10 +6931,11 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Max_Class(buf, val) { \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Max_Class(buf, val) \ + { \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Max_Class in buffer to its initial value. @@ -6936,7 +6944,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Max_Class(buf) \ - SET_FilterState_Cfg_FilterState_Max_Class(buf, 0) + SET_FilterState_Cfg_FilterState_Max_Class(buf, 0) /** * Signal FilterState_Max_Class value conversion with 16 bit factor and offset. @@ -6949,35 +6957,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Max_Class(x, fmt) \ - ((x) * fmt) +#define CALC_FilterState_Cfg_FilterState_Max_Class(x, fmt) ((x) * fmt) /** * Signal FilterState_Max_Class raw initial value. */ -#define START_FilterState_Cfg_FilterState_Max_Class 0 +#define START_FilterState_Cfg_FilterState_Max_Class 0 /** * Signal FilterState_Max_Class raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Max_Class 0 +#define MIN_FilterState_Cfg_FilterState_Max_Class 0 /** * Signal FilterState_Max_Class raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Max_Class 255 +#define MAX_FilterState_Cfg_FilterState_Max_Class 255 /** * Signal FilterState_Max_Class raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Max_Class 0 +#define OFF_FilterState_Cfg_FilterState_Max_Class 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Min_Class Signal FilterState_Min_Class of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Min_Class Signal FilterState_Min_Class of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -6990,9 +6998,10 @@ * Signal FilterState_Min_Class configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Min_Class and \ref GET_FilterState_Cfg_FilterState_Min_Class instead. + * Use \ref SET_FilterState_Cfg_FilterState_Min_Class and \ref + *GET_FilterState_Cfg_FilterState_Min_Class instead. */ -#define SIG_FilterState_Cfg_FilterState_Min_Class 1, 0, 23, 8 +#define SIG_FilterState_Cfg_FilterState_Min_Class 1, 0, 23, 8 /** * Signal FilterState_Min_Class setup tuple. @@ -7000,7 +7009,7 @@ * @deprecated * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_Class or \ref INIT_FilterState_Cfg instead. */ -#define SETUP_FilterState_Cfg_FilterState_Min_Class 1, 0, 23, 8, 0 +#define SETUP_FilterState_Cfg_FilterState_Min_Class 1, 0, 23, 8, 0 /** * Get signal FilterState_Min_Class from buffer. @@ -7010,9 +7019,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Min_Class(buf) (0 \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Min_Class(buf) \ + (0 | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Min_Class in buffer. @@ -7022,10 +7030,11 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Min_Class(buf, val) { \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Min_Class(buf, val) \ + { \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Min_Class in buffer to its initial value. @@ -7034,7 +7043,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Min_Class(buf) \ - SET_FilterState_Cfg_FilterState_Min_Class(buf, 0) + SET_FilterState_Cfg_FilterState_Min_Class(buf, 0) /** * Signal FilterState_Min_Class value conversion with 16 bit factor and offset. @@ -7047,35 +7056,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Min_Class(x, fmt) \ - ((x) * fmt) +#define CALC_FilterState_Cfg_FilterState_Min_Class(x, fmt) ((x) * fmt) /** * Signal FilterState_Min_Class raw initial value. */ -#define START_FilterState_Cfg_FilterState_Min_Class 0 +#define START_FilterState_Cfg_FilterState_Min_Class 0 /** * Signal FilterState_Min_Class raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Min_Class 0 +#define MIN_FilterState_Cfg_FilterState_Min_Class 0 /** * Signal FilterState_Min_Class raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Min_Class 255 +#define MAX_FilterState_Cfg_FilterState_Min_Class 255 /** * Signal FilterState_Min_Class raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Min_Class 0 +#define OFF_FilterState_Cfg_FilterState_Min_Class 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Min_Y Signal FilterState_Min_Y of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Min_Y Signal FilterState_Min_Y of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -7088,9 +7097,10 @@ * Signal FilterState_Min_Y configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Min_Y and \ref GET_FilterState_Cfg_FilterState_Min_Y instead. + * Use \ref SET_FilterState_Cfg_FilterState_Min_Y and \ref + *GET_FilterState_Cfg_FilterState_Min_Y instead. */ -#define SIG_FilterState_Cfg_FilterState_Min_Y 1, 0, 11, 12 +#define SIG_FilterState_Cfg_FilterState_Min_Y 1, 0, 11, 12 /** * Signal FilterState_Min_Y setup tuple. @@ -7098,7 +7108,7 @@ * @deprecated * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_Y or \ref INIT_FilterState_Cfg instead. */ -#define SETUP_FilterState_Cfg_FilterState_Min_Y 1, 0, 11, 12, 2047.5 +#define SETUP_FilterState_Cfg_FilterState_Min_Y 1, 0, 11, 12, 2047.5 /** * Get signal FilterState_Min_Y from buffer. @@ -7108,10 +7118,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Min_Y(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Min_Y(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Min_Y in buffer. @@ -7121,12 +7129,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Min_Y(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Min_Y(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Min_Y in buffer to its initial value. @@ -7135,7 +7144,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Min_Y(buf) \ - SET_FilterState_Cfg_FilterState_Min_Y(buf, 2047.5) + SET_FilterState_Cfg_FilterState_Min_Y(buf, 2047.5) /** * Signal FilterState_Min_Y value conversion with 16 bit factor and offset. @@ -7148,35 +7157,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Min_Y(x, fmt) \ - ((x) * fmt / 5 + fmt * 819 / (-2)) +#define CALC_FilterState_Cfg_FilterState_Min_Y(x, fmt) ((x) * fmt / 5 + fmt * 819 / (-2)) /** * Signal FilterState_Min_Y raw initial value. */ -#define START_FilterState_Cfg_FilterState_Min_Y 2047.5 +#define START_FilterState_Cfg_FilterState_Min_Y 2047.5 /** * Signal FilterState_Min_Y raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Min_Y 0 +#define MIN_FilterState_Cfg_FilterState_Min_Y 0 /** * Signal FilterState_Min_Y raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Min_Y 4095 +#define MAX_FilterState_Cfg_FilterState_Min_Y 4095 /** * Signal FilterState_Min_Y raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Min_Y -2048 +#define OFF_FilterState_Cfg_FilterState_Min_Y -2048 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Min_X Signal FilterState_Min_X of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Min_X Signal FilterState_Min_X of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -7189,9 +7198,10 @@ * Signal FilterState_Min_X configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Min_X and \ref GET_FilterState_Cfg_FilterState_Min_X instead. + * Use \ref SET_FilterState_Cfg_FilterState_Min_X and \ref + *GET_FilterState_Cfg_FilterState_Min_X instead. */ -#define SIG_FilterState_Cfg_FilterState_Min_X 1, 0, 12, 13 +#define SIG_FilterState_Cfg_FilterState_Min_X 1, 0, 12, 13 /** * Signal FilterState_Min_X setup tuple. @@ -7199,7 +7209,7 @@ * @deprecated * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_X or \ref INIT_FilterState_Cfg instead. */ -#define SETUP_FilterState_Cfg_FilterState_Min_X 1, 0, 12, 13, 2047.5 +#define SETUP_FilterState_Cfg_FilterState_Min_X 1, 0, 12, 13, 2047.5 /** * Get signal FilterState_Min_X from buffer. @@ -7209,10 +7219,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Min_X(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x1f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Min_X(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x1f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Min_X in buffer. @@ -7222,12 +7230,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Min_X(buf, val) { \ - buf[1] &= ~(0x1f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x1f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Min_X(buf, val) \ + { \ + buf[1] &= ~(0x1f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x1f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Min_X in buffer to its initial value. @@ -7236,7 +7245,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Min_X(buf) \ - SET_FilterState_Cfg_FilterState_Min_X(buf, 2047.5) + SET_FilterState_Cfg_FilterState_Min_X(buf, 2047.5) /** * Signal FilterState_Min_X value conversion with 16 bit factor and offset. @@ -7249,35 +7258,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Min_X(x, fmt) \ - ((x) * fmt / 5 + fmt * (-500)) +#define CALC_FilterState_Cfg_FilterState_Min_X(x, fmt) ((x) * fmt / 5 + fmt * (-500)) /** * Signal FilterState_Min_X raw initial value. */ -#define START_FilterState_Cfg_FilterState_Min_X 2047.5 +#define START_FilterState_Cfg_FilterState_Min_X 2047.5 /** * Signal FilterState_Min_X raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Min_X 0 +#define MIN_FilterState_Cfg_FilterState_Min_X 0 /** * Signal FilterState_Min_X raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Min_X 8191 +#define MAX_FilterState_Cfg_FilterState_Min_X 8191 /** * Signal FilterState_Min_X raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Min_X -2500 +#define OFF_FilterState_Cfg_FilterState_Min_X -2500 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Min_VYRightLeft Signal FilterState_Min_VYRightLeft of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Min_VYRightLeft Signal FilterState_Min_VYRightLeft of + * Message FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -7290,17 +7299,19 @@ * Signal FilterState_Min_VYRightLeft configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Min_VYRightLeft and \ref GET_FilterState_Cfg_FilterState_Min_VYRightLeft instead. + * Use \ref SET_FilterState_Cfg_FilterState_Min_VYRightLeft and \ref + *GET_FilterState_Cfg_FilterState_Min_VYRightLeft instead. */ -#define SIG_FilterState_Cfg_FilterState_Min_VYRightLeft 1, 0, 11, 12 +#define SIG_FilterState_Cfg_FilterState_Min_VYRightLeft 1, 0, 11, 12 /** * Signal FilterState_Min_VYRightLeft setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_VYRightLeft or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_VYRightLeft or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Min_VYRightLeft 1, 0, 11, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Min_VYRightLeft 1, 0, 11, 12, 0 /** * Get signal FilterState_Min_VYRightLeft from buffer. @@ -7310,10 +7321,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Min_VYRightLeft(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Min_VYRightLeft(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Min_VYRightLeft in buffer. @@ -7323,12 +7332,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Min_VYRightLeft(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Min_VYRightLeft(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Min_VYRightLeft in buffer to its initial value. @@ -7337,7 +7347,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Min_VYRightLeft(buf) \ - SET_FilterState_Cfg_FilterState_Min_VYRightLeft(buf, 0) + SET_FilterState_Cfg_FilterState_Min_VYRightLeft(buf, 0) /** * Signal FilterState_Min_VYRightLeft value conversion with 16 bit factor and offset. @@ -7350,35 +7360,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Min_VYRightLeft(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterState_Cfg_FilterState_Min_VYRightLeft(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterState_Min_VYRightLeft raw initial value. */ -#define START_FilterState_Cfg_FilterState_Min_VYRightLeft 0 +#define START_FilterState_Cfg_FilterState_Min_VYRightLeft 0 /** * Signal FilterState_Min_VYRightLeft raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Min_VYRightLeft 0 +#define MIN_FilterState_Cfg_FilterState_Min_VYRightLeft 0 /** * Signal FilterState_Min_VYRightLeft raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Min_VYRightLeft 4095 +#define MAX_FilterState_Cfg_FilterState_Min_VYRightLeft 4095 /** * Signal FilterState_Min_VYRightLeft raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Min_VYRightLeft 0 +#define OFF_FilterState_Cfg_FilterState_Min_VYRightLeft 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Min_VYLeftRight Signal FilterState_Min_VYLeftRight of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Min_VYLeftRight Signal FilterState_Min_VYLeftRight of + * Message FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -7391,17 +7401,19 @@ * Signal FilterState_Min_VYLeftRight configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Min_VYLeftRight and \ref GET_FilterState_Cfg_FilterState_Min_VYLeftRight instead. + * Use \ref SET_FilterState_Cfg_FilterState_Min_VYLeftRight and \ref + *GET_FilterState_Cfg_FilterState_Min_VYLeftRight instead. */ -#define SIG_FilterState_Cfg_FilterState_Min_VYLeftRight 1, 0, 11, 12 +#define SIG_FilterState_Cfg_FilterState_Min_VYLeftRight 1, 0, 11, 12 /** * Signal FilterState_Min_VYLeftRight setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_VYLeftRight or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_VYLeftRight or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Min_VYLeftRight 1, 0, 11, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Min_VYLeftRight 1, 0, 11, 12, 0 /** * Get signal FilterState_Min_VYLeftRight from buffer. @@ -7411,10 +7423,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Min_VYLeftRight(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Min_VYLeftRight(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Min_VYLeftRight in buffer. @@ -7424,12 +7434,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Min_VYLeftRight(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Min_VYLeftRight(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Min_VYLeftRight in buffer to its initial value. @@ -7438,7 +7449,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Min_VYLeftRight(buf) \ - SET_FilterState_Cfg_FilterState_Min_VYLeftRight(buf, 0) + SET_FilterState_Cfg_FilterState_Min_VYLeftRight(buf, 0) /** * Signal FilterState_Min_VYLeftRight value conversion with 16 bit factor and offset. @@ -7451,35 +7462,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Min_VYLeftRight(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterState_Cfg_FilterState_Min_VYLeftRight(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterState_Min_VYLeftRight raw initial value. */ -#define START_FilterState_Cfg_FilterState_Min_VYLeftRight 0 +#define START_FilterState_Cfg_FilterState_Min_VYLeftRight 0 /** * Signal FilterState_Min_VYLeftRight raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Min_VYLeftRight 0 +#define MIN_FilterState_Cfg_FilterState_Min_VYLeftRight 0 /** * Signal FilterState_Min_VYLeftRight raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Min_VYLeftRight 4095 +#define MAX_FilterState_Cfg_FilterState_Min_VYLeftRight 4095 /** * Signal FilterState_Min_VYLeftRight raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Min_VYLeftRight 0 +#define OFF_FilterState_Cfg_FilterState_Min_VYLeftRight 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Min_VXOncome Signal FilterState_Min_VXOncome of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Min_VXOncome Signal FilterState_Min_VXOncome of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -7492,17 +7503,19 @@ * Signal FilterState_Min_VXOncome configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Min_VXOncome and \ref GET_FilterState_Cfg_FilterState_Min_VXOncome instead. + * Use \ref SET_FilterState_Cfg_FilterState_Min_VXOncome and \ref + *GET_FilterState_Cfg_FilterState_Min_VXOncome instead. */ -#define SIG_FilterState_Cfg_FilterState_Min_VXOncome 1, 0, 11, 12 +#define SIG_FilterState_Cfg_FilterState_Min_VXOncome 1, 0, 11, 12 /** * Signal FilterState_Min_VXOncome setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_VXOncome or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_VXOncome or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Min_VXOncome 1, 0, 11, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Min_VXOncome 1, 0, 11, 12, 0 /** * Get signal FilterState_Min_VXOncome from buffer. @@ -7512,10 +7525,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Min_VXOncome(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Min_VXOncome(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Min_VXOncome in buffer. @@ -7525,12 +7536,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Min_VXOncome(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Min_VXOncome(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Min_VXOncome in buffer to its initial value. @@ -7539,7 +7551,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Min_VXOncome(buf) \ - SET_FilterState_Cfg_FilterState_Min_VXOncome(buf, 0) + SET_FilterState_Cfg_FilterState_Min_VXOncome(buf, 0) /** * Signal FilterState_Min_VXOncome value conversion with 16 bit factor and offset. @@ -7552,35 +7564,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Min_VXOncome(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterState_Cfg_FilterState_Min_VXOncome(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterState_Min_VXOncome raw initial value. */ -#define START_FilterState_Cfg_FilterState_Min_VXOncome 0 +#define START_FilterState_Cfg_FilterState_Min_VXOncome 0 /** * Signal FilterState_Min_VXOncome raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Min_VXOncome 0 +#define MIN_FilterState_Cfg_FilterState_Min_VXOncome 0 /** * Signal FilterState_Min_VXOncome raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Min_VXOncome 4095 +#define MAX_FilterState_Cfg_FilterState_Min_VXOncome 4095 /** * Signal FilterState_Min_VXOncome raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Min_VXOncome 0 +#define OFF_FilterState_Cfg_FilterState_Min_VXOncome 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Min_VXDepart Signal FilterState_Min_VXDepart of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Min_VXDepart Signal FilterState_Min_VXDepart of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -7593,17 +7605,19 @@ * Signal FilterState_Min_VXDepart configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Min_VXDepart and \ref GET_FilterState_Cfg_FilterState_Min_VXDepart instead. + * Use \ref SET_FilterState_Cfg_FilterState_Min_VXDepart and \ref + *GET_FilterState_Cfg_FilterState_Min_VXDepart instead. */ -#define SIG_FilterState_Cfg_FilterState_Min_VXDepart 1, 0, 11, 12 +#define SIG_FilterState_Cfg_FilterState_Min_VXDepart 1, 0, 11, 12 /** * Signal FilterState_Min_VXDepart setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_VXDepart or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_VXDepart or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Min_VXDepart 1, 0, 11, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Min_VXDepart 1, 0, 11, 12, 0 /** * Get signal FilterState_Min_VXDepart from buffer. @@ -7613,10 +7627,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Min_VXDepart(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Min_VXDepart(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Min_VXDepart in buffer. @@ -7626,12 +7638,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Min_VXDepart(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Min_VXDepart(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Min_VXDepart in buffer to its initial value. @@ -7640,7 +7653,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Min_VXDepart(buf) \ - SET_FilterState_Cfg_FilterState_Min_VXDepart(buf, 0) + SET_FilterState_Cfg_FilterState_Min_VXDepart(buf, 0) /** * Signal FilterState_Min_VXDepart value conversion with 16 bit factor and offset. @@ -7653,35 +7666,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Min_VXDepart(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterState_Cfg_FilterState_Min_VXDepart(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterState_Min_VXDepart raw initial value. */ -#define START_FilterState_Cfg_FilterState_Min_VXDepart 0 +#define START_FilterState_Cfg_FilterState_Min_VXDepart 0 /** * Signal FilterState_Min_VXDepart raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Min_VXDepart 0 +#define MIN_FilterState_Cfg_FilterState_Min_VXDepart 0 /** * Signal FilterState_Min_VXDepart raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Min_VXDepart 4095 +#define MAX_FilterState_Cfg_FilterState_Min_VXDepart 4095 /** * Signal FilterState_Min_VXDepart raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Min_VXDepart 0 +#define OFF_FilterState_Cfg_FilterState_Min_VXDepart 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Max_Y Signal FilterState_Max_Y of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Max_Y Signal FilterState_Max_Y of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -7694,9 +7707,10 @@ * Signal FilterState_Max_Y configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Max_Y and \ref GET_FilterState_Cfg_FilterState_Max_Y instead. + * Use \ref SET_FilterState_Cfg_FilterState_Max_Y and \ref + *GET_FilterState_Cfg_FilterState_Max_Y instead. */ -#define SIG_FilterState_Cfg_FilterState_Max_Y 1, 0, 27, 12 +#define SIG_FilterState_Cfg_FilterState_Max_Y 1, 0, 27, 12 /** * Signal FilterState_Max_Y setup tuple. @@ -7704,7 +7718,7 @@ * @deprecated * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_Y or \ref INIT_FilterState_Cfg instead. */ -#define SETUP_FilterState_Cfg_FilterState_Max_Y 1, 0, 27, 12, 2047.5 +#define SETUP_FilterState_Cfg_FilterState_Max_Y 1, 0, 27, 12, 2047.5 /** * Get signal FilterState_Max_Y from buffer. @@ -7714,10 +7728,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Max_Y(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Max_Y(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Max_Y in buffer. @@ -7727,12 +7739,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Max_Y(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Max_Y(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Max_Y in buffer to its initial value. @@ -7741,7 +7754,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Max_Y(buf) \ - SET_FilterState_Cfg_FilterState_Max_Y(buf, 2047.5) + SET_FilterState_Cfg_FilterState_Max_Y(buf, 2047.5) /** * Signal FilterState_Max_Y value conversion with 16 bit factor and offset. @@ -7754,35 +7767,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Max_Y(x, fmt) \ - ((x) * fmt / 5 + fmt * 819 / (-2)) +#define CALC_FilterState_Cfg_FilterState_Max_Y(x, fmt) ((x) * fmt / 5 + fmt * 819 / (-2)) /** * Signal FilterState_Max_Y raw initial value. */ -#define START_FilterState_Cfg_FilterState_Max_Y 2047.5 +#define START_FilterState_Cfg_FilterState_Max_Y 2047.5 /** * Signal FilterState_Max_Y raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Max_Y 0 +#define MIN_FilterState_Cfg_FilterState_Max_Y 0 /** * Signal FilterState_Max_Y raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Max_Y 4095 +#define MAX_FilterState_Cfg_FilterState_Max_Y 4095 /** * Signal FilterState_Max_Y raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Max_Y -2048 +#define OFF_FilterState_Cfg_FilterState_Max_Y -2048 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Max_X Signal FilterState_Max_X of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Max_X Signal FilterState_Max_X of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -7795,9 +7808,10 @@ * Signal FilterState_Max_X configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Max_X and \ref GET_FilterState_Cfg_FilterState_Max_X instead. + * Use \ref SET_FilterState_Cfg_FilterState_Max_X and \ref + *GET_FilterState_Cfg_FilterState_Max_X instead. */ -#define SIG_FilterState_Cfg_FilterState_Max_X 1, 0, 28, 13 +#define SIG_FilterState_Cfg_FilterState_Max_X 1, 0, 28, 13 /** * Signal FilterState_Max_X setup tuple. @@ -7805,7 +7819,7 @@ * @deprecated * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_X or \ref INIT_FilterState_Cfg instead. */ -#define SETUP_FilterState_Cfg_FilterState_Max_X 1, 0, 28, 13, 2047.5 +#define SETUP_FilterState_Cfg_FilterState_Max_X 1, 0, 28, 13, 2047.5 /** * Get signal FilterState_Max_X from buffer. @@ -7815,10 +7829,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Max_X(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x1f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Max_X(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x1f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Max_X in buffer. @@ -7828,12 +7840,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Max_X(buf, val) { \ - buf[3] &= ~(0x1f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x1f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Max_X(buf, val) \ + { \ + buf[3] &= ~(0x1f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x1f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Max_X in buffer to its initial value. @@ -7842,7 +7855,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Max_X(buf) \ - SET_FilterState_Cfg_FilterState_Max_X(buf, 2047.5) + SET_FilterState_Cfg_FilterState_Max_X(buf, 2047.5) /** * Signal FilterState_Max_X value conversion with 16 bit factor and offset. @@ -7855,35 +7868,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Max_X(x, fmt) \ - ((x) * fmt / 5 + fmt * (-500)) +#define CALC_FilterState_Cfg_FilterState_Max_X(x, fmt) ((x) * fmt / 5 + fmt * (-500)) /** * Signal FilterState_Max_X raw initial value. */ -#define START_FilterState_Cfg_FilterState_Max_X 2047.5 +#define START_FilterState_Cfg_FilterState_Max_X 2047.5 /** * Signal FilterState_Max_X raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Max_X 0 +#define MIN_FilterState_Cfg_FilterState_Max_X 0 /** * Signal FilterState_Max_X raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Max_X 8191 +#define MAX_FilterState_Cfg_FilterState_Max_X 8191 /** * Signal FilterState_Max_X raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Max_X -2500 +#define OFF_FilterState_Cfg_FilterState_Max_X -2500 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Max_VYRightLeft Signal FilterState_Max_VYRightLeft of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Max_VYRightLeft Signal FilterState_Max_VYRightLeft of + * Message FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -7896,17 +7909,19 @@ * Signal FilterState_Max_VYRightLeft configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Max_VYRightLeft and \ref GET_FilterState_Cfg_FilterState_Max_VYRightLeft instead. + * Use \ref SET_FilterState_Cfg_FilterState_Max_VYRightLeft and \ref + *GET_FilterState_Cfg_FilterState_Max_VYRightLeft instead. */ -#define SIG_FilterState_Cfg_FilterState_Max_VYRightLeft 1, 0, 27, 12 +#define SIG_FilterState_Cfg_FilterState_Max_VYRightLeft 1, 0, 27, 12 /** * Signal FilterState_Max_VYRightLeft setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_VYRightLeft or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_VYRightLeft or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Max_VYRightLeft 1, 0, 27, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Max_VYRightLeft 1, 0, 27, 12, 0 /** * Get signal FilterState_Max_VYRightLeft from buffer. @@ -7916,10 +7931,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Max_VYRightLeft(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Max_VYRightLeft(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Max_VYRightLeft in buffer. @@ -7929,12 +7942,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Max_VYRightLeft(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Max_VYRightLeft(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Max_VYRightLeft in buffer to its initial value. @@ -7943,7 +7957,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Max_VYRightLeft(buf) \ - SET_FilterState_Cfg_FilterState_Max_VYRightLeft(buf, 0) + SET_FilterState_Cfg_FilterState_Max_VYRightLeft(buf, 0) /** * Signal FilterState_Max_VYRightLeft value conversion with 16 bit factor and offset. @@ -7956,35 +7970,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Max_VYRightLeft(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterState_Cfg_FilterState_Max_VYRightLeft(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterState_Max_VYRightLeft raw initial value. */ -#define START_FilterState_Cfg_FilterState_Max_VYRightLeft 0 +#define START_FilterState_Cfg_FilterState_Max_VYRightLeft 0 /** * Signal FilterState_Max_VYRightLeft raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Max_VYRightLeft 0 +#define MIN_FilterState_Cfg_FilterState_Max_VYRightLeft 0 /** * Signal FilterState_Max_VYRightLeft raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Max_VYRightLeft 4095 +#define MAX_FilterState_Cfg_FilterState_Max_VYRightLeft 4095 /** * Signal FilterState_Max_VYRightLeft raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Max_VYRightLeft 0 +#define OFF_FilterState_Cfg_FilterState_Max_VYRightLeft 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Max_VYLeftRight Signal FilterState_Max_VYLeftRight of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Max_VYLeftRight Signal FilterState_Max_VYLeftRight of + * Message FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -7997,17 +8011,19 @@ * Signal FilterState_Max_VYLeftRight configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Max_VYLeftRight and \ref GET_FilterState_Cfg_FilterState_Max_VYLeftRight instead. + * Use \ref SET_FilterState_Cfg_FilterState_Max_VYLeftRight and \ref + *GET_FilterState_Cfg_FilterState_Max_VYLeftRight instead. */ -#define SIG_FilterState_Cfg_FilterState_Max_VYLeftRight 1, 0, 27, 12 +#define SIG_FilterState_Cfg_FilterState_Max_VYLeftRight 1, 0, 27, 12 /** * Signal FilterState_Max_VYLeftRight setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_VYLeftRight or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_VYLeftRight or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Max_VYLeftRight 1, 0, 27, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Max_VYLeftRight 1, 0, 27, 12, 0 /** * Get signal FilterState_Max_VYLeftRight from buffer. @@ -8017,10 +8033,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Max_VYLeftRight(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Max_VYLeftRight(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Max_VYLeftRight in buffer. @@ -8030,12 +8044,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Max_VYLeftRight(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Max_VYLeftRight(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Max_VYLeftRight in buffer to its initial value. @@ -8044,7 +8059,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Max_VYLeftRight(buf) \ - SET_FilterState_Cfg_FilterState_Max_VYLeftRight(buf, 0) + SET_FilterState_Cfg_FilterState_Max_VYLeftRight(buf, 0) /** * Signal FilterState_Max_VYLeftRight value conversion with 16 bit factor and offset. @@ -8057,35 +8072,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Max_VYLeftRight(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterState_Cfg_FilterState_Max_VYLeftRight(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterState_Max_VYLeftRight raw initial value. */ -#define START_FilterState_Cfg_FilterState_Max_VYLeftRight 0 +#define START_FilterState_Cfg_FilterState_Max_VYLeftRight 0 /** * Signal FilterState_Max_VYLeftRight raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Max_VYLeftRight 0 +#define MIN_FilterState_Cfg_FilterState_Max_VYLeftRight 0 /** * Signal FilterState_Max_VYLeftRight raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Max_VYLeftRight 4095 +#define MAX_FilterState_Cfg_FilterState_Max_VYLeftRight 4095 /** * Signal FilterState_Max_VYLeftRight raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Max_VYLeftRight 0 +#define OFF_FilterState_Cfg_FilterState_Max_VYLeftRight 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Max_VXOncome Signal FilterState_Max_VXOncome of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Max_VXOncome Signal FilterState_Max_VXOncome of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -8098,17 +8113,19 @@ * Signal FilterState_Max_VXOncome configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Max_VXOncome and \ref GET_FilterState_Cfg_FilterState_Max_VXOncome instead. + * Use \ref SET_FilterState_Cfg_FilterState_Max_VXOncome and \ref + *GET_FilterState_Cfg_FilterState_Max_VXOncome instead. */ -#define SIG_FilterState_Cfg_FilterState_Max_VXOncome 1, 0, 27, 12 +#define SIG_FilterState_Cfg_FilterState_Max_VXOncome 1, 0, 27, 12 /** * Signal FilterState_Max_VXOncome setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_VXOncome or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_VXOncome or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Max_VXOncome 1, 0, 27, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Max_VXOncome 1, 0, 27, 12, 0 /** * Get signal FilterState_Max_VXOncome from buffer. @@ -8118,10 +8135,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Max_VXOncome(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Max_VXOncome(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Max_VXOncome in buffer. @@ -8131,12 +8146,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Max_VXOncome(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Max_VXOncome(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Max_VXOncome in buffer to its initial value. @@ -8145,7 +8161,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Max_VXOncome(buf) \ - SET_FilterState_Cfg_FilterState_Max_VXOncome(buf, 0) + SET_FilterState_Cfg_FilterState_Max_VXOncome(buf, 0) /** * Signal FilterState_Max_VXOncome value conversion with 16 bit factor and offset. @@ -8158,35 +8174,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Max_VXOncome(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterState_Cfg_FilterState_Max_VXOncome(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterState_Max_VXOncome raw initial value. */ -#define START_FilterState_Cfg_FilterState_Max_VXOncome 0 +#define START_FilterState_Cfg_FilterState_Max_VXOncome 0 /** * Signal FilterState_Max_VXOncome raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Max_VXOncome 0 +#define MIN_FilterState_Cfg_FilterState_Max_VXOncome 0 /** * Signal FilterState_Max_VXOncome raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Max_VXOncome 4095 +#define MAX_FilterState_Cfg_FilterState_Max_VXOncome 4095 /** * Signal FilterState_Max_VXOncome raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Max_VXOncome 0 +#define OFF_FilterState_Cfg_FilterState_Max_VXOncome 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Max_VXDepart Signal FilterState_Max_VXDepart of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Max_VXDepart Signal FilterState_Max_VXDepart of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -8199,17 +8215,19 @@ * Signal FilterState_Max_VXDepart configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Max_VXDepart and \ref GET_FilterState_Cfg_FilterState_Max_VXDepart instead. + * Use \ref SET_FilterState_Cfg_FilterState_Max_VXDepart and \ref + *GET_FilterState_Cfg_FilterState_Max_VXDepart instead. */ -#define SIG_FilterState_Cfg_FilterState_Max_VXDepart 1, 0, 27, 12 +#define SIG_FilterState_Cfg_FilterState_Max_VXDepart 1, 0, 27, 12 /** * Signal FilterState_Max_VXDepart setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_VXDepart or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_VXDepart or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Max_VXDepart 1, 0, 27, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Max_VXDepart 1, 0, 27, 12, 0 /** * Get signal FilterState_Max_VXDepart from buffer. @@ -8219,10 +8237,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Max_VXDepart(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Max_VXDepart(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Max_VXDepart in buffer. @@ -8232,12 +8248,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Max_VXDepart(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Max_VXDepart(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Max_VXDepart in buffer to its initial value. @@ -8246,7 +8263,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Max_VXDepart(buf) \ - SET_FilterState_Cfg_FilterState_Max_VXDepart(buf, 0) + SET_FilterState_Cfg_FilterState_Max_VXDepart(buf, 0) /** * Signal FilterState_Max_VXDepart value conversion with 16 bit factor and offset. @@ -8259,35 +8276,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Max_VXDepart(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterState_Cfg_FilterState_Max_VXDepart(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterState_Max_VXDepart raw initial value. */ -#define START_FilterState_Cfg_FilterState_Max_VXDepart 0 +#define START_FilterState_Cfg_FilterState_Max_VXDepart 0 /** * Signal FilterState_Max_VXDepart raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Max_VXDepart 0 +#define MIN_FilterState_Cfg_FilterState_Max_VXDepart 0 /** * Signal FilterState_Max_VXDepart raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Max_VXDepart 4095 +#define MAX_FilterState_Cfg_FilterState_Max_VXDepart 4095 /** * Signal FilterState_Max_VXDepart raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Max_VXDepart 0 +#define OFF_FilterState_Cfg_FilterState_Max_VXDepart 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Type Signal FilterState_Type of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Type Signal FilterState_Type of Message FilterState_Cfg + * (0x204) * * Contains the value table \ref ENUM_FilterState_Cfg_FilterState_Type. * @@ -8302,9 +8319,10 @@ * Signal FilterState_Type configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Type and \ref GET_FilterState_Cfg_FilterState_Type instead. + * Use \ref SET_FilterState_Cfg_FilterState_Type and \ref GET_FilterState_Cfg_FilterState_Type + *instead. */ -#define SIG_FilterState_Cfg_FilterState_Type 1, 0, 7, 1 +#define SIG_FilterState_Cfg_FilterState_Type 1, 0, 7, 1 /** * Signal FilterState_Type setup tuple. @@ -8312,7 +8330,7 @@ * @deprecated * Use \ref INITSIG_FilterState_Cfg_FilterState_Type or \ref INIT_FilterState_Cfg instead. */ -#define SETUP_FilterState_Cfg_FilterState_Type 1, 0, 7, 1, 0 +#define SETUP_FilterState_Cfg_FilterState_Type 1, 0, 7, 1, 0 /** * Get signal FilterState_Type from buffer. @@ -8322,9 +8340,7 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Type(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 7) & 0x01) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Type(buf) (0 | (ubyte)(+(ubyte)((buf[0] >> 7) & 0x01) << 0)) /** * Set signal FilterState_Type in buffer. @@ -8334,10 +8350,11 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Type(buf, val) { \ - buf[0] &= ~(0x01 << 7); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 7; \ -} +#define SET_FilterState_Cfg_FilterState_Type(buf, val) \ + { \ + buf[0] &= ~(0x01 << 7); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 7; \ + } /** * Set signal FilterState_Type in buffer to its initial value. @@ -8345,8 +8362,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterState_Cfg_FilterState_Type(buf) \ - SET_FilterState_Cfg_FilterState_Type(buf, 0) +#define INITSIG_FilterState_Cfg_FilterState_Type(buf) SET_FilterState_Cfg_FilterState_Type(buf, 0) /** * Signal FilterState_Type value conversion with 16 bit factor and offset. @@ -8359,35 +8375,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Type(x, fmt) \ - ((x) * fmt) +#define CALC_FilterState_Cfg_FilterState_Type(x, fmt) ((x) * fmt) /** * Signal FilterState_Type raw initial value. */ -#define START_FilterState_Cfg_FilterState_Type 0 +#define START_FilterState_Cfg_FilterState_Type 0 /** * Signal FilterState_Type raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Type 0 +#define MIN_FilterState_Cfg_FilterState_Type 0 /** * Signal FilterState_Type raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Type 1 +#define MAX_FilterState_Cfg_FilterState_Type 1 /** * Signal FilterState_Type raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Type 0 +#define OFF_FilterState_Cfg_FilterState_Type 0 /** * @} */ /** - * @defgroup ENUM_FilterState_Cfg_FilterState_Type Value Table for Signal FilterState_Type in Message FilterState_Cfg (0x204) + * @defgroup ENUM_FilterState_Cfg_FilterState_Type Value Table for Signal FilterState_Type in + * Message FilterState_Cfg (0x204) * * Enum values defined for \ref SIG_FilterState_Cfg_FilterState_Type. * @@ -8401,7 +8417,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Type */ -#define FilterState_Cfg_FilterState_Type_Object 1 +#define FilterState_Cfg_FilterState_Type_Object 1 /** * Value table FilterState_Cfg_FilterState_Type entry Cluster. @@ -8410,10 +8426,11 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Type */ -#define FilterState_Cfg_FilterState_Type_Cluster 0 +#define FilterState_Cfg_FilterState_Type_Cluster 0 /** - * @defgroup SIG_FilterState_Cfg_FilterState_Min_VrelOncome Signal FilterState_Min_VrelOncome of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Min_VrelOncome Signal FilterState_Min_VrelOncome of + * Message FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -8426,17 +8443,19 @@ * Signal FilterState_Min_VrelOncome configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Min_VrelOncome and \ref GET_FilterState_Cfg_FilterState_Min_VrelOncome instead. + * Use \ref SET_FilterState_Cfg_FilterState_Min_VrelOncome and \ref + *GET_FilterState_Cfg_FilterState_Min_VrelOncome instead. */ -#define SIG_FilterState_Cfg_FilterState_Min_VrelOncome 1, 0, 11, 12 +#define SIG_FilterState_Cfg_FilterState_Min_VrelOncome 1, 0, 11, 12 /** * Signal FilterState_Min_VrelOncome setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_VrelOncome or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_VrelOncome or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Min_VrelOncome 1, 0, 11, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Min_VrelOncome 1, 0, 11, 12, 0 /** * Get signal FilterState_Min_VrelOncome from buffer. @@ -8446,10 +8465,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Min_VrelOncome(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Min_VrelOncome(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Min_VrelOncome in buffer. @@ -8459,12 +8476,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Min_VrelOncome(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Min_VrelOncome(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Min_VrelOncome in buffer to its initial value. @@ -8473,7 +8491,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Min_VrelOncome(buf) \ - SET_FilterState_Cfg_FilterState_Min_VrelOncome(buf, 0) + SET_FilterState_Cfg_FilterState_Min_VrelOncome(buf, 0) /** * Signal FilterState_Min_VrelOncome value conversion with 16 bit factor and offset. @@ -8486,35 +8504,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Min_VrelOncome(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterState_Cfg_FilterState_Min_VrelOncome(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterState_Min_VrelOncome raw initial value. */ -#define START_FilterState_Cfg_FilterState_Min_VrelOncome 0 +#define START_FilterState_Cfg_FilterState_Min_VrelOncome 0 /** * Signal FilterState_Min_VrelOncome raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Min_VrelOncome 0 +#define MIN_FilterState_Cfg_FilterState_Min_VrelOncome 0 /** * Signal FilterState_Min_VrelOncome raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Min_VrelOncome 4095 +#define MAX_FilterState_Cfg_FilterState_Min_VrelOncome 4095 /** * Signal FilterState_Min_VrelOncome raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Min_VrelOncome 0 +#define OFF_FilterState_Cfg_FilterState_Min_VrelOncome 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Min_VrelDepart Signal FilterState_Min_VrelDepart of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Min_VrelDepart Signal FilterState_Min_VrelDepart of + * Message FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -8527,17 +8545,19 @@ * Signal FilterState_Min_VrelDepart configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Min_VrelDepart and \ref GET_FilterState_Cfg_FilterState_Min_VrelDepart instead. + * Use \ref SET_FilterState_Cfg_FilterState_Min_VrelDepart and \ref + *GET_FilterState_Cfg_FilterState_Min_VrelDepart instead. */ -#define SIG_FilterState_Cfg_FilterState_Min_VrelDepart 1, 0, 11, 12 +#define SIG_FilterState_Cfg_FilterState_Min_VrelDepart 1, 0, 11, 12 /** * Signal FilterState_Min_VrelDepart setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_VrelDepart or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_VrelDepart or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Min_VrelDepart 1, 0, 11, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Min_VrelDepart 1, 0, 11, 12, 0 /** * Get signal FilterState_Min_VrelDepart from buffer. @@ -8547,10 +8567,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Min_VrelDepart(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Min_VrelDepart(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Min_VrelDepart in buffer. @@ -8560,12 +8578,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Min_VrelDepart(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Min_VrelDepart(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Min_VrelDepart in buffer to its initial value. @@ -8574,7 +8593,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Min_VrelDepart(buf) \ - SET_FilterState_Cfg_FilterState_Min_VrelDepart(buf, 0) + SET_FilterState_Cfg_FilterState_Min_VrelDepart(buf, 0) /** * Signal FilterState_Min_VrelDepart value conversion with 16 bit factor and offset. @@ -8587,35 +8606,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Min_VrelDepart(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterState_Cfg_FilterState_Min_VrelDepart(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterState_Min_VrelDepart raw initial value. */ -#define START_FilterState_Cfg_FilterState_Min_VrelDepart 0 +#define START_FilterState_Cfg_FilterState_Min_VrelDepart 0 /** * Signal FilterState_Min_VrelDepart raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Min_VrelDepart 0 +#define MIN_FilterState_Cfg_FilterState_Min_VrelDepart 0 /** * Signal FilterState_Min_VrelDepart raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Min_VrelDepart 4095 +#define MAX_FilterState_Cfg_FilterState_Min_VrelDepart 4095 /** * Signal FilterState_Min_VrelDepart raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Min_VrelDepart 0 +#define OFF_FilterState_Cfg_FilterState_Min_VrelDepart 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Min_Size Signal FilterState_Min_Size of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Min_Size Signal FilterState_Min_Size of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -8628,9 +8647,10 @@ * Signal FilterState_Min_Size configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Min_Size and \ref GET_FilterState_Cfg_FilterState_Min_Size instead. + * Use \ref SET_FilterState_Cfg_FilterState_Min_Size and \ref + *GET_FilterState_Cfg_FilterState_Min_Size instead. */ -#define SIG_FilterState_Cfg_FilterState_Min_Size 1, 0, 11, 12 +#define SIG_FilterState_Cfg_FilterState_Min_Size 1, 0, 11, 12 /** * Signal FilterState_Min_Size setup tuple. @@ -8638,7 +8658,7 @@ * @deprecated * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_Size or \ref INIT_FilterState_Cfg instead. */ -#define SETUP_FilterState_Cfg_FilterState_Min_Size 1, 0, 11, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Min_Size 1, 0, 11, 12, 0 /** * Get signal FilterState_Min_Size from buffer. @@ -8648,10 +8668,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Min_Size(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Min_Size(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Min_Size in buffer. @@ -8661,12 +8679,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Min_Size(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Min_Size(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Min_Size in buffer to its initial value. @@ -8675,7 +8694,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Min_Size(buf) \ - SET_FilterState_Cfg_FilterState_Min_Size(buf, 0) + SET_FilterState_Cfg_FilterState_Min_Size(buf, 0) /** * Signal FilterState_Min_Size value conversion with 16 bit factor and offset. @@ -8688,35 +8707,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Min_Size(x, fmt) \ - ((x) * fmt / 40) +#define CALC_FilterState_Cfg_FilterState_Min_Size(x, fmt) ((x) * fmt / 40) /** * Signal FilterState_Min_Size raw initial value. */ -#define START_FilterState_Cfg_FilterState_Min_Size 0 +#define START_FilterState_Cfg_FilterState_Min_Size 0 /** * Signal FilterState_Min_Size raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Min_Size 0 +#define MIN_FilterState_Cfg_FilterState_Min_Size 0 /** * Signal FilterState_Min_Size raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Min_Size 4095 +#define MAX_FilterState_Cfg_FilterState_Min_Size 4095 /** * Signal FilterState_Min_Size raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Min_Size 0 +#define OFF_FilterState_Cfg_FilterState_Min_Size 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Min_RCS Signal FilterState_Min_RCS of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Min_RCS Signal FilterState_Min_RCS of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -8729,9 +8748,10 @@ * Signal FilterState_Min_RCS configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Min_RCS and \ref GET_FilterState_Cfg_FilterState_Min_RCS instead. + * Use \ref SET_FilterState_Cfg_FilterState_Min_RCS and \ref + *GET_FilterState_Cfg_FilterState_Min_RCS instead. */ -#define SIG_FilterState_Cfg_FilterState_Min_RCS 1, 0, 11, 12 +#define SIG_FilterState_Cfg_FilterState_Min_RCS 1, 0, 11, 12 /** * Signal FilterState_Min_RCS setup tuple. @@ -8739,7 +8759,7 @@ * @deprecated * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_RCS or \ref INIT_FilterState_Cfg instead. */ -#define SETUP_FilterState_Cfg_FilterState_Min_RCS 1, 0, 11, 12, 2000 +#define SETUP_FilterState_Cfg_FilterState_Min_RCS 1, 0, 11, 12, 2000 /** * Get signal FilterState_Min_RCS from buffer. @@ -8749,10 +8769,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Min_RCS(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Min_RCS(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Min_RCS in buffer. @@ -8762,12 +8780,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Min_RCS(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Min_RCS(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Min_RCS in buffer to its initial value. @@ -8776,7 +8795,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Min_RCS(buf) \ - SET_FilterState_Cfg_FilterState_Min_RCS(buf, 2000) + SET_FilterState_Cfg_FilterState_Min_RCS(buf, 2000) /** * Signal FilterState_Min_RCS value conversion with 16 bit factor and offset. @@ -8789,35 +8808,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Min_RCS(x, fmt) \ - ((x) * fmt / 40 + fmt * (-50)) +#define CALC_FilterState_Cfg_FilterState_Min_RCS(x, fmt) ((x) * fmt / 40 + fmt * (-50)) /** * Signal FilterState_Min_RCS raw initial value. */ -#define START_FilterState_Cfg_FilterState_Min_RCS 2000 +#define START_FilterState_Cfg_FilterState_Min_RCS 2000 /** * Signal FilterState_Min_RCS raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Min_RCS 0 +#define MIN_FilterState_Cfg_FilterState_Min_RCS 0 /** * Signal FilterState_Min_RCS raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Min_RCS 4095 +#define MAX_FilterState_Cfg_FilterState_Min_RCS 4095 /** * Signal FilterState_Min_RCS raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Min_RCS -2000 +#define OFF_FilterState_Cfg_FilterState_Min_RCS -2000 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Min_ProbExists Signal FilterState_Min_ProbExists of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Min_ProbExists Signal FilterState_Min_ProbExists of + * Message FilterState_Cfg (0x204) * * Contains the value table \ref ENUM_FilterState_Cfg_FilterState_Min_ProbExists. * @@ -8832,17 +8851,19 @@ * Signal FilterState_Min_ProbExists configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Min_ProbExists and \ref GET_FilterState_Cfg_FilterState_Min_ProbExists instead. + * Use \ref SET_FilterState_Cfg_FilterState_Min_ProbExists and \ref + *GET_FilterState_Cfg_FilterState_Min_ProbExists instead. */ -#define SIG_FilterState_Cfg_FilterState_Min_ProbExists 1, 0, 11, 12 +#define SIG_FilterState_Cfg_FilterState_Min_ProbExists 1, 0, 11, 12 /** * Signal FilterState_Min_ProbExists setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_ProbExists or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_ProbExists or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Min_ProbExists 1, 0, 11, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Min_ProbExists 1, 0, 11, 12, 0 /** * Get signal FilterState_Min_ProbExists from buffer. @@ -8852,10 +8873,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Min_ProbExists(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Min_ProbExists(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Min_ProbExists in buffer. @@ -8865,12 +8884,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Min_ProbExists(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Min_ProbExists(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Min_ProbExists in buffer to its initial value. @@ -8879,7 +8899,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Min_ProbExists(buf) \ - SET_FilterState_Cfg_FilterState_Min_ProbExists(buf, 0) + SET_FilterState_Cfg_FilterState_Min_ProbExists(buf, 0) /** * Signal FilterState_Min_ProbExists value conversion with 16 bit factor and offset. @@ -8892,35 +8912,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Min_ProbExists(x, fmt) \ - ((x) * fmt) +#define CALC_FilterState_Cfg_FilterState_Min_ProbExists(x, fmt) ((x) * fmt) /** * Signal FilterState_Min_ProbExists raw initial value. */ -#define START_FilterState_Cfg_FilterState_Min_ProbExists 0 +#define START_FilterState_Cfg_FilterState_Min_ProbExists 0 /** * Signal FilterState_Min_ProbExists raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Min_ProbExists 0 +#define MIN_FilterState_Cfg_FilterState_Min_ProbExists 0 /** * Signal FilterState_Min_ProbExists raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Min_ProbExists 7 +#define MAX_FilterState_Cfg_FilterState_Min_ProbExists 7 /** * Signal FilterState_Min_ProbExists raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Min_ProbExists 0 +#define OFF_FilterState_Cfg_FilterState_Min_ProbExists 0 /** * @} */ /** - * @defgroup ENUM_FilterState_Cfg_FilterState_Min_ProbExists Value Table for Signal FilterState_Min_ProbExists in Message FilterState_Cfg (0x204) + * @defgroup ENUM_FilterState_Cfg_FilterState_Min_ProbExists Value Table for Signal + * FilterState_Min_ProbExists in Message FilterState_Cfg (0x204) * * Enum values defined for \ref SIG_FilterState_Cfg_FilterState_Min_ProbExists. * @@ -8934,7 +8954,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Min_ProbExists */ -#define FilterState_Cfg_FilterState_Min_ProbExists_100_ 7 +#define FilterState_Cfg_FilterState_Min_ProbExists_100_ 7 /** * Value table FilterState_Cfg_FilterState_Min_ProbExists entry __99_9_. @@ -8943,7 +8963,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Min_ProbExists */ -#define FilterState_Cfg_FilterState_Min_ProbExists___99_9_ 6 +#define FilterState_Cfg_FilterState_Min_ProbExists___99_9_ 6 /** * Value table FilterState_Cfg_FilterState_Min_ProbExists entry __99_. @@ -8952,7 +8972,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Min_ProbExists */ -#define FilterState_Cfg_FilterState_Min_ProbExists___99_ 5 +#define FilterState_Cfg_FilterState_Min_ProbExists___99_ 5 /** * Value table FilterState_Cfg_FilterState_Min_ProbExists entry __90_. @@ -8961,7 +8981,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Min_ProbExists */ -#define FilterState_Cfg_FilterState_Min_ProbExists___90_ 4 +#define FilterState_Cfg_FilterState_Min_ProbExists___90_ 4 /** * Value table FilterState_Cfg_FilterState_Min_ProbExists entry __75_. @@ -8970,7 +8990,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Min_ProbExists */ -#define FilterState_Cfg_FilterState_Min_ProbExists___75_ 3 +#define FilterState_Cfg_FilterState_Min_ProbExists___75_ 3 /** * Value table FilterState_Cfg_FilterState_Min_ProbExists entry __50_. @@ -8979,7 +8999,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Min_ProbExists */ -#define FilterState_Cfg_FilterState_Min_ProbExists___50_ 2 +#define FilterState_Cfg_FilterState_Min_ProbExists___50_ 2 /** * Value table FilterState_Cfg_FilterState_Min_ProbExists entry __25_. @@ -8988,17 +9008,18 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Min_ProbExists */ -#define FilterState_Cfg_FilterState_Min_ProbExists___25_ 1 +#define FilterState_Cfg_FilterState_Min_ProbExists___25_ 1 /** * Value table FilterState_Cfg_FilterState_Min_ProbExists entry invalid. * * @ingroup ENUM_FilterState_Cfg_FilterState_Min_ProbExists */ -#define FilterState_Cfg_FilterState_Min_ProbExists_invalid 0 +#define FilterState_Cfg_FilterState_Min_ProbExists_invalid 0 /** - * @defgroup SIG_FilterState_Cfg_FilterState_Min_NofObj Signal FilterState_Min_NofObj of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Min_NofObj Signal FilterState_Min_NofObj of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -9011,17 +9032,19 @@ * Signal FilterState_Min_NofObj configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Min_NofObj and \ref GET_FilterState_Cfg_FilterState_Min_NofObj instead. + * Use \ref SET_FilterState_Cfg_FilterState_Min_NofObj and \ref + *GET_FilterState_Cfg_FilterState_Min_NofObj instead. */ -#define SIG_FilterState_Cfg_FilterState_Min_NofObj 1, 0, 11, 12 +#define SIG_FilterState_Cfg_FilterState_Min_NofObj 1, 0, 11, 12 /** * Signal FilterState_Min_NofObj setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_NofObj or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_NofObj or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Min_NofObj 1, 0, 11, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Min_NofObj 1, 0, 11, 12, 0 /** * Get signal FilterState_Min_NofObj from buffer. @@ -9031,10 +9054,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Min_NofObj(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Min_NofObj(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Min_NofObj in buffer. @@ -9044,12 +9065,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Min_NofObj(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Min_NofObj(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Min_NofObj in buffer to its initial value. @@ -9058,7 +9080,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Min_NofObj(buf) \ - SET_FilterState_Cfg_FilterState_Min_NofObj(buf, 0) + SET_FilterState_Cfg_FilterState_Min_NofObj(buf, 0) /** * Signal FilterState_Min_NofObj value conversion with 16 bit factor and offset. @@ -9071,35 +9093,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Min_NofObj(x, fmt) \ - ((x) * fmt) +#define CALC_FilterState_Cfg_FilterState_Min_NofObj(x, fmt) ((x) * fmt) /** * Signal FilterState_Min_NofObj raw initial value. */ -#define START_FilterState_Cfg_FilterState_Min_NofObj 0 +#define START_FilterState_Cfg_FilterState_Min_NofObj 0 /** * Signal FilterState_Min_NofObj raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Min_NofObj 0 +#define MIN_FilterState_Cfg_FilterState_Min_NofObj 0 /** * Signal FilterState_Min_NofObj raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Min_NofObj 4095 +#define MAX_FilterState_Cfg_FilterState_Min_NofObj 4095 /** * Signal FilterState_Min_NofObj raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Min_NofObj 0 +#define OFF_FilterState_Cfg_FilterState_Min_NofObj 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Min_Lifetime Signal FilterState_Min_Lifetime of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Min_Lifetime Signal FilterState_Min_Lifetime of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -9112,17 +9134,19 @@ * Signal FilterState_Min_Lifetime configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Min_Lifetime and \ref GET_FilterState_Cfg_FilterState_Min_Lifetime instead. + * Use \ref SET_FilterState_Cfg_FilterState_Min_Lifetime and \ref + *GET_FilterState_Cfg_FilterState_Min_Lifetime instead. */ -#define SIG_FilterState_Cfg_FilterState_Min_Lifetime 1, 0, 11, 12 +#define SIG_FilterState_Cfg_FilterState_Min_Lifetime 1, 0, 11, 12 /** * Signal FilterState_Min_Lifetime setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_Lifetime or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_Lifetime or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Min_Lifetime 1, 0, 11, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Min_Lifetime 1, 0, 11, 12, 0 /** * Get signal FilterState_Min_Lifetime from buffer. @@ -9132,10 +9156,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Min_Lifetime(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Min_Lifetime(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Min_Lifetime in buffer. @@ -9145,12 +9167,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Min_Lifetime(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Min_Lifetime(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Min_Lifetime in buffer to its initial value. @@ -9159,7 +9182,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Min_Lifetime(buf) \ - SET_FilterState_Cfg_FilterState_Min_Lifetime(buf, 0) + SET_FilterState_Cfg_FilterState_Min_Lifetime(buf, 0) /** * Signal FilterState_Min_Lifetime value conversion with 16 bit factor and offset. @@ -9172,35 +9195,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Min_Lifetime(x, fmt) \ - ((x) * fmt / 10) +#define CALC_FilterState_Cfg_FilterState_Min_Lifetime(x, fmt) ((x) * fmt / 10) /** * Signal FilterState_Min_Lifetime raw initial value. */ -#define START_FilterState_Cfg_FilterState_Min_Lifetime 0 +#define START_FilterState_Cfg_FilterState_Min_Lifetime 0 /** * Signal FilterState_Min_Lifetime raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Min_Lifetime 0 +#define MIN_FilterState_Cfg_FilterState_Min_Lifetime 0 /** * Signal FilterState_Min_Lifetime raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Min_Lifetime 4095 +#define MAX_FilterState_Cfg_FilterState_Min_Lifetime 4095 /** * Signal FilterState_Min_Lifetime raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Min_Lifetime 0 +#define OFF_FilterState_Cfg_FilterState_Min_Lifetime 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Min_Distance Signal FilterState_Min_Distance of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Min_Distance Signal FilterState_Min_Distance of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -9213,17 +9236,19 @@ * Signal FilterState_Min_Distance configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Min_Distance and \ref GET_FilterState_Cfg_FilterState_Min_Distance instead. + * Use \ref SET_FilterState_Cfg_FilterState_Min_Distance and \ref + *GET_FilterState_Cfg_FilterState_Min_Distance instead. */ -#define SIG_FilterState_Cfg_FilterState_Min_Distance 1, 0, 11, 12 +#define SIG_FilterState_Cfg_FilterState_Min_Distance 1, 0, 11, 12 /** * Signal FilterState_Min_Distance setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_Distance or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_Distance or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Min_Distance 1, 0, 11, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Min_Distance 1, 0, 11, 12, 0 /** * Get signal FilterState_Min_Distance from buffer. @@ -9233,10 +9258,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Min_Distance(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Min_Distance(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Min_Distance in buffer. @@ -9246,12 +9269,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Min_Distance(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Min_Distance(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Min_Distance in buffer to its initial value. @@ -9260,7 +9284,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Min_Distance(buf) \ - SET_FilterState_Cfg_FilterState_Min_Distance(buf, 0) + SET_FilterState_Cfg_FilterState_Min_Distance(buf, 0) /** * Signal FilterState_Min_Distance value conversion with 16 bit factor and offset. @@ -9273,35 +9297,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Min_Distance(x, fmt) \ - ((x) * fmt / 10) +#define CALC_FilterState_Cfg_FilterState_Min_Distance(x, fmt) ((x) * fmt / 10) /** * Signal FilterState_Min_Distance raw initial value. */ -#define START_FilterState_Cfg_FilterState_Min_Distance 0 +#define START_FilterState_Cfg_FilterState_Min_Distance 0 /** * Signal FilterState_Min_Distance raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Min_Distance 0 +#define MIN_FilterState_Cfg_FilterState_Min_Distance 0 /** * Signal FilterState_Min_Distance raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Min_Distance 4095 +#define MAX_FilterState_Cfg_FilterState_Min_Distance 4095 /** * Signal FilterState_Min_Distance raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Min_Distance 0 +#define OFF_FilterState_Cfg_FilterState_Min_Distance 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Min_Azimuth Signal FilterState_Min_Azimuth of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Min_Azimuth Signal FilterState_Min_Azimuth of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -9314,17 +9338,19 @@ * Signal FilterState_Min_Azimuth configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Min_Azimuth and \ref GET_FilterState_Cfg_FilterState_Min_Azimuth instead. + * Use \ref SET_FilterState_Cfg_FilterState_Min_Azimuth and \ref + *GET_FilterState_Cfg_FilterState_Min_Azimuth instead. */ -#define SIG_FilterState_Cfg_FilterState_Min_Azimuth 1, 0, 11, 12 +#define SIG_FilterState_Cfg_FilterState_Min_Azimuth 1, 0, 11, 12 /** * Signal FilterState_Min_Azimuth setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_Azimuth or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Min_Azimuth or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Min_Azimuth 1, 0, 11, 12, 2000 +#define SETUP_FilterState_Cfg_FilterState_Min_Azimuth 1, 0, 11, 12, 2000 /** * Get signal FilterState_Min_Azimuth from buffer. @@ -9334,10 +9360,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Min_Azimuth(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Min_Azimuth(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Min_Azimuth in buffer. @@ -9347,12 +9371,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Min_Azimuth(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Min_Azimuth(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Min_Azimuth in buffer to its initial value. @@ -9361,7 +9386,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Min_Azimuth(buf) \ - SET_FilterState_Cfg_FilterState_Min_Azimuth(buf, 2000) + SET_FilterState_Cfg_FilterState_Min_Azimuth(buf, 2000) /** * Signal FilterState_Min_Azimuth value conversion with 16 bit factor and offset. @@ -9374,35 +9399,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Min_Azimuth(x, fmt) \ - ((x) * fmt / 40 + fmt * (-50)) +#define CALC_FilterState_Cfg_FilterState_Min_Azimuth(x, fmt) ((x) * fmt / 40 + fmt * (-50)) /** * Signal FilterState_Min_Azimuth raw initial value. */ -#define START_FilterState_Cfg_FilterState_Min_Azimuth 2000 +#define START_FilterState_Cfg_FilterState_Min_Azimuth 2000 /** * Signal FilterState_Min_Azimuth raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Min_Azimuth 0 +#define MIN_FilterState_Cfg_FilterState_Min_Azimuth 0 /** * Signal FilterState_Min_Azimuth raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Min_Azimuth 4095 +#define MAX_FilterState_Cfg_FilterState_Min_Azimuth 4095 /** * Signal FilterState_Min_Azimuth raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Min_Azimuth -2000 +#define OFF_FilterState_Cfg_FilterState_Min_Azimuth -2000 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Max_VrelOncome Signal FilterState_Max_VrelOncome of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Max_VrelOncome Signal FilterState_Max_VrelOncome of + * Message FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -9415,17 +9440,19 @@ * Signal FilterState_Max_VrelOncome configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Max_VrelOncome and \ref GET_FilterState_Cfg_FilterState_Max_VrelOncome instead. + * Use \ref SET_FilterState_Cfg_FilterState_Max_VrelOncome and \ref + *GET_FilterState_Cfg_FilterState_Max_VrelOncome instead. */ -#define SIG_FilterState_Cfg_FilterState_Max_VrelOncome 1, 0, 27, 12 +#define SIG_FilterState_Cfg_FilterState_Max_VrelOncome 1, 0, 27, 12 /** * Signal FilterState_Max_VrelOncome setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_VrelOncome or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_VrelOncome or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Max_VrelOncome 1, 0, 27, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Max_VrelOncome 1, 0, 27, 12, 0 /** * Get signal FilterState_Max_VrelOncome from buffer. @@ -9435,10 +9462,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Max_VrelOncome(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Max_VrelOncome(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Max_VrelOncome in buffer. @@ -9448,12 +9473,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Max_VrelOncome(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Max_VrelOncome(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Max_VrelOncome in buffer to its initial value. @@ -9462,7 +9488,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Max_VrelOncome(buf) \ - SET_FilterState_Cfg_FilterState_Max_VrelOncome(buf, 0) + SET_FilterState_Cfg_FilterState_Max_VrelOncome(buf, 0) /** * Signal FilterState_Max_VrelOncome value conversion with 16 bit factor and offset. @@ -9475,35 +9501,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Max_VrelOncome(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterState_Cfg_FilterState_Max_VrelOncome(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterState_Max_VrelOncome raw initial value. */ -#define START_FilterState_Cfg_FilterState_Max_VrelOncome 0 +#define START_FilterState_Cfg_FilterState_Max_VrelOncome 0 /** * Signal FilterState_Max_VrelOncome raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Max_VrelOncome 0 +#define MIN_FilterState_Cfg_FilterState_Max_VrelOncome 0 /** * Signal FilterState_Max_VrelOncome raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Max_VrelOncome 4095 +#define MAX_FilterState_Cfg_FilterState_Max_VrelOncome 4095 /** * Signal FilterState_Max_VrelOncome raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Max_VrelOncome 0 +#define OFF_FilterState_Cfg_FilterState_Max_VrelOncome 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Max_VrelDepart Signal FilterState_Max_VrelDepart of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Max_VrelDepart Signal FilterState_Max_VrelDepart of + * Message FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -9516,17 +9542,19 @@ * Signal FilterState_Max_VrelDepart configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Max_VrelDepart and \ref GET_FilterState_Cfg_FilterState_Max_VrelDepart instead. + * Use \ref SET_FilterState_Cfg_FilterState_Max_VrelDepart and \ref + *GET_FilterState_Cfg_FilterState_Max_VrelDepart instead. */ -#define SIG_FilterState_Cfg_FilterState_Max_VrelDepart 1, 0, 27, 12 +#define SIG_FilterState_Cfg_FilterState_Max_VrelDepart 1, 0, 27, 12 /** * Signal FilterState_Max_VrelDepart setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_VrelDepart or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_VrelDepart or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Max_VrelDepart 1, 0, 27, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Max_VrelDepart 1, 0, 27, 12, 0 /** * Get signal FilterState_Max_VrelDepart from buffer. @@ -9536,10 +9564,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Max_VrelDepart(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Max_VrelDepart(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Max_VrelDepart in buffer. @@ -9549,12 +9575,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Max_VrelDepart(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Max_VrelDepart(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Max_VrelDepart in buffer to its initial value. @@ -9563,7 +9590,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Max_VrelDepart(buf) \ - SET_FilterState_Cfg_FilterState_Max_VrelDepart(buf, 0) + SET_FilterState_Cfg_FilterState_Max_VrelDepart(buf, 0) /** * Signal FilterState_Max_VrelDepart value conversion with 16 bit factor and offset. @@ -9576,35 +9603,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Max_VrelDepart(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterState_Cfg_FilterState_Max_VrelDepart(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterState_Max_VrelDepart raw initial value. */ -#define START_FilterState_Cfg_FilterState_Max_VrelDepart 0 +#define START_FilterState_Cfg_FilterState_Max_VrelDepart 0 /** * Signal FilterState_Max_VrelDepart raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Max_VrelDepart 0 +#define MIN_FilterState_Cfg_FilterState_Max_VrelDepart 0 /** * Signal FilterState_Max_VrelDepart raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Max_VrelDepart 4095 +#define MAX_FilterState_Cfg_FilterState_Max_VrelDepart 4095 /** * Signal FilterState_Max_VrelDepart raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Max_VrelDepart 0 +#define OFF_FilterState_Cfg_FilterState_Max_VrelDepart 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Max_Size Signal FilterState_Max_Size of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Max_Size Signal FilterState_Max_Size of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -9617,9 +9644,10 @@ * Signal FilterState_Max_Size configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Max_Size and \ref GET_FilterState_Cfg_FilterState_Max_Size instead. + * Use \ref SET_FilterState_Cfg_FilterState_Max_Size and \ref + *GET_FilterState_Cfg_FilterState_Max_Size instead. */ -#define SIG_FilterState_Cfg_FilterState_Max_Size 1, 0, 27, 12 +#define SIG_FilterState_Cfg_FilterState_Max_Size 1, 0, 27, 12 /** * Signal FilterState_Max_Size setup tuple. @@ -9627,7 +9655,7 @@ * @deprecated * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_Size or \ref INIT_FilterState_Cfg instead. */ -#define SETUP_FilterState_Cfg_FilterState_Max_Size 1, 0, 27, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Max_Size 1, 0, 27, 12, 0 /** * Get signal FilterState_Max_Size from buffer. @@ -9637,10 +9665,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Max_Size(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Max_Size(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Max_Size in buffer. @@ -9650,12 +9676,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Max_Size(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Max_Size(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Max_Size in buffer to its initial value. @@ -9664,7 +9691,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Max_Size(buf) \ - SET_FilterState_Cfg_FilterState_Max_Size(buf, 0) + SET_FilterState_Cfg_FilterState_Max_Size(buf, 0) /** * Signal FilterState_Max_Size value conversion with 16 bit factor and offset. @@ -9677,35 +9704,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Max_Size(x, fmt) \ - ((x) * fmt / 40) +#define CALC_FilterState_Cfg_FilterState_Max_Size(x, fmt) ((x) * fmt / 40) /** * Signal FilterState_Max_Size raw initial value. */ -#define START_FilterState_Cfg_FilterState_Max_Size 0 +#define START_FilterState_Cfg_FilterState_Max_Size 0 /** * Signal FilterState_Max_Size raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Max_Size 0 +#define MIN_FilterState_Cfg_FilterState_Max_Size 0 /** * Signal FilterState_Max_Size raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Max_Size 4095 +#define MAX_FilterState_Cfg_FilterState_Max_Size 4095 /** * Signal FilterState_Max_Size raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Max_Size 0 +#define OFF_FilterState_Cfg_FilterState_Max_Size 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Max_RCS Signal FilterState_Max_RCS of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Max_RCS Signal FilterState_Max_RCS of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -9718,9 +9745,10 @@ * Signal FilterState_Max_RCS configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Max_RCS and \ref GET_FilterState_Cfg_FilterState_Max_RCS instead. + * Use \ref SET_FilterState_Cfg_FilterState_Max_RCS and \ref + *GET_FilterState_Cfg_FilterState_Max_RCS instead. */ -#define SIG_FilterState_Cfg_FilterState_Max_RCS 1, 0, 27, 12 +#define SIG_FilterState_Cfg_FilterState_Max_RCS 1, 0, 27, 12 /** * Signal FilterState_Max_RCS setup tuple. @@ -9728,7 +9756,7 @@ * @deprecated * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_RCS or \ref INIT_FilterState_Cfg instead. */ -#define SETUP_FilterState_Cfg_FilterState_Max_RCS 1, 0, 27, 12, 2000 +#define SETUP_FilterState_Cfg_FilterState_Max_RCS 1, 0, 27, 12, 2000 /** * Get signal FilterState_Max_RCS from buffer. @@ -9738,10 +9766,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Max_RCS(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Max_RCS(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Max_RCS in buffer. @@ -9751,12 +9777,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Max_RCS(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Max_RCS(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Max_RCS in buffer to its initial value. @@ -9765,7 +9792,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Max_RCS(buf) \ - SET_FilterState_Cfg_FilterState_Max_RCS(buf, 2000) + SET_FilterState_Cfg_FilterState_Max_RCS(buf, 2000) /** * Signal FilterState_Max_RCS value conversion with 16 bit factor and offset. @@ -9778,35 +9805,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Max_RCS(x, fmt) \ - ((x) * fmt / 40 + fmt * (-50)) +#define CALC_FilterState_Cfg_FilterState_Max_RCS(x, fmt) ((x) * fmt / 40 + fmt * (-50)) /** * Signal FilterState_Max_RCS raw initial value. */ -#define START_FilterState_Cfg_FilterState_Max_RCS 2000 +#define START_FilterState_Cfg_FilterState_Max_RCS 2000 /** * Signal FilterState_Max_RCS raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Max_RCS 0 +#define MIN_FilterState_Cfg_FilterState_Max_RCS 0 /** * Signal FilterState_Max_RCS raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Max_RCS 4095 +#define MAX_FilterState_Cfg_FilterState_Max_RCS 4095 /** * Signal FilterState_Max_RCS raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Max_RCS -2000 +#define OFF_FilterState_Cfg_FilterState_Max_RCS -2000 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Max_ProbExists Signal FilterState_Max_ProbExists of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Max_ProbExists Signal FilterState_Max_ProbExists of + * Message FilterState_Cfg (0x204) * * Contains the value table \ref ENUM_FilterState_Cfg_FilterState_Max_ProbExists. * @@ -9821,17 +9848,19 @@ * Signal FilterState_Max_ProbExists configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Max_ProbExists and \ref GET_FilterState_Cfg_FilterState_Max_ProbExists instead. + * Use \ref SET_FilterState_Cfg_FilterState_Max_ProbExists and \ref + *GET_FilterState_Cfg_FilterState_Max_ProbExists instead. */ -#define SIG_FilterState_Cfg_FilterState_Max_ProbExists 1, 0, 27, 12 +#define SIG_FilterState_Cfg_FilterState_Max_ProbExists 1, 0, 27, 12 /** * Signal FilterState_Max_ProbExists setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_ProbExists or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_ProbExists or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Max_ProbExists 1, 0, 27, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Max_ProbExists 1, 0, 27, 12, 0 /** * Get signal FilterState_Max_ProbExists from buffer. @@ -9841,10 +9870,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Max_ProbExists(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Max_ProbExists(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Max_ProbExists in buffer. @@ -9854,12 +9881,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Max_ProbExists(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Max_ProbExists(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Max_ProbExists in buffer to its initial value. @@ -9868,7 +9896,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Max_ProbExists(buf) \ - SET_FilterState_Cfg_FilterState_Max_ProbExists(buf, 0) + SET_FilterState_Cfg_FilterState_Max_ProbExists(buf, 0) /** * Signal FilterState_Max_ProbExists value conversion with 16 bit factor and offset. @@ -9881,35 +9909,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Max_ProbExists(x, fmt) \ - ((x) * fmt) +#define CALC_FilterState_Cfg_FilterState_Max_ProbExists(x, fmt) ((x) * fmt) /** * Signal FilterState_Max_ProbExists raw initial value. */ -#define START_FilterState_Cfg_FilterState_Max_ProbExists 0 +#define START_FilterState_Cfg_FilterState_Max_ProbExists 0 /** * Signal FilterState_Max_ProbExists raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Max_ProbExists 0 +#define MIN_FilterState_Cfg_FilterState_Max_ProbExists 0 /** * Signal FilterState_Max_ProbExists raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Max_ProbExists 4095 +#define MAX_FilterState_Cfg_FilterState_Max_ProbExists 4095 /** * Signal FilterState_Max_ProbExists raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Max_ProbExists 0 +#define OFF_FilterState_Cfg_FilterState_Max_ProbExists 0 /** * @} */ /** - * @defgroup ENUM_FilterState_Cfg_FilterState_Max_ProbExists Value Table for Signal FilterState_Max_ProbExists in Message FilterState_Cfg (0x204) + * @defgroup ENUM_FilterState_Cfg_FilterState_Max_ProbExists Value Table for Signal + * FilterState_Max_ProbExists in Message FilterState_Cfg (0x204) * * Enum values defined for \ref SIG_FilterState_Cfg_FilterState_Max_ProbExists. * @@ -9923,7 +9951,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Max_ProbExists */ -#define FilterState_Cfg_FilterState_Max_ProbExists___100_ 7 +#define FilterState_Cfg_FilterState_Max_ProbExists___100_ 7 /** * Value table FilterState_Cfg_FilterState_Max_ProbExists entry _99_9_. @@ -9932,7 +9960,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Max_ProbExists */ -#define FilterState_Cfg_FilterState_Max_ProbExists__99_9_ 6 +#define FilterState_Cfg_FilterState_Max_ProbExists__99_9_ 6 /** * Value table FilterState_Cfg_FilterState_Max_ProbExists entry _99_. @@ -9941,7 +9969,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Max_ProbExists */ -#define FilterState_Cfg_FilterState_Max_ProbExists__99_ 5 +#define FilterState_Cfg_FilterState_Max_ProbExists__99_ 5 /** * Value table FilterState_Cfg_FilterState_Max_ProbExists entry _90_. @@ -9950,7 +9978,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Max_ProbExists */ -#define FilterState_Cfg_FilterState_Max_ProbExists__90_ 4 +#define FilterState_Cfg_FilterState_Max_ProbExists__90_ 4 /** * Value table FilterState_Cfg_FilterState_Max_ProbExists entry _75_. @@ -9959,7 +9987,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Max_ProbExists */ -#define FilterState_Cfg_FilterState_Max_ProbExists__75_ 3 +#define FilterState_Cfg_FilterState_Max_ProbExists__75_ 3 /** * Value table FilterState_Cfg_FilterState_Max_ProbExists entry _50_. @@ -9968,7 +9996,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Max_ProbExists */ -#define FilterState_Cfg_FilterState_Max_ProbExists__50_ 2 +#define FilterState_Cfg_FilterState_Max_ProbExists__50_ 2 /** * Value table FilterState_Cfg_FilterState_Max_ProbExists entry _25_. @@ -9977,17 +10005,18 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Max_ProbExists */ -#define FilterState_Cfg_FilterState_Max_ProbExists__25_ 1 +#define FilterState_Cfg_FilterState_Max_ProbExists__25_ 1 /** * Value table FilterState_Cfg_FilterState_Max_ProbExists entry invalid. * * @ingroup ENUM_FilterState_Cfg_FilterState_Max_ProbExists */ -#define FilterState_Cfg_FilterState_Max_ProbExists_invalid 0 +#define FilterState_Cfg_FilterState_Max_ProbExists_invalid 0 /** - * @defgroup SIG_FilterState_Cfg_FilterState_Max_NofObj Signal FilterState_Max_NofObj of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Max_NofObj Signal FilterState_Max_NofObj of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -10000,17 +10029,19 @@ * Signal FilterState_Max_NofObj configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Max_NofObj and \ref GET_FilterState_Cfg_FilterState_Max_NofObj instead. + * Use \ref SET_FilterState_Cfg_FilterState_Max_NofObj and \ref + *GET_FilterState_Cfg_FilterState_Max_NofObj instead. */ -#define SIG_FilterState_Cfg_FilterState_Max_NofObj 1, 0, 27, 12 +#define SIG_FilterState_Cfg_FilterState_Max_NofObj 1, 0, 27, 12 /** * Signal FilterState_Max_NofObj setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_NofObj or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_NofObj or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Max_NofObj 1, 0, 27, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Max_NofObj 1, 0, 27, 12, 0 /** * Get signal FilterState_Max_NofObj from buffer. @@ -10020,10 +10051,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Max_NofObj(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Max_NofObj(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Max_NofObj in buffer. @@ -10033,12 +10062,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Max_NofObj(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Max_NofObj(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Max_NofObj in buffer to its initial value. @@ -10047,7 +10077,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Max_NofObj(buf) \ - SET_FilterState_Cfg_FilterState_Max_NofObj(buf, 0) + SET_FilterState_Cfg_FilterState_Max_NofObj(buf, 0) /** * Signal FilterState_Max_NofObj value conversion with 16 bit factor and offset. @@ -10060,35 +10090,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Max_NofObj(x, fmt) \ - ((x) * fmt) +#define CALC_FilterState_Cfg_FilterState_Max_NofObj(x, fmt) ((x) * fmt) /** * Signal FilterState_Max_NofObj raw initial value. */ -#define START_FilterState_Cfg_FilterState_Max_NofObj 0 +#define START_FilterState_Cfg_FilterState_Max_NofObj 0 /** * Signal FilterState_Max_NofObj raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Max_NofObj 0 +#define MIN_FilterState_Cfg_FilterState_Max_NofObj 0 /** * Signal FilterState_Max_NofObj raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Max_NofObj 4095 +#define MAX_FilterState_Cfg_FilterState_Max_NofObj 4095 /** * Signal FilterState_Max_NofObj raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Max_NofObj 0 +#define OFF_FilterState_Cfg_FilterState_Max_NofObj 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Max_Lifetime Signal FilterState_Max_Lifetime of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Max_Lifetime Signal FilterState_Max_Lifetime of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -10101,17 +10131,19 @@ * Signal FilterState_Max_Lifetime configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Max_Lifetime and \ref GET_FilterState_Cfg_FilterState_Max_Lifetime instead. + * Use \ref SET_FilterState_Cfg_FilterState_Max_Lifetime and \ref + *GET_FilterState_Cfg_FilterState_Max_Lifetime instead. */ -#define SIG_FilterState_Cfg_FilterState_Max_Lifetime 1, 0, 27, 12 +#define SIG_FilterState_Cfg_FilterState_Max_Lifetime 1, 0, 27, 12 /** * Signal FilterState_Max_Lifetime setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_Lifetime or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_Lifetime or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Max_Lifetime 1, 0, 27, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Max_Lifetime 1, 0, 27, 12, 0 /** * Get signal FilterState_Max_Lifetime from buffer. @@ -10121,10 +10153,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Max_Lifetime(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Max_Lifetime(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Max_Lifetime in buffer. @@ -10134,12 +10164,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Max_Lifetime(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Max_Lifetime(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Max_Lifetime in buffer to its initial value. @@ -10148,7 +10179,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Max_Lifetime(buf) \ - SET_FilterState_Cfg_FilterState_Max_Lifetime(buf, 0) + SET_FilterState_Cfg_FilterState_Max_Lifetime(buf, 0) /** * Signal FilterState_Max_Lifetime value conversion with 16 bit factor and offset. @@ -10161,35 +10192,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Max_Lifetime(x, fmt) \ - ((x) * fmt / 10) +#define CALC_FilterState_Cfg_FilterState_Max_Lifetime(x, fmt) ((x) * fmt / 10) /** * Signal FilterState_Max_Lifetime raw initial value. */ -#define START_FilterState_Cfg_FilterState_Max_Lifetime 0 +#define START_FilterState_Cfg_FilterState_Max_Lifetime 0 /** * Signal FilterState_Max_Lifetime raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Max_Lifetime 0 +#define MIN_FilterState_Cfg_FilterState_Max_Lifetime 0 /** * Signal FilterState_Max_Lifetime raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Max_Lifetime 4095 +#define MAX_FilterState_Cfg_FilterState_Max_Lifetime 4095 /** * Signal FilterState_Max_Lifetime raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Max_Lifetime 0 +#define OFF_FilterState_Cfg_FilterState_Max_Lifetime 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Max_Distance Signal FilterState_Max_Distance of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Max_Distance Signal FilterState_Max_Distance of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -10202,17 +10233,19 @@ * Signal FilterState_Max_Distance configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Max_Distance and \ref GET_FilterState_Cfg_FilterState_Max_Distance instead. + * Use \ref SET_FilterState_Cfg_FilterState_Max_Distance and \ref + *GET_FilterState_Cfg_FilterState_Max_Distance instead. */ -#define SIG_FilterState_Cfg_FilterState_Max_Distance 1, 0, 27, 12 +#define SIG_FilterState_Cfg_FilterState_Max_Distance 1, 0, 27, 12 /** * Signal FilterState_Max_Distance setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_Distance or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_Distance or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Max_Distance 1, 0, 27, 12, 0 +#define SETUP_FilterState_Cfg_FilterState_Max_Distance 1, 0, 27, 12, 0 /** * Get signal FilterState_Max_Distance from buffer. @@ -10222,10 +10255,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Max_Distance(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Max_Distance(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Max_Distance in buffer. @@ -10235,12 +10266,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Max_Distance(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Max_Distance(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Max_Distance in buffer to its initial value. @@ -10249,7 +10281,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Max_Distance(buf) \ - SET_FilterState_Cfg_FilterState_Max_Distance(buf, 0) + SET_FilterState_Cfg_FilterState_Max_Distance(buf, 0) /** * Signal FilterState_Max_Distance value conversion with 16 bit factor and offset. @@ -10262,35 +10294,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Max_Distance(x, fmt) \ - ((x) * fmt / 10) +#define CALC_FilterState_Cfg_FilterState_Max_Distance(x, fmt) ((x) * fmt / 10) /** * Signal FilterState_Max_Distance raw initial value. */ -#define START_FilterState_Cfg_FilterState_Max_Distance 0 +#define START_FilterState_Cfg_FilterState_Max_Distance 0 /** * Signal FilterState_Max_Distance raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Max_Distance 0 +#define MIN_FilterState_Cfg_FilterState_Max_Distance 0 /** * Signal FilterState_Max_Distance raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Max_Distance 4095 +#define MAX_FilterState_Cfg_FilterState_Max_Distance 4095 /** * Signal FilterState_Max_Distance raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Max_Distance 0 +#define OFF_FilterState_Cfg_FilterState_Max_Distance 0 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Max_Azimuth Signal FilterState_Max_Azimuth of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Max_Azimuth Signal FilterState_Max_Azimuth of Message + * FilterState_Cfg (0x204) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -10303,17 +10335,19 @@ * Signal FilterState_Max_Azimuth configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Max_Azimuth and \ref GET_FilterState_Cfg_FilterState_Max_Azimuth instead. + * Use \ref SET_FilterState_Cfg_FilterState_Max_Azimuth and \ref + *GET_FilterState_Cfg_FilterState_Max_Azimuth instead. */ -#define SIG_FilterState_Cfg_FilterState_Max_Azimuth 1, 0, 27, 12 +#define SIG_FilterState_Cfg_FilterState_Max_Azimuth 1, 0, 27, 12 /** * Signal FilterState_Max_Azimuth setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_Azimuth or \ref INIT_FilterState_Cfg instead. + * Use \ref INITSIG_FilterState_Cfg_FilterState_Max_Azimuth or \ref INIT_FilterState_Cfg + *instead. */ -#define SETUP_FilterState_Cfg_FilterState_Max_Azimuth 1, 0, 27, 12, 2000 +#define SETUP_FilterState_Cfg_FilterState_Max_Azimuth 1, 0, 27, 12, 2000 /** * Get signal FilterState_Max_Azimuth from buffer. @@ -10323,10 +10357,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Max_Azimuth(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Max_Azimuth(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterState_Max_Azimuth in buffer. @@ -10336,12 +10368,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Max_Azimuth(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterState_Cfg_FilterState_Max_Azimuth(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterState_Max_Azimuth in buffer to its initial value. @@ -10350,7 +10383,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Max_Azimuth(buf) \ - SET_FilterState_Cfg_FilterState_Max_Azimuth(buf, 2000) + SET_FilterState_Cfg_FilterState_Max_Azimuth(buf, 2000) /** * Signal FilterState_Max_Azimuth value conversion with 16 bit factor and offset. @@ -10363,35 +10396,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Max_Azimuth(x, fmt) \ - ((x) * fmt / 40 + fmt * (-50)) +#define CALC_FilterState_Cfg_FilterState_Max_Azimuth(x, fmt) ((x) * fmt / 40 + fmt * (-50)) /** * Signal FilterState_Max_Azimuth raw initial value. */ -#define START_FilterState_Cfg_FilterState_Max_Azimuth 2000 +#define START_FilterState_Cfg_FilterState_Max_Azimuth 2000 /** * Signal FilterState_Max_Azimuth raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Max_Azimuth 0 +#define MIN_FilterState_Cfg_FilterState_Max_Azimuth 0 /** * Signal FilterState_Max_Azimuth raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Max_Azimuth 4095 +#define MAX_FilterState_Cfg_FilterState_Max_Azimuth 4095 /** * Signal FilterState_Max_Azimuth raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Max_Azimuth -2000 +#define OFF_FilterState_Cfg_FilterState_Max_Azimuth -2000 /** * @} */ /** - * @defgroup SIG_FilterState_Cfg_FilterState_Index Signal FilterState_Index of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Index Signal FilterState_Index of Message + * FilterState_Cfg (0x204) * * Contains the value table \ref ENUM_FilterState_Cfg_FilterState_Index. * @@ -10406,9 +10439,10 @@ * Signal FilterState_Index configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Index and \ref GET_FilterState_Cfg_FilterState_Index instead. + * Use \ref SET_FilterState_Cfg_FilterState_Index and \ref + *GET_FilterState_Cfg_FilterState_Index instead. */ -#define SIG_FilterState_Cfg_FilterState_Index 1, 0, 6, 4 +#define SIG_FilterState_Cfg_FilterState_Index 1, 0, 6, 4 /** * Signal FilterState_Index setup tuple. @@ -10416,7 +10450,7 @@ * @deprecated * Use \ref INITSIG_FilterState_Cfg_FilterState_Index or \ref INIT_FilterState_Cfg instead. */ -#define SETUP_FilterState_Cfg_FilterState_Index 1, 0, 6, 4, 0 +#define SETUP_FilterState_Cfg_FilterState_Index 1, 0, 6, 4, 0 /** * Get signal FilterState_Index from buffer. @@ -10426,9 +10460,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Index(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 3) & 0x0f) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Index(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 3) & 0x0f) << 0)) /** * Set signal FilterState_Index in buffer. @@ -10438,10 +10471,11 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Index(buf, val) { \ - buf[0] &= ~(0x0f << 3); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x0f) << 3; \ -} +#define SET_FilterState_Cfg_FilterState_Index(buf, val) \ + { \ + buf[0] &= ~(0x0f << 3); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x0f) << 3; \ + } /** * Set signal FilterState_Index in buffer to its initial value. @@ -10449,8 +10483,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterState_Cfg_FilterState_Index(buf) \ - SET_FilterState_Cfg_FilterState_Index(buf, 0) +#define INITSIG_FilterState_Cfg_FilterState_Index(buf) SET_FilterState_Cfg_FilterState_Index(buf, 0) /** * Signal FilterState_Index value conversion with 16 bit factor and offset. @@ -10463,35 +10496,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Index(x, fmt) \ - ((x) * fmt) +#define CALC_FilterState_Cfg_FilterState_Index(x, fmt) ((x) * fmt) /** * Signal FilterState_Index raw initial value. */ -#define START_FilterState_Cfg_FilterState_Index 0 +#define START_FilterState_Cfg_FilterState_Index 0 /** * Signal FilterState_Index raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Index 0 +#define MIN_FilterState_Cfg_FilterState_Index 0 /** * Signal FilterState_Index raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Index 15 +#define MAX_FilterState_Cfg_FilterState_Index 15 /** * Signal FilterState_Index raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Index 0 +#define OFF_FilterState_Cfg_FilterState_Index 0 /** * @} */ /** - * @defgroup ENUM_FilterState_Cfg_FilterState_Index Value Table for Signal FilterState_Index in Message FilterState_Cfg (0x204) + * @defgroup ENUM_FilterState_Cfg_FilterState_Index Value Table for Signal FilterState_Index in + * Message FilterState_Cfg (0x204) * * Enum values defined for \ref SIG_FilterState_Cfg_FilterState_Index. * @@ -10503,7 +10536,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Index */ -#define FilterState_Cfg_FilterState_Index_Class 15 +#define FilterState_Cfg_FilterState_Index_Class 15 /** * Value table FilterState_Cfg_FilterState_Index entry Longitud_. @@ -10512,7 +10545,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Index */ -#define FilterState_Cfg_FilterState_Index_Longitud_ 14 +#define FilterState_Cfg_FilterState_Index_Longitud_ 14 /** * Value table FilterState_Cfg_FilterState_Index entry Lateral. @@ -10521,7 +10554,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Index */ -#define FilterState_Cfg_FilterState_Index_Lateral 13 +#define FilterState_Cfg_FilterState_Index_Lateral 13 /** * Value table FilterState_Cfg_FilterState_Index entry Longitud__C. @@ -10530,7 +10563,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Index */ -#define FilterState_Cfg_FilterState_Index_Longitud__C 12 +#define FilterState_Cfg_FilterState_Index_Longitud__C 12 /** * Value table FilterState_Cfg_FilterState_Index entry Lateral_B. @@ -10539,7 +10572,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Index */ -#define FilterState_Cfg_FilterState_Index_Lateral_B 11 +#define FilterState_Cfg_FilterState_Index_Lateral_B 11 /** * Value table FilterState_Cfg_FilterState_Index entry Longitudinal. @@ -10548,7 +10581,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Index */ -#define FilterState_Cfg_FilterState_Index_Longitudinal 10 +#define FilterState_Cfg_FilterState_Index_Longitudinal 10 /** * Value table FilterState_Cfg_FilterState_Index entry Lateral_9. @@ -10557,7 +10590,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Index */ -#define FilterState_Cfg_FilterState_Index_Lateral_9 9 +#define FilterState_Cfg_FilterState_Index_Lateral_9 9 /** * Value table FilterState_Cfg_FilterState_Index entry Probability. @@ -10566,28 +10599,28 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Index */ -#define FilterState_Cfg_FilterState_Index_Probability 8 +#define FilterState_Cfg_FilterState_Index_Probability 8 /** * Value table FilterState_Cfg_FilterState_Index entry Size. * * @ingroup ENUM_FilterState_Cfg_FilterState_Index */ -#define FilterState_Cfg_FilterState_Index_Size 7 +#define FilterState_Cfg_FilterState_Index_Size 7 /** * Value table FilterState_Cfg_FilterState_Index entry Lifetime. * * @ingroup ENUM_FilterState_Cfg_FilterState_Index */ -#define FilterState_Cfg_FilterState_Index_Lifetime 6 +#define FilterState_Cfg_FilterState_Index_Lifetime 6 /** * Value table FilterState_Cfg_FilterState_Index entry RCS. * * @ingroup ENUM_FilterState_Cfg_FilterState_Index */ -#define FilterState_Cfg_FilterState_Index_RCS 5 +#define FilterState_Cfg_FilterState_Index_RCS 5 /** * Value table FilterState_Cfg_FilterState_Index entry Radial. @@ -10596,7 +10629,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Index */ -#define FilterState_Cfg_FilterState_Index_Radial 4 +#define FilterState_Cfg_FilterState_Index_Radial 4 /** * Value table FilterState_Cfg_FilterState_Index entry Radial_3. @@ -10605,14 +10638,14 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Index */ -#define FilterState_Cfg_FilterState_Index_Radial_3 3 +#define FilterState_Cfg_FilterState_Index_Radial_3 3 /** * Value table FilterState_Cfg_FilterState_Index entry Azimuth. * * @ingroup ENUM_FilterState_Cfg_FilterState_Index */ -#define FilterState_Cfg_FilterState_Index_Azimuth 2 +#define FilterState_Cfg_FilterState_Index_Azimuth 2 /** * Value table FilterState_Cfg_FilterState_Index entry Radial_1. @@ -10621,7 +10654,7 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Index */ -#define FilterState_Cfg_FilterState_Index_Radial_1 1 +#define FilterState_Cfg_FilterState_Index_Radial_1 1 /** * Value table FilterState_Cfg_FilterState_Index entry Number. @@ -10630,10 +10663,11 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Index */ -#define FilterState_Cfg_FilterState_Index_Number 0 +#define FilterState_Cfg_FilterState_Index_Number 0 /** - * @defgroup SIG_FilterState_Cfg_FilterState_Active Signal FilterState_Active of Message FilterState_Cfg (0x204) + * @defgroup SIG_FilterState_Cfg_FilterState_Active Signal FilterState_Active of Message + * FilterState_Cfg (0x204) * * Contains the value table \ref ENUM_FilterState_Cfg_FilterState_Active. * @@ -10648,9 +10682,10 @@ * Signal FilterState_Active configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Cfg_FilterState_Active and \ref GET_FilterState_Cfg_FilterState_Active instead. + * Use \ref SET_FilterState_Cfg_FilterState_Active and \ref + *GET_FilterState_Cfg_FilterState_Active instead. */ -#define SIG_FilterState_Cfg_FilterState_Active 1, 0, 2, 1 +#define SIG_FilterState_Cfg_FilterState_Active 1, 0, 2, 1 /** * Signal FilterState_Active setup tuple. @@ -10658,7 +10693,7 @@ * @deprecated * Use \ref INITSIG_FilterState_Cfg_FilterState_Active or \ref INIT_FilterState_Cfg instead. */ -#define SETUP_FilterState_Cfg_FilterState_Active 1, 0, 2, 1, 0 +#define SETUP_FilterState_Cfg_FilterState_Active 1, 0, 2, 1, 0 /** * Get signal FilterState_Active from buffer. @@ -10668,9 +10703,8 @@ * @return * The raw signal */ -#define GET_FilterState_Cfg_FilterState_Active(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 2) & 0x01) << 0) \ -) +#define GET_FilterState_Cfg_FilterState_Active(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 2) & 0x01) << 0)) /** * Set signal FilterState_Active in buffer. @@ -10680,10 +10714,11 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Cfg_FilterState_Active(buf, val) { \ - buf[0] &= ~(0x01 << 2); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 2; \ -} +#define SET_FilterState_Cfg_FilterState_Active(buf, val) \ + { \ + buf[0] &= ~(0x01 << 2); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 2; \ + } /** * Set signal FilterState_Active in buffer to its initial value. @@ -10692,7 +10727,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Cfg_FilterState_Active(buf) \ - SET_FilterState_Cfg_FilterState_Active(buf, 0) + SET_FilterState_Cfg_FilterState_Active(buf, 0) /** * Signal FilterState_Active value conversion with 16 bit factor and offset. @@ -10705,35 +10740,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Cfg_FilterState_Active(x, fmt) \ - ((x) * fmt) +#define CALC_FilterState_Cfg_FilterState_Active(x, fmt) ((x) * fmt) /** * Signal FilterState_Active raw initial value. */ -#define START_FilterState_Cfg_FilterState_Active 0 +#define START_FilterState_Cfg_FilterState_Active 0 /** * Signal FilterState_Active raw minimum value. */ -#define MIN_FilterState_Cfg_FilterState_Active 0 +#define MIN_FilterState_Cfg_FilterState_Active 0 /** * Signal FilterState_Active raw maximum value. */ -#define MAX_FilterState_Cfg_FilterState_Active 1 +#define MAX_FilterState_Cfg_FilterState_Active 1 /** * Signal FilterState_Active raw offset value. */ -#define OFF_FilterState_Cfg_FilterState_Active 0 +#define OFF_FilterState_Cfg_FilterState_Active 0 /** * @} */ /** - * @defgroup ENUM_FilterState_Cfg_FilterState_Active Value Table for Signal FilterState_Active in Message FilterState_Cfg (0x204) + * @defgroup ENUM_FilterState_Cfg_FilterState_Active Value Table for Signal FilterState_Active in + * Message FilterState_Cfg (0x204) * * Enum values defined for \ref SIG_FilterState_Cfg_FilterState_Active. * @@ -10745,17 +10780,18 @@ * * @ingroup ENUM_FilterState_Cfg_FilterState_Active */ -#define FilterState_Cfg_FilterState_Active_active 1 +#define FilterState_Cfg_FilterState_Active_active 1 /** * Value table FilterState_Cfg_FilterState_Active entry inactive. * * @ingroup ENUM_FilterState_Cfg_FilterState_Active */ -#define FilterState_Cfg_FilterState_Active_inactive 0 +#define FilterState_Cfg_FilterState_Active_inactive 0 /** - * @defgroup SIG_FilterState_Header_FilterState_NofObjectFilterCfg Signal FilterState_NofObjectFilterCfg of Message FilterState_Header (0x203) + * @defgroup SIG_FilterState_Header_FilterState_NofObjectFilterCfg Signal + * FilterState_NofObjectFilterCfg of Message FilterState_Header (0x203) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -10768,17 +10804,19 @@ * Signal FilterState_NofObjectFilterCfg configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Header_FilterState_NofObjectFilterCfg and \ref GET_FilterState_Header_FilterState_NofObjectFilterCfg instead. + * Use \ref SET_FilterState_Header_FilterState_NofObjectFilterCfg and \ref + *GET_FilterState_Header_FilterState_NofObjectFilterCfg instead. */ -#define SIG_FilterState_Header_FilterState_NofObjectFilterCfg 1, 0, 15, 5 +#define SIG_FilterState_Header_FilterState_NofObjectFilterCfg 1, 0, 15, 5 /** * Signal FilterState_NofObjectFilterCfg setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Header_FilterState_NofObjectFilterCfg or \ref INIT_FilterState_Header instead. + * Use \ref INITSIG_FilterState_Header_FilterState_NofObjectFilterCfg or \ref + *INIT_FilterState_Header instead. */ -#define SETUP_FilterState_Header_FilterState_NofObjectFilterCfg 1, 0, 15, 5, 0 +#define SETUP_FilterState_Header_FilterState_NofObjectFilterCfg 1, 0, 15, 5, 0 /** * Get signal FilterState_NofObjectFilterCfg from buffer. @@ -10788,9 +10826,8 @@ * @return * The raw signal */ -#define GET_FilterState_Header_FilterState_NofObjectFilterCfg(buf) (0 \ - | (ubyte)(+(ubyte)((buf[1] >> 3) & 0x1f) << 0) \ -) +#define GET_FilterState_Header_FilterState_NofObjectFilterCfg(buf) \ + (0 | (ubyte)(+(ubyte)((buf[1] >> 3) & 0x1f) << 0)) /** * Set signal FilterState_NofObjectFilterCfg in buffer. @@ -10800,10 +10837,11 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Header_FilterState_NofObjectFilterCfg(buf, val) { \ - buf[1] &= ~(0x1f << 3); \ - buf[1] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ -} +#define SET_FilterState_Header_FilterState_NofObjectFilterCfg(buf, val) \ + { \ + buf[1] &= ~(0x1f << 3); \ + buf[1] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ + } /** * Set signal FilterState_NofObjectFilterCfg in buffer to its initial value. @@ -10812,7 +10850,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Header_FilterState_NofObjectFilterCfg(buf) \ - SET_FilterState_Header_FilterState_NofObjectFilterCfg(buf, 0) + SET_FilterState_Header_FilterState_NofObjectFilterCfg(buf, 0) /** * Signal FilterState_NofObjectFilterCfg value conversion with 16 bit factor and offset. @@ -10825,35 +10863,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Header_FilterState_NofObjectFilterCfg(x, fmt) \ - ((x) * fmt) +#define CALC_FilterState_Header_FilterState_NofObjectFilterCfg(x, fmt) ((x) * fmt) /** * Signal FilterState_NofObjectFilterCfg raw initial value. */ -#define START_FilterState_Header_FilterState_NofObjectFilterCfg 0 +#define START_FilterState_Header_FilterState_NofObjectFilterCfg 0 /** * Signal FilterState_NofObjectFilterCfg raw minimum value. */ -#define MIN_FilterState_Header_FilterState_NofObjectFilterCfg 0 +#define MIN_FilterState_Header_FilterState_NofObjectFilterCfg 0 /** * Signal FilterState_NofObjectFilterCfg raw maximum value. */ -#define MAX_FilterState_Header_FilterState_NofObjectFilterCfg 31 +#define MAX_FilterState_Header_FilterState_NofObjectFilterCfg 31 /** * Signal FilterState_NofObjectFilterCfg raw offset value. */ -#define OFF_FilterState_Header_FilterState_NofObjectFilterCfg 0 +#define OFF_FilterState_Header_FilterState_NofObjectFilterCfg 0 /** * @} */ /** - * @defgroup SIG_FilterState_Header_FilterState_NofClusterFilterCfg Signal FilterState_NofClusterFilterCfg of Message FilterState_Header (0x203) + * @defgroup SIG_FilterState_Header_FilterState_NofClusterFilterCfg Signal + * FilterState_NofClusterFilterCfg of Message FilterState_Header (0x203) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -10866,17 +10904,19 @@ * Signal FilterState_NofClusterFilterCfg configuration tuple. * * @deprecated - * Use \ref SET_FilterState_Header_FilterState_NofClusterFilterCfg and \ref GET_FilterState_Header_FilterState_NofClusterFilterCfg instead. + * Use \ref SET_FilterState_Header_FilterState_NofClusterFilterCfg and \ref + *GET_FilterState_Header_FilterState_NofClusterFilterCfg instead. */ -#define SIG_FilterState_Header_FilterState_NofClusterFilterCfg 1, 0, 7, 5 +#define SIG_FilterState_Header_FilterState_NofClusterFilterCfg 1, 0, 7, 5 /** * Signal FilterState_NofClusterFilterCfg setup tuple. * * @deprecated - * Use \ref INITSIG_FilterState_Header_FilterState_NofClusterFilterCfg or \ref INIT_FilterState_Header instead. + * Use \ref INITSIG_FilterState_Header_FilterState_NofClusterFilterCfg or \ref + *INIT_FilterState_Header instead. */ -#define SETUP_FilterState_Header_FilterState_NofClusterFilterCfg 1, 0, 7, 5, 0 +#define SETUP_FilterState_Header_FilterState_NofClusterFilterCfg 1, 0, 7, 5, 0 /** * Get signal FilterState_NofClusterFilterCfg from buffer. @@ -10886,9 +10926,8 @@ * @return * The raw signal */ -#define GET_FilterState_Header_FilterState_NofClusterFilterCfg(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 3) & 0x1f) << 0) \ -) +#define GET_FilterState_Header_FilterState_NofClusterFilterCfg(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 3) & 0x1f) << 0)) /** * Set signal FilterState_NofClusterFilterCfg in buffer. @@ -10898,10 +10937,11 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterState_Header_FilterState_NofClusterFilterCfg(buf, val) { \ - buf[0] &= ~(0x1f << 3); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ -} +#define SET_FilterState_Header_FilterState_NofClusterFilterCfg(buf, val) \ + { \ + buf[0] &= ~(0x1f << 3); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ + } /** * Set signal FilterState_NofClusterFilterCfg in buffer to its initial value. @@ -10910,7 +10950,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterState_Header_FilterState_NofClusterFilterCfg(buf) \ - SET_FilterState_Header_FilterState_NofClusterFilterCfg(buf, 0) + SET_FilterState_Header_FilterState_NofClusterFilterCfg(buf, 0) /** * Signal FilterState_NofClusterFilterCfg value conversion with 16 bit factor and offset. @@ -10923,35 +10963,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterState_Header_FilterState_NofClusterFilterCfg(x, fmt) \ - ((x) * fmt) +#define CALC_FilterState_Header_FilterState_NofClusterFilterCfg(x, fmt) ((x) * fmt) /** * Signal FilterState_NofClusterFilterCfg raw initial value. */ -#define START_FilterState_Header_FilterState_NofClusterFilterCfg 0 +#define START_FilterState_Header_FilterState_NofClusterFilterCfg 0 /** * Signal FilterState_NofClusterFilterCfg raw minimum value. */ -#define MIN_FilterState_Header_FilterState_NofClusterFilterCfg 0 +#define MIN_FilterState_Header_FilterState_NofClusterFilterCfg 0 /** * Signal FilterState_NofClusterFilterCfg raw maximum value. */ -#define MAX_FilterState_Header_FilterState_NofClusterFilterCfg 31 +#define MAX_FilterState_Header_FilterState_NofClusterFilterCfg 31 /** * Signal FilterState_NofClusterFilterCfg raw offset value. */ -#define OFF_FilterState_Header_FilterState_NofClusterFilterCfg 0 +#define OFF_FilterState_Header_FilterState_NofClusterFilterCfg 0 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Min_Class Signal FilterCfg_Min_Class of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Min_Class Signal FilterCfg_Min_Class of Message FilterCfg + * (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -10964,9 +11004,10 @@ * Signal FilterCfg_Min_Class configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Min_Class and \ref GET_FilterCfg_FilterCfg_Min_Class instead. + * Use \ref SET_FilterCfg_FilterCfg_Min_Class and \ref GET_FilterCfg_FilterCfg_Min_Class + *instead. */ -#define SIG_FilterCfg_FilterCfg_Min_Class 1, 0, 23, 8 +#define SIG_FilterCfg_FilterCfg_Min_Class 1, 0, 23, 8 /** * Signal FilterCfg_Min_Class setup tuple. @@ -10974,7 +11015,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Min_Class or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Min_Class 1, 0, 23, 8, 0 +#define SETUP_FilterCfg_FilterCfg_Min_Class 1, 0, 23, 8, 0 /** * Get signal FilterCfg_Min_Class from buffer. @@ -10984,9 +11025,7 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Min_Class(buf) (0 \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Min_Class(buf) (0 | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Min_Class in buffer. @@ -10996,10 +11035,11 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Min_Class(buf, val) { \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Min_Class(buf, val) \ + { \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Min_Class in buffer to its initial value. @@ -11007,8 +11047,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Min_Class(buf) \ - SET_FilterCfg_FilterCfg_Min_Class(buf, 0) +#define INITSIG_FilterCfg_FilterCfg_Min_Class(buf) SET_FilterCfg_FilterCfg_Min_Class(buf, 0) /** * Signal FilterCfg_Min_Class value conversion with 16 bit factor and offset. @@ -11021,35 +11060,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Min_Class(x, fmt) \ - ((x) * fmt) +#define CALC_FilterCfg_FilterCfg_Min_Class(x, fmt) ((x) * fmt) /** * Signal FilterCfg_Min_Class raw initial value. */ -#define START_FilterCfg_FilterCfg_Min_Class 0 +#define START_FilterCfg_FilterCfg_Min_Class 0 /** * Signal FilterCfg_Min_Class raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Min_Class 0 +#define MIN_FilterCfg_FilterCfg_Min_Class 0 /** * Signal FilterCfg_Min_Class raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Min_Class 255 +#define MAX_FilterCfg_FilterCfg_Min_Class 255 /** * Signal FilterCfg_Min_Class raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Min_Class 0 +#define OFF_FilterCfg_FilterCfg_Min_Class 0 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Max_Class Signal FilterCfg_Max_Class of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Max_Class Signal FilterCfg_Max_Class of Message FilterCfg + * (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -11062,9 +11101,10 @@ * Signal FilterCfg_Max_Class configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Max_Class and \ref GET_FilterCfg_FilterCfg_Max_Class instead. + * Use \ref SET_FilterCfg_FilterCfg_Max_Class and \ref GET_FilterCfg_FilterCfg_Max_Class + *instead. */ -#define SIG_FilterCfg_FilterCfg_Max_Class 1, 0, 39, 8 +#define SIG_FilterCfg_FilterCfg_Max_Class 1, 0, 39, 8 /** * Signal FilterCfg_Max_Class setup tuple. @@ -11072,7 +11112,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Max_Class or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Max_Class 1, 0, 39, 8, 0 +#define SETUP_FilterCfg_FilterCfg_Max_Class 1, 0, 39, 8, 0 /** * Get signal FilterCfg_Max_Class from buffer. @@ -11082,9 +11122,7 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Max_Class(buf) (0 \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Max_Class(buf) (0 | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Max_Class in buffer. @@ -11094,10 +11132,11 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Max_Class(buf, val) { \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Max_Class(buf, val) \ + { \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Max_Class in buffer to its initial value. @@ -11105,8 +11144,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Max_Class(buf) \ - SET_FilterCfg_FilterCfg_Max_Class(buf, 0) +#define INITSIG_FilterCfg_FilterCfg_Max_Class(buf) SET_FilterCfg_FilterCfg_Max_Class(buf, 0) /** * Signal FilterCfg_Max_Class value conversion with 16 bit factor and offset. @@ -11119,28 +11157,27 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Max_Class(x, fmt) \ - ((x) * fmt) +#define CALC_FilterCfg_FilterCfg_Max_Class(x, fmt) ((x) * fmt) /** * Signal FilterCfg_Max_Class raw initial value. */ -#define START_FilterCfg_FilterCfg_Max_Class 0 +#define START_FilterCfg_FilterCfg_Max_Class 0 /** * Signal FilterCfg_Max_Class raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Max_Class 0 +#define MIN_FilterCfg_FilterCfg_Max_Class 0 /** * Signal FilterCfg_Max_Class raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Max_Class 255 +#define MAX_FilterCfg_FilterCfg_Max_Class 255 /** * Signal FilterCfg_Max_Class raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Max_Class 0 +#define OFF_FilterCfg_FilterCfg_Max_Class 0 /** * @} @@ -11162,7 +11199,7 @@ * @deprecated * Use \ref SET_FilterCfg_FilterCfg_Min_Y and \ref GET_FilterCfg_FilterCfg_Min_Y instead. */ -#define SIG_FilterCfg_FilterCfg_Min_Y 1, 0, 11, 12 +#define SIG_FilterCfg_FilterCfg_Min_Y 1, 0, 11, 12 /** * Signal FilterCfg_Min_Y setup tuple. @@ -11170,7 +11207,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Min_Y or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Min_Y 1, 0, 11, 12, 2047.5 +#define SETUP_FilterCfg_FilterCfg_Min_Y 1, 0, 11, 12, 2047.5 /** * Get signal FilterCfg_Min_Y from buffer. @@ -11180,10 +11217,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Min_Y(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Min_Y(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Min_Y in buffer. @@ -11193,12 +11228,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Min_Y(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Min_Y(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Min_Y in buffer to its initial value. @@ -11206,8 +11242,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Min_Y(buf) \ - SET_FilterCfg_FilterCfg_Min_Y(buf, 2047.5) +#define INITSIG_FilterCfg_FilterCfg_Min_Y(buf) SET_FilterCfg_FilterCfg_Min_Y(buf, 2047.5) /** * Signal FilterCfg_Min_Y value conversion with 16 bit factor and offset. @@ -11220,28 +11255,27 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Min_Y(x, fmt) \ - ((x) * fmt / 5 + fmt * 819 / (-2)) +#define CALC_FilterCfg_FilterCfg_Min_Y(x, fmt) ((x) * fmt / 5 + fmt * 819 / (-2)) /** * Signal FilterCfg_Min_Y raw initial value. */ -#define START_FilterCfg_FilterCfg_Min_Y 2047.5 +#define START_FilterCfg_FilterCfg_Min_Y 2047.5 /** * Signal FilterCfg_Min_Y raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Min_Y 0 +#define MIN_FilterCfg_FilterCfg_Min_Y 0 /** * Signal FilterCfg_Min_Y raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Min_Y 4095 +#define MAX_FilterCfg_FilterCfg_Min_Y 4095 /** * Signal FilterCfg_Min_Y raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Min_Y -2048 +#define OFF_FilterCfg_FilterCfg_Min_Y -2048 /** * @} @@ -11263,7 +11297,7 @@ * @deprecated * Use \ref SET_FilterCfg_FilterCfg_Min_X and \ref GET_FilterCfg_FilterCfg_Min_X instead. */ -#define SIG_FilterCfg_FilterCfg_Min_X 1, 0, 12, 13 +#define SIG_FilterCfg_FilterCfg_Min_X 1, 0, 12, 13 /** * Signal FilterCfg_Min_X setup tuple. @@ -11271,7 +11305,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Min_X or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Min_X 1, 0, 12, 13, 2500 +#define SETUP_FilterCfg_FilterCfg_Min_X 1, 0, 12, 13, 2500 /** * Get signal FilterCfg_Min_X from buffer. @@ -11281,10 +11315,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Min_X(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x1f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Min_X(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x1f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Min_X in buffer. @@ -11294,12 +11326,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Min_X(buf, val) { \ - buf[1] &= ~(0x1f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x1f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Min_X(buf, val) \ + { \ + buf[1] &= ~(0x1f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x1f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Min_X in buffer to its initial value. @@ -11307,8 +11340,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Min_X(buf) \ - SET_FilterCfg_FilterCfg_Min_X(buf, 2500) +#define INITSIG_FilterCfg_FilterCfg_Min_X(buf) SET_FilterCfg_FilterCfg_Min_X(buf, 2500) /** * Signal FilterCfg_Min_X value conversion with 16 bit factor and offset. @@ -11321,35 +11353,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Min_X(x, fmt) \ - ((x) * fmt / 5 + fmt * (-500)) +#define CALC_FilterCfg_FilterCfg_Min_X(x, fmt) ((x) * fmt / 5 + fmt * (-500)) /** * Signal FilterCfg_Min_X raw initial value. */ -#define START_FilterCfg_FilterCfg_Min_X 2500 +#define START_FilterCfg_FilterCfg_Min_X 2500 /** * Signal FilterCfg_Min_X raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Min_X 0 +#define MIN_FilterCfg_FilterCfg_Min_X 0 /** * Signal FilterCfg_Min_X raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Min_X 8191 +#define MAX_FilterCfg_FilterCfg_Min_X 8191 /** * Signal FilterCfg_Min_X raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Min_X -2500 +#define OFF_FilterCfg_FilterCfg_Min_X -2500 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Min_VYRightLeft Signal FilterCfg_Min_VYRightLeft of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Min_VYRightLeft Signal FilterCfg_Min_VYRightLeft of Message + * FilterCfg (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -11362,9 +11394,10 @@ * Signal FilterCfg_Min_VYRightLeft configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Min_VYRightLeft and \ref GET_FilterCfg_FilterCfg_Min_VYRightLeft instead. + * Use \ref SET_FilterCfg_FilterCfg_Min_VYRightLeft and \ref + *GET_FilterCfg_FilterCfg_Min_VYRightLeft instead. */ -#define SIG_FilterCfg_FilterCfg_Min_VYRightLeft 1, 0, 11, 12 +#define SIG_FilterCfg_FilterCfg_Min_VYRightLeft 1, 0, 11, 12 /** * Signal FilterCfg_Min_VYRightLeft setup tuple. @@ -11372,7 +11405,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Min_VYRightLeft or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Min_VYRightLeft 1, 0, 11, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Min_VYRightLeft 1, 0, 11, 12, 0 /** * Get signal FilterCfg_Min_VYRightLeft from buffer. @@ -11382,10 +11415,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Min_VYRightLeft(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Min_VYRightLeft(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Min_VYRightLeft in buffer. @@ -11395,12 +11426,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Min_VYRightLeft(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Min_VYRightLeft(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Min_VYRightLeft in buffer to its initial value. @@ -11409,7 +11441,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterCfg_FilterCfg_Min_VYRightLeft(buf) \ - SET_FilterCfg_FilterCfg_Min_VYRightLeft(buf, 0) + SET_FilterCfg_FilterCfg_Min_VYRightLeft(buf, 0) /** * Signal FilterCfg_Min_VYRightLeft value conversion with 16 bit factor and offset. @@ -11422,35 +11454,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Min_VYRightLeft(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterCfg_FilterCfg_Min_VYRightLeft(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterCfg_Min_VYRightLeft raw initial value. */ -#define START_FilterCfg_FilterCfg_Min_VYRightLeft 0 +#define START_FilterCfg_FilterCfg_Min_VYRightLeft 0 /** * Signal FilterCfg_Min_VYRightLeft raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Min_VYRightLeft 0 +#define MIN_FilterCfg_FilterCfg_Min_VYRightLeft 0 /** * Signal FilterCfg_Min_VYRightLeft raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Min_VYRightLeft 4095 +#define MAX_FilterCfg_FilterCfg_Min_VYRightLeft 4095 /** * Signal FilterCfg_Min_VYRightLeft raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Min_VYRightLeft 0 +#define OFF_FilterCfg_FilterCfg_Min_VYRightLeft 0 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Min_VYLeftRight Signal FilterCfg_Min_VYLeftRight of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Min_VYLeftRight Signal FilterCfg_Min_VYLeftRight of Message + * FilterCfg (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -11463,9 +11495,10 @@ * Signal FilterCfg_Min_VYLeftRight configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Min_VYLeftRight and \ref GET_FilterCfg_FilterCfg_Min_VYLeftRight instead. + * Use \ref SET_FilterCfg_FilterCfg_Min_VYLeftRight and \ref + *GET_FilterCfg_FilterCfg_Min_VYLeftRight instead. */ -#define SIG_FilterCfg_FilterCfg_Min_VYLeftRight 1, 0, 11, 12 +#define SIG_FilterCfg_FilterCfg_Min_VYLeftRight 1, 0, 11, 12 /** * Signal FilterCfg_Min_VYLeftRight setup tuple. @@ -11473,7 +11506,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Min_VYLeftRight or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Min_VYLeftRight 1, 0, 11, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Min_VYLeftRight 1, 0, 11, 12, 0 /** * Get signal FilterCfg_Min_VYLeftRight from buffer. @@ -11483,10 +11516,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Min_VYLeftRight(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Min_VYLeftRight(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Min_VYLeftRight in buffer. @@ -11496,12 +11527,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Min_VYLeftRight(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Min_VYLeftRight(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Min_VYLeftRight in buffer to its initial value. @@ -11510,7 +11542,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterCfg_FilterCfg_Min_VYLeftRight(buf) \ - SET_FilterCfg_FilterCfg_Min_VYLeftRight(buf, 0) + SET_FilterCfg_FilterCfg_Min_VYLeftRight(buf, 0) /** * Signal FilterCfg_Min_VYLeftRight value conversion with 16 bit factor and offset. @@ -11523,35 +11555,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Min_VYLeftRight(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterCfg_FilterCfg_Min_VYLeftRight(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterCfg_Min_VYLeftRight raw initial value. */ -#define START_FilterCfg_FilterCfg_Min_VYLeftRight 0 +#define START_FilterCfg_FilterCfg_Min_VYLeftRight 0 /** * Signal FilterCfg_Min_VYLeftRight raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Min_VYLeftRight 0 +#define MIN_FilterCfg_FilterCfg_Min_VYLeftRight 0 /** * Signal FilterCfg_Min_VYLeftRight raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Min_VYLeftRight 4095 +#define MAX_FilterCfg_FilterCfg_Min_VYLeftRight 4095 /** * Signal FilterCfg_Min_VYLeftRight raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Min_VYLeftRight 0 +#define OFF_FilterCfg_FilterCfg_Min_VYLeftRight 0 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Min_VXOncome Signal FilterCfg_Min_VXOncome of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Min_VXOncome Signal FilterCfg_Min_VXOncome of Message FilterCfg + * (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -11564,9 +11596,10 @@ * Signal FilterCfg_Min_VXOncome configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Min_VXOncome and \ref GET_FilterCfg_FilterCfg_Min_VXOncome instead. + * Use \ref SET_FilterCfg_FilterCfg_Min_VXOncome and \ref GET_FilterCfg_FilterCfg_Min_VXOncome + *instead. */ -#define SIG_FilterCfg_FilterCfg_Min_VXOncome 1, 0, 11, 12 +#define SIG_FilterCfg_FilterCfg_Min_VXOncome 1, 0, 11, 12 /** * Signal FilterCfg_Min_VXOncome setup tuple. @@ -11574,7 +11607,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Min_VXOncome or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Min_VXOncome 1, 0, 11, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Min_VXOncome 1, 0, 11, 12, 0 /** * Get signal FilterCfg_Min_VXOncome from buffer. @@ -11584,10 +11617,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Min_VXOncome(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Min_VXOncome(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Min_VXOncome in buffer. @@ -11597,12 +11628,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Min_VXOncome(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Min_VXOncome(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Min_VXOncome in buffer to its initial value. @@ -11610,8 +11642,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Min_VXOncome(buf) \ - SET_FilterCfg_FilterCfg_Min_VXOncome(buf, 0) +#define INITSIG_FilterCfg_FilterCfg_Min_VXOncome(buf) SET_FilterCfg_FilterCfg_Min_VXOncome(buf, 0) /** * Signal FilterCfg_Min_VXOncome value conversion with 16 bit factor and offset. @@ -11624,35 +11655,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Min_VXOncome(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterCfg_FilterCfg_Min_VXOncome(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterCfg_Min_VXOncome raw initial value. */ -#define START_FilterCfg_FilterCfg_Min_VXOncome 0 +#define START_FilterCfg_FilterCfg_Min_VXOncome 0 /** * Signal FilterCfg_Min_VXOncome raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Min_VXOncome 0 +#define MIN_FilterCfg_FilterCfg_Min_VXOncome 0 /** * Signal FilterCfg_Min_VXOncome raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Min_VXOncome 4095 +#define MAX_FilterCfg_FilterCfg_Min_VXOncome 4095 /** * Signal FilterCfg_Min_VXOncome raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Min_VXOncome 0 +#define OFF_FilterCfg_FilterCfg_Min_VXOncome 0 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Min_VXDepart Signal FilterCfg_Min_VXDepart of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Min_VXDepart Signal FilterCfg_Min_VXDepart of Message FilterCfg + * (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -11665,9 +11696,10 @@ * Signal FilterCfg_Min_VXDepart configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Min_VXDepart and \ref GET_FilterCfg_FilterCfg_Min_VXDepart instead. + * Use \ref SET_FilterCfg_FilterCfg_Min_VXDepart and \ref GET_FilterCfg_FilterCfg_Min_VXDepart + *instead. */ -#define SIG_FilterCfg_FilterCfg_Min_VXDepart 1, 0, 11, 12 +#define SIG_FilterCfg_FilterCfg_Min_VXDepart 1, 0, 11, 12 /** * Signal FilterCfg_Min_VXDepart setup tuple. @@ -11675,7 +11707,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Min_VXDepart or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Min_VXDepart 1, 0, 11, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Min_VXDepart 1, 0, 11, 12, 0 /** * Get signal FilterCfg_Min_VXDepart from buffer. @@ -11685,10 +11717,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Min_VXDepart(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Min_VXDepart(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Min_VXDepart in buffer. @@ -11698,12 +11728,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Min_VXDepart(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Min_VXDepart(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Min_VXDepart in buffer to its initial value. @@ -11711,8 +11742,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Min_VXDepart(buf) \ - SET_FilterCfg_FilterCfg_Min_VXDepart(buf, 0) +#define INITSIG_FilterCfg_FilterCfg_Min_VXDepart(buf) SET_FilterCfg_FilterCfg_Min_VXDepart(buf, 0) /** * Signal FilterCfg_Min_VXDepart value conversion with 16 bit factor and offset. @@ -11725,28 +11755,27 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Min_VXDepart(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterCfg_FilterCfg_Min_VXDepart(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterCfg_Min_VXDepart raw initial value. */ -#define START_FilterCfg_FilterCfg_Min_VXDepart 0 +#define START_FilterCfg_FilterCfg_Min_VXDepart 0 /** * Signal FilterCfg_Min_VXDepart raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Min_VXDepart 0 +#define MIN_FilterCfg_FilterCfg_Min_VXDepart 0 /** * Signal FilterCfg_Min_VXDepart raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Min_VXDepart 4095 +#define MAX_FilterCfg_FilterCfg_Min_VXDepart 4095 /** * Signal FilterCfg_Min_VXDepart raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Min_VXDepart 0 +#define OFF_FilterCfg_FilterCfg_Min_VXDepart 0 /** * @} @@ -11768,7 +11797,7 @@ * @deprecated * Use \ref SET_FilterCfg_FilterCfg_Max_Y and \ref GET_FilterCfg_FilterCfg_Max_Y instead. */ -#define SIG_FilterCfg_FilterCfg_Max_Y 1, 0, 27, 12 +#define SIG_FilterCfg_FilterCfg_Max_Y 1, 0, 27, 12 /** * Signal FilterCfg_Max_Y setup tuple. @@ -11776,7 +11805,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Max_Y or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Max_Y 1, 0, 27, 12, 2047.5 +#define SETUP_FilterCfg_FilterCfg_Max_Y 1, 0, 27, 12, 2047.5 /** * Get signal FilterCfg_Max_Y from buffer. @@ -11786,10 +11815,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Max_Y(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Max_Y(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Max_Y in buffer. @@ -11799,12 +11826,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Max_Y(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Max_Y(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Max_Y in buffer to its initial value. @@ -11812,8 +11840,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Max_Y(buf) \ - SET_FilterCfg_FilterCfg_Max_Y(buf, 2047.5) +#define INITSIG_FilterCfg_FilterCfg_Max_Y(buf) SET_FilterCfg_FilterCfg_Max_Y(buf, 2047.5) /** * Signal FilterCfg_Max_Y value conversion with 16 bit factor and offset. @@ -11826,28 +11853,27 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Max_Y(x, fmt) \ - ((x) * fmt / 5 + fmt * 819 / (-2)) +#define CALC_FilterCfg_FilterCfg_Max_Y(x, fmt) ((x) * fmt / 5 + fmt * 819 / (-2)) /** * Signal FilterCfg_Max_Y raw initial value. */ -#define START_FilterCfg_FilterCfg_Max_Y 2047.5 +#define START_FilterCfg_FilterCfg_Max_Y 2047.5 /** * Signal FilterCfg_Max_Y raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Max_Y 0 +#define MIN_FilterCfg_FilterCfg_Max_Y 0 /** * Signal FilterCfg_Max_Y raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Max_Y 4095 +#define MAX_FilterCfg_FilterCfg_Max_Y 4095 /** * Signal FilterCfg_Max_Y raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Max_Y -2048 +#define OFF_FilterCfg_FilterCfg_Max_Y -2048 /** * @} @@ -11869,7 +11895,7 @@ * @deprecated * Use \ref SET_FilterCfg_FilterCfg_Max_X and \ref GET_FilterCfg_FilterCfg_Max_X instead. */ -#define SIG_FilterCfg_FilterCfg_Max_X 1, 0, 28, 13 +#define SIG_FilterCfg_FilterCfg_Max_X 1, 0, 28, 13 /** * Signal FilterCfg_Max_X setup tuple. @@ -11877,7 +11903,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Max_X or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Max_X 1, 0, 28, 13, 2500 +#define SETUP_FilterCfg_FilterCfg_Max_X 1, 0, 28, 13, 2500 /** * Get signal FilterCfg_Max_X from buffer. @@ -11887,10 +11913,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Max_X(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x1f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Max_X(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x1f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Max_X in buffer. @@ -11900,12 +11924,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Max_X(buf, val) { \ - buf[3] &= ~(0x1f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x1f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Max_X(buf, val) \ + { \ + buf[3] &= ~(0x1f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x1f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Max_X in buffer to its initial value. @@ -11913,8 +11938,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Max_X(buf) \ - SET_FilterCfg_FilterCfg_Max_X(buf, 2500) +#define INITSIG_FilterCfg_FilterCfg_Max_X(buf) SET_FilterCfg_FilterCfg_Max_X(buf, 2500) /** * Signal FilterCfg_Max_X value conversion with 16 bit factor and offset. @@ -11927,35 +11951,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Max_X(x, fmt) \ - ((x) * fmt / 5 + fmt * (-500)) +#define CALC_FilterCfg_FilterCfg_Max_X(x, fmt) ((x) * fmt / 5 + fmt * (-500)) /** * Signal FilterCfg_Max_X raw initial value. */ -#define START_FilterCfg_FilterCfg_Max_X 2500 +#define START_FilterCfg_FilterCfg_Max_X 2500 /** * Signal FilterCfg_Max_X raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Max_X 0 +#define MIN_FilterCfg_FilterCfg_Max_X 0 /** * Signal FilterCfg_Max_X raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Max_X 8191 +#define MAX_FilterCfg_FilterCfg_Max_X 8191 /** * Signal FilterCfg_Max_X raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Max_X -2500 +#define OFF_FilterCfg_FilterCfg_Max_X -2500 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Max_VYRightLeft Signal FilterCfg_Max_VYRightLeft of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Max_VYRightLeft Signal FilterCfg_Max_VYRightLeft of Message + * FilterCfg (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -11968,9 +11992,10 @@ * Signal FilterCfg_Max_VYRightLeft configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Max_VYRightLeft and \ref GET_FilterCfg_FilterCfg_Max_VYRightLeft instead. + * Use \ref SET_FilterCfg_FilterCfg_Max_VYRightLeft and \ref + *GET_FilterCfg_FilterCfg_Max_VYRightLeft instead. */ -#define SIG_FilterCfg_FilterCfg_Max_VYRightLeft 1, 0, 27, 12 +#define SIG_FilterCfg_FilterCfg_Max_VYRightLeft 1, 0, 27, 12 /** * Signal FilterCfg_Max_VYRightLeft setup tuple. @@ -11978,7 +12003,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Max_VYRightLeft or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Max_VYRightLeft 1, 0, 27, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Max_VYRightLeft 1, 0, 27, 12, 0 /** * Get signal FilterCfg_Max_VYRightLeft from buffer. @@ -11988,10 +12013,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Max_VYRightLeft(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Max_VYRightLeft(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Max_VYRightLeft in buffer. @@ -12001,12 +12024,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Max_VYRightLeft(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Max_VYRightLeft(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Max_VYRightLeft in buffer to its initial value. @@ -12015,7 +12039,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterCfg_FilterCfg_Max_VYRightLeft(buf) \ - SET_FilterCfg_FilterCfg_Max_VYRightLeft(buf, 0) + SET_FilterCfg_FilterCfg_Max_VYRightLeft(buf, 0) /** * Signal FilterCfg_Max_VYRightLeft value conversion with 16 bit factor and offset. @@ -12028,35 +12052,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Max_VYRightLeft(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterCfg_FilterCfg_Max_VYRightLeft(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterCfg_Max_VYRightLeft raw initial value. */ -#define START_FilterCfg_FilterCfg_Max_VYRightLeft 0 +#define START_FilterCfg_FilterCfg_Max_VYRightLeft 0 /** * Signal FilterCfg_Max_VYRightLeft raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Max_VYRightLeft 0 +#define MIN_FilterCfg_FilterCfg_Max_VYRightLeft 0 /** * Signal FilterCfg_Max_VYRightLeft raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Max_VYRightLeft 4095 +#define MAX_FilterCfg_FilterCfg_Max_VYRightLeft 4095 /** * Signal FilterCfg_Max_VYRightLeft raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Max_VYRightLeft 0 +#define OFF_FilterCfg_FilterCfg_Max_VYRightLeft 0 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Max_VXOncome Signal FilterCfg_Max_VXOncome of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Max_VXOncome Signal FilterCfg_Max_VXOncome of Message FilterCfg + * (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -12069,9 +12093,10 @@ * Signal FilterCfg_Max_VXOncome configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Max_VXOncome and \ref GET_FilterCfg_FilterCfg_Max_VXOncome instead. + * Use \ref SET_FilterCfg_FilterCfg_Max_VXOncome and \ref GET_FilterCfg_FilterCfg_Max_VXOncome + *instead. */ -#define SIG_FilterCfg_FilterCfg_Max_VXOncome 1, 0, 27, 12 +#define SIG_FilterCfg_FilterCfg_Max_VXOncome 1, 0, 27, 12 /** * Signal FilterCfg_Max_VXOncome setup tuple. @@ -12079,7 +12104,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Max_VXOncome or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Max_VXOncome 1, 0, 27, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Max_VXOncome 1, 0, 27, 12, 0 /** * Get signal FilterCfg_Max_VXOncome from buffer. @@ -12089,10 +12114,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Max_VXOncome(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Max_VXOncome(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Max_VXOncome in buffer. @@ -12102,12 +12125,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Max_VXOncome(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Max_VXOncome(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Max_VXOncome in buffer to its initial value. @@ -12115,8 +12139,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Max_VXOncome(buf) \ - SET_FilterCfg_FilterCfg_Max_VXOncome(buf, 0) +#define INITSIG_FilterCfg_FilterCfg_Max_VXOncome(buf) SET_FilterCfg_FilterCfg_Max_VXOncome(buf, 0) /** * Signal FilterCfg_Max_VXOncome value conversion with 16 bit factor and offset. @@ -12129,35 +12152,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Max_VXOncome(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterCfg_FilterCfg_Max_VXOncome(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterCfg_Max_VXOncome raw initial value. */ -#define START_FilterCfg_FilterCfg_Max_VXOncome 0 +#define START_FilterCfg_FilterCfg_Max_VXOncome 0 /** * Signal FilterCfg_Max_VXOncome raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Max_VXOncome 0 +#define MIN_FilterCfg_FilterCfg_Max_VXOncome 0 /** * Signal FilterCfg_Max_VXOncome raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Max_VXOncome 4095 +#define MAX_FilterCfg_FilterCfg_Max_VXOncome 4095 /** * Signal FilterCfg_Max_VXOncome raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Max_VXOncome 0 +#define OFF_FilterCfg_FilterCfg_Max_VXOncome 0 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Max_VYLeftRight Signal FilterCfg_Max_VYLeftRight of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Max_VYLeftRight Signal FilterCfg_Max_VYLeftRight of Message + * FilterCfg (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -12170,9 +12193,10 @@ * Signal FilterCfg_Max_VYLeftRight configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Max_VYLeftRight and \ref GET_FilterCfg_FilterCfg_Max_VYLeftRight instead. + * Use \ref SET_FilterCfg_FilterCfg_Max_VYLeftRight and \ref + *GET_FilterCfg_FilterCfg_Max_VYLeftRight instead. */ -#define SIG_FilterCfg_FilterCfg_Max_VYLeftRight 1, 0, 27, 12 +#define SIG_FilterCfg_FilterCfg_Max_VYLeftRight 1, 0, 27, 12 /** * Signal FilterCfg_Max_VYLeftRight setup tuple. @@ -12180,7 +12204,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Max_VYLeftRight or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Max_VYLeftRight 1, 0, 27, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Max_VYLeftRight 1, 0, 27, 12, 0 /** * Get signal FilterCfg_Max_VYLeftRight from buffer. @@ -12190,10 +12214,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Max_VYLeftRight(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Max_VYLeftRight(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Max_VYLeftRight in buffer. @@ -12203,12 +12225,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Max_VYLeftRight(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Max_VYLeftRight(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Max_VYLeftRight in buffer to its initial value. @@ -12217,7 +12240,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterCfg_FilterCfg_Max_VYLeftRight(buf) \ - SET_FilterCfg_FilterCfg_Max_VYLeftRight(buf, 0) + SET_FilterCfg_FilterCfg_Max_VYLeftRight(buf, 0) /** * Signal FilterCfg_Max_VYLeftRight value conversion with 16 bit factor and offset. @@ -12230,35 +12253,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Max_VYLeftRight(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterCfg_FilterCfg_Max_VYLeftRight(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterCfg_Max_VYLeftRight raw initial value. */ -#define START_FilterCfg_FilterCfg_Max_VYLeftRight 0 +#define START_FilterCfg_FilterCfg_Max_VYLeftRight 0 /** * Signal FilterCfg_Max_VYLeftRight raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Max_VYLeftRight 0 +#define MIN_FilterCfg_FilterCfg_Max_VYLeftRight 0 /** * Signal FilterCfg_Max_VYLeftRight raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Max_VYLeftRight 4095 +#define MAX_FilterCfg_FilterCfg_Max_VYLeftRight 4095 /** * Signal FilterCfg_Max_VYLeftRight raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Max_VYLeftRight 0 +#define OFF_FilterCfg_FilterCfg_Max_VYLeftRight 0 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Max_VXDepart Signal FilterCfg_Max_VXDepart of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Max_VXDepart Signal FilterCfg_Max_VXDepart of Message FilterCfg + * (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -12271,9 +12294,10 @@ * Signal FilterCfg_Max_VXDepart configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Max_VXDepart and \ref GET_FilterCfg_FilterCfg_Max_VXDepart instead. + * Use \ref SET_FilterCfg_FilterCfg_Max_VXDepart and \ref GET_FilterCfg_FilterCfg_Max_VXDepart + *instead. */ -#define SIG_FilterCfg_FilterCfg_Max_VXDepart 1, 0, 27, 12 +#define SIG_FilterCfg_FilterCfg_Max_VXDepart 1, 0, 27, 12 /** * Signal FilterCfg_Max_VXDepart setup tuple. @@ -12281,7 +12305,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Max_VXDepart or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Max_VXDepart 1, 0, 27, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Max_VXDepart 1, 0, 27, 12, 0 /** * Get signal FilterCfg_Max_VXDepart from buffer. @@ -12291,10 +12315,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Max_VXDepart(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Max_VXDepart(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Max_VXDepart in buffer. @@ -12304,12 +12326,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Max_VXDepart(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Max_VXDepart(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Max_VXDepart in buffer to its initial value. @@ -12317,8 +12340,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Max_VXDepart(buf) \ - SET_FilterCfg_FilterCfg_Max_VXDepart(buf, 0) +#define INITSIG_FilterCfg_FilterCfg_Max_VXDepart(buf) SET_FilterCfg_FilterCfg_Max_VXDepart(buf, 0) /** * Signal FilterCfg_Max_VXDepart value conversion with 16 bit factor and offset. @@ -12331,28 +12353,27 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Max_VXDepart(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterCfg_FilterCfg_Max_VXDepart(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterCfg_Max_VXDepart raw initial value. */ -#define START_FilterCfg_FilterCfg_Max_VXDepart 0 +#define START_FilterCfg_FilterCfg_Max_VXDepart 0 /** * Signal FilterCfg_Max_VXDepart raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Max_VXDepart 0 +#define MIN_FilterCfg_FilterCfg_Max_VXDepart 0 /** * Signal FilterCfg_Max_VXDepart raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Max_VXDepart 4095 +#define MAX_FilterCfg_FilterCfg_Max_VXDepart 4095 /** * Signal FilterCfg_Max_VXDepart raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Max_VXDepart 0 +#define OFF_FilterCfg_FilterCfg_Max_VXDepart 0 /** * @} @@ -12376,7 +12397,7 @@ * @deprecated * Use \ref SET_FilterCfg_FilterCfg_Valid and \ref GET_FilterCfg_FilterCfg_Valid instead. */ -#define SIG_FilterCfg_FilterCfg_Valid 1, 0, 1, 1 +#define SIG_FilterCfg_FilterCfg_Valid 1, 0, 1, 1 /** * Signal FilterCfg_Valid setup tuple. @@ -12384,7 +12405,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Valid or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Valid 1, 0, 1, 1, 0 +#define SETUP_FilterCfg_FilterCfg_Valid 1, 0, 1, 1, 0 /** * Get signal FilterCfg_Valid from buffer. @@ -12394,9 +12415,7 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Valid(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 1) & 0x01) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Valid(buf) (0 | (ubyte)(+(ubyte)((buf[0] >> 1) & 0x01) << 0)) /** * Set signal FilterCfg_Valid in buffer. @@ -12406,10 +12425,11 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Valid(buf, val) { \ - buf[0] &= ~(0x01 << 1); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 1; \ -} +#define SET_FilterCfg_FilterCfg_Valid(buf, val) \ + { \ + buf[0] &= ~(0x01 << 1); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 1; \ + } /** * Set signal FilterCfg_Valid in buffer to its initial value. @@ -12417,8 +12437,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Valid(buf) \ - SET_FilterCfg_FilterCfg_Valid(buf, 0) +#define INITSIG_FilterCfg_FilterCfg_Valid(buf) SET_FilterCfg_FilterCfg_Valid(buf, 0) /** * Signal FilterCfg_Valid value conversion with 16 bit factor and offset. @@ -12431,35 +12450,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Valid(x, fmt) \ - ((x) * fmt) +#define CALC_FilterCfg_FilterCfg_Valid(x, fmt) ((x) * fmt) /** * Signal FilterCfg_Valid raw initial value. */ -#define START_FilterCfg_FilterCfg_Valid 0 +#define START_FilterCfg_FilterCfg_Valid 0 /** * Signal FilterCfg_Valid raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Valid 0 +#define MIN_FilterCfg_FilterCfg_Valid 0 /** * Signal FilterCfg_Valid raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Valid 1 +#define MAX_FilterCfg_FilterCfg_Valid 1 /** * Signal FilterCfg_Valid raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Valid 0 +#define OFF_FilterCfg_FilterCfg_Valid 0 /** * @} */ /** - * @defgroup ENUM_FilterCfg_FilterCfg_Valid Value Table for Signal FilterCfg_Valid in Message FilterCfg (0x202) + * @defgroup ENUM_FilterCfg_FilterCfg_Valid Value Table for Signal FilterCfg_Valid in Message + * FilterCfg (0x202) * * Enum values defined for \ref SIG_FilterCfg_FilterCfg_Valid. * @@ -12471,14 +12490,14 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Valid */ -#define FilterCfg_FilterCfg_Valid_valid 1 +#define FilterCfg_FilterCfg_Valid_valid 1 /** * Value table FilterCfg_FilterCfg_Valid entry invalid. * * @ingroup ENUM_FilterCfg_FilterCfg_Valid */ -#define FilterCfg_FilterCfg_Valid_invalid 0 +#define FilterCfg_FilterCfg_Valid_invalid 0 /** * @defgroup SIG_FilterCfg_FilterCfg_Active Signal FilterCfg_Active of Message FilterCfg (0x202) @@ -12498,7 +12517,7 @@ * @deprecated * Use \ref SET_FilterCfg_FilterCfg_Active and \ref GET_FilterCfg_FilterCfg_Active instead. */ -#define SIG_FilterCfg_FilterCfg_Active 1, 0, 2, 1 +#define SIG_FilterCfg_FilterCfg_Active 1, 0, 2, 1 /** * Signal FilterCfg_Active setup tuple. @@ -12506,7 +12525,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Active or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Active 1, 0, 2, 1, 0 +#define SETUP_FilterCfg_FilterCfg_Active 1, 0, 2, 1, 0 /** * Get signal FilterCfg_Active from buffer. @@ -12516,9 +12535,7 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Active(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 2) & 0x01) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Active(buf) (0 | (ubyte)(+(ubyte)((buf[0] >> 2) & 0x01) << 0)) /** * Set signal FilterCfg_Active in buffer. @@ -12528,10 +12545,11 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Active(buf, val) { \ - buf[0] &= ~(0x01 << 2); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 2; \ -} +#define SET_FilterCfg_FilterCfg_Active(buf, val) \ + { \ + buf[0] &= ~(0x01 << 2); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 2; \ + } /** * Set signal FilterCfg_Active in buffer to its initial value. @@ -12539,8 +12557,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Active(buf) \ - SET_FilterCfg_FilterCfg_Active(buf, 0) +#define INITSIG_FilterCfg_FilterCfg_Active(buf) SET_FilterCfg_FilterCfg_Active(buf, 0) /** * Signal FilterCfg_Active value conversion with 16 bit factor and offset. @@ -12553,35 +12570,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Active(x, fmt) \ - ((x) * fmt) +#define CALC_FilterCfg_FilterCfg_Active(x, fmt) ((x) * fmt) /** * Signal FilterCfg_Active raw initial value. */ -#define START_FilterCfg_FilterCfg_Active 0 +#define START_FilterCfg_FilterCfg_Active 0 /** * Signal FilterCfg_Active raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Active 0 +#define MIN_FilterCfg_FilterCfg_Active 0 /** * Signal FilterCfg_Active raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Active 1 +#define MAX_FilterCfg_FilterCfg_Active 1 /** * Signal FilterCfg_Active raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Active 0 +#define OFF_FilterCfg_FilterCfg_Active 0 /** * @} */ /** - * @defgroup ENUM_FilterCfg_FilterCfg_Active Value Table for Signal FilterCfg_Active in Message FilterCfg (0x202) + * @defgroup ENUM_FilterCfg_FilterCfg_Active Value Table for Signal FilterCfg_Active in Message + * FilterCfg (0x202) * * Enum values defined for \ref SIG_FilterCfg_FilterCfg_Active. * @@ -12593,17 +12610,18 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Active */ -#define FilterCfg_FilterCfg_Active_active 1 +#define FilterCfg_FilterCfg_Active_active 1 /** * Value table FilterCfg_FilterCfg_Active entry inactive. * * @ingroup ENUM_FilterCfg_FilterCfg_Active */ -#define FilterCfg_FilterCfg_Active_inactive 0 +#define FilterCfg_FilterCfg_Active_inactive 0 /** - * @defgroup SIG_FilterCfg_FilterCfg_Max_VrelOncome Signal FilterCfg_Max_VrelOncome of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Max_VrelOncome Signal FilterCfg_Max_VrelOncome of Message + * FilterCfg (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -12616,9 +12634,10 @@ * Signal FilterCfg_Max_VrelOncome configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Max_VrelOncome and \ref GET_FilterCfg_FilterCfg_Max_VrelOncome instead. + * Use \ref SET_FilterCfg_FilterCfg_Max_VrelOncome and \ref + *GET_FilterCfg_FilterCfg_Max_VrelOncome instead. */ -#define SIG_FilterCfg_FilterCfg_Max_VrelOncome 1, 0, 27, 12 +#define SIG_FilterCfg_FilterCfg_Max_VrelOncome 1, 0, 27, 12 /** * Signal FilterCfg_Max_VrelOncome setup tuple. @@ -12626,7 +12645,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Max_VrelOncome or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Max_VrelOncome 1, 0, 27, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Max_VrelOncome 1, 0, 27, 12, 0 /** * Get signal FilterCfg_Max_VrelOncome from buffer. @@ -12636,10 +12655,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Max_VrelOncome(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Max_VrelOncome(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Max_VrelOncome in buffer. @@ -12649,12 +12666,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Max_VrelOncome(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Max_VrelOncome(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Max_VrelOncome in buffer to its initial value. @@ -12663,7 +12681,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterCfg_FilterCfg_Max_VrelOncome(buf) \ - SET_FilterCfg_FilterCfg_Max_VrelOncome(buf, 0) + SET_FilterCfg_FilterCfg_Max_VrelOncome(buf, 0) /** * Signal FilterCfg_Max_VrelOncome value conversion with 16 bit factor and offset. @@ -12676,35 +12694,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Max_VrelOncome(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterCfg_FilterCfg_Max_VrelOncome(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterCfg_Max_VrelOncome raw initial value. */ -#define START_FilterCfg_FilterCfg_Max_VrelOncome 0 +#define START_FilterCfg_FilterCfg_Max_VrelOncome 0 /** * Signal FilterCfg_Max_VrelOncome raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Max_VrelOncome 0 +#define MIN_FilterCfg_FilterCfg_Max_VrelOncome 0 /** * Signal FilterCfg_Max_VrelOncome raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Max_VrelOncome 4095 +#define MAX_FilterCfg_FilterCfg_Max_VrelOncome 4095 /** * Signal FilterCfg_Max_VrelOncome raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Max_VrelOncome 0 +#define OFF_FilterCfg_FilterCfg_Max_VrelOncome 0 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Max_VrelDepart Signal FilterCfg_Max_VrelDepart of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Max_VrelDepart Signal FilterCfg_Max_VrelDepart of Message + * FilterCfg (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -12717,9 +12735,10 @@ * Signal FilterCfg_Max_VrelDepart configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Max_VrelDepart and \ref GET_FilterCfg_FilterCfg_Max_VrelDepart instead. + * Use \ref SET_FilterCfg_FilterCfg_Max_VrelDepart and \ref + *GET_FilterCfg_FilterCfg_Max_VrelDepart instead. */ -#define SIG_FilterCfg_FilterCfg_Max_VrelDepart 1, 0, 27, 12 +#define SIG_FilterCfg_FilterCfg_Max_VrelDepart 1, 0, 27, 12 /** * Signal FilterCfg_Max_VrelDepart setup tuple. @@ -12727,7 +12746,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Max_VrelDepart or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Max_VrelDepart 1, 0, 27, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Max_VrelDepart 1, 0, 27, 12, 0 /** * Get signal FilterCfg_Max_VrelDepart from buffer. @@ -12737,10 +12756,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Max_VrelDepart(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Max_VrelDepart(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Max_VrelDepart in buffer. @@ -12750,12 +12767,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Max_VrelDepart(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Max_VrelDepart(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Max_VrelDepart in buffer to its initial value. @@ -12764,7 +12782,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterCfg_FilterCfg_Max_VrelDepart(buf) \ - SET_FilterCfg_FilterCfg_Max_VrelDepart(buf, 0) + SET_FilterCfg_FilterCfg_Max_VrelDepart(buf, 0) /** * Signal FilterCfg_Max_VrelDepart value conversion with 16 bit factor and offset. @@ -12777,28 +12795,27 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Max_VrelDepart(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterCfg_FilterCfg_Max_VrelDepart(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterCfg_Max_VrelDepart raw initial value. */ -#define START_FilterCfg_FilterCfg_Max_VrelDepart 0 +#define START_FilterCfg_FilterCfg_Max_VrelDepart 0 /** * Signal FilterCfg_Max_VrelDepart raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Max_VrelDepart 0 +#define MIN_FilterCfg_FilterCfg_Max_VrelDepart 0 /** * Signal FilterCfg_Max_VrelDepart raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Max_VrelDepart 4095 +#define MAX_FilterCfg_FilterCfg_Max_VrelDepart 4095 /** * Signal FilterCfg_Max_VrelDepart raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Max_VrelDepart 0 +#define OFF_FilterCfg_FilterCfg_Max_VrelDepart 0 /** * @} @@ -12820,7 +12837,7 @@ * @deprecated * Use \ref SET_FilterCfg_FilterCfg_Max_Size and \ref GET_FilterCfg_FilterCfg_Max_Size instead. */ -#define SIG_FilterCfg_FilterCfg_Max_Size 1, 0, 27, 12 +#define SIG_FilterCfg_FilterCfg_Max_Size 1, 0, 27, 12 /** * Signal FilterCfg_Max_Size setup tuple. @@ -12828,7 +12845,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Max_Size or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Max_Size 1, 0, 27, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Max_Size 1, 0, 27, 12, 0 /** * Get signal FilterCfg_Max_Size from buffer. @@ -12838,10 +12855,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Max_Size(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Max_Size(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Max_Size in buffer. @@ -12851,12 +12866,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Max_Size(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Max_Size(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Max_Size in buffer to its initial value. @@ -12864,8 +12880,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Max_Size(buf) \ - SET_FilterCfg_FilterCfg_Max_Size(buf, 0) +#define INITSIG_FilterCfg_FilterCfg_Max_Size(buf) SET_FilterCfg_FilterCfg_Max_Size(buf, 0) /** * Signal FilterCfg_Max_Size value conversion with 16 bit factor and offset. @@ -12878,28 +12893,27 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Max_Size(x, fmt) \ - ((x) * fmt / 40) +#define CALC_FilterCfg_FilterCfg_Max_Size(x, fmt) ((x) * fmt / 40) /** * Signal FilterCfg_Max_Size raw initial value. */ -#define START_FilterCfg_FilterCfg_Max_Size 0 +#define START_FilterCfg_FilterCfg_Max_Size 0 /** * Signal FilterCfg_Max_Size raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Max_Size 0 +#define MIN_FilterCfg_FilterCfg_Max_Size 0 /** * Signal FilterCfg_Max_Size raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Max_Size 4095 +#define MAX_FilterCfg_FilterCfg_Max_Size 4095 /** * Signal FilterCfg_Max_Size raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Max_Size 0 +#define OFF_FilterCfg_FilterCfg_Max_Size 0 /** * @} @@ -12921,7 +12935,7 @@ * @deprecated * Use \ref SET_FilterCfg_FilterCfg_Max_RCS and \ref GET_FilterCfg_FilterCfg_Max_RCS instead. */ -#define SIG_FilterCfg_FilterCfg_Max_RCS 1, 0, 27, 12 +#define SIG_FilterCfg_FilterCfg_Max_RCS 1, 0, 27, 12 /** * Signal FilterCfg_Max_RCS setup tuple. @@ -12929,7 +12943,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Max_RCS or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Max_RCS 1, 0, 27, 12, 2000 +#define SETUP_FilterCfg_FilterCfg_Max_RCS 1, 0, 27, 12, 2000 /** * Get signal FilterCfg_Max_RCS from buffer. @@ -12939,10 +12953,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Max_RCS(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Max_RCS(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Max_RCS in buffer. @@ -12952,12 +12964,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Max_RCS(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Max_RCS(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Max_RCS in buffer to its initial value. @@ -12965,8 +12978,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Max_RCS(buf) \ - SET_FilterCfg_FilterCfg_Max_RCS(buf, 2000) +#define INITSIG_FilterCfg_FilterCfg_Max_RCS(buf) SET_FilterCfg_FilterCfg_Max_RCS(buf, 2000) /** * Signal FilterCfg_Max_RCS value conversion with 16 bit factor and offset. @@ -12979,35 +12991,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Max_RCS(x, fmt) \ - ((x) * fmt / 40 + fmt * (-50)) +#define CALC_FilterCfg_FilterCfg_Max_RCS(x, fmt) ((x) * fmt / 40 + fmt * (-50)) /** * Signal FilterCfg_Max_RCS raw initial value. */ -#define START_FilterCfg_FilterCfg_Max_RCS 2000 +#define START_FilterCfg_FilterCfg_Max_RCS 2000 /** * Signal FilterCfg_Max_RCS raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Max_RCS 0 +#define MIN_FilterCfg_FilterCfg_Max_RCS 0 /** * Signal FilterCfg_Max_RCS raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Max_RCS 4095 +#define MAX_FilterCfg_FilterCfg_Max_RCS 4095 /** * Signal FilterCfg_Max_RCS raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Max_RCS -2000 +#define OFF_FilterCfg_FilterCfg_Max_RCS -2000 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Max_ProbExists Signal FilterCfg_Max_ProbExists of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Max_ProbExists Signal FilterCfg_Max_ProbExists of Message + * FilterCfg (0x202) * * Contains the value table \ref ENUM_FilterCfg_FilterCfg_Max_ProbExists. * @@ -13022,9 +13034,10 @@ * Signal FilterCfg_Max_ProbExists configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Max_ProbExists and \ref GET_FilterCfg_FilterCfg_Max_ProbExists instead. + * Use \ref SET_FilterCfg_FilterCfg_Max_ProbExists and \ref + *GET_FilterCfg_FilterCfg_Max_ProbExists instead. */ -#define SIG_FilterCfg_FilterCfg_Max_ProbExists 1, 0, 27, 12 +#define SIG_FilterCfg_FilterCfg_Max_ProbExists 1, 0, 27, 12 /** * Signal FilterCfg_Max_ProbExists setup tuple. @@ -13032,7 +13045,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Max_ProbExists or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Max_ProbExists 1, 0, 27, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Max_ProbExists 1, 0, 27, 12, 0 /** * Get signal FilterCfg_Max_ProbExists from buffer. @@ -13042,10 +13055,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Max_ProbExists(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Max_ProbExists(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Max_ProbExists in buffer. @@ -13055,12 +13066,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Max_ProbExists(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Max_ProbExists(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Max_ProbExists in buffer to its initial value. @@ -13069,7 +13081,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterCfg_FilterCfg_Max_ProbExists(buf) \ - SET_FilterCfg_FilterCfg_Max_ProbExists(buf, 0) + SET_FilterCfg_FilterCfg_Max_ProbExists(buf, 0) /** * Signal FilterCfg_Max_ProbExists value conversion with 16 bit factor and offset. @@ -13082,35 +13094,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Max_ProbExists(x, fmt) \ - ((x) * fmt) +#define CALC_FilterCfg_FilterCfg_Max_ProbExists(x, fmt) ((x) * fmt) /** * Signal FilterCfg_Max_ProbExists raw initial value. */ -#define START_FilterCfg_FilterCfg_Max_ProbExists 0 +#define START_FilterCfg_FilterCfg_Max_ProbExists 0 /** * Signal FilterCfg_Max_ProbExists raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Max_ProbExists 0 +#define MIN_FilterCfg_FilterCfg_Max_ProbExists 0 /** * Signal FilterCfg_Max_ProbExists raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Max_ProbExists 7 +#define MAX_FilterCfg_FilterCfg_Max_ProbExists 7 /** * Signal FilterCfg_Max_ProbExists raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Max_ProbExists 0 +#define OFF_FilterCfg_FilterCfg_Max_ProbExists 0 /** * @} */ /** - * @defgroup ENUM_FilterCfg_FilterCfg_Max_ProbExists Value Table for Signal FilterCfg_Max_ProbExists in Message FilterCfg (0x202) + * @defgroup ENUM_FilterCfg_FilterCfg_Max_ProbExists Value Table for Signal FilterCfg_Max_ProbExists + * in Message FilterCfg (0x202) * * Enum values defined for \ref SIG_FilterCfg_FilterCfg_Max_ProbExists. * @@ -13124,7 +13136,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Max_ProbExists */ -#define FilterCfg_FilterCfg_Max_ProbExists___100_ 7 +#define FilterCfg_FilterCfg_Max_ProbExists___100_ 7 /** * Value table FilterCfg_FilterCfg_Max_ProbExists entry _99_9_. @@ -13133,7 +13145,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Max_ProbExists */ -#define FilterCfg_FilterCfg_Max_ProbExists__99_9_ 6 +#define FilterCfg_FilterCfg_Max_ProbExists__99_9_ 6 /** * Value table FilterCfg_FilterCfg_Max_ProbExists entry _99_. @@ -13142,7 +13154,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Max_ProbExists */ -#define FilterCfg_FilterCfg_Max_ProbExists__99_ 5 +#define FilterCfg_FilterCfg_Max_ProbExists__99_ 5 /** * Value table FilterCfg_FilterCfg_Max_ProbExists entry _90_. @@ -13151,7 +13163,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Max_ProbExists */ -#define FilterCfg_FilterCfg_Max_ProbExists__90_ 4 +#define FilterCfg_FilterCfg_Max_ProbExists__90_ 4 /** * Value table FilterCfg_FilterCfg_Max_ProbExists entry _75_. @@ -13160,7 +13172,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Max_ProbExists */ -#define FilterCfg_FilterCfg_Max_ProbExists__75_ 3 +#define FilterCfg_FilterCfg_Max_ProbExists__75_ 3 /** * Value table FilterCfg_FilterCfg_Max_ProbExists entry _50_. @@ -13169,7 +13181,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Max_ProbExists */ -#define FilterCfg_FilterCfg_Max_ProbExists__50_ 2 +#define FilterCfg_FilterCfg_Max_ProbExists__50_ 2 /** * Value table FilterCfg_FilterCfg_Max_ProbExists entry _25_. @@ -13178,17 +13190,18 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Max_ProbExists */ -#define FilterCfg_FilterCfg_Max_ProbExists__25_ 1 +#define FilterCfg_FilterCfg_Max_ProbExists__25_ 1 /** * Value table FilterCfg_FilterCfg_Max_ProbExists entry invalid. * * @ingroup ENUM_FilterCfg_FilterCfg_Max_ProbExists */ -#define FilterCfg_FilterCfg_Max_ProbExists_invalid 0 +#define FilterCfg_FilterCfg_Max_ProbExists_invalid 0 /** - * @defgroup SIG_FilterCfg_FilterCfg_Max_NofObj Signal FilterCfg_Max_NofObj of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Max_NofObj Signal FilterCfg_Max_NofObj of Message FilterCfg + * (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -13201,9 +13214,10 @@ * Signal FilterCfg_Max_NofObj configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Max_NofObj and \ref GET_FilterCfg_FilterCfg_Max_NofObj instead. + * Use \ref SET_FilterCfg_FilterCfg_Max_NofObj and \ref GET_FilterCfg_FilterCfg_Max_NofObj + *instead. */ -#define SIG_FilterCfg_FilterCfg_Max_NofObj 1, 0, 27, 12 +#define SIG_FilterCfg_FilterCfg_Max_NofObj 1, 0, 27, 12 /** * Signal FilterCfg_Max_NofObj setup tuple. @@ -13211,7 +13225,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Max_NofObj or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Max_NofObj 1, 0, 27, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Max_NofObj 1, 0, 27, 12, 0 /** * Get signal FilterCfg_Max_NofObj from buffer. @@ -13221,10 +13235,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Max_NofObj(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Max_NofObj(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Max_NofObj in buffer. @@ -13234,12 +13246,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Max_NofObj(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Max_NofObj(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Max_NofObj in buffer to its initial value. @@ -13247,8 +13260,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Max_NofObj(buf) \ - SET_FilterCfg_FilterCfg_Max_NofObj(buf, 0) +#define INITSIG_FilterCfg_FilterCfg_Max_NofObj(buf) SET_FilterCfg_FilterCfg_Max_NofObj(buf, 0) /** * Signal FilterCfg_Max_NofObj value conversion with 16 bit factor and offset. @@ -13261,35 +13273,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Max_NofObj(x, fmt) \ - ((x) * fmt) +#define CALC_FilterCfg_FilterCfg_Max_NofObj(x, fmt) ((x) * fmt) /** * Signal FilterCfg_Max_NofObj raw initial value. */ -#define START_FilterCfg_FilterCfg_Max_NofObj 0 +#define START_FilterCfg_FilterCfg_Max_NofObj 0 /** * Signal FilterCfg_Max_NofObj raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Max_NofObj 0 +#define MIN_FilterCfg_FilterCfg_Max_NofObj 0 /** * Signal FilterCfg_Max_NofObj raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Max_NofObj 4095 +#define MAX_FilterCfg_FilterCfg_Max_NofObj 4095 /** * Signal FilterCfg_Max_NofObj raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Max_NofObj 0 +#define OFF_FilterCfg_FilterCfg_Max_NofObj 0 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Max_Lifetime Signal FilterCfg_Max_Lifetime of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Max_Lifetime Signal FilterCfg_Max_Lifetime of Message FilterCfg + * (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -13302,9 +13314,10 @@ * Signal FilterCfg_Max_Lifetime configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Max_Lifetime and \ref GET_FilterCfg_FilterCfg_Max_Lifetime instead. + * Use \ref SET_FilterCfg_FilterCfg_Max_Lifetime and \ref GET_FilterCfg_FilterCfg_Max_Lifetime + *instead. */ -#define SIG_FilterCfg_FilterCfg_Max_Lifetime 1, 0, 27, 12 +#define SIG_FilterCfg_FilterCfg_Max_Lifetime 1, 0, 27, 12 /** * Signal FilterCfg_Max_Lifetime setup tuple. @@ -13312,7 +13325,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Max_Lifetime or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Max_Lifetime 1, 0, 27, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Max_Lifetime 1, 0, 27, 12, 0 /** * Get signal FilterCfg_Max_Lifetime from buffer. @@ -13322,10 +13335,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Max_Lifetime(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Max_Lifetime(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Max_Lifetime in buffer. @@ -13335,12 +13346,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Max_Lifetime(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Max_Lifetime(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Max_Lifetime in buffer to its initial value. @@ -13348,8 +13360,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Max_Lifetime(buf) \ - SET_FilterCfg_FilterCfg_Max_Lifetime(buf, 0) +#define INITSIG_FilterCfg_FilterCfg_Max_Lifetime(buf) SET_FilterCfg_FilterCfg_Max_Lifetime(buf, 0) /** * Signal FilterCfg_Max_Lifetime value conversion with 16 bit factor and offset. @@ -13362,35 +13373,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Max_Lifetime(x, fmt) \ - ((x) * fmt / 10) +#define CALC_FilterCfg_FilterCfg_Max_Lifetime(x, fmt) ((x) * fmt / 10) /** * Signal FilterCfg_Max_Lifetime raw initial value. */ -#define START_FilterCfg_FilterCfg_Max_Lifetime 0 +#define START_FilterCfg_FilterCfg_Max_Lifetime 0 /** * Signal FilterCfg_Max_Lifetime raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Max_Lifetime 0 +#define MIN_FilterCfg_FilterCfg_Max_Lifetime 0 /** * Signal FilterCfg_Max_Lifetime raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Max_Lifetime 4095 +#define MAX_FilterCfg_FilterCfg_Max_Lifetime 4095 /** * Signal FilterCfg_Max_Lifetime raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Max_Lifetime 0 +#define OFF_FilterCfg_FilterCfg_Max_Lifetime 0 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Max_Distance Signal FilterCfg_Max_Distance of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Max_Distance Signal FilterCfg_Max_Distance of Message FilterCfg + * (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -13403,9 +13414,10 @@ * Signal FilterCfg_Max_Distance configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Max_Distance and \ref GET_FilterCfg_FilterCfg_Max_Distance instead. + * Use \ref SET_FilterCfg_FilterCfg_Max_Distance and \ref GET_FilterCfg_FilterCfg_Max_Distance + *instead. */ -#define SIG_FilterCfg_FilterCfg_Max_Distance 1, 0, 27, 12 +#define SIG_FilterCfg_FilterCfg_Max_Distance 1, 0, 27, 12 /** * Signal FilterCfg_Max_Distance setup tuple. @@ -13413,7 +13425,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Max_Distance or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Max_Distance 1, 0, 27, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Max_Distance 1, 0, 27, 12, 0 /** * Get signal FilterCfg_Max_Distance from buffer. @@ -13423,10 +13435,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Max_Distance(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Max_Distance(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Max_Distance in buffer. @@ -13436,12 +13446,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Max_Distance(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Max_Distance(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Max_Distance in buffer to its initial value. @@ -13449,8 +13460,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Max_Distance(buf) \ - SET_FilterCfg_FilterCfg_Max_Distance(buf, 0) +#define INITSIG_FilterCfg_FilterCfg_Max_Distance(buf) SET_FilterCfg_FilterCfg_Max_Distance(buf, 0) /** * Signal FilterCfg_Max_Distance value conversion with 16 bit factor and offset. @@ -13463,35 +13473,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Max_Distance(x, fmt) \ - ((x) * fmt / 10) +#define CALC_FilterCfg_FilterCfg_Max_Distance(x, fmt) ((x) * fmt / 10) /** * Signal FilterCfg_Max_Distance raw initial value. */ -#define START_FilterCfg_FilterCfg_Max_Distance 0 +#define START_FilterCfg_FilterCfg_Max_Distance 0 /** * Signal FilterCfg_Max_Distance raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Max_Distance 0 +#define MIN_FilterCfg_FilterCfg_Max_Distance 0 /** * Signal FilterCfg_Max_Distance raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Max_Distance 4095 +#define MAX_FilterCfg_FilterCfg_Max_Distance 4095 /** * Signal FilterCfg_Max_Distance raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Max_Distance 0 +#define OFF_FilterCfg_FilterCfg_Max_Distance 0 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Max_Azimuth Signal FilterCfg_Max_Azimuth of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Max_Azimuth Signal FilterCfg_Max_Azimuth of Message FilterCfg + * (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -13504,9 +13514,10 @@ * Signal FilterCfg_Max_Azimuth configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Max_Azimuth and \ref GET_FilterCfg_FilterCfg_Max_Azimuth instead. + * Use \ref SET_FilterCfg_FilterCfg_Max_Azimuth and \ref GET_FilterCfg_FilterCfg_Max_Azimuth + *instead. */ -#define SIG_FilterCfg_FilterCfg_Max_Azimuth 1, 0, 27, 12 +#define SIG_FilterCfg_FilterCfg_Max_Azimuth 1, 0, 27, 12 /** * Signal FilterCfg_Max_Azimuth setup tuple. @@ -13514,7 +13525,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Max_Azimuth or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Max_Azimuth 1, 0, 27, 12, 2000 +#define SETUP_FilterCfg_FilterCfg_Max_Azimuth 1, 0, 27, 12, 2000 /** * Get signal FilterCfg_Max_Azimuth from buffer. @@ -13524,10 +13535,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Max_Azimuth(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Max_Azimuth(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Max_Azimuth in buffer. @@ -13537,12 +13546,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Max_Azimuth(buf, val) { \ - buf[3] &= ~(0x0f << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Max_Azimuth(buf, val) \ + { \ + buf[3] &= ~(0x0f << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Max_Azimuth in buffer to its initial value. @@ -13550,8 +13560,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Max_Azimuth(buf) \ - SET_FilterCfg_FilterCfg_Max_Azimuth(buf, 2000) +#define INITSIG_FilterCfg_FilterCfg_Max_Azimuth(buf) SET_FilterCfg_FilterCfg_Max_Azimuth(buf, 2000) /** * Signal FilterCfg_Max_Azimuth value conversion with 16 bit factor and offset. @@ -13564,35 +13573,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Max_Azimuth(x, fmt) \ - ((x) * fmt / 40 + fmt * (-50)) +#define CALC_FilterCfg_FilterCfg_Max_Azimuth(x, fmt) ((x) * fmt / 40 + fmt * (-50)) /** * Signal FilterCfg_Max_Azimuth raw initial value. */ -#define START_FilterCfg_FilterCfg_Max_Azimuth 2000 +#define START_FilterCfg_FilterCfg_Max_Azimuth 2000 /** * Signal FilterCfg_Max_Azimuth raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Max_Azimuth 0 +#define MIN_FilterCfg_FilterCfg_Max_Azimuth 0 /** * Signal FilterCfg_Max_Azimuth raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Max_Azimuth 4095 +#define MAX_FilterCfg_FilterCfg_Max_Azimuth 4095 /** * Signal FilterCfg_Max_Azimuth raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Max_Azimuth -2000 +#define OFF_FilterCfg_FilterCfg_Max_Azimuth -2000 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Min_VrelOncome Signal FilterCfg_Min_VrelOncome of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Min_VrelOncome Signal FilterCfg_Min_VrelOncome of Message + * FilterCfg (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -13605,9 +13614,10 @@ * Signal FilterCfg_Min_VrelOncome configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Min_VrelOncome and \ref GET_FilterCfg_FilterCfg_Min_VrelOncome instead. + * Use \ref SET_FilterCfg_FilterCfg_Min_VrelOncome and \ref + *GET_FilterCfg_FilterCfg_Min_VrelOncome instead. */ -#define SIG_FilterCfg_FilterCfg_Min_VrelOncome 1, 0, 11, 12 +#define SIG_FilterCfg_FilterCfg_Min_VrelOncome 1, 0, 11, 12 /** * Signal FilterCfg_Min_VrelOncome setup tuple. @@ -13615,7 +13625,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Min_VrelOncome or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Min_VrelOncome 1, 0, 11, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Min_VrelOncome 1, 0, 11, 12, 0 /** * Get signal FilterCfg_Min_VrelOncome from buffer. @@ -13625,10 +13635,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Min_VrelOncome(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Min_VrelOncome(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Min_VrelOncome in buffer. @@ -13638,12 +13646,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Min_VrelOncome(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Min_VrelOncome(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Min_VrelOncome in buffer to its initial value. @@ -13652,7 +13661,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterCfg_FilterCfg_Min_VrelOncome(buf) \ - SET_FilterCfg_FilterCfg_Min_VrelOncome(buf, 0) + SET_FilterCfg_FilterCfg_Min_VrelOncome(buf, 0) /** * Signal FilterCfg_Min_VrelOncome value conversion with 16 bit factor and offset. @@ -13665,35 +13674,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Min_VrelOncome(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterCfg_FilterCfg_Min_VrelOncome(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterCfg_Min_VrelOncome raw initial value. */ -#define START_FilterCfg_FilterCfg_Min_VrelOncome 0 +#define START_FilterCfg_FilterCfg_Min_VrelOncome 0 /** * Signal FilterCfg_Min_VrelOncome raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Min_VrelOncome 0 +#define MIN_FilterCfg_FilterCfg_Min_VrelOncome 0 /** * Signal FilterCfg_Min_VrelOncome raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Min_VrelOncome 4095 +#define MAX_FilterCfg_FilterCfg_Min_VrelOncome 4095 /** * Signal FilterCfg_Min_VrelOncome raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Min_VrelOncome 0 +#define OFF_FilterCfg_FilterCfg_Min_VrelOncome 0 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Min_VrelDepart Signal FilterCfg_Min_VrelDepart of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Min_VrelDepart Signal FilterCfg_Min_VrelDepart of Message + * FilterCfg (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -13706,9 +13715,10 @@ * Signal FilterCfg_Min_VrelDepart configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Min_VrelDepart and \ref GET_FilterCfg_FilterCfg_Min_VrelDepart instead. + * Use \ref SET_FilterCfg_FilterCfg_Min_VrelDepart and \ref + *GET_FilterCfg_FilterCfg_Min_VrelDepart instead. */ -#define SIG_FilterCfg_FilterCfg_Min_VrelDepart 1, 0, 11, 12 +#define SIG_FilterCfg_FilterCfg_Min_VrelDepart 1, 0, 11, 12 /** * Signal FilterCfg_Min_VrelDepart setup tuple. @@ -13716,7 +13726,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Min_VrelDepart or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Min_VrelDepart 1, 0, 11, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Min_VrelDepart 1, 0, 11, 12, 0 /** * Get signal FilterCfg_Min_VrelDepart from buffer. @@ -13726,10 +13736,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Min_VrelDepart(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Min_VrelDepart(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Min_VrelDepart in buffer. @@ -13739,12 +13747,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Min_VrelDepart(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Min_VrelDepart(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Min_VrelDepart in buffer to its initial value. @@ -13753,7 +13762,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterCfg_FilterCfg_Min_VrelDepart(buf) \ - SET_FilterCfg_FilterCfg_Min_VrelDepart(buf, 0) + SET_FilterCfg_FilterCfg_Min_VrelDepart(buf, 0) /** * Signal FilterCfg_Min_VrelDepart value conversion with 16 bit factor and offset. @@ -13766,28 +13775,27 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Min_VrelDepart(x, fmt) \ - ((x) * fmt * 63 / 2000) +#define CALC_FilterCfg_FilterCfg_Min_VrelDepart(x, fmt) ((x) * fmt * 63 / 2000) /** * Signal FilterCfg_Min_VrelDepart raw initial value. */ -#define START_FilterCfg_FilterCfg_Min_VrelDepart 0 +#define START_FilterCfg_FilterCfg_Min_VrelDepart 0 /** * Signal FilterCfg_Min_VrelDepart raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Min_VrelDepart 0 +#define MIN_FilterCfg_FilterCfg_Min_VrelDepart 0 /** * Signal FilterCfg_Min_VrelDepart raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Min_VrelDepart 4095 +#define MAX_FilterCfg_FilterCfg_Min_VrelDepart 4095 /** * Signal FilterCfg_Min_VrelDepart raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Min_VrelDepart 0 +#define OFF_FilterCfg_FilterCfg_Min_VrelDepart 0 /** * @} @@ -13809,7 +13817,7 @@ * @deprecated * Use \ref SET_FilterCfg_FilterCfg_Min_Size and \ref GET_FilterCfg_FilterCfg_Min_Size instead. */ -#define SIG_FilterCfg_FilterCfg_Min_Size 1, 0, 11, 12 +#define SIG_FilterCfg_FilterCfg_Min_Size 1, 0, 11, 12 /** * Signal FilterCfg_Min_Size setup tuple. @@ -13817,7 +13825,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Min_Size or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Min_Size 1, 0, 11, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Min_Size 1, 0, 11, 12, 0 /** * Get signal FilterCfg_Min_Size from buffer. @@ -13827,10 +13835,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Min_Size(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Min_Size(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Min_Size in buffer. @@ -13840,12 +13846,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Min_Size(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Min_Size(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Min_Size in buffer to its initial value. @@ -13853,8 +13860,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Min_Size(buf) \ - SET_FilterCfg_FilterCfg_Min_Size(buf, 0) +#define INITSIG_FilterCfg_FilterCfg_Min_Size(buf) SET_FilterCfg_FilterCfg_Min_Size(buf, 0) /** * Signal FilterCfg_Min_Size value conversion with 16 bit factor and offset. @@ -13867,28 +13873,27 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Min_Size(x, fmt) \ - ((x) * fmt / 40) +#define CALC_FilterCfg_FilterCfg_Min_Size(x, fmt) ((x) * fmt / 40) /** * Signal FilterCfg_Min_Size raw initial value. */ -#define START_FilterCfg_FilterCfg_Min_Size 0 +#define START_FilterCfg_FilterCfg_Min_Size 0 /** * Signal FilterCfg_Min_Size raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Min_Size 0 +#define MIN_FilterCfg_FilterCfg_Min_Size 0 /** * Signal FilterCfg_Min_Size raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Min_Size 4095 +#define MAX_FilterCfg_FilterCfg_Min_Size 4095 /** * Signal FilterCfg_Min_Size raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Min_Size 0 +#define OFF_FilterCfg_FilterCfg_Min_Size 0 /** * @} @@ -13910,7 +13915,7 @@ * @deprecated * Use \ref SET_FilterCfg_FilterCfg_Min_RCS and \ref GET_FilterCfg_FilterCfg_Min_RCS instead. */ -#define SIG_FilterCfg_FilterCfg_Min_RCS 1, 0, 11, 12 +#define SIG_FilterCfg_FilterCfg_Min_RCS 1, 0, 11, 12 /** * Signal FilterCfg_Min_RCS setup tuple. @@ -13918,7 +13923,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Min_RCS or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Min_RCS 1, 0, 11, 12, 2000 +#define SETUP_FilterCfg_FilterCfg_Min_RCS 1, 0, 11, 12, 2000 /** * Get signal FilterCfg_Min_RCS from buffer. @@ -13928,10 +13933,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Min_RCS(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Min_RCS(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Min_RCS in buffer. @@ -13941,12 +13944,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Min_RCS(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Min_RCS(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Min_RCS in buffer to its initial value. @@ -13954,8 +13958,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Min_RCS(buf) \ - SET_FilterCfg_FilterCfg_Min_RCS(buf, 2000) +#define INITSIG_FilterCfg_FilterCfg_Min_RCS(buf) SET_FilterCfg_FilterCfg_Min_RCS(buf, 2000) /** * Signal FilterCfg_Min_RCS value conversion with 16 bit factor and offset. @@ -13968,35 +13971,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Min_RCS(x, fmt) \ - ((x) * fmt / 40 + fmt * (-50)) +#define CALC_FilterCfg_FilterCfg_Min_RCS(x, fmt) ((x) * fmt / 40 + fmt * (-50)) /** * Signal FilterCfg_Min_RCS raw initial value. */ -#define START_FilterCfg_FilterCfg_Min_RCS 2000 +#define START_FilterCfg_FilterCfg_Min_RCS 2000 /** * Signal FilterCfg_Min_RCS raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Min_RCS 0 +#define MIN_FilterCfg_FilterCfg_Min_RCS 0 /** * Signal FilterCfg_Min_RCS raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Min_RCS 4095 +#define MAX_FilterCfg_FilterCfg_Min_RCS 4095 /** * Signal FilterCfg_Min_RCS raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Min_RCS -2000 +#define OFF_FilterCfg_FilterCfg_Min_RCS -2000 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Min_ProbExists Signal FilterCfg_Min_ProbExists of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Min_ProbExists Signal FilterCfg_Min_ProbExists of Message + * FilterCfg (0x202) * * Contains the value table \ref ENUM_FilterCfg_FilterCfg_Min_ProbExists. * @@ -14011,9 +14014,10 @@ * Signal FilterCfg_Min_ProbExists configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Min_ProbExists and \ref GET_FilterCfg_FilterCfg_Min_ProbExists instead. + * Use \ref SET_FilterCfg_FilterCfg_Min_ProbExists and \ref + *GET_FilterCfg_FilterCfg_Min_ProbExists instead. */ -#define SIG_FilterCfg_FilterCfg_Min_ProbExists 1, 0, 11, 12 +#define SIG_FilterCfg_FilterCfg_Min_ProbExists 1, 0, 11, 12 /** * Signal FilterCfg_Min_ProbExists setup tuple. @@ -14021,7 +14025,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Min_ProbExists or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Min_ProbExists 1, 0, 11, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Min_ProbExists 1, 0, 11, 12, 0 /** * Get signal FilterCfg_Min_ProbExists from buffer. @@ -14031,10 +14035,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Min_ProbExists(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Min_ProbExists(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Min_ProbExists in buffer. @@ -14044,12 +14046,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Min_ProbExists(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Min_ProbExists(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Min_ProbExists in buffer to its initial value. @@ -14058,7 +14061,7 @@ * The can message buffer to initialise */ #define INITSIG_FilterCfg_FilterCfg_Min_ProbExists(buf) \ - SET_FilterCfg_FilterCfg_Min_ProbExists(buf, 0) + SET_FilterCfg_FilterCfg_Min_ProbExists(buf, 0) /** * Signal FilterCfg_Min_ProbExists value conversion with 16 bit factor and offset. @@ -14071,35 +14074,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Min_ProbExists(x, fmt) \ - ((x) * fmt) +#define CALC_FilterCfg_FilterCfg_Min_ProbExists(x, fmt) ((x) * fmt) /** * Signal FilterCfg_Min_ProbExists raw initial value. */ -#define START_FilterCfg_FilterCfg_Min_ProbExists 0 +#define START_FilterCfg_FilterCfg_Min_ProbExists 0 /** * Signal FilterCfg_Min_ProbExists raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Min_ProbExists 0 +#define MIN_FilterCfg_FilterCfg_Min_ProbExists 0 /** * Signal FilterCfg_Min_ProbExists raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Min_ProbExists 4095 +#define MAX_FilterCfg_FilterCfg_Min_ProbExists 4095 /** * Signal FilterCfg_Min_ProbExists raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Min_ProbExists 0 +#define OFF_FilterCfg_FilterCfg_Min_ProbExists 0 /** * @} */ /** - * @defgroup ENUM_FilterCfg_FilterCfg_Min_ProbExists Value Table for Signal FilterCfg_Min_ProbExists in Message FilterCfg (0x202) + * @defgroup ENUM_FilterCfg_FilterCfg_Min_ProbExists Value Table for Signal FilterCfg_Min_ProbExists + * in Message FilterCfg (0x202) * * Enum values defined for \ref SIG_FilterCfg_FilterCfg_Min_ProbExists. * @@ -14113,7 +14116,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Min_ProbExists */ -#define FilterCfg_FilterCfg_Min_ProbExists_100_ 7 +#define FilterCfg_FilterCfg_Min_ProbExists_100_ 7 /** * Value table FilterCfg_FilterCfg_Min_ProbExists entry __99_9_. @@ -14122,7 +14125,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Min_ProbExists */ -#define FilterCfg_FilterCfg_Min_ProbExists___99_9_ 6 +#define FilterCfg_FilterCfg_Min_ProbExists___99_9_ 6 /** * Value table FilterCfg_FilterCfg_Min_ProbExists entry __99_. @@ -14131,7 +14134,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Min_ProbExists */ -#define FilterCfg_FilterCfg_Min_ProbExists___99_ 5 +#define FilterCfg_FilterCfg_Min_ProbExists___99_ 5 /** * Value table FilterCfg_FilterCfg_Min_ProbExists entry __90_. @@ -14140,7 +14143,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Min_ProbExists */ -#define FilterCfg_FilterCfg_Min_ProbExists___90_ 4 +#define FilterCfg_FilterCfg_Min_ProbExists___90_ 4 /** * Value table FilterCfg_FilterCfg_Min_ProbExists entry __75_. @@ -14149,7 +14152,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Min_ProbExists */ -#define FilterCfg_FilterCfg_Min_ProbExists___75_ 3 +#define FilterCfg_FilterCfg_Min_ProbExists___75_ 3 /** * Value table FilterCfg_FilterCfg_Min_ProbExists entry __50_. @@ -14158,7 +14161,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Min_ProbExists */ -#define FilterCfg_FilterCfg_Min_ProbExists___50_ 2 +#define FilterCfg_FilterCfg_Min_ProbExists___50_ 2 /** * Value table FilterCfg_FilterCfg_Min_ProbExists entry __25_. @@ -14167,17 +14170,18 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Min_ProbExists */ -#define FilterCfg_FilterCfg_Min_ProbExists___25_ 1 +#define FilterCfg_FilterCfg_Min_ProbExists___25_ 1 /** * Value table FilterCfg_FilterCfg_Min_ProbExists entry invalid. * * @ingroup ENUM_FilterCfg_FilterCfg_Min_ProbExists */ -#define FilterCfg_FilterCfg_Min_ProbExists_invalid 0 +#define FilterCfg_FilterCfg_Min_ProbExists_invalid 0 /** - * @defgroup SIG_FilterCfg_FilterCfg_Min_Lifetime Signal FilterCfg_Min_Lifetime of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Min_Lifetime Signal FilterCfg_Min_Lifetime of Message FilterCfg + * (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -14190,9 +14194,10 @@ * Signal FilterCfg_Min_Lifetime configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Min_Lifetime and \ref GET_FilterCfg_FilterCfg_Min_Lifetime instead. + * Use \ref SET_FilterCfg_FilterCfg_Min_Lifetime and \ref GET_FilterCfg_FilterCfg_Min_Lifetime + *instead. */ -#define SIG_FilterCfg_FilterCfg_Min_Lifetime 1, 0, 11, 12 +#define SIG_FilterCfg_FilterCfg_Min_Lifetime 1, 0, 11, 12 /** * Signal FilterCfg_Min_Lifetime setup tuple. @@ -14200,7 +14205,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Min_Lifetime or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Min_Lifetime 1, 0, 11, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Min_Lifetime 1, 0, 11, 12, 0 /** * Get signal FilterCfg_Min_Lifetime from buffer. @@ -14210,10 +14215,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Min_Lifetime(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Min_Lifetime(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Min_Lifetime in buffer. @@ -14223,12 +14226,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Min_Lifetime(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Min_Lifetime(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Min_Lifetime in buffer to its initial value. @@ -14236,8 +14240,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Min_Lifetime(buf) \ - SET_FilterCfg_FilterCfg_Min_Lifetime(buf, 0) +#define INITSIG_FilterCfg_FilterCfg_Min_Lifetime(buf) SET_FilterCfg_FilterCfg_Min_Lifetime(buf, 0) /** * Signal FilterCfg_Min_Lifetime value conversion with 16 bit factor and offset. @@ -14250,35 +14253,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Min_Lifetime(x, fmt) \ - ((x) * fmt / 10) +#define CALC_FilterCfg_FilterCfg_Min_Lifetime(x, fmt) ((x) * fmt / 10) /** * Signal FilterCfg_Min_Lifetime raw initial value. */ -#define START_FilterCfg_FilterCfg_Min_Lifetime 0 +#define START_FilterCfg_FilterCfg_Min_Lifetime 0 /** * Signal FilterCfg_Min_Lifetime raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Min_Lifetime 0 +#define MIN_FilterCfg_FilterCfg_Min_Lifetime 0 /** * Signal FilterCfg_Min_Lifetime raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Min_Lifetime 4095 +#define MAX_FilterCfg_FilterCfg_Min_Lifetime 4095 /** * Signal FilterCfg_Min_Lifetime raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Min_Lifetime 0 +#define OFF_FilterCfg_FilterCfg_Min_Lifetime 0 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Min_Azimuth Signal FilterCfg_Min_Azimuth of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Min_Azimuth Signal FilterCfg_Min_Azimuth of Message FilterCfg + * (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -14291,9 +14294,10 @@ * Signal FilterCfg_Min_Azimuth configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Min_Azimuth and \ref GET_FilterCfg_FilterCfg_Min_Azimuth instead. + * Use \ref SET_FilterCfg_FilterCfg_Min_Azimuth and \ref GET_FilterCfg_FilterCfg_Min_Azimuth + *instead. */ -#define SIG_FilterCfg_FilterCfg_Min_Azimuth 1, 0, 11, 12 +#define SIG_FilterCfg_FilterCfg_Min_Azimuth 1, 0, 11, 12 /** * Signal FilterCfg_Min_Azimuth setup tuple. @@ -14301,7 +14305,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Min_Azimuth or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Min_Azimuth 1, 0, 11, 12, 2000 +#define SETUP_FilterCfg_FilterCfg_Min_Azimuth 1, 0, 11, 12, 2000 /** * Get signal FilterCfg_Min_Azimuth from buffer. @@ -14311,10 +14315,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Min_Azimuth(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Min_Azimuth(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Min_Azimuth in buffer. @@ -14324,12 +14326,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Min_Azimuth(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Min_Azimuth(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Min_Azimuth in buffer to its initial value. @@ -14337,8 +14340,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Min_Azimuth(buf) \ - SET_FilterCfg_FilterCfg_Min_Azimuth(buf, 2000) +#define INITSIG_FilterCfg_FilterCfg_Min_Azimuth(buf) SET_FilterCfg_FilterCfg_Min_Azimuth(buf, 2000) /** * Signal FilterCfg_Min_Azimuth value conversion with 16 bit factor and offset. @@ -14351,35 +14353,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Min_Azimuth(x, fmt) \ - ((x) * fmt / 40 + fmt * (-50)) +#define CALC_FilterCfg_FilterCfg_Min_Azimuth(x, fmt) ((x) * fmt / 40 + fmt * (-50)) /** * Signal FilterCfg_Min_Azimuth raw initial value. */ -#define START_FilterCfg_FilterCfg_Min_Azimuth 2000 +#define START_FilterCfg_FilterCfg_Min_Azimuth 2000 /** * Signal FilterCfg_Min_Azimuth raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Min_Azimuth 0 +#define MIN_FilterCfg_FilterCfg_Min_Azimuth 0 /** * Signal FilterCfg_Min_Azimuth raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Min_Azimuth 4095 +#define MAX_FilterCfg_FilterCfg_Min_Azimuth 4095 /** * Signal FilterCfg_Min_Azimuth raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Min_Azimuth -2000 +#define OFF_FilterCfg_FilterCfg_Min_Azimuth -2000 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Min_NofObj Signal FilterCfg_Min_NofObj of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Min_NofObj Signal FilterCfg_Min_NofObj of Message FilterCfg + * (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -14392,9 +14394,10 @@ * Signal FilterCfg_Min_NofObj configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Min_NofObj and \ref GET_FilterCfg_FilterCfg_Min_NofObj instead. + * Use \ref SET_FilterCfg_FilterCfg_Min_NofObj and \ref GET_FilterCfg_FilterCfg_Min_NofObj + *instead. */ -#define SIG_FilterCfg_FilterCfg_Min_NofObj 1, 0, 11, 12 +#define SIG_FilterCfg_FilterCfg_Min_NofObj 1, 0, 11, 12 /** * Signal FilterCfg_Min_NofObj setup tuple. @@ -14402,7 +14405,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Min_NofObj or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Min_NofObj 1, 0, 11, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Min_NofObj 1, 0, 11, 12, 0 /** * Get signal FilterCfg_Min_NofObj from buffer. @@ -14412,10 +14415,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Min_NofObj(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Min_NofObj(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Min_NofObj in buffer. @@ -14425,12 +14426,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Min_NofObj(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Min_NofObj(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Min_NofObj in buffer to its initial value. @@ -14438,8 +14440,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Min_NofObj(buf) \ - SET_FilterCfg_FilterCfg_Min_NofObj(buf, 0) +#define INITSIG_FilterCfg_FilterCfg_Min_NofObj(buf) SET_FilterCfg_FilterCfg_Min_NofObj(buf, 0) /** * Signal FilterCfg_Min_NofObj value conversion with 16 bit factor and offset. @@ -14452,35 +14453,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Min_NofObj(x, fmt) \ - ((x) * fmt) +#define CALC_FilterCfg_FilterCfg_Min_NofObj(x, fmt) ((x) * fmt) /** * Signal FilterCfg_Min_NofObj raw initial value. */ -#define START_FilterCfg_FilterCfg_Min_NofObj 0 +#define START_FilterCfg_FilterCfg_Min_NofObj 0 /** * Signal FilterCfg_Min_NofObj raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Min_NofObj 0 +#define MIN_FilterCfg_FilterCfg_Min_NofObj 0 /** * Signal FilterCfg_Min_NofObj raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Min_NofObj 4095 +#define MAX_FilterCfg_FilterCfg_Min_NofObj 4095 /** * Signal FilterCfg_Min_NofObj raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Min_NofObj 0 +#define OFF_FilterCfg_FilterCfg_Min_NofObj 0 /** * @} */ /** - * @defgroup SIG_FilterCfg_FilterCfg_Min_Distance Signal FilterCfg_Min_Distance of Message FilterCfg (0x202) + * @defgroup SIG_FilterCfg_FilterCfg_Min_Distance Signal FilterCfg_Min_Distance of Message FilterCfg + * (0x202) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -14493,9 +14494,10 @@ * Signal FilterCfg_Min_Distance configuration tuple. * * @deprecated - * Use \ref SET_FilterCfg_FilterCfg_Min_Distance and \ref GET_FilterCfg_FilterCfg_Min_Distance instead. + * Use \ref SET_FilterCfg_FilterCfg_Min_Distance and \ref GET_FilterCfg_FilterCfg_Min_Distance + *instead. */ -#define SIG_FilterCfg_FilterCfg_Min_Distance 1, 0, 11, 12 +#define SIG_FilterCfg_FilterCfg_Min_Distance 1, 0, 11, 12 /** * Signal FilterCfg_Min_Distance setup tuple. @@ -14503,7 +14505,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Min_Distance or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Min_Distance 1, 0, 11, 12, 0 +#define SETUP_FilterCfg_FilterCfg_Min_Distance 1, 0, 11, 12, 0 /** * Get signal FilterCfg_Min_Distance from buffer. @@ -14513,10 +14515,8 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Min_Distance(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Min_Distance(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0x0f) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal FilterCfg_Min_Distance in buffer. @@ -14526,12 +14526,13 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Min_Distance(buf, val) { \ - buf[1] &= ~(0x0f << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_FilterCfg_FilterCfg_Min_Distance(buf, val) \ + { \ + buf[1] &= ~(0x0f << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0x0f) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal FilterCfg_Min_Distance in buffer to its initial value. @@ -14539,8 +14540,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Min_Distance(buf) \ - SET_FilterCfg_FilterCfg_Min_Distance(buf, 0) +#define INITSIG_FilterCfg_FilterCfg_Min_Distance(buf) SET_FilterCfg_FilterCfg_Min_Distance(buf, 0) /** * Signal FilterCfg_Min_Distance value conversion with 16 bit factor and offset. @@ -14553,28 +14553,27 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Min_Distance(x, fmt) \ - ((x) * fmt / 10) +#define CALC_FilterCfg_FilterCfg_Min_Distance(x, fmt) ((x) * fmt / 10) /** * Signal FilterCfg_Min_Distance raw initial value. */ -#define START_FilterCfg_FilterCfg_Min_Distance 0 +#define START_FilterCfg_FilterCfg_Min_Distance 0 /** * Signal FilterCfg_Min_Distance raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Min_Distance 0 +#define MIN_FilterCfg_FilterCfg_Min_Distance 0 /** * Signal FilterCfg_Min_Distance raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Min_Distance 4095 +#define MAX_FilterCfg_FilterCfg_Min_Distance 4095 /** * Signal FilterCfg_Min_Distance raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Min_Distance 0 +#define OFF_FilterCfg_FilterCfg_Min_Distance 0 /** * @} @@ -14598,7 +14597,7 @@ * @deprecated * Use \ref SET_FilterCfg_FilterCfg_Index and \ref GET_FilterCfg_FilterCfg_Index instead. */ -#define SIG_FilterCfg_FilterCfg_Index 1, 0, 6, 4 +#define SIG_FilterCfg_FilterCfg_Index 1, 0, 6, 4 /** * Signal FilterCfg_Index setup tuple. @@ -14606,7 +14605,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Index or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Index 1, 0, 6, 4, 0 +#define SETUP_FilterCfg_FilterCfg_Index 1, 0, 6, 4, 0 /** * Get signal FilterCfg_Index from buffer. @@ -14616,9 +14615,7 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Index(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 3) & 0x0f) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Index(buf) (0 | (ubyte)(+(ubyte)((buf[0] >> 3) & 0x0f) << 0)) /** * Set signal FilterCfg_Index in buffer. @@ -14628,10 +14625,11 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Index(buf, val) { \ - buf[0] &= ~(0x0f << 3); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x0f) << 3; \ -} +#define SET_FilterCfg_FilterCfg_Index(buf, val) \ + { \ + buf[0] &= ~(0x0f << 3); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x0f) << 3; \ + } /** * Set signal FilterCfg_Index in buffer to its initial value. @@ -14639,8 +14637,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Index(buf) \ - SET_FilterCfg_FilterCfg_Index(buf, 0) +#define INITSIG_FilterCfg_FilterCfg_Index(buf) SET_FilterCfg_FilterCfg_Index(buf, 0) /** * Signal FilterCfg_Index value conversion with 16 bit factor and offset. @@ -14653,35 +14650,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Index(x, fmt) \ - ((x) * fmt) +#define CALC_FilterCfg_FilterCfg_Index(x, fmt) ((x) * fmt) /** * Signal FilterCfg_Index raw initial value. */ -#define START_FilterCfg_FilterCfg_Index 0 +#define START_FilterCfg_FilterCfg_Index 0 /** * Signal FilterCfg_Index raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Index 0 +#define MIN_FilterCfg_FilterCfg_Index 0 /** * Signal FilterCfg_Index raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Index 15 +#define MAX_FilterCfg_FilterCfg_Index 15 /** * Signal FilterCfg_Index raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Index 0 +#define OFF_FilterCfg_FilterCfg_Index 0 /** * @} */ /** - * @defgroup ENUM_FilterCfg_FilterCfg_Index Value Table for Signal FilterCfg_Index in Message FilterCfg (0x202) + * @defgroup ENUM_FilterCfg_FilterCfg_Index Value Table for Signal FilterCfg_Index in Message + * FilterCfg (0x202) * * Enum values defined for \ref SIG_FilterCfg_FilterCfg_Index. * @@ -14693,7 +14690,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Index */ -#define FilterCfg_FilterCfg_Index_Class 15 +#define FilterCfg_FilterCfg_Index_Class 15 /** * Value table FilterCfg_FilterCfg_Index entry Longitud_. @@ -14702,7 +14699,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Index */ -#define FilterCfg_FilterCfg_Index_Longitud_ 14 +#define FilterCfg_FilterCfg_Index_Longitud_ 14 /** * Value table FilterCfg_FilterCfg_Index entry Lateral. @@ -14711,7 +14708,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Index */ -#define FilterCfg_FilterCfg_Index_Lateral 13 +#define FilterCfg_FilterCfg_Index_Lateral 13 /** * Value table FilterCfg_FilterCfg_Index entry Longitud__C. @@ -14720,7 +14717,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Index */ -#define FilterCfg_FilterCfg_Index_Longitud__C 12 +#define FilterCfg_FilterCfg_Index_Longitud__C 12 /** * Value table FilterCfg_FilterCfg_Index entry Lateral_B. @@ -14729,7 +14726,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Index */ -#define FilterCfg_FilterCfg_Index_Lateral_B 11 +#define FilterCfg_FilterCfg_Index_Lateral_B 11 /** * Value table FilterCfg_FilterCfg_Index entry Longitudinal. @@ -14738,7 +14735,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Index */ -#define FilterCfg_FilterCfg_Index_Longitudinal 10 +#define FilterCfg_FilterCfg_Index_Longitudinal 10 /** * Value table FilterCfg_FilterCfg_Index entry Lateral_9. @@ -14747,7 +14744,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Index */ -#define FilterCfg_FilterCfg_Index_Lateral_9 9 +#define FilterCfg_FilterCfg_Index_Lateral_9 9 /** * Value table FilterCfg_FilterCfg_Index entry Probability. @@ -14756,28 +14753,28 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Index */ -#define FilterCfg_FilterCfg_Index_Probability 8 +#define FilterCfg_FilterCfg_Index_Probability 8 /** * Value table FilterCfg_FilterCfg_Index entry Size. * * @ingroup ENUM_FilterCfg_FilterCfg_Index */ -#define FilterCfg_FilterCfg_Index_Size 7 +#define FilterCfg_FilterCfg_Index_Size 7 /** * Value table FilterCfg_FilterCfg_Index entry Lifetime. * * @ingroup ENUM_FilterCfg_FilterCfg_Index */ -#define FilterCfg_FilterCfg_Index_Lifetime 6 +#define FilterCfg_FilterCfg_Index_Lifetime 6 /** * Value table FilterCfg_FilterCfg_Index entry RCS. * * @ingroup ENUM_FilterCfg_FilterCfg_Index */ -#define FilterCfg_FilterCfg_Index_RCS 5 +#define FilterCfg_FilterCfg_Index_RCS 5 /** * Value table FilterCfg_FilterCfg_Index entry Radial. @@ -14786,7 +14783,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Index */ -#define FilterCfg_FilterCfg_Index_Radial 4 +#define FilterCfg_FilterCfg_Index_Radial 4 /** * Value table FilterCfg_FilterCfg_Index entry Radial_3. @@ -14795,14 +14792,14 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Index */ -#define FilterCfg_FilterCfg_Index_Radial_3 3 +#define FilterCfg_FilterCfg_Index_Radial_3 3 /** * Value table FilterCfg_FilterCfg_Index entry Azimuth. * * @ingroup ENUM_FilterCfg_FilterCfg_Index */ -#define FilterCfg_FilterCfg_Index_Azimuth 2 +#define FilterCfg_FilterCfg_Index_Azimuth 2 /** * Value table FilterCfg_FilterCfg_Index entry Radial_1. @@ -14811,7 +14808,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Index */ -#define FilterCfg_FilterCfg_Index_Radial_1 1 +#define FilterCfg_FilterCfg_Index_Radial_1 1 /** * Value table FilterCfg_FilterCfg_Index entry Number. @@ -14820,7 +14817,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Index */ -#define FilterCfg_FilterCfg_Index_Number 0 +#define FilterCfg_FilterCfg_Index_Number 0 /** * @defgroup SIG_FilterCfg_FilterCfg_Type Signal FilterCfg_Type of Message FilterCfg (0x202) @@ -14840,7 +14837,7 @@ * @deprecated * Use \ref SET_FilterCfg_FilterCfg_Type and \ref GET_FilterCfg_FilterCfg_Type instead. */ -#define SIG_FilterCfg_FilterCfg_Type 1, 0, 7, 1 +#define SIG_FilterCfg_FilterCfg_Type 1, 0, 7, 1 /** * Signal FilterCfg_Type setup tuple. @@ -14848,7 +14845,7 @@ * @deprecated * Use \ref INITSIG_FilterCfg_FilterCfg_Type or \ref INIT_FilterCfg instead. */ -#define SETUP_FilterCfg_FilterCfg_Type 1, 0, 7, 1, 0 +#define SETUP_FilterCfg_FilterCfg_Type 1, 0, 7, 1, 0 /** * Get signal FilterCfg_Type from buffer. @@ -14858,9 +14855,7 @@ * @return * The raw signal */ -#define GET_FilterCfg_FilterCfg_Type(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 7) & 0x01) << 0) \ -) +#define GET_FilterCfg_FilterCfg_Type(buf) (0 | (ubyte)(+(ubyte)((buf[0] >> 7) & 0x01) << 0)) /** * Set signal FilterCfg_Type in buffer. @@ -14870,10 +14865,11 @@ * @param val * The raw value to set the signal to */ -#define SET_FilterCfg_FilterCfg_Type(buf, val) { \ - buf[0] &= ~(0x01 << 7); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 7; \ -} +#define SET_FilterCfg_FilterCfg_Type(buf, val) \ + { \ + buf[0] &= ~(0x01 << 7); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 7; \ + } /** * Set signal FilterCfg_Type in buffer to its initial value. @@ -14881,8 +14877,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_FilterCfg_FilterCfg_Type(buf) \ - SET_FilterCfg_FilterCfg_Type(buf, 0) +#define INITSIG_FilterCfg_FilterCfg_Type(buf) SET_FilterCfg_FilterCfg_Type(buf, 0) /** * Signal FilterCfg_Type value conversion with 16 bit factor and offset. @@ -14895,35 +14890,35 @@ * @return * The signal value as a human readable number */ -#define CALC_FilterCfg_FilterCfg_Type(x, fmt) \ - ((x) * fmt) +#define CALC_FilterCfg_FilterCfg_Type(x, fmt) ((x) * fmt) /** * Signal FilterCfg_Type raw initial value. */ -#define START_FilterCfg_FilterCfg_Type 0 +#define START_FilterCfg_FilterCfg_Type 0 /** * Signal FilterCfg_Type raw minimum value. */ -#define MIN_FilterCfg_FilterCfg_Type 0 +#define MIN_FilterCfg_FilterCfg_Type 0 /** * Signal FilterCfg_Type raw maximum value. */ -#define MAX_FilterCfg_FilterCfg_Type 1 +#define MAX_FilterCfg_FilterCfg_Type 1 /** * Signal FilterCfg_Type raw offset value. */ -#define OFF_FilterCfg_FilterCfg_Type 0 +#define OFF_FilterCfg_FilterCfg_Type 0 /** * @} */ /** - * @defgroup ENUM_FilterCfg_FilterCfg_Type Value Table for Signal FilterCfg_Type in Message FilterCfg (0x202) + * @defgroup ENUM_FilterCfg_FilterCfg_Type Value Table for Signal FilterCfg_Type in Message + * FilterCfg (0x202) * * Enum values defined for \ref SIG_FilterCfg_FilterCfg_Type. * @@ -14937,7 +14932,7 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Type */ -#define FilterCfg_FilterCfg_Type_Object 1 +#define FilterCfg_FilterCfg_Type_Object 1 /** * Value table FilterCfg_FilterCfg_Type entry Cluster. @@ -14946,10 +14941,11 @@ * * @ingroup ENUM_FilterCfg_FilterCfg_Type */ -#define FilterCfg_FilterCfg_Type_Cluster 0 +#define FilterCfg_FilterCfg_Type_Cluster 0 /** - * @defgroup SIG_RadarConfiguration_RadarCfg_RCS_Threshold_Valid Signal RadarCfg_RCS_Threshold_Valid of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_RCS_Threshold_Valid Signal RadarCfg_RCS_Threshold_Valid + * of Message RadarConfiguration (0x200) * * Allows changing the RCS_Threshold parameter * @@ -14965,17 +14961,19 @@ * Signal RadarCfg_RCS_Threshold_Valid configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_RCS_Threshold_Valid and \ref GET_RadarConfiguration_RadarCfg_RCS_Threshold_Valid instead. + * Use \ref SET_RadarConfiguration_RadarCfg_RCS_Threshold_Valid and \ref + *GET_RadarConfiguration_RadarCfg_RCS_Threshold_Valid instead. */ -#define SIG_RadarConfiguration_RadarCfg_RCS_Threshold_Valid 1, 0, 48, 1 +#define SIG_RadarConfiguration_RadarCfg_RCS_Threshold_Valid 1, 0, 48, 1 /** * Signal RadarCfg_RCS_Threshold_Valid setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_RCS_Threshold_Valid or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_RCS_Threshold_Valid or \ref + *INIT_RadarConfiguration instead. */ -#define SETUP_RadarConfiguration_RadarCfg_RCS_Threshold_Valid 1, 0, 48, 1, 0 +#define SETUP_RadarConfiguration_RadarCfg_RCS_Threshold_Valid 1, 0, 48, 1, 0 /** * Get signal RadarCfg_RCS_Threshold_Valid from buffer. @@ -14985,9 +14983,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_RCS_Threshold_Valid(buf) (0 \ - | (ubyte)(+(ubyte)((buf[6] >> 0) & 0x01) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_RCS_Threshold_Valid(buf) \ + (0 | (ubyte)(+(ubyte)((buf[6] >> 0) & 0x01) << 0)) /** * Set signal RadarCfg_RCS_Threshold_Valid in buffer. @@ -14997,10 +14994,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_RCS_Threshold_Valid(buf, val) { \ - buf[6] &= ~(0x01 << 0); \ - buf[6] |= (((ubyte)(val) >> 0) & 0x01) << 0; \ -} +#define SET_RadarConfiguration_RadarCfg_RCS_Threshold_Valid(buf, val) \ + { \ + buf[6] &= ~(0x01 << 0); \ + buf[6] |= (((ubyte)(val) >> 0) & 0x01) << 0; \ + } /** * Set signal RadarCfg_RCS_Threshold_Valid in buffer to its initial value. @@ -15009,7 +15007,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_RCS_Threshold_Valid(buf) \ - SET_RadarConfiguration_RadarCfg_RCS_Threshold_Valid(buf, 0) + SET_RadarConfiguration_RadarCfg_RCS_Threshold_Valid(buf, 0) /** * Signal RadarCfg_RCS_Threshold_Valid value conversion with 16 bit factor and offset. @@ -15022,35 +15020,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_RCS_Threshold_Valid(x, fmt) \ - ((x) * fmt) +#define CALC_RadarConfiguration_RadarCfg_RCS_Threshold_Valid(x, fmt) ((x) * fmt) /** * Signal RadarCfg_RCS_Threshold_Valid raw initial value. */ -#define START_RadarConfiguration_RadarCfg_RCS_Threshold_Valid 0 +#define START_RadarConfiguration_RadarCfg_RCS_Threshold_Valid 0 /** * Signal RadarCfg_RCS_Threshold_Valid raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_RCS_Threshold_Valid 0 +#define MIN_RadarConfiguration_RadarCfg_RCS_Threshold_Valid 0 /** * Signal RadarCfg_RCS_Threshold_Valid raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_RCS_Threshold_Valid 1 +#define MAX_RadarConfiguration_RadarCfg_RCS_Threshold_Valid 1 /** * Signal RadarCfg_RCS_Threshold_Valid raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_RCS_Threshold_Valid 0 +#define OFF_RadarConfiguration_RadarCfg_RCS_Threshold_Valid 0 /** * @} */ /** - * @defgroup ENUM_RadarConfiguration_RadarCfg_RCS_Threshold_Valid Value Table for Signal RadarCfg_RCS_Threshold_Valid in Message RadarConfiguration (0x200) + * @defgroup ENUM_RadarConfiguration_RadarCfg_RCS_Threshold_Valid Value Table for Signal + * RadarCfg_RCS_Threshold_Valid in Message RadarConfiguration (0x200) * * Enum values defined for \ref SIG_RadarConfiguration_RadarCfg_RCS_Threshold_Valid. * @@ -15062,17 +15060,18 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_RCS_Threshold_Valid */ -#define RadarConfiguration_RadarCfg_RCS_Threshold_Valid_Valid 1 +#define RadarConfiguration_RadarCfg_RCS_Threshold_Valid_Valid 1 /** * Value table RadarConfiguration_RadarCfg_RCS_Threshold_Valid entry Invalid. * * @ingroup ENUM_RadarConfiguration_RadarCfg_RCS_Threshold_Valid */ -#define RadarConfiguration_RadarCfg_RCS_Threshold_Valid_Invalid 0 +#define RadarConfiguration_RadarCfg_RCS_Threshold_Valid_Invalid 0 /** - * @defgroup SIG_RadarConfiguration_RadarCfg_RCS_Threshold Signal RadarCfg_RCS_Threshold of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_RCS_Threshold Signal RadarCfg_RCS_Threshold of Message + * RadarConfiguration (0x200) * * Standard or high sensitivity for cluster list output * @@ -15088,17 +15087,19 @@ * Signal RadarCfg_RCS_Threshold configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_RCS_Threshold and \ref GET_RadarConfiguration_RadarCfg_RCS_Threshold instead. + * Use \ref SET_RadarConfiguration_RadarCfg_RCS_Threshold and \ref + *GET_RadarConfiguration_RadarCfg_RCS_Threshold instead. */ -#define SIG_RadarConfiguration_RadarCfg_RCS_Threshold 1, 0, 51, 3 +#define SIG_RadarConfiguration_RadarCfg_RCS_Threshold 1, 0, 51, 3 /** * Signal RadarCfg_RCS_Threshold setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_RCS_Threshold or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_RCS_Threshold or \ref INIT_RadarConfiguration + *instead. */ -#define SETUP_RadarConfiguration_RadarCfg_RCS_Threshold 1, 0, 51, 3, 0 +#define SETUP_RadarConfiguration_RadarCfg_RCS_Threshold 1, 0, 51, 3, 0 /** * Get signal RadarCfg_RCS_Threshold from buffer. @@ -15108,9 +15109,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_RCS_Threshold(buf) (0 \ - | (ubyte)(+(ubyte)((buf[6] >> 1) & 0x07) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_RCS_Threshold(buf) \ + (0 | (ubyte)(+(ubyte)((buf[6] >> 1) & 0x07) << 0)) /** * Set signal RadarCfg_RCS_Threshold in buffer. @@ -15120,10 +15120,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_RCS_Threshold(buf, val) { \ - buf[6] &= ~(0x07 << 1); \ - buf[6] |= (((ubyte)(val) >> 0) & 0x07) << 1; \ -} +#define SET_RadarConfiguration_RadarCfg_RCS_Threshold(buf, val) \ + { \ + buf[6] &= ~(0x07 << 1); \ + buf[6] |= (((ubyte)(val) >> 0) & 0x07) << 1; \ + } /** * Set signal RadarCfg_RCS_Threshold in buffer to its initial value. @@ -15132,7 +15133,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_RCS_Threshold(buf) \ - SET_RadarConfiguration_RadarCfg_RCS_Threshold(buf, 0) + SET_RadarConfiguration_RadarCfg_RCS_Threshold(buf, 0) /** * Signal RadarCfg_RCS_Threshold value conversion with 16 bit factor and offset. @@ -15145,35 +15146,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_RCS_Threshold(x, fmt) \ - ((x) * fmt) +#define CALC_RadarConfiguration_RadarCfg_RCS_Threshold(x, fmt) ((x) * fmt) /** * Signal RadarCfg_RCS_Threshold raw initial value. */ -#define START_RadarConfiguration_RadarCfg_RCS_Threshold 0 +#define START_RadarConfiguration_RadarCfg_RCS_Threshold 0 /** * Signal RadarCfg_RCS_Threshold raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_RCS_Threshold 0 +#define MIN_RadarConfiguration_RadarCfg_RCS_Threshold 0 /** * Signal RadarCfg_RCS_Threshold raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_RCS_Threshold 7 +#define MAX_RadarConfiguration_RadarCfg_RCS_Threshold 7 /** * Signal RadarCfg_RCS_Threshold raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_RCS_Threshold 0 +#define OFF_RadarConfiguration_RadarCfg_RCS_Threshold 0 /** * @} */ /** - * @defgroup ENUM_RadarConfiguration_RadarCfg_RCS_Threshold Value Table for Signal RadarCfg_RCS_Threshold in Message RadarConfiguration (0x200) + * @defgroup ENUM_RadarConfiguration_RadarCfg_RCS_Threshold Value Table for Signal + * RadarCfg_RCS_Threshold in Message RadarConfiguration (0x200) * * Enum values defined for \ref SIG_RadarConfiguration_RadarCfg_RCS_Threshold. * @@ -15185,42 +15186,42 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_RCS_Threshold */ -#define RadarConfiguration_RadarCfg_RCS_Threshold_Reserved 7 +#define RadarConfiguration_RadarCfg_RCS_Threshold_Reserved 7 /** * Value table RadarConfiguration_RadarCfg_RCS_Threshold entry Reserved_6. * * @ingroup ENUM_RadarConfiguration_RadarCfg_RCS_Threshold */ -#define RadarConfiguration_RadarCfg_RCS_Threshold_Reserved_6 6 +#define RadarConfiguration_RadarCfg_RCS_Threshold_Reserved_6 6 /** * Value table RadarConfiguration_RadarCfg_RCS_Threshold entry Reserved_5. * * @ingroup ENUM_RadarConfiguration_RadarCfg_RCS_Threshold */ -#define RadarConfiguration_RadarCfg_RCS_Threshold_Reserved_5 5 +#define RadarConfiguration_RadarCfg_RCS_Threshold_Reserved_5 5 /** * Value table RadarConfiguration_RadarCfg_RCS_Threshold entry Reserved_4. * * @ingroup ENUM_RadarConfiguration_RadarCfg_RCS_Threshold */ -#define RadarConfiguration_RadarCfg_RCS_Threshold_Reserved_4 4 +#define RadarConfiguration_RadarCfg_RCS_Threshold_Reserved_4 4 /** * Value table RadarConfiguration_RadarCfg_RCS_Threshold entry Reserved_3. * * @ingroup ENUM_RadarConfiguration_RadarCfg_RCS_Threshold */ -#define RadarConfiguration_RadarCfg_RCS_Threshold_Reserved_3 3 +#define RadarConfiguration_RadarCfg_RCS_Threshold_Reserved_3 3 /** * Value table RadarConfiguration_RadarCfg_RCS_Threshold entry Reserved_2. * * @ingroup ENUM_RadarConfiguration_RadarCfg_RCS_Threshold */ -#define RadarConfiguration_RadarCfg_RCS_Threshold_Reserved_2 2 +#define RadarConfiguration_RadarCfg_RCS_Threshold_Reserved_2 2 /** * Value table RadarConfiguration_RadarCfg_RCS_Threshold entry High. @@ -15229,17 +15230,18 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_RCS_Threshold */ -#define RadarConfiguration_RadarCfg_RCS_Threshold_High 1 +#define RadarConfiguration_RadarCfg_RCS_Threshold_High 1 /** * Value table RadarConfiguration_RadarCfg_RCS_Threshold entry Standard. * * @ingroup ENUM_RadarConfiguration_RadarCfg_RCS_Threshold */ -#define RadarConfiguration_RadarCfg_RCS_Threshold_Standard 0 +#define RadarConfiguration_RadarCfg_RCS_Threshold_Standard 0 /** - * @defgroup SIG_RadarConfiguration_RadarCfg_StoreInNVM_valid Signal RadarCfg_StoreInNVM_valid of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_StoreInNVM_valid Signal RadarCfg_StoreInNVM_valid of + * Message RadarConfiguration (0x200) * * Allows changing the StoreInNvm parameter * @@ -15255,17 +15257,19 @@ * Signal RadarCfg_StoreInNVM_valid configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_StoreInNVM_valid and \ref GET_RadarConfiguration_RadarCfg_StoreInNVM_valid instead. + * Use \ref SET_RadarConfiguration_RadarCfg_StoreInNVM_valid and \ref + *GET_RadarConfiguration_RadarCfg_StoreInNVM_valid instead. */ -#define SIG_RadarConfiguration_RadarCfg_StoreInNVM_valid 1, 0, 7, 1 +#define SIG_RadarConfiguration_RadarCfg_StoreInNVM_valid 1, 0, 7, 1 /** * Signal RadarCfg_StoreInNVM_valid setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_StoreInNVM_valid or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_StoreInNVM_valid or \ref + *INIT_RadarConfiguration instead. */ -#define SETUP_RadarConfiguration_RadarCfg_StoreInNVM_valid 1, 0, 7, 1, 0 +#define SETUP_RadarConfiguration_RadarCfg_StoreInNVM_valid 1, 0, 7, 1, 0 /** * Get signal RadarCfg_StoreInNVM_valid from buffer. @@ -15275,9 +15279,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_StoreInNVM_valid(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 7) & 0x01) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_StoreInNVM_valid(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 7) & 0x01) << 0)) /** * Set signal RadarCfg_StoreInNVM_valid in buffer. @@ -15287,10 +15290,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_StoreInNVM_valid(buf, val) { \ - buf[0] &= ~(0x01 << 7); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 7; \ -} +#define SET_RadarConfiguration_RadarCfg_StoreInNVM_valid(buf, val) \ + { \ + buf[0] &= ~(0x01 << 7); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 7; \ + } /** * Set signal RadarCfg_StoreInNVM_valid in buffer to its initial value. @@ -15299,7 +15303,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_StoreInNVM_valid(buf) \ - SET_RadarConfiguration_RadarCfg_StoreInNVM_valid(buf, 0) + SET_RadarConfiguration_RadarCfg_StoreInNVM_valid(buf, 0) /** * Signal RadarCfg_StoreInNVM_valid value conversion with 16 bit factor and offset. @@ -15312,35 +15316,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_StoreInNVM_valid(x, fmt) \ - ((x) * fmt) +#define CALC_RadarConfiguration_RadarCfg_StoreInNVM_valid(x, fmt) ((x) * fmt) /** * Signal RadarCfg_StoreInNVM_valid raw initial value. */ -#define START_RadarConfiguration_RadarCfg_StoreInNVM_valid 0 +#define START_RadarConfiguration_RadarCfg_StoreInNVM_valid 0 /** * Signal RadarCfg_StoreInNVM_valid raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_StoreInNVM_valid 0 +#define MIN_RadarConfiguration_RadarCfg_StoreInNVM_valid 0 /** * Signal RadarCfg_StoreInNVM_valid raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_StoreInNVM_valid 1 +#define MAX_RadarConfiguration_RadarCfg_StoreInNVM_valid 1 /** * Signal RadarCfg_StoreInNVM_valid raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_StoreInNVM_valid 0 +#define OFF_RadarConfiguration_RadarCfg_StoreInNVM_valid 0 /** * @} */ /** - * @defgroup ENUM_RadarConfiguration_RadarCfg_StoreInNVM_valid Value Table for Signal RadarCfg_StoreInNVM_valid in Message RadarConfiguration (0x200) + * @defgroup ENUM_RadarConfiguration_RadarCfg_StoreInNVM_valid Value Table for Signal + * RadarCfg_StoreInNVM_valid in Message RadarConfiguration (0x200) * * Enum values defined for \ref SIG_RadarConfiguration_RadarCfg_StoreInNVM_valid. * @@ -15352,17 +15356,18 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_StoreInNVM_valid */ -#define RadarConfiguration_RadarCfg_StoreInNVM_valid_Valid 1 +#define RadarConfiguration_RadarCfg_StoreInNVM_valid_Valid 1 /** * Value table RadarConfiguration_RadarCfg_StoreInNVM_valid entry Invalid. * * @ingroup ENUM_RadarConfiguration_RadarCfg_StoreInNVM_valid */ -#define RadarConfiguration_RadarCfg_StoreInNVM_valid_Invalid 0 +#define RadarConfiguration_RadarCfg_StoreInNVM_valid_Invalid 0 /** - * @defgroup SIG_RadarConfiguration_RadarCfg_SortIndex_valid Signal RadarCfg_SortIndex_valid of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_SortIndex_valid Signal RadarCfg_SortIndex_valid of + * Message RadarConfiguration (0x200) * * Allows changing the SortIndex parameter * @@ -15378,17 +15383,19 @@ * Signal RadarCfg_SortIndex_valid configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_SortIndex_valid and \ref GET_RadarConfiguration_RadarCfg_SortIndex_valid instead. + * Use \ref SET_RadarConfiguration_RadarCfg_SortIndex_valid and \ref + *GET_RadarConfiguration_RadarCfg_SortIndex_valid instead. */ -#define SIG_RadarConfiguration_RadarCfg_SortIndex_valid 1, 0, 6, 1 +#define SIG_RadarConfiguration_RadarCfg_SortIndex_valid 1, 0, 6, 1 /** * Signal RadarCfg_SortIndex_valid setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_SortIndex_valid or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_SortIndex_valid or \ref INIT_RadarConfiguration + *instead. */ -#define SETUP_RadarConfiguration_RadarCfg_SortIndex_valid 1, 0, 6, 1, 0 +#define SETUP_RadarConfiguration_RadarCfg_SortIndex_valid 1, 0, 6, 1, 0 /** * Get signal RadarCfg_SortIndex_valid from buffer. @@ -15398,9 +15405,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_SortIndex_valid(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 6) & 0x01) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_SortIndex_valid(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 6) & 0x01) << 0)) /** * Set signal RadarCfg_SortIndex_valid in buffer. @@ -15410,10 +15416,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_SortIndex_valid(buf, val) { \ - buf[0] &= ~(0x01 << 6); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 6; \ -} +#define SET_RadarConfiguration_RadarCfg_SortIndex_valid(buf, val) \ + { \ + buf[0] &= ~(0x01 << 6); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 6; \ + } /** * Set signal RadarCfg_SortIndex_valid in buffer to its initial value. @@ -15422,7 +15429,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_SortIndex_valid(buf) \ - SET_RadarConfiguration_RadarCfg_SortIndex_valid(buf, 0) + SET_RadarConfiguration_RadarCfg_SortIndex_valid(buf, 0) /** * Signal RadarCfg_SortIndex_valid value conversion with 16 bit factor and offset. @@ -15435,35 +15442,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_SortIndex_valid(x, fmt) \ - ((x) * fmt) +#define CALC_RadarConfiguration_RadarCfg_SortIndex_valid(x, fmt) ((x) * fmt) /** * Signal RadarCfg_SortIndex_valid raw initial value. */ -#define START_RadarConfiguration_RadarCfg_SortIndex_valid 0 +#define START_RadarConfiguration_RadarCfg_SortIndex_valid 0 /** * Signal RadarCfg_SortIndex_valid raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_SortIndex_valid 0 +#define MIN_RadarConfiguration_RadarCfg_SortIndex_valid 0 /** * Signal RadarCfg_SortIndex_valid raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_SortIndex_valid 1 +#define MAX_RadarConfiguration_RadarCfg_SortIndex_valid 1 /** * Signal RadarCfg_SortIndex_valid raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_SortIndex_valid 0 +#define OFF_RadarConfiguration_RadarCfg_SortIndex_valid 0 /** * @} */ /** - * @defgroup ENUM_RadarConfiguration_RadarCfg_SortIndex_valid Value Table for Signal RadarCfg_SortIndex_valid in Message RadarConfiguration (0x200) + * @defgroup ENUM_RadarConfiguration_RadarCfg_SortIndex_valid Value Table for Signal + * RadarCfg_SortIndex_valid in Message RadarConfiguration (0x200) * * Enum values defined for \ref SIG_RadarConfiguration_RadarCfg_SortIndex_valid. * @@ -15475,17 +15482,18 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_SortIndex_valid */ -#define RadarConfiguration_RadarCfg_SortIndex_valid_Valid 1 +#define RadarConfiguration_RadarCfg_SortIndex_valid_Valid 1 /** * Value table RadarConfiguration_RadarCfg_SortIndex_valid entry Invalid. * * @ingroup ENUM_RadarConfiguration_RadarCfg_SortIndex_valid */ -#define RadarConfiguration_RadarCfg_SortIndex_valid_Invalid 0 +#define RadarConfiguration_RadarCfg_SortIndex_valid_Invalid 0 /** - * @defgroup SIG_RadarConfiguration_RadarCfg_SortIndex Signal RadarCfg_SortIndex of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_SortIndex Signal RadarCfg_SortIndex of Message + * RadarConfiguration (0x200) * * Object sort index * @@ -15501,17 +15509,19 @@ * Signal RadarCfg_SortIndex configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_SortIndex and \ref GET_RadarConfiguration_RadarCfg_SortIndex instead. + * Use \ref SET_RadarConfiguration_RadarCfg_SortIndex and \ref + *GET_RadarConfiguration_RadarCfg_SortIndex instead. */ -#define SIG_RadarConfiguration_RadarCfg_SortIndex 1, 0, 46, 3 +#define SIG_RadarConfiguration_RadarCfg_SortIndex 1, 0, 46, 3 /** * Signal RadarCfg_SortIndex setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_SortIndex or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_SortIndex or \ref INIT_RadarConfiguration + *instead. */ -#define SETUP_RadarConfiguration_RadarCfg_SortIndex 1, 0, 46, 3, 0 +#define SETUP_RadarConfiguration_RadarCfg_SortIndex 1, 0, 46, 3, 0 /** * Get signal RadarCfg_SortIndex from buffer. @@ -15521,9 +15531,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_SortIndex(buf) (0 \ - | (ubyte)(+(ubyte)((buf[5] >> 4) & 0x07) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_SortIndex(buf) \ + (0 | (ubyte)(+(ubyte)((buf[5] >> 4) & 0x07) << 0)) /** * Set signal RadarCfg_SortIndex in buffer. @@ -15533,10 +15542,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_SortIndex(buf, val) { \ - buf[5] &= ~(0x07 << 4); \ - buf[5] |= (((ubyte)(val) >> 0) & 0x07) << 4; \ -} +#define SET_RadarConfiguration_RadarCfg_SortIndex(buf, val) \ + { \ + buf[5] &= ~(0x07 << 4); \ + buf[5] |= (((ubyte)(val) >> 0) & 0x07) << 4; \ + } /** * Set signal RadarCfg_SortIndex in buffer to its initial value. @@ -15545,7 +15555,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_SortIndex(buf) \ - SET_RadarConfiguration_RadarCfg_SortIndex(buf, 0) + SET_RadarConfiguration_RadarCfg_SortIndex(buf, 0) /** * Signal RadarCfg_SortIndex value conversion with 16 bit factor and offset. @@ -15558,35 +15568,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_SortIndex(x, fmt) \ - ((x) * fmt) +#define CALC_RadarConfiguration_RadarCfg_SortIndex(x, fmt) ((x) * fmt) /** * Signal RadarCfg_SortIndex raw initial value. */ -#define START_RadarConfiguration_RadarCfg_SortIndex 0 +#define START_RadarConfiguration_RadarCfg_SortIndex 0 /** * Signal RadarCfg_SortIndex raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_SortIndex 0 +#define MIN_RadarConfiguration_RadarCfg_SortIndex 0 /** * Signal RadarCfg_SortIndex raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_SortIndex 7 +#define MAX_RadarConfiguration_RadarCfg_SortIndex 7 /** * Signal RadarCfg_SortIndex raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_SortIndex 0 +#define OFF_RadarConfiguration_RadarCfg_SortIndex 0 /** * @} */ /** - * @defgroup ENUM_RadarConfiguration_RadarCfg_SortIndex Value Table for Signal RadarCfg_SortIndex in Message RadarConfiguration (0x200) + * @defgroup ENUM_RadarConfiguration_RadarCfg_SortIndex Value Table for Signal RadarCfg_SortIndex in + * Message RadarConfiguration (0x200) * * Enum values defined for \ref SIG_RadarConfiguration_RadarCfg_SortIndex. * @@ -15600,7 +15610,7 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_SortIndex */ -#define RadarConfiguration_RadarCfg_SortIndex_Sorted 2 +#define RadarConfiguration_RadarCfg_SortIndex_Sorted 2 /** * Value table RadarConfiguration_RadarCfg_SortIndex entry Sorted_1. @@ -15609,7 +15619,7 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_SortIndex */ -#define RadarConfiguration_RadarCfg_SortIndex_Sorted_1 1 +#define RadarConfiguration_RadarCfg_SortIndex_Sorted_1 1 /** * Value table RadarConfiguration_RadarCfg_SortIndex entry No. @@ -15618,10 +15628,11 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_SortIndex */ -#define RadarConfiguration_RadarCfg_SortIndex_No 0 +#define RadarConfiguration_RadarCfg_SortIndex_No 0 /** - * @defgroup SIG_RadarConfiguration_RadarCfg_StoreInNVM Signal RadarCfg_StoreInNVM of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_StoreInNVM Signal RadarCfg_StoreInNVM of Message + * RadarConfiguration (0x200) * * Store configuration in Nvm * @@ -15638,17 +15649,19 @@ * Signal RadarCfg_StoreInNVM configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_StoreInNVM and \ref GET_RadarConfiguration_RadarCfg_StoreInNVM instead. + * Use \ref SET_RadarConfiguration_RadarCfg_StoreInNVM and \ref + *GET_RadarConfiguration_RadarCfg_StoreInNVM instead. */ -#define SIG_RadarConfiguration_RadarCfg_StoreInNVM 1, 0, 47, 1 +#define SIG_RadarConfiguration_RadarCfg_StoreInNVM 1, 0, 47, 1 /** * Signal RadarCfg_StoreInNVM setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_StoreInNVM or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_StoreInNVM or \ref INIT_RadarConfiguration + *instead. */ -#define SETUP_RadarConfiguration_RadarCfg_StoreInNVM 1, 0, 47, 1, 0 +#define SETUP_RadarConfiguration_RadarCfg_StoreInNVM 1, 0, 47, 1, 0 /** * Get signal RadarCfg_StoreInNVM from buffer. @@ -15658,9 +15671,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_StoreInNVM(buf) (0 \ - | (ubyte)(+(ubyte)((buf[5] >> 7) & 0x01) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_StoreInNVM(buf) \ + (0 | (ubyte)(+(ubyte)((buf[5] >> 7) & 0x01) << 0)) /** * Set signal RadarCfg_StoreInNVM in buffer. @@ -15670,10 +15682,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_StoreInNVM(buf, val) { \ - buf[5] &= ~(0x01 << 7); \ - buf[5] |= (((ubyte)(val) >> 0) & 0x01) << 7; \ -} +#define SET_RadarConfiguration_RadarCfg_StoreInNVM(buf, val) \ + { \ + buf[5] &= ~(0x01 << 7); \ + buf[5] |= (((ubyte)(val) >> 0) & 0x01) << 7; \ + } /** * Set signal RadarCfg_StoreInNVM in buffer to its initial value. @@ -15682,7 +15695,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_StoreInNVM(buf) \ - SET_RadarConfiguration_RadarCfg_StoreInNVM(buf, 0) + SET_RadarConfiguration_RadarCfg_StoreInNVM(buf, 0) /** * Signal RadarCfg_StoreInNVM value conversion with 16 bit factor and offset. @@ -15695,35 +15708,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_StoreInNVM(x, fmt) \ - ((x) * fmt) +#define CALC_RadarConfiguration_RadarCfg_StoreInNVM(x, fmt) ((x) * fmt) /** * Signal RadarCfg_StoreInNVM raw initial value. */ -#define START_RadarConfiguration_RadarCfg_StoreInNVM 0 +#define START_RadarConfiguration_RadarCfg_StoreInNVM 0 /** * Signal RadarCfg_StoreInNVM raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_StoreInNVM 0 +#define MIN_RadarConfiguration_RadarCfg_StoreInNVM 0 /** * Signal RadarCfg_StoreInNVM raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_StoreInNVM 1 +#define MAX_RadarConfiguration_RadarCfg_StoreInNVM 1 /** * Signal RadarCfg_StoreInNVM raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_StoreInNVM 0 +#define OFF_RadarConfiguration_RadarCfg_StoreInNVM 0 /** * @} */ /** - * @defgroup ENUM_RadarConfiguration_RadarCfg_StoreInNVM Value Table for Signal RadarCfg_StoreInNVM in Message RadarConfiguration (0x200) + * @defgroup ENUM_RadarConfiguration_RadarCfg_StoreInNVM Value Table for Signal RadarCfg_StoreInNVM + * in Message RadarConfiguration (0x200) * * Enum values defined for \ref SIG_RadarConfiguration_RadarCfg_StoreInNVM. * @@ -15735,17 +15748,18 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_StoreInNVM */ -#define RadarConfiguration_RadarCfg_StoreInNVM_Active 1 +#define RadarConfiguration_RadarCfg_StoreInNVM_Active 1 /** * Value table RadarConfiguration_RadarCfg_StoreInNVM entry Inactive. * * @ingroup ENUM_RadarConfiguration_RadarCfg_StoreInNVM */ -#define RadarConfiguration_RadarCfg_StoreInNVM_Inactive 0 +#define RadarConfiguration_RadarCfg_StoreInNVM_Inactive 0 /** - * @defgroup SIG_RadarConfiguration_RadarCfg_SendExtInfo_valid Signal RadarCfg_SendExtInfo_valid of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_SendExtInfo_valid Signal RadarCfg_SendExtInfo_valid of + * Message RadarConfiguration (0x200) * * Allows changing the SendExtInfo parameter * @@ -15762,17 +15776,19 @@ * Signal RadarCfg_SendExtInfo_valid configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_SendExtInfo_valid and \ref GET_RadarConfiguration_RadarCfg_SendExtInfo_valid instead. + * Use \ref SET_RadarConfiguration_RadarCfg_SendExtInfo_valid and \ref + *GET_RadarConfiguration_RadarCfg_SendExtInfo_valid instead. */ -#define SIG_RadarConfiguration_RadarCfg_SendExtInfo_valid 1, 0, 5, 1 +#define SIG_RadarConfiguration_RadarCfg_SendExtInfo_valid 1, 0, 5, 1 /** * Signal RadarCfg_SendExtInfo_valid setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_SendExtInfo_valid or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_SendExtInfo_valid or \ref + *INIT_RadarConfiguration instead. */ -#define SETUP_RadarConfiguration_RadarCfg_SendExtInfo_valid 1, 0, 5, 1, 0 +#define SETUP_RadarConfiguration_RadarCfg_SendExtInfo_valid 1, 0, 5, 1, 0 /** * Get signal RadarCfg_SendExtInfo_valid from buffer. @@ -15782,9 +15798,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_SendExtInfo_valid(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 5) & 0x01) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_SendExtInfo_valid(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 5) & 0x01) << 0)) /** * Set signal RadarCfg_SendExtInfo_valid in buffer. @@ -15794,10 +15809,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_SendExtInfo_valid(buf, val) { \ - buf[0] &= ~(0x01 << 5); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 5; \ -} +#define SET_RadarConfiguration_RadarCfg_SendExtInfo_valid(buf, val) \ + { \ + buf[0] &= ~(0x01 << 5); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 5; \ + } /** * Set signal RadarCfg_SendExtInfo_valid in buffer to its initial value. @@ -15806,7 +15822,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_SendExtInfo_valid(buf) \ - SET_RadarConfiguration_RadarCfg_SendExtInfo_valid(buf, 0) + SET_RadarConfiguration_RadarCfg_SendExtInfo_valid(buf, 0) /** * Signal RadarCfg_SendExtInfo_valid value conversion with 16 bit factor and offset. @@ -15819,35 +15835,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_SendExtInfo_valid(x, fmt) \ - ((x) * fmt) +#define CALC_RadarConfiguration_RadarCfg_SendExtInfo_valid(x, fmt) ((x) * fmt) /** * Signal RadarCfg_SendExtInfo_valid raw initial value. */ -#define START_RadarConfiguration_RadarCfg_SendExtInfo_valid 0 +#define START_RadarConfiguration_RadarCfg_SendExtInfo_valid 0 /** * Signal RadarCfg_SendExtInfo_valid raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_SendExtInfo_valid 0 +#define MIN_RadarConfiguration_RadarCfg_SendExtInfo_valid 0 /** * Signal RadarCfg_SendExtInfo_valid raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_SendExtInfo_valid 1 +#define MAX_RadarConfiguration_RadarCfg_SendExtInfo_valid 1 /** * Signal RadarCfg_SendExtInfo_valid raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_SendExtInfo_valid 0 +#define OFF_RadarConfiguration_RadarCfg_SendExtInfo_valid 0 /** * @} */ /** - * @defgroup ENUM_RadarConfiguration_RadarCfg_SendExtInfo_valid Value Table for Signal RadarCfg_SendExtInfo_valid in Message RadarConfiguration (0x200) + * @defgroup ENUM_RadarConfiguration_RadarCfg_SendExtInfo_valid Value Table for Signal + * RadarCfg_SendExtInfo_valid in Message RadarConfiguration (0x200) * * Enum values defined for \ref SIG_RadarConfiguration_RadarCfg_SendExtInfo_valid. * @@ -15859,17 +15875,18 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_SendExtInfo_valid */ -#define RadarConfiguration_RadarCfg_SendExtInfo_valid_Valid 1 +#define RadarConfiguration_RadarCfg_SendExtInfo_valid_Valid 1 /** * Value table RadarConfiguration_RadarCfg_SendExtInfo_valid entry Invalid. * * @ingroup ENUM_RadarConfiguration_RadarCfg_SendExtInfo_valid */ -#define RadarConfiguration_RadarCfg_SendExtInfo_valid_Invalid 0 +#define RadarConfiguration_RadarCfg_SendExtInfo_valid_Invalid 0 /** - * @defgroup SIG_RadarConfiguration_RadarCfg_SendExtInfo Signal RadarCfg_SendExtInfo of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_SendExtInfo Signal RadarCfg_SendExtInfo of Message + * RadarConfiguration (0x200) * * Enables output of extended message * @@ -15886,17 +15903,19 @@ * Signal RadarCfg_SendExtInfo configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_SendExtInfo and \ref GET_RadarConfiguration_RadarCfg_SendExtInfo instead. + * Use \ref SET_RadarConfiguration_RadarCfg_SendExtInfo and \ref + *GET_RadarConfiguration_RadarCfg_SendExtInfo instead. */ -#define SIG_RadarConfiguration_RadarCfg_SendExtInfo 1, 0, 43, 1 +#define SIG_RadarConfiguration_RadarCfg_SendExtInfo 1, 0, 43, 1 /** * Signal RadarCfg_SendExtInfo setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_SendExtInfo or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_SendExtInfo or \ref INIT_RadarConfiguration + *instead. */ -#define SETUP_RadarConfiguration_RadarCfg_SendExtInfo 1, 0, 43, 1, 0 +#define SETUP_RadarConfiguration_RadarCfg_SendExtInfo 1, 0, 43, 1, 0 /** * Get signal RadarCfg_SendExtInfo from buffer. @@ -15906,9 +15925,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_SendExtInfo(buf) (0 \ - | (ubyte)(+(ubyte)((buf[5] >> 3) & 0x01) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_SendExtInfo(buf) \ + (0 | (ubyte)(+(ubyte)((buf[5] >> 3) & 0x01) << 0)) /** * Set signal RadarCfg_SendExtInfo in buffer. @@ -15918,10 +15936,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_SendExtInfo(buf, val) { \ - buf[5] &= ~(0x01 << 3); \ - buf[5] |= (((ubyte)(val) >> 0) & 0x01) << 3; \ -} +#define SET_RadarConfiguration_RadarCfg_SendExtInfo(buf, val) \ + { \ + buf[5] &= ~(0x01 << 3); \ + buf[5] |= (((ubyte)(val) >> 0) & 0x01) << 3; \ + } /** * Set signal RadarCfg_SendExtInfo in buffer to its initial value. @@ -15930,7 +15949,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_SendExtInfo(buf) \ - SET_RadarConfiguration_RadarCfg_SendExtInfo(buf, 0) + SET_RadarConfiguration_RadarCfg_SendExtInfo(buf, 0) /** * Signal RadarCfg_SendExtInfo value conversion with 16 bit factor and offset. @@ -15943,35 +15962,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_SendExtInfo(x, fmt) \ - ((x) * fmt) +#define CALC_RadarConfiguration_RadarCfg_SendExtInfo(x, fmt) ((x) * fmt) /** * Signal RadarCfg_SendExtInfo raw initial value. */ -#define START_RadarConfiguration_RadarCfg_SendExtInfo 0 +#define START_RadarConfiguration_RadarCfg_SendExtInfo 0 /** * Signal RadarCfg_SendExtInfo raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_SendExtInfo 0 +#define MIN_RadarConfiguration_RadarCfg_SendExtInfo 0 /** * Signal RadarCfg_SendExtInfo raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_SendExtInfo 1 +#define MAX_RadarConfiguration_RadarCfg_SendExtInfo 1 /** * Signal RadarCfg_SendExtInfo raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_SendExtInfo 0 +#define OFF_RadarConfiguration_RadarCfg_SendExtInfo 0 /** * @} */ /** - * @defgroup ENUM_RadarConfiguration_RadarCfg_SendExtInfo Value Table for Signal RadarCfg_SendExtInfo in Message RadarConfiguration (0x200) + * @defgroup ENUM_RadarConfiguration_RadarCfg_SendExtInfo Value Table for Signal + * RadarCfg_SendExtInfo in Message RadarConfiguration (0x200) * * Enum values defined for \ref SIG_RadarConfiguration_RadarCfg_SendExtInfo. * @@ -15983,17 +16002,18 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_SendExtInfo */ -#define RadarConfiguration_RadarCfg_SendExtInfo_Active 1 +#define RadarConfiguration_RadarCfg_SendExtInfo_Active 1 /** * Value table RadarConfiguration_RadarCfg_SendExtInfo entry Inactive. * * @ingroup ENUM_RadarConfiguration_RadarCfg_SendExtInfo */ -#define RadarConfiguration_RadarCfg_SendExtInfo_Inactive 0 +#define RadarConfiguration_RadarCfg_SendExtInfo_Inactive 0 /** - * @defgroup SIG_RadarConfiguration_RadarCfg_CtrlRelay_valid Signal RadarCfg_CtrlRelay_valid of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_CtrlRelay_valid Signal RadarCfg_CtrlRelay_valid of + * Message RadarConfiguration (0x200) * * Allows changing the CtrlRelay parameter * @@ -16010,17 +16030,19 @@ * Signal RadarCfg_CtrlRelay_valid configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_CtrlRelay_valid and \ref GET_RadarConfiguration_RadarCfg_CtrlRelay_valid instead. + * Use \ref SET_RadarConfiguration_RadarCfg_CtrlRelay_valid and \ref + *GET_RadarConfiguration_RadarCfg_CtrlRelay_valid instead. */ -#define SIG_RadarConfiguration_RadarCfg_CtrlRelay_valid 1, 0, 40, 1 +#define SIG_RadarConfiguration_RadarCfg_CtrlRelay_valid 1, 0, 40, 1 /** * Signal RadarCfg_CtrlRelay_valid setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_CtrlRelay_valid or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_CtrlRelay_valid or \ref INIT_RadarConfiguration + *instead. */ -#define SETUP_RadarConfiguration_RadarCfg_CtrlRelay_valid 1, 0, 40, 1, 0 +#define SETUP_RadarConfiguration_RadarCfg_CtrlRelay_valid 1, 0, 40, 1, 0 /** * Get signal RadarCfg_CtrlRelay_valid from buffer. @@ -16030,9 +16052,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_CtrlRelay_valid(buf) (0 \ - | (ubyte)(+(ubyte)((buf[5] >> 0) & 0x01) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_CtrlRelay_valid(buf) \ + (0 | (ubyte)(+(ubyte)((buf[5] >> 0) & 0x01) << 0)) /** * Set signal RadarCfg_CtrlRelay_valid in buffer. @@ -16042,10 +16063,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_CtrlRelay_valid(buf, val) { \ - buf[5] &= ~(0x01 << 0); \ - buf[5] |= (((ubyte)(val) >> 0) & 0x01) << 0; \ -} +#define SET_RadarConfiguration_RadarCfg_CtrlRelay_valid(buf, val) \ + { \ + buf[5] &= ~(0x01 << 0); \ + buf[5] |= (((ubyte)(val) >> 0) & 0x01) << 0; \ + } /** * Set signal RadarCfg_CtrlRelay_valid in buffer to its initial value. @@ -16054,7 +16076,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_CtrlRelay_valid(buf) \ - SET_RadarConfiguration_RadarCfg_CtrlRelay_valid(buf, 0) + SET_RadarConfiguration_RadarCfg_CtrlRelay_valid(buf, 0) /** * Signal RadarCfg_CtrlRelay_valid value conversion with 16 bit factor and offset. @@ -16067,35 +16089,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_CtrlRelay_valid(x, fmt) \ - ((x) * fmt) +#define CALC_RadarConfiguration_RadarCfg_CtrlRelay_valid(x, fmt) ((x) * fmt) /** * Signal RadarCfg_CtrlRelay_valid raw initial value. */ -#define START_RadarConfiguration_RadarCfg_CtrlRelay_valid 0 +#define START_RadarConfiguration_RadarCfg_CtrlRelay_valid 0 /** * Signal RadarCfg_CtrlRelay_valid raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_CtrlRelay_valid 0 +#define MIN_RadarConfiguration_RadarCfg_CtrlRelay_valid 0 /** * Signal RadarCfg_CtrlRelay_valid raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_CtrlRelay_valid 1 +#define MAX_RadarConfiguration_RadarCfg_CtrlRelay_valid 1 /** * Signal RadarCfg_CtrlRelay_valid raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_CtrlRelay_valid 0 +#define OFF_RadarConfiguration_RadarCfg_CtrlRelay_valid 0 /** * @} */ /** - * @defgroup ENUM_RadarConfiguration_RadarCfg_CtrlRelay_valid Value Table for Signal RadarCfg_CtrlRelay_valid in Message RadarConfiguration (0x200) + * @defgroup ENUM_RadarConfiguration_RadarCfg_CtrlRelay_valid Value Table for Signal + * RadarCfg_CtrlRelay_valid in Message RadarConfiguration (0x200) * * Enum values defined for \ref SIG_RadarConfiguration_RadarCfg_CtrlRelay_valid. * @@ -16107,17 +16129,18 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_CtrlRelay_valid */ -#define RadarConfiguration_RadarCfg_CtrlRelay_valid_Valid 1 +#define RadarConfiguration_RadarCfg_CtrlRelay_valid_Valid 1 /** * Value table RadarConfiguration_RadarCfg_CtrlRelay_valid entry Invalid. * * @ingroup ENUM_RadarConfiguration_RadarCfg_CtrlRelay_valid */ -#define RadarConfiguration_RadarCfg_CtrlRelay_valid_Invalid 0 +#define RadarConfiguration_RadarCfg_CtrlRelay_valid_Invalid 0 /** - * @defgroup SIG_RadarConfiguration_RadarCfg_CtrlRelay Signal RadarCfg_CtrlRelay of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_CtrlRelay Signal RadarCfg_CtrlRelay of Message + * RadarConfiguration (0x200) * * Enables output of CtrlRelay message if CollDet is active * @@ -16134,17 +16157,19 @@ * Signal RadarCfg_CtrlRelay configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_CtrlRelay and \ref GET_RadarConfiguration_RadarCfg_CtrlRelay instead. + * Use \ref SET_RadarConfiguration_RadarCfg_CtrlRelay and \ref + *GET_RadarConfiguration_RadarCfg_CtrlRelay instead. */ -#define SIG_RadarConfiguration_RadarCfg_CtrlRelay 1, 0, 41, 1 +#define SIG_RadarConfiguration_RadarCfg_CtrlRelay 1, 0, 41, 1 /** * Signal RadarCfg_CtrlRelay setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_CtrlRelay or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_CtrlRelay or \ref INIT_RadarConfiguration + *instead. */ -#define SETUP_RadarConfiguration_RadarCfg_CtrlRelay 1, 0, 41, 1, 0 +#define SETUP_RadarConfiguration_RadarCfg_CtrlRelay 1, 0, 41, 1, 0 /** * Get signal RadarCfg_CtrlRelay from buffer. @@ -16154,9 +16179,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_CtrlRelay(buf) (0 \ - | (ubyte)(+(ubyte)((buf[5] >> 1) & 0x01) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_CtrlRelay(buf) \ + (0 | (ubyte)(+(ubyte)((buf[5] >> 1) & 0x01) << 0)) /** * Set signal RadarCfg_CtrlRelay in buffer. @@ -16166,10 +16190,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_CtrlRelay(buf, val) { \ - buf[5] &= ~(0x01 << 1); \ - buf[5] |= (((ubyte)(val) >> 0) & 0x01) << 1; \ -} +#define SET_RadarConfiguration_RadarCfg_CtrlRelay(buf, val) \ + { \ + buf[5] &= ~(0x01 << 1); \ + buf[5] |= (((ubyte)(val) >> 0) & 0x01) << 1; \ + } /** * Set signal RadarCfg_CtrlRelay in buffer to its initial value. @@ -16178,7 +16203,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_CtrlRelay(buf) \ - SET_RadarConfiguration_RadarCfg_CtrlRelay(buf, 0) + SET_RadarConfiguration_RadarCfg_CtrlRelay(buf, 0) /** * Signal RadarCfg_CtrlRelay value conversion with 16 bit factor and offset. @@ -16191,35 +16216,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_CtrlRelay(x, fmt) \ - ((x) * fmt) +#define CALC_RadarConfiguration_RadarCfg_CtrlRelay(x, fmt) ((x) * fmt) /** * Signal RadarCfg_CtrlRelay raw initial value. */ -#define START_RadarConfiguration_RadarCfg_CtrlRelay 0 +#define START_RadarConfiguration_RadarCfg_CtrlRelay 0 /** * Signal RadarCfg_CtrlRelay raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_CtrlRelay 0 +#define MIN_RadarConfiguration_RadarCfg_CtrlRelay 0 /** * Signal RadarCfg_CtrlRelay raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_CtrlRelay 1 +#define MAX_RadarConfiguration_RadarCfg_CtrlRelay 1 /** * Signal RadarCfg_CtrlRelay raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_CtrlRelay 0 +#define OFF_RadarConfiguration_RadarCfg_CtrlRelay 0 /** * @} */ /** - * @defgroup ENUM_RadarConfiguration_RadarCfg_CtrlRelay Value Table for Signal RadarCfg_CtrlRelay in Message RadarConfiguration (0x200) + * @defgroup ENUM_RadarConfiguration_RadarCfg_CtrlRelay Value Table for Signal RadarCfg_CtrlRelay in + * Message RadarConfiguration (0x200) * * Enum values defined for \ref SIG_RadarConfiguration_RadarCfg_CtrlRelay. * @@ -16231,17 +16256,18 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_CtrlRelay */ -#define RadarConfiguration_RadarCfg_CtrlRelay_Active 1 +#define RadarConfiguration_RadarCfg_CtrlRelay_Active 1 /** * Value table RadarConfiguration_RadarCfg_CtrlRelay entry Inactive. * * @ingroup ENUM_RadarConfiguration_RadarCfg_CtrlRelay */ -#define RadarConfiguration_RadarCfg_CtrlRelay_Inactive 0 +#define RadarConfiguration_RadarCfg_CtrlRelay_Inactive 0 /** - * @defgroup SIG_RadarConfiguration_RadarCfg_SendQuality_valid Signal RadarCfg_SendQuality_valid of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_SendQuality_valid Signal RadarCfg_SendQuality_valid of + * Message RadarConfiguration (0x200) * * Allows changing the SendQuality parameter * @@ -16258,17 +16284,19 @@ * Signal RadarCfg_SendQuality_valid configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_SendQuality_valid and \ref GET_RadarConfiguration_RadarCfg_SendQuality_valid instead. + * Use \ref SET_RadarConfiguration_RadarCfg_SendQuality_valid and \ref + *GET_RadarConfiguration_RadarCfg_SendQuality_valid instead. */ -#define SIG_RadarConfiguration_RadarCfg_SendQuality_valid 1, 0, 4, 1 +#define SIG_RadarConfiguration_RadarCfg_SendQuality_valid 1, 0, 4, 1 /** * Signal RadarCfg_SendQuality_valid setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_SendQuality_valid or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_SendQuality_valid or \ref + *INIT_RadarConfiguration instead. */ -#define SETUP_RadarConfiguration_RadarCfg_SendQuality_valid 1, 0, 4, 1, 0 +#define SETUP_RadarConfiguration_RadarCfg_SendQuality_valid 1, 0, 4, 1, 0 /** * Get signal RadarCfg_SendQuality_valid from buffer. @@ -16278,9 +16306,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_SendQuality_valid(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 4) & 0x01) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_SendQuality_valid(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 4) & 0x01) << 0)) /** * Set signal RadarCfg_SendQuality_valid in buffer. @@ -16290,10 +16317,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_SendQuality_valid(buf, val) { \ - buf[0] &= ~(0x01 << 4); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 4; \ -} +#define SET_RadarConfiguration_RadarCfg_SendQuality_valid(buf, val) \ + { \ + buf[0] &= ~(0x01 << 4); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 4; \ + } /** * Set signal RadarCfg_SendQuality_valid in buffer to its initial value. @@ -16302,7 +16330,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_SendQuality_valid(buf) \ - SET_RadarConfiguration_RadarCfg_SendQuality_valid(buf, 0) + SET_RadarConfiguration_RadarCfg_SendQuality_valid(buf, 0) /** * Signal RadarCfg_SendQuality_valid value conversion with 16 bit factor and offset. @@ -16315,35 +16343,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_SendQuality_valid(x, fmt) \ - ((x) * fmt) +#define CALC_RadarConfiguration_RadarCfg_SendQuality_valid(x, fmt) ((x) * fmt) /** * Signal RadarCfg_SendQuality_valid raw initial value. */ -#define START_RadarConfiguration_RadarCfg_SendQuality_valid 0 +#define START_RadarConfiguration_RadarCfg_SendQuality_valid 0 /** * Signal RadarCfg_SendQuality_valid raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_SendQuality_valid 0 +#define MIN_RadarConfiguration_RadarCfg_SendQuality_valid 0 /** * Signal RadarCfg_SendQuality_valid raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_SendQuality_valid 1 +#define MAX_RadarConfiguration_RadarCfg_SendQuality_valid 1 /** * Signal RadarCfg_SendQuality_valid raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_SendQuality_valid 0 +#define OFF_RadarConfiguration_RadarCfg_SendQuality_valid 0 /** * @} */ /** - * @defgroup ENUM_RadarConfiguration_RadarCfg_SendQuality_valid Value Table for Signal RadarCfg_SendQuality_valid in Message RadarConfiguration (0x200) + * @defgroup ENUM_RadarConfiguration_RadarCfg_SendQuality_valid Value Table for Signal + * RadarCfg_SendQuality_valid in Message RadarConfiguration (0x200) * * Enum values defined for \ref SIG_RadarConfiguration_RadarCfg_SendQuality_valid. * @@ -16355,17 +16383,18 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_SendQuality_valid */ -#define RadarConfiguration_RadarCfg_SendQuality_valid_Valid 1 +#define RadarConfiguration_RadarCfg_SendQuality_valid_Valid 1 /** * Value table RadarConfiguration_RadarCfg_SendQuality_valid entry Invalid. * * @ingroup ENUM_RadarConfiguration_RadarCfg_SendQuality_valid */ -#define RadarConfiguration_RadarCfg_SendQuality_valid_Invalid 0 +#define RadarConfiguration_RadarCfg_SendQuality_valid_Invalid 0 /** - * @defgroup SIG_RadarConfiguration_RadarCfg_SendQuality Signal RadarCfg_SendQuality of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_SendQuality Signal RadarCfg_SendQuality of Message + * RadarConfiguration (0x200) * * Enables output of quality message * @@ -16382,17 +16411,19 @@ * Signal RadarCfg_SendQuality configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_SendQuality and \ref GET_RadarConfiguration_RadarCfg_SendQuality instead. + * Use \ref SET_RadarConfiguration_RadarCfg_SendQuality and \ref + *GET_RadarConfiguration_RadarCfg_SendQuality instead. */ -#define SIG_RadarConfiguration_RadarCfg_SendQuality 1, 0, 42, 1 +#define SIG_RadarConfiguration_RadarCfg_SendQuality 1, 0, 42, 1 /** * Signal RadarCfg_SendQuality setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_SendQuality or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_SendQuality or \ref INIT_RadarConfiguration + *instead. */ -#define SETUP_RadarConfiguration_RadarCfg_SendQuality 1, 0, 42, 1, 0 +#define SETUP_RadarConfiguration_RadarCfg_SendQuality 1, 0, 42, 1, 0 /** * Get signal RadarCfg_SendQuality from buffer. @@ -16402,9 +16433,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_SendQuality(buf) (0 \ - | (ubyte)(+(ubyte)((buf[5] >> 2) & 0x01) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_SendQuality(buf) \ + (0 | (ubyte)(+(ubyte)((buf[5] >> 2) & 0x01) << 0)) /** * Set signal RadarCfg_SendQuality in buffer. @@ -16414,10 +16444,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_SendQuality(buf, val) { \ - buf[5] &= ~(0x01 << 2); \ - buf[5] |= (((ubyte)(val) >> 0) & 0x01) << 2; \ -} +#define SET_RadarConfiguration_RadarCfg_SendQuality(buf, val) \ + { \ + buf[5] &= ~(0x01 << 2); \ + buf[5] |= (((ubyte)(val) >> 0) & 0x01) << 2; \ + } /** * Set signal RadarCfg_SendQuality in buffer to its initial value. @@ -16426,7 +16457,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_SendQuality(buf) \ - SET_RadarConfiguration_RadarCfg_SendQuality(buf, 0) + SET_RadarConfiguration_RadarCfg_SendQuality(buf, 0) /** * Signal RadarCfg_SendQuality value conversion with 16 bit factor and offset. @@ -16439,35 +16470,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_SendQuality(x, fmt) \ - ((x) * fmt) +#define CALC_RadarConfiguration_RadarCfg_SendQuality(x, fmt) ((x) * fmt) /** * Signal RadarCfg_SendQuality raw initial value. */ -#define START_RadarConfiguration_RadarCfg_SendQuality 0 +#define START_RadarConfiguration_RadarCfg_SendQuality 0 /** * Signal RadarCfg_SendQuality raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_SendQuality 0 +#define MIN_RadarConfiguration_RadarCfg_SendQuality 0 /** * Signal RadarCfg_SendQuality raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_SendQuality 1 +#define MAX_RadarConfiguration_RadarCfg_SendQuality 1 /** * Signal RadarCfg_SendQuality raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_SendQuality 0 +#define OFF_RadarConfiguration_RadarCfg_SendQuality 0 /** * @} */ /** - * @defgroup ENUM_RadarConfiguration_RadarCfg_SendQuality Value Table for Signal RadarCfg_SendQuality in Message RadarConfiguration (0x200) + * @defgroup ENUM_RadarConfiguration_RadarCfg_SendQuality Value Table for Signal + * RadarCfg_SendQuality in Message RadarConfiguration (0x200) * * Enum values defined for \ref SIG_RadarConfiguration_RadarCfg_SendQuality. * @@ -16479,17 +16510,18 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_SendQuality */ -#define RadarConfiguration_RadarCfg_SendQuality_Active 1 +#define RadarConfiguration_RadarCfg_SendQuality_Active 1 /** * Value table RadarConfiguration_RadarCfg_SendQuality entry Inactive. * * @ingroup ENUM_RadarConfiguration_RadarCfg_SendQuality */ -#define RadarConfiguration_RadarCfg_SendQuality_Inactive 0 +#define RadarConfiguration_RadarCfg_SendQuality_Inactive 0 /** - * @defgroup SIG_RadarConfiguration_RadarCfg_MaxDistance_valid Signal RadarCfg_MaxDistance_valid of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_MaxDistance_valid Signal RadarCfg_MaxDistance_valid of + * Message RadarConfiguration (0x200) * * Allows changing the MaxDistance parameter * @@ -16506,17 +16538,19 @@ * Signal RadarCfg_MaxDistance_valid configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_MaxDistance_valid and \ref GET_RadarConfiguration_RadarCfg_MaxDistance_valid instead. + * Use \ref SET_RadarConfiguration_RadarCfg_MaxDistance_valid and \ref + *GET_RadarConfiguration_RadarCfg_MaxDistance_valid instead. */ -#define SIG_RadarConfiguration_RadarCfg_MaxDistance_valid 1, 0, 0, 1 +#define SIG_RadarConfiguration_RadarCfg_MaxDistance_valid 1, 0, 0, 1 /** * Signal RadarCfg_MaxDistance_valid setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_MaxDistance_valid or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_MaxDistance_valid or \ref + *INIT_RadarConfiguration instead. */ -#define SETUP_RadarConfiguration_RadarCfg_MaxDistance_valid 1, 0, 0, 1, 0 +#define SETUP_RadarConfiguration_RadarCfg_MaxDistance_valid 1, 0, 0, 1, 0 /** * Get signal RadarCfg_MaxDistance_valid from buffer. @@ -16526,9 +16560,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_MaxDistance_valid(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 0) & 0x01) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_MaxDistance_valid(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 0) & 0x01) << 0)) /** * Set signal RadarCfg_MaxDistance_valid in buffer. @@ -16538,10 +16571,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_MaxDistance_valid(buf, val) { \ - buf[0] &= ~(0x01 << 0); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 0; \ -} +#define SET_RadarConfiguration_RadarCfg_MaxDistance_valid(buf, val) \ + { \ + buf[0] &= ~(0x01 << 0); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 0; \ + } /** * Set signal RadarCfg_MaxDistance_valid in buffer to its initial value. @@ -16550,7 +16584,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_MaxDistance_valid(buf) \ - SET_RadarConfiguration_RadarCfg_MaxDistance_valid(buf, 0) + SET_RadarConfiguration_RadarCfg_MaxDistance_valid(buf, 0) /** * Signal RadarCfg_MaxDistance_valid value conversion with 16 bit factor and offset. @@ -16563,35 +16597,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_MaxDistance_valid(x, fmt) \ - ((x) * fmt) +#define CALC_RadarConfiguration_RadarCfg_MaxDistance_valid(x, fmt) ((x) * fmt) /** * Signal RadarCfg_MaxDistance_valid raw initial value. */ -#define START_RadarConfiguration_RadarCfg_MaxDistance_valid 0 +#define START_RadarConfiguration_RadarCfg_MaxDistance_valid 0 /** * Signal RadarCfg_MaxDistance_valid raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_MaxDistance_valid 0 +#define MIN_RadarConfiguration_RadarCfg_MaxDistance_valid 0 /** * Signal RadarCfg_MaxDistance_valid raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_MaxDistance_valid 1 +#define MAX_RadarConfiguration_RadarCfg_MaxDistance_valid 1 /** * Signal RadarCfg_MaxDistance_valid raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_MaxDistance_valid 0 +#define OFF_RadarConfiguration_RadarCfg_MaxDistance_valid 0 /** * @} */ /** - * @defgroup ENUM_RadarConfiguration_RadarCfg_MaxDistance_valid Value Table for Signal RadarCfg_MaxDistance_valid in Message RadarConfiguration (0x200) + * @defgroup ENUM_RadarConfiguration_RadarCfg_MaxDistance_valid Value Table for Signal + * RadarCfg_MaxDistance_valid in Message RadarConfiguration (0x200) * * Enum values defined for \ref SIG_RadarConfiguration_RadarCfg_MaxDistance_valid. * @@ -16603,17 +16637,18 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_MaxDistance_valid */ -#define RadarConfiguration_RadarCfg_MaxDistance_valid_Valid 1 +#define RadarConfiguration_RadarCfg_MaxDistance_valid_Valid 1 /** * Value table RadarConfiguration_RadarCfg_MaxDistance_valid entry Invalid. * * @ingroup ENUM_RadarConfiguration_RadarCfg_MaxDistance_valid */ -#define RadarConfiguration_RadarCfg_MaxDistance_valid_Invalid 0 +#define RadarConfiguration_RadarCfg_MaxDistance_valid_Invalid 0 /** - * @defgroup SIG_RadarConfiguration_RadarCfg_RadarPower_valid Signal RadarCfg_RadarPower_valid of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_RadarPower_valid Signal RadarCfg_RadarPower_valid of + * Message RadarConfiguration (0x200) * * Allows changing the RadarPower parameter * @@ -16630,17 +16665,19 @@ * Signal RadarCfg_RadarPower_valid configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_RadarPower_valid and \ref GET_RadarConfiguration_RadarCfg_RadarPower_valid instead. + * Use \ref SET_RadarConfiguration_RadarCfg_RadarPower_valid and \ref + *GET_RadarConfiguration_RadarCfg_RadarPower_valid instead. */ -#define SIG_RadarConfiguration_RadarCfg_RadarPower_valid 1, 0, 2, 1 +#define SIG_RadarConfiguration_RadarCfg_RadarPower_valid 1, 0, 2, 1 /** * Signal RadarCfg_RadarPower_valid setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_RadarPower_valid or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_RadarPower_valid or \ref + *INIT_RadarConfiguration instead. */ -#define SETUP_RadarConfiguration_RadarCfg_RadarPower_valid 1, 0, 2, 1, 0 +#define SETUP_RadarConfiguration_RadarCfg_RadarPower_valid 1, 0, 2, 1, 0 /** * Get signal RadarCfg_RadarPower_valid from buffer. @@ -16650,9 +16687,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_RadarPower_valid(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 2) & 0x01) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_RadarPower_valid(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 2) & 0x01) << 0)) /** * Set signal RadarCfg_RadarPower_valid in buffer. @@ -16662,10 +16698,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_RadarPower_valid(buf, val) { \ - buf[0] &= ~(0x01 << 2); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 2; \ -} +#define SET_RadarConfiguration_RadarCfg_RadarPower_valid(buf, val) \ + { \ + buf[0] &= ~(0x01 << 2); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 2; \ + } /** * Set signal RadarCfg_RadarPower_valid in buffer to its initial value. @@ -16674,7 +16711,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_RadarPower_valid(buf) \ - SET_RadarConfiguration_RadarCfg_RadarPower_valid(buf, 0) + SET_RadarConfiguration_RadarCfg_RadarPower_valid(buf, 0) /** * Signal RadarCfg_RadarPower_valid value conversion with 16 bit factor and offset. @@ -16687,35 +16724,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_RadarPower_valid(x, fmt) \ - ((x) * fmt) +#define CALC_RadarConfiguration_RadarCfg_RadarPower_valid(x, fmt) ((x) * fmt) /** * Signal RadarCfg_RadarPower_valid raw initial value. */ -#define START_RadarConfiguration_RadarCfg_RadarPower_valid 0 +#define START_RadarConfiguration_RadarCfg_RadarPower_valid 0 /** * Signal RadarCfg_RadarPower_valid raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_RadarPower_valid 0 +#define MIN_RadarConfiguration_RadarCfg_RadarPower_valid 0 /** * Signal RadarCfg_RadarPower_valid raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_RadarPower_valid 1 +#define MAX_RadarConfiguration_RadarCfg_RadarPower_valid 1 /** * Signal RadarCfg_RadarPower_valid raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_RadarPower_valid 0 +#define OFF_RadarConfiguration_RadarCfg_RadarPower_valid 0 /** * @} */ /** - * @defgroup ENUM_RadarConfiguration_RadarCfg_RadarPower_valid Value Table for Signal RadarCfg_RadarPower_valid in Message RadarConfiguration (0x200) + * @defgroup ENUM_RadarConfiguration_RadarCfg_RadarPower_valid Value Table for Signal + * RadarCfg_RadarPower_valid in Message RadarConfiguration (0x200) * * Enum values defined for \ref SIG_RadarConfiguration_RadarCfg_RadarPower_valid. * @@ -16727,17 +16764,18 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_RadarPower_valid */ -#define RadarConfiguration_RadarCfg_RadarPower_valid_Valid 1 +#define RadarConfiguration_RadarCfg_RadarPower_valid_Valid 1 /** * Value table RadarConfiguration_RadarCfg_RadarPower_valid entry Invalid. * * @ingroup ENUM_RadarConfiguration_RadarCfg_RadarPower_valid */ -#define RadarConfiguration_RadarCfg_RadarPower_valid_Invalid 0 +#define RadarConfiguration_RadarCfg_RadarPower_valid_Invalid 0 /** - * @defgroup SIG_RadarConfiguration_RadarCfg_OutputType_valid Signal RadarCfg_OutputType_valid of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_OutputType_valid Signal RadarCfg_OutputType_valid of + * Message RadarConfiguration (0x200) * * Allows changing the OutputType parameter * @@ -16754,17 +16792,19 @@ * Signal RadarCfg_OutputType_valid configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_OutputType_valid and \ref GET_RadarConfiguration_RadarCfg_OutputType_valid instead. + * Use \ref SET_RadarConfiguration_RadarCfg_OutputType_valid and \ref + *GET_RadarConfiguration_RadarCfg_OutputType_valid instead. */ -#define SIG_RadarConfiguration_RadarCfg_OutputType_valid 1, 0, 3, 1 +#define SIG_RadarConfiguration_RadarCfg_OutputType_valid 1, 0, 3, 1 /** * Signal RadarCfg_OutputType_valid setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_OutputType_valid or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_OutputType_valid or \ref + *INIT_RadarConfiguration instead. */ -#define SETUP_RadarConfiguration_RadarCfg_OutputType_valid 1, 0, 3, 1, 0 +#define SETUP_RadarConfiguration_RadarCfg_OutputType_valid 1, 0, 3, 1, 0 /** * Get signal RadarCfg_OutputType_valid from buffer. @@ -16774,9 +16814,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_OutputType_valid(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 3) & 0x01) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_OutputType_valid(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 3) & 0x01) << 0)) /** * Set signal RadarCfg_OutputType_valid in buffer. @@ -16786,10 +16825,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_OutputType_valid(buf, val) { \ - buf[0] &= ~(0x01 << 3); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 3; \ -} +#define SET_RadarConfiguration_RadarCfg_OutputType_valid(buf, val) \ + { \ + buf[0] &= ~(0x01 << 3); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 3; \ + } /** * Set signal RadarCfg_OutputType_valid in buffer to its initial value. @@ -16798,7 +16838,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_OutputType_valid(buf) \ - SET_RadarConfiguration_RadarCfg_OutputType_valid(buf, 0) + SET_RadarConfiguration_RadarCfg_OutputType_valid(buf, 0) /** * Signal RadarCfg_OutputType_valid value conversion with 16 bit factor and offset. @@ -16811,35 +16851,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_OutputType_valid(x, fmt) \ - ((x) * fmt) +#define CALC_RadarConfiguration_RadarCfg_OutputType_valid(x, fmt) ((x) * fmt) /** * Signal RadarCfg_OutputType_valid raw initial value. */ -#define START_RadarConfiguration_RadarCfg_OutputType_valid 0 +#define START_RadarConfiguration_RadarCfg_OutputType_valid 0 /** * Signal RadarCfg_OutputType_valid raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_OutputType_valid 0 +#define MIN_RadarConfiguration_RadarCfg_OutputType_valid 0 /** * Signal RadarCfg_OutputType_valid raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_OutputType_valid 1 +#define MAX_RadarConfiguration_RadarCfg_OutputType_valid 1 /** * Signal RadarCfg_OutputType_valid raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_OutputType_valid 0 +#define OFF_RadarConfiguration_RadarCfg_OutputType_valid 0 /** * @} */ /** - * @defgroup ENUM_RadarConfiguration_RadarCfg_OutputType_valid Value Table for Signal RadarCfg_OutputType_valid in Message RadarConfiguration (0x200) + * @defgroup ENUM_RadarConfiguration_RadarCfg_OutputType_valid Value Table for Signal + * RadarCfg_OutputType_valid in Message RadarConfiguration (0x200) * * Enum values defined for \ref SIG_RadarConfiguration_RadarCfg_OutputType_valid. * @@ -16851,17 +16891,18 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_OutputType_valid */ -#define RadarConfiguration_RadarCfg_OutputType_valid_Valid 1 +#define RadarConfiguration_RadarCfg_OutputType_valid_Valid 1 /** * Value table RadarConfiguration_RadarCfg_OutputType_valid entry Invalid. * * @ingroup ENUM_RadarConfiguration_RadarCfg_OutputType_valid */ -#define RadarConfiguration_RadarCfg_OutputType_valid_Invalid 0 +#define RadarConfiguration_RadarCfg_OutputType_valid_Invalid 0 /** - * @defgroup SIG_RadarConfiguration_RadarCfg_SensorID_valid Signal RadarCfg_SensorID_valid of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_SensorID_valid Signal RadarCfg_SensorID_valid of + * Message RadarConfiguration (0x200) * * Allows changing the SensorId parameter * @@ -16878,17 +16919,19 @@ * Signal RadarCfg_SensorID_valid configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_SensorID_valid and \ref GET_RadarConfiguration_RadarCfg_SensorID_valid instead. + * Use \ref SET_RadarConfiguration_RadarCfg_SensorID_valid and \ref + *GET_RadarConfiguration_RadarCfg_SensorID_valid instead. */ -#define SIG_RadarConfiguration_RadarCfg_SensorID_valid 1, 0, 1, 1 +#define SIG_RadarConfiguration_RadarCfg_SensorID_valid 1, 0, 1, 1 /** * Signal RadarCfg_SensorID_valid setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_SensorID_valid or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_SensorID_valid or \ref INIT_RadarConfiguration + *instead. */ -#define SETUP_RadarConfiguration_RadarCfg_SensorID_valid 1, 0, 1, 1, 0 +#define SETUP_RadarConfiguration_RadarCfg_SensorID_valid 1, 0, 1, 1, 0 /** * Get signal RadarCfg_SensorID_valid from buffer. @@ -16898,9 +16941,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_SensorID_valid(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 1) & 0x01) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_SensorID_valid(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 1) & 0x01) << 0)) /** * Set signal RadarCfg_SensorID_valid in buffer. @@ -16910,10 +16952,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_SensorID_valid(buf, val) { \ - buf[0] &= ~(0x01 << 1); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 1; \ -} +#define SET_RadarConfiguration_RadarCfg_SensorID_valid(buf, val) \ + { \ + buf[0] &= ~(0x01 << 1); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 1; \ + } /** * Set signal RadarCfg_SensorID_valid in buffer to its initial value. @@ -16922,7 +16965,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_SensorID_valid(buf) \ - SET_RadarConfiguration_RadarCfg_SensorID_valid(buf, 0) + SET_RadarConfiguration_RadarCfg_SensorID_valid(buf, 0) /** * Signal RadarCfg_SensorID_valid value conversion with 16 bit factor and offset. @@ -16935,35 +16978,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_SensorID_valid(x, fmt) \ - ((x) * fmt) +#define CALC_RadarConfiguration_RadarCfg_SensorID_valid(x, fmt) ((x) * fmt) /** * Signal RadarCfg_SensorID_valid raw initial value. */ -#define START_RadarConfiguration_RadarCfg_SensorID_valid 0 +#define START_RadarConfiguration_RadarCfg_SensorID_valid 0 /** * Signal RadarCfg_SensorID_valid raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_SensorID_valid 0 +#define MIN_RadarConfiguration_RadarCfg_SensorID_valid 0 /** * Signal RadarCfg_SensorID_valid raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_SensorID_valid 1 +#define MAX_RadarConfiguration_RadarCfg_SensorID_valid 1 /** * Signal RadarCfg_SensorID_valid raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_SensorID_valid 0 +#define OFF_RadarConfiguration_RadarCfg_SensorID_valid 0 /** * @} */ /** - * @defgroup ENUM_RadarConfiguration_RadarCfg_SensorID_valid Value Table for Signal RadarCfg_SensorID_valid in Message RadarConfiguration (0x200) + * @defgroup ENUM_RadarConfiguration_RadarCfg_SensorID_valid Value Table for Signal + * RadarCfg_SensorID_valid in Message RadarConfiguration (0x200) * * Enum values defined for \ref SIG_RadarConfiguration_RadarCfg_SensorID_valid. * @@ -16975,17 +17018,18 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_SensorID_valid */ -#define RadarConfiguration_RadarCfg_SensorID_valid_Valid 1 +#define RadarConfiguration_RadarCfg_SensorID_valid_Valid 1 /** * Value table RadarConfiguration_RadarCfg_SensorID_valid entry Invalid. * * @ingroup ENUM_RadarConfiguration_RadarCfg_SensorID_valid */ -#define RadarConfiguration_RadarCfg_SensorID_valid_Invalid 0 +#define RadarConfiguration_RadarCfg_SensorID_valid_Invalid 0 /** - * @defgroup SIG_RadarConfiguration_RadarCfg_MaxDistance Signal RadarCfg_MaxDistance of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_MaxDistance Signal RadarCfg_MaxDistance of Message + * RadarConfiguration (0x200) * * Maximum distance of far scan * @@ -17000,17 +17044,19 @@ * Signal RadarCfg_MaxDistance configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_MaxDistance and \ref GET_RadarConfiguration_RadarCfg_MaxDistance instead. + * Use \ref SET_RadarConfiguration_RadarCfg_MaxDistance and \ref + *GET_RadarConfiguration_RadarCfg_MaxDistance instead. */ -#define SIG_RadarConfiguration_RadarCfg_MaxDistance 1, 0, 15, 10 +#define SIG_RadarConfiguration_RadarCfg_MaxDistance 1, 0, 15, 10 /** * Signal RadarCfg_MaxDistance setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_MaxDistance or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_MaxDistance or \ref INIT_RadarConfiguration + *instead. */ -#define SETUP_RadarConfiguration_RadarCfg_MaxDistance 1, 0, 15, 10, 0 +#define SETUP_RadarConfiguration_RadarCfg_MaxDistance 1, 0, 15, 10, 0 /** * Get signal RadarCfg_MaxDistance from buffer. @@ -17020,10 +17066,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_MaxDistance(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0xff) << 2) \ - | (ubyte)(+(ubyte)((buf[2] >> 6) & 0x03) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_MaxDistance(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0xff) << 2) | (ubyte)(+(ubyte)((buf[2] >> 6) & 0x03) << 0)) /** * Set signal RadarCfg_MaxDistance in buffer. @@ -17033,12 +17077,13 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_MaxDistance(buf, val) { \ - buf[1] &= ~(0xff << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 2) & 0xff) << 0; \ - buf[2] &= ~(0x03 << 6); \ - buf[2] |= (((ubyte)(val) >> 0) & 0x03) << 6; \ -} +#define SET_RadarConfiguration_RadarCfg_MaxDistance(buf, val) \ + { \ + buf[1] &= ~(0xff << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 2) & 0xff) << 0; \ + buf[2] &= ~(0x03 << 6); \ + buf[2] |= (((ubyte)(val) >> 0) & 0x03) << 6; \ + } /** * Set signal RadarCfg_MaxDistance in buffer to its initial value. @@ -17047,7 +17092,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_MaxDistance(buf) \ - SET_RadarConfiguration_RadarCfg_MaxDistance(buf, 0) + SET_RadarConfiguration_RadarCfg_MaxDistance(buf, 0) /** * Signal RadarCfg_MaxDistance value conversion with 16 bit factor and offset. @@ -17060,35 +17105,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_MaxDistance(x, fmt) \ - ((x) * fmt * 2) +#define CALC_RadarConfiguration_RadarCfg_MaxDistance(x, fmt) ((x) * fmt * 2) /** * Signal RadarCfg_MaxDistance raw initial value. */ -#define START_RadarConfiguration_RadarCfg_MaxDistance 0 +#define START_RadarConfiguration_RadarCfg_MaxDistance 0 /** * Signal RadarCfg_MaxDistance raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_MaxDistance 0 +#define MIN_RadarConfiguration_RadarCfg_MaxDistance 0 /** * Signal RadarCfg_MaxDistance raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_MaxDistance 1023 +#define MAX_RadarConfiguration_RadarCfg_MaxDistance 1023 /** * Signal RadarCfg_MaxDistance raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_MaxDistance 0 +#define OFF_RadarConfiguration_RadarCfg_MaxDistance 0 /** * @} */ /** - * @defgroup SIG_RadarConfiguration_RadarCfg_RadarPower Signal RadarCfg_RadarPower of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_RadarPower Signal RadarCfg_RadarPower of Message + * RadarConfiguration (0x200) * * Radar Tx output power reduction (Tx attenuation) * @@ -17105,17 +17150,19 @@ * Signal RadarCfg_RadarPower configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_RadarPower and \ref GET_RadarConfiguration_RadarCfg_RadarPower instead. + * Use \ref SET_RadarConfiguration_RadarCfg_RadarPower and \ref + *GET_RadarConfiguration_RadarCfg_RadarPower instead. */ -#define SIG_RadarConfiguration_RadarCfg_RadarPower 1, 0, 39, 3 +#define SIG_RadarConfiguration_RadarCfg_RadarPower 1, 0, 39, 3 /** * Signal RadarCfg_RadarPower setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_RadarPower or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_RadarPower or \ref INIT_RadarConfiguration + *instead. */ -#define SETUP_RadarConfiguration_RadarCfg_RadarPower 1, 0, 39, 3, 0 +#define SETUP_RadarConfiguration_RadarCfg_RadarPower 1, 0, 39, 3, 0 /** * Get signal RadarCfg_RadarPower from buffer. @@ -17125,9 +17172,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_RadarPower(buf) (0 \ - | (ubyte)(+(ubyte)((buf[4] >> 5) & 0x07) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_RadarPower(buf) \ + (0 | (ubyte)(+(ubyte)((buf[4] >> 5) & 0x07) << 0)) /** * Set signal RadarCfg_RadarPower in buffer. @@ -17137,10 +17183,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_RadarPower(buf, val) { \ - buf[4] &= ~(0x07 << 5); \ - buf[4] |= (((ubyte)(val) >> 0) & 0x07) << 5; \ -} +#define SET_RadarConfiguration_RadarCfg_RadarPower(buf, val) \ + { \ + buf[4] &= ~(0x07 << 5); \ + buf[4] |= (((ubyte)(val) >> 0) & 0x07) << 5; \ + } /** * Set signal RadarCfg_RadarPower in buffer to its initial value. @@ -17149,7 +17196,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_RadarPower(buf) \ - SET_RadarConfiguration_RadarCfg_RadarPower(buf, 0) + SET_RadarConfiguration_RadarCfg_RadarPower(buf, 0) /** * Signal RadarCfg_RadarPower value conversion with 16 bit factor and offset. @@ -17162,35 +17209,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_RadarPower(x, fmt) \ - ((x) * fmt) +#define CALC_RadarConfiguration_RadarCfg_RadarPower(x, fmt) ((x) * fmt) /** * Signal RadarCfg_RadarPower raw initial value. */ -#define START_RadarConfiguration_RadarCfg_RadarPower 0 +#define START_RadarConfiguration_RadarCfg_RadarPower 0 /** * Signal RadarCfg_RadarPower raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_RadarPower 0 +#define MIN_RadarConfiguration_RadarCfg_RadarPower 0 /** * Signal RadarCfg_RadarPower raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_RadarPower 7 +#define MAX_RadarConfiguration_RadarCfg_RadarPower 7 /** * Signal RadarCfg_RadarPower raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_RadarPower 0 +#define OFF_RadarConfiguration_RadarCfg_RadarPower 0 /** * @} */ /** - * @defgroup ENUM_RadarConfiguration_RadarCfg_RadarPower Value Table for Signal RadarCfg_RadarPower in Message RadarConfiguration (0x200) + * @defgroup ENUM_RadarConfiguration_RadarCfg_RadarPower Value Table for Signal RadarCfg_RadarPower + * in Message RadarConfiguration (0x200) * * Enum values defined for \ref SIG_RadarConfiguration_RadarCfg_RadarPower. * @@ -17202,28 +17249,28 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_RadarPower */ -#define RadarConfiguration_RadarCfg_RadarPower_Reserved 7 +#define RadarConfiguration_RadarCfg_RadarPower_Reserved 7 /** * Value table RadarConfiguration_RadarCfg_RadarPower entry Reserved_6. * * @ingroup ENUM_RadarConfiguration_RadarCfg_RadarPower */ -#define RadarConfiguration_RadarCfg_RadarPower_Reserved_6 6 +#define RadarConfiguration_RadarCfg_RadarPower_Reserved_6 6 /** * Value table RadarConfiguration_RadarCfg_RadarPower entry Reserved_5. * * @ingroup ENUM_RadarConfiguration_RadarCfg_RadarPower */ -#define RadarConfiguration_RadarCfg_RadarPower_Reserved_5 5 +#define RadarConfiguration_RadarCfg_RadarPower_Reserved_5 5 /** * Value table RadarConfiguration_RadarCfg_RadarPower entry Reserved_4. * * @ingroup ENUM_RadarConfiguration_RadarCfg_RadarPower */ -#define RadarConfiguration_RadarCfg_RadarPower_Reserved_4 4 +#define RadarConfiguration_RadarCfg_RadarPower_Reserved_4 4 /** * Value table RadarConfiguration_RadarCfg_RadarPower entry _9. @@ -17232,7 +17279,7 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_RadarPower */ -#define RadarConfiguration_RadarCfg_RadarPower__9 3 +#define RadarConfiguration_RadarCfg_RadarPower__9 3 /** * Value table RadarConfiguration_RadarCfg_RadarPower entry _6. @@ -17241,7 +17288,7 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_RadarPower */ -#define RadarConfiguration_RadarCfg_RadarPower__6 2 +#define RadarConfiguration_RadarCfg_RadarPower__6 2 /** * Value table RadarConfiguration_RadarCfg_RadarPower entry _3. @@ -17250,17 +17297,18 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_RadarPower */ -#define RadarConfiguration_RadarCfg_RadarPower__3 1 +#define RadarConfiguration_RadarCfg_RadarPower__3 1 /** * Value table RadarConfiguration_RadarCfg_RadarPower entry Standard. * * @ingroup ENUM_RadarConfiguration_RadarCfg_RadarPower */ -#define RadarConfiguration_RadarCfg_RadarPower_Standard 0 +#define RadarConfiguration_RadarCfg_RadarPower_Standard 0 /** - * @defgroup SIG_RadarConfiguration_RadarCfg_OutputType Signal RadarCfg_OutputType of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_OutputType Signal RadarCfg_OutputType of Message + * RadarConfiguration (0x200) * * Data output type * @@ -17277,17 +17325,19 @@ * Signal RadarCfg_OutputType configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_OutputType and \ref GET_RadarConfiguration_RadarCfg_OutputType instead. + * Use \ref SET_RadarConfiguration_RadarCfg_OutputType and \ref + *GET_RadarConfiguration_RadarCfg_OutputType instead. */ -#define SIG_RadarConfiguration_RadarCfg_OutputType 1, 0, 36, 2 +#define SIG_RadarConfiguration_RadarCfg_OutputType 1, 0, 36, 2 /** * Signal RadarCfg_OutputType setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_OutputType or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_OutputType or \ref INIT_RadarConfiguration + *instead. */ -#define SETUP_RadarConfiguration_RadarCfg_OutputType 1, 0, 36, 2, 0 +#define SETUP_RadarConfiguration_RadarCfg_OutputType 1, 0, 36, 2, 0 /** * Get signal RadarCfg_OutputType from buffer. @@ -17297,9 +17347,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_OutputType(buf) (0 \ - | (ubyte)(+(ubyte)((buf[4] >> 3) & 0x03) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_OutputType(buf) \ + (0 | (ubyte)(+(ubyte)((buf[4] >> 3) & 0x03) << 0)) /** * Set signal RadarCfg_OutputType in buffer. @@ -17309,10 +17358,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_OutputType(buf, val) { \ - buf[4] &= ~(0x03 << 3); \ - buf[4] |= (((ubyte)(val) >> 0) & 0x03) << 3; \ -} +#define SET_RadarConfiguration_RadarCfg_OutputType(buf, val) \ + { \ + buf[4] &= ~(0x03 << 3); \ + buf[4] |= (((ubyte)(val) >> 0) & 0x03) << 3; \ + } /** * Set signal RadarCfg_OutputType in buffer to its initial value. @@ -17321,7 +17371,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_OutputType(buf) \ - SET_RadarConfiguration_RadarCfg_OutputType(buf, 0) + SET_RadarConfiguration_RadarCfg_OutputType(buf, 0) /** * Signal RadarCfg_OutputType value conversion with 16 bit factor and offset. @@ -17334,35 +17384,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_OutputType(x, fmt) \ - ((x) * fmt) +#define CALC_RadarConfiguration_RadarCfg_OutputType(x, fmt) ((x) * fmt) /** * Signal RadarCfg_OutputType raw initial value. */ -#define START_RadarConfiguration_RadarCfg_OutputType 0 +#define START_RadarConfiguration_RadarCfg_OutputType 0 /** * Signal RadarCfg_OutputType raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_OutputType 0 +#define MIN_RadarConfiguration_RadarCfg_OutputType 0 /** * Signal RadarCfg_OutputType raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_OutputType 2 +#define MAX_RadarConfiguration_RadarCfg_OutputType 2 /** * Signal RadarCfg_OutputType raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_OutputType 0 +#define OFF_RadarConfiguration_RadarCfg_OutputType 0 /** * @} */ /** - * @defgroup ENUM_RadarConfiguration_RadarCfg_OutputType Value Table for Signal RadarCfg_OutputType in Message RadarConfiguration (0x200) + * @defgroup ENUM_RadarConfiguration_RadarCfg_OutputType Value Table for Signal RadarCfg_OutputType + * in Message RadarConfiguration (0x200) * * Enum values defined for \ref SIG_RadarConfiguration_RadarCfg_OutputType. * @@ -17376,31 +17426,32 @@ * * @ingroup ENUM_RadarConfiguration_RadarCfg_OutputType */ -#define RadarConfiguration_RadarCfg_OutputType_reserved 3 +#define RadarConfiguration_RadarCfg_OutputType_reserved 3 /** * Value table RadarConfiguration_RadarCfg_OutputType entry SendClusters. * * @ingroup ENUM_RadarConfiguration_RadarCfg_OutputType */ -#define RadarConfiguration_RadarCfg_OutputType_SendClusters 2 +#define RadarConfiguration_RadarCfg_OutputType_SendClusters 2 /** * Value table RadarConfiguration_RadarCfg_OutputType entry SendObjects. * * @ingroup ENUM_RadarConfiguration_RadarCfg_OutputType */ -#define RadarConfiguration_RadarCfg_OutputType_SendObjects 1 +#define RadarConfiguration_RadarCfg_OutputType_SendObjects 1 /** * Value table RadarConfiguration_RadarCfg_OutputType entry None. * * @ingroup ENUM_RadarConfiguration_RadarCfg_OutputType */ -#define RadarConfiguration_RadarCfg_OutputType_None 0 +#define RadarConfiguration_RadarCfg_OutputType_None 0 /** - * @defgroup SIG_RadarConfiguration_RadarCfg_SensorID Signal RadarCfg_SensorID of Message RadarConfiguration (0x200) + * @defgroup SIG_RadarConfiguration_RadarCfg_SensorID Signal RadarCfg_SensorID of Message + * RadarConfiguration (0x200) * * Sensor ID (0 to 7) * @@ -17415,17 +17466,19 @@ * Signal RadarCfg_SensorID configuration tuple. * * @deprecated - * Use \ref SET_RadarConfiguration_RadarCfg_SensorID and \ref GET_RadarConfiguration_RadarCfg_SensorID instead. + * Use \ref SET_RadarConfiguration_RadarCfg_SensorID and \ref + *GET_RadarConfiguration_RadarCfg_SensorID instead. */ -#define SIG_RadarConfiguration_RadarCfg_SensorID 1, 0, 34, 3 +#define SIG_RadarConfiguration_RadarCfg_SensorID 1, 0, 34, 3 /** * Signal RadarCfg_SensorID setup tuple. * * @deprecated - * Use \ref INITSIG_RadarConfiguration_RadarCfg_SensorID or \ref INIT_RadarConfiguration instead. + * Use \ref INITSIG_RadarConfiguration_RadarCfg_SensorID or \ref INIT_RadarConfiguration + *instead. */ -#define SETUP_RadarConfiguration_RadarCfg_SensorID 1, 0, 34, 3, 0 +#define SETUP_RadarConfiguration_RadarCfg_SensorID 1, 0, 34, 3, 0 /** * Get signal RadarCfg_SensorID from buffer. @@ -17435,9 +17488,8 @@ * @return * The raw signal */ -#define GET_RadarConfiguration_RadarCfg_SensorID(buf) (0 \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0x07) << 0) \ -) +#define GET_RadarConfiguration_RadarCfg_SensorID(buf) \ + (0 | (ubyte)(+(ubyte)((buf[4] >> 0) & 0x07) << 0)) /** * Set signal RadarCfg_SensorID in buffer. @@ -17447,10 +17499,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarConfiguration_RadarCfg_SensorID(buf, val) { \ - buf[4] &= ~(0x07 << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0x07) << 0; \ -} +#define SET_RadarConfiguration_RadarCfg_SensorID(buf, val) \ + { \ + buf[4] &= ~(0x07 << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0x07) << 0; \ + } /** * Set signal RadarCfg_SensorID in buffer to its initial value. @@ -17459,7 +17512,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarConfiguration_RadarCfg_SensorID(buf) \ - SET_RadarConfiguration_RadarCfg_SensorID(buf, 0) + SET_RadarConfiguration_RadarCfg_SensorID(buf, 0) /** * Signal RadarCfg_SensorID value conversion with 16 bit factor and offset. @@ -17472,35 +17525,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarConfiguration_RadarCfg_SensorID(x, fmt) \ - ((x) * fmt) +#define CALC_RadarConfiguration_RadarCfg_SensorID(x, fmt) ((x) * fmt) /** * Signal RadarCfg_SensorID raw initial value. */ -#define START_RadarConfiguration_RadarCfg_SensorID 0 +#define START_RadarConfiguration_RadarCfg_SensorID 0 /** * Signal RadarCfg_SensorID raw minimum value. */ -#define MIN_RadarConfiguration_RadarCfg_SensorID 0 +#define MIN_RadarConfiguration_RadarCfg_SensorID 0 /** * Signal RadarCfg_SensorID raw maximum value. */ -#define MAX_RadarConfiguration_RadarCfg_SensorID 7 +#define MAX_RadarConfiguration_RadarCfg_SensorID 7 /** * Signal RadarCfg_SensorID raw offset value. */ -#define OFF_RadarConfiguration_RadarCfg_SensorID 0 +#define OFF_RadarConfiguration_RadarCfg_SensorID 0 /** * @} */ /** - * @defgroup SIG_RadarState_RadarState_Voltage_Error Signal RadarState_Voltage_Error of Message RadarState (0x201) + * @defgroup SIG_RadarState_RadarState_Voltage_Error Signal RadarState_Voltage_Error of Message + * RadarState (0x201) * * Contains the value table \ref ENUM_RadarState_RadarState_Voltage_Error. * @@ -17514,9 +17567,10 @@ * Signal RadarState_Voltage_Error configuration tuple. * * @deprecated - * Use \ref SET_RadarState_RadarState_Voltage_Error and \ref GET_RadarState_RadarState_Voltage_Error instead. + * Use \ref SET_RadarState_RadarState_Voltage_Error and \ref + *GET_RadarState_RadarState_Voltage_Error instead. */ -#define SIG_RadarState_RadarState_Voltage_Error 1, 0, 17, 1 +#define SIG_RadarState_RadarState_Voltage_Error 1, 0, 17, 1 /** * Signal RadarState_Voltage_Error setup tuple. @@ -17524,7 +17578,7 @@ * @deprecated * Use \ref INITSIG_RadarState_RadarState_Voltage_Error or \ref INIT_RadarState instead. */ -#define SETUP_RadarState_RadarState_Voltage_Error 1, 0, 17, 1, 0 +#define SETUP_RadarState_RadarState_Voltage_Error 1, 0, 17, 1, 0 /** * Get signal RadarState_Voltage_Error from buffer. @@ -17534,9 +17588,8 @@ * @return * The raw signal */ -#define GET_RadarState_RadarState_Voltage_Error(buf) (0 \ - | (ubyte)(+(ubyte)((buf[2] >> 1) & 0x01) << 0) \ -) +#define GET_RadarState_RadarState_Voltage_Error(buf) \ + (0 | (ubyte)(+(ubyte)((buf[2] >> 1) & 0x01) << 0)) /** * Set signal RadarState_Voltage_Error in buffer. @@ -17546,10 +17599,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarState_RadarState_Voltage_Error(buf, val) { \ - buf[2] &= ~(0x01 << 1); \ - buf[2] |= (((ubyte)(val) >> 0) & 0x01) << 1; \ -} +#define SET_RadarState_RadarState_Voltage_Error(buf, val) \ + { \ + buf[2] &= ~(0x01 << 1); \ + buf[2] |= (((ubyte)(val) >> 0) & 0x01) << 1; \ + } /** * Set signal RadarState_Voltage_Error in buffer to its initial value. @@ -17558,7 +17612,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarState_RadarState_Voltage_Error(buf) \ - SET_RadarState_RadarState_Voltage_Error(buf, 0) + SET_RadarState_RadarState_Voltage_Error(buf, 0) /** * Signal RadarState_Voltage_Error value conversion with 16 bit factor and offset. @@ -17571,35 +17625,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarState_RadarState_Voltage_Error(x, fmt) \ - ((x) * fmt) +#define CALC_RadarState_RadarState_Voltage_Error(x, fmt) ((x) * fmt) /** * Signal RadarState_Voltage_Error raw initial value. */ -#define START_RadarState_RadarState_Voltage_Error 0 +#define START_RadarState_RadarState_Voltage_Error 0 /** * Signal RadarState_Voltage_Error raw minimum value. */ -#define MIN_RadarState_RadarState_Voltage_Error 0 +#define MIN_RadarState_RadarState_Voltage_Error 0 /** * Signal RadarState_Voltage_Error raw maximum value. */ -#define MAX_RadarState_RadarState_Voltage_Error 0 +#define MAX_RadarState_RadarState_Voltage_Error 0 /** * Signal RadarState_Voltage_Error raw offset value. */ -#define OFF_RadarState_RadarState_Voltage_Error 0 +#define OFF_RadarState_RadarState_Voltage_Error 0 /** * @} */ /** - * @defgroup ENUM_RadarState_RadarState_Voltage_Error Value Table for Signal RadarState_Voltage_Error in Message RadarState (0x201) + * @defgroup ENUM_RadarState_RadarState_Voltage_Error Value Table for Signal + * RadarState_Voltage_Error in Message RadarState (0x201) * * Enum values defined for \ref SIG_RadarState_RadarState_Voltage_Error. * @@ -17613,7 +17667,7 @@ * * @ingroup ENUM_RadarState_RadarState_Voltage_Error */ -#define RadarState_RadarState_Voltage_Error_Error 1 +#define RadarState_RadarState_Voltage_Error_Error 1 /** * Value table RadarState_RadarState_Voltage_Error entry No. @@ -17622,10 +17676,11 @@ * * @ingroup ENUM_RadarState_RadarState_Voltage_Error */ -#define RadarState_RadarState_Voltage_Error_No 0 +#define RadarState_RadarState_Voltage_Error_No 0 /** - * @defgroup SIG_RadarState_RadarState_Temporary_Error Signal RadarState_Temporary_Error of Message RadarState (0x201) + * @defgroup SIG_RadarState_RadarState_Temporary_Error Signal RadarState_Temporary_Error of Message + * RadarState (0x201) * * Contains the value table \ref ENUM_RadarState_RadarState_Temporary_Error. * @@ -17639,9 +17694,10 @@ * Signal RadarState_Temporary_Error configuration tuple. * * @deprecated - * Use \ref SET_RadarState_RadarState_Temporary_Error and \ref GET_RadarState_RadarState_Temporary_Error instead. + * Use \ref SET_RadarState_RadarState_Temporary_Error and \ref + *GET_RadarState_RadarState_Temporary_Error instead. */ -#define SIG_RadarState_RadarState_Temporary_Error 1, 0, 18, 1 +#define SIG_RadarState_RadarState_Temporary_Error 1, 0, 18, 1 /** * Signal RadarState_Temporary_Error setup tuple. @@ -17649,7 +17705,7 @@ * @deprecated * Use \ref INITSIG_RadarState_RadarState_Temporary_Error or \ref INIT_RadarState instead. */ -#define SETUP_RadarState_RadarState_Temporary_Error 1, 0, 18, 1, 0 +#define SETUP_RadarState_RadarState_Temporary_Error 1, 0, 18, 1, 0 /** * Get signal RadarState_Temporary_Error from buffer. @@ -17659,9 +17715,8 @@ * @return * The raw signal */ -#define GET_RadarState_RadarState_Temporary_Error(buf) (0 \ - | (ubyte)(+(ubyte)((buf[2] >> 2) & 0x01) << 0) \ -) +#define GET_RadarState_RadarState_Temporary_Error(buf) \ + (0 | (ubyte)(+(ubyte)((buf[2] >> 2) & 0x01) << 0)) /** * Set signal RadarState_Temporary_Error in buffer. @@ -17671,10 +17726,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarState_RadarState_Temporary_Error(buf, val) { \ - buf[2] &= ~(0x01 << 2); \ - buf[2] |= (((ubyte)(val) >> 0) & 0x01) << 2; \ -} +#define SET_RadarState_RadarState_Temporary_Error(buf, val) \ + { \ + buf[2] &= ~(0x01 << 2); \ + buf[2] |= (((ubyte)(val) >> 0) & 0x01) << 2; \ + } /** * Set signal RadarState_Temporary_Error in buffer to its initial value. @@ -17683,7 +17739,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarState_RadarState_Temporary_Error(buf) \ - SET_RadarState_RadarState_Temporary_Error(buf, 0) + SET_RadarState_RadarState_Temporary_Error(buf, 0) /** * Signal RadarState_Temporary_Error value conversion with 16 bit factor and offset. @@ -17696,35 +17752,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarState_RadarState_Temporary_Error(x, fmt) \ - ((x) * fmt) +#define CALC_RadarState_RadarState_Temporary_Error(x, fmt) ((x) * fmt) /** * Signal RadarState_Temporary_Error raw initial value. */ -#define START_RadarState_RadarState_Temporary_Error 0 +#define START_RadarState_RadarState_Temporary_Error 0 /** * Signal RadarState_Temporary_Error raw minimum value. */ -#define MIN_RadarState_RadarState_Temporary_Error 0 +#define MIN_RadarState_RadarState_Temporary_Error 0 /** * Signal RadarState_Temporary_Error raw maximum value. */ -#define MAX_RadarState_RadarState_Temporary_Error 0 +#define MAX_RadarState_RadarState_Temporary_Error 0 /** * Signal RadarState_Temporary_Error raw offset value. */ -#define OFF_RadarState_RadarState_Temporary_Error 0 +#define OFF_RadarState_RadarState_Temporary_Error 0 /** * @} */ /** - * @defgroup ENUM_RadarState_RadarState_Temporary_Error Value Table for Signal RadarState_Temporary_Error in Message RadarState (0x201) + * @defgroup ENUM_RadarState_RadarState_Temporary_Error Value Table for Signal + * RadarState_Temporary_Error in Message RadarState (0x201) * * Enum values defined for \ref SIG_RadarState_RadarState_Temporary_Error. * @@ -17738,7 +17794,7 @@ * * @ingroup ENUM_RadarState_RadarState_Temporary_Error */ -#define RadarState_RadarState_Temporary_Error_Error 1 +#define RadarState_RadarState_Temporary_Error_Error 1 /** * Value table RadarState_RadarState_Temporary_Error entry No. @@ -17747,10 +17803,11 @@ * * @ingroup ENUM_RadarState_RadarState_Temporary_Error */ -#define RadarState_RadarState_Temporary_Error_No 0 +#define RadarState_RadarState_Temporary_Error_No 0 /** - * @defgroup SIG_RadarState_RadarState_Temperature_Error Signal RadarState_Temperature_Error of Message RadarState (0x201) + * @defgroup SIG_RadarState_RadarState_Temperature_Error Signal RadarState_Temperature_Error of + * Message RadarState (0x201) * * Contains the value table \ref ENUM_RadarState_RadarState_Temperature_Error. * @@ -17764,9 +17821,10 @@ * Signal RadarState_Temperature_Error configuration tuple. * * @deprecated - * Use \ref SET_RadarState_RadarState_Temperature_Error and \ref GET_RadarState_RadarState_Temperature_Error instead. + * Use \ref SET_RadarState_RadarState_Temperature_Error and \ref + *GET_RadarState_RadarState_Temperature_Error instead. */ -#define SIG_RadarState_RadarState_Temperature_Error 1, 0, 19, 1 +#define SIG_RadarState_RadarState_Temperature_Error 1, 0, 19, 1 /** * Signal RadarState_Temperature_Error setup tuple. @@ -17774,7 +17832,7 @@ * @deprecated * Use \ref INITSIG_RadarState_RadarState_Temperature_Error or \ref INIT_RadarState instead. */ -#define SETUP_RadarState_RadarState_Temperature_Error 1, 0, 19, 1, 0 +#define SETUP_RadarState_RadarState_Temperature_Error 1, 0, 19, 1, 0 /** * Get signal RadarState_Temperature_Error from buffer. @@ -17784,9 +17842,8 @@ * @return * The raw signal */ -#define GET_RadarState_RadarState_Temperature_Error(buf) (0 \ - | (ubyte)(+(ubyte)((buf[2] >> 3) & 0x01) << 0) \ -) +#define GET_RadarState_RadarState_Temperature_Error(buf) \ + (0 | (ubyte)(+(ubyte)((buf[2] >> 3) & 0x01) << 0)) /** * Set signal RadarState_Temperature_Error in buffer. @@ -17796,10 +17853,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarState_RadarState_Temperature_Error(buf, val) { \ - buf[2] &= ~(0x01 << 3); \ - buf[2] |= (((ubyte)(val) >> 0) & 0x01) << 3; \ -} +#define SET_RadarState_RadarState_Temperature_Error(buf, val) \ + { \ + buf[2] &= ~(0x01 << 3); \ + buf[2] |= (((ubyte)(val) >> 0) & 0x01) << 3; \ + } /** * Set signal RadarState_Temperature_Error in buffer to its initial value. @@ -17808,7 +17866,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarState_RadarState_Temperature_Error(buf) \ - SET_RadarState_RadarState_Temperature_Error(buf, 0) + SET_RadarState_RadarState_Temperature_Error(buf, 0) /** * Signal RadarState_Temperature_Error value conversion with 16 bit factor and offset. @@ -17821,35 +17879,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarState_RadarState_Temperature_Error(x, fmt) \ - ((x) * fmt) +#define CALC_RadarState_RadarState_Temperature_Error(x, fmt) ((x) * fmt) /** * Signal RadarState_Temperature_Error raw initial value. */ -#define START_RadarState_RadarState_Temperature_Error 0 +#define START_RadarState_RadarState_Temperature_Error 0 /** * Signal RadarState_Temperature_Error raw minimum value. */ -#define MIN_RadarState_RadarState_Temperature_Error 0 +#define MIN_RadarState_RadarState_Temperature_Error 0 /** * Signal RadarState_Temperature_Error raw maximum value. */ -#define MAX_RadarState_RadarState_Temperature_Error 0 +#define MAX_RadarState_RadarState_Temperature_Error 0 /** * Signal RadarState_Temperature_Error raw offset value. */ -#define OFF_RadarState_RadarState_Temperature_Error 0 +#define OFF_RadarState_RadarState_Temperature_Error 0 /** * @} */ /** - * @defgroup ENUM_RadarState_RadarState_Temperature_Error Value Table for Signal RadarState_Temperature_Error in Message RadarState (0x201) + * @defgroup ENUM_RadarState_RadarState_Temperature_Error Value Table for Signal + * RadarState_Temperature_Error in Message RadarState (0x201) * * Enum values defined for \ref SIG_RadarState_RadarState_Temperature_Error. * @@ -17863,7 +17921,7 @@ * * @ingroup ENUM_RadarState_RadarState_Temperature_Error */ -#define RadarState_RadarState_Temperature_Error_Error 1 +#define RadarState_RadarState_Temperature_Error_Error 1 /** * Value table RadarState_RadarState_Temperature_Error entry No. @@ -17872,10 +17930,11 @@ * * @ingroup ENUM_RadarState_RadarState_Temperature_Error */ -#define RadarState_RadarState_Temperature_Error_No 0 +#define RadarState_RadarState_Temperature_Error_No 0 /** - * @defgroup SIG_RadarState_RadarState_Interference Signal RadarState_Interference of Message RadarState (0x201) + * @defgroup SIG_RadarState_RadarState_Interference Signal RadarState_Interference of Message + * RadarState (0x201) * * Contains the value table \ref ENUM_RadarState_RadarState_Interference. * @@ -17889,9 +17948,10 @@ * Signal RadarState_Interference configuration tuple. * * @deprecated - * Use \ref SET_RadarState_RadarState_Interference and \ref GET_RadarState_RadarState_Interference instead. + * Use \ref SET_RadarState_RadarState_Interference and \ref + *GET_RadarState_RadarState_Interference instead. */ -#define SIG_RadarState_RadarState_Interference 1, 0, 20, 1 +#define SIG_RadarState_RadarState_Interference 1, 0, 20, 1 /** * Signal RadarState_Interference setup tuple. @@ -17899,7 +17959,7 @@ * @deprecated * Use \ref INITSIG_RadarState_RadarState_Interference or \ref INIT_RadarState instead. */ -#define SETUP_RadarState_RadarState_Interference 1, 0, 20, 1, 0 +#define SETUP_RadarState_RadarState_Interference 1, 0, 20, 1, 0 /** * Get signal RadarState_Interference from buffer. @@ -17909,9 +17969,8 @@ * @return * The raw signal */ -#define GET_RadarState_RadarState_Interference(buf) (0 \ - | (ubyte)(+(ubyte)((buf[2] >> 4) & 0x01) << 0) \ -) +#define GET_RadarState_RadarState_Interference(buf) \ + (0 | (ubyte)(+(ubyte)((buf[2] >> 4) & 0x01) << 0)) /** * Set signal RadarState_Interference in buffer. @@ -17921,10 +17980,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarState_RadarState_Interference(buf, val) { \ - buf[2] &= ~(0x01 << 4); \ - buf[2] |= (((ubyte)(val) >> 0) & 0x01) << 4; \ -} +#define SET_RadarState_RadarState_Interference(buf, val) \ + { \ + buf[2] &= ~(0x01 << 4); \ + buf[2] |= (((ubyte)(val) >> 0) & 0x01) << 4; \ + } /** * Set signal RadarState_Interference in buffer to its initial value. @@ -17933,7 +17993,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarState_RadarState_Interference(buf) \ - SET_RadarState_RadarState_Interference(buf, 0) + SET_RadarState_RadarState_Interference(buf, 0) /** * Signal RadarState_Interference value conversion with 16 bit factor and offset. @@ -17946,35 +18006,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarState_RadarState_Interference(x, fmt) \ - ((x) * fmt) +#define CALC_RadarState_RadarState_Interference(x, fmt) ((x) * fmt) /** * Signal RadarState_Interference raw initial value. */ -#define START_RadarState_RadarState_Interference 0 +#define START_RadarState_RadarState_Interference 0 /** * Signal RadarState_Interference raw minimum value. */ -#define MIN_RadarState_RadarState_Interference 0 +#define MIN_RadarState_RadarState_Interference 0 /** * Signal RadarState_Interference raw maximum value. */ -#define MAX_RadarState_RadarState_Interference 0 +#define MAX_RadarState_RadarState_Interference 0 /** * Signal RadarState_Interference raw offset value. */ -#define OFF_RadarState_RadarState_Interference 0 +#define OFF_RadarState_RadarState_Interference 0 /** * @} */ /** - * @defgroup ENUM_RadarState_RadarState_Interference Value Table for Signal RadarState_Interference in Message RadarState (0x201) + * @defgroup ENUM_RadarState_RadarState_Interference Value Table for Signal RadarState_Interference + * in Message RadarState (0x201) * * Enum values defined for \ref SIG_RadarState_RadarState_Interference. * @@ -17988,7 +18048,7 @@ * * @ingroup ENUM_RadarState_RadarState_Interference */ -#define RadarState_RadarState_Interference_Interference 1 +#define RadarState_RadarState_Interference_Interference 1 /** * Value table RadarState_RadarState_Interference entry No. @@ -17997,10 +18057,11 @@ * * @ingroup ENUM_RadarState_RadarState_Interference */ -#define RadarState_RadarState_Interference_No 0 +#define RadarState_RadarState_Interference_No 0 /** - * @defgroup SIG_RadarState_RadarState_Persistent_Error Signal RadarState_Persistent_Error of Message RadarState (0x201) + * @defgroup SIG_RadarState_RadarState_Persistent_Error Signal RadarState_Persistent_Error of + * Message RadarState (0x201) * * Contains the value table \ref ENUM_RadarState_RadarState_Persistent_Error. * @@ -18014,9 +18075,10 @@ * Signal RadarState_Persistent_Error configuration tuple. * * @deprecated - * Use \ref SET_RadarState_RadarState_Persistent_Error and \ref GET_RadarState_RadarState_Persistent_Error instead. + * Use \ref SET_RadarState_RadarState_Persistent_Error and \ref + *GET_RadarState_RadarState_Persistent_Error instead. */ -#define SIG_RadarState_RadarState_Persistent_Error 1, 0, 21, 1 +#define SIG_RadarState_RadarState_Persistent_Error 1, 0, 21, 1 /** * Signal RadarState_Persistent_Error setup tuple. @@ -18024,7 +18086,7 @@ * @deprecated * Use \ref INITSIG_RadarState_RadarState_Persistent_Error or \ref INIT_RadarState instead. */ -#define SETUP_RadarState_RadarState_Persistent_Error 1, 0, 21, 1, 0 +#define SETUP_RadarState_RadarState_Persistent_Error 1, 0, 21, 1, 0 /** * Get signal RadarState_Persistent_Error from buffer. @@ -18034,9 +18096,8 @@ * @return * The raw signal */ -#define GET_RadarState_RadarState_Persistent_Error(buf) (0 \ - | (ubyte)(+(ubyte)((buf[2] >> 5) & 0x01) << 0) \ -) +#define GET_RadarState_RadarState_Persistent_Error(buf) \ + (0 | (ubyte)(+(ubyte)((buf[2] >> 5) & 0x01) << 0)) /** * Set signal RadarState_Persistent_Error in buffer. @@ -18046,10 +18107,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarState_RadarState_Persistent_Error(buf, val) { \ - buf[2] &= ~(0x01 << 5); \ - buf[2] |= (((ubyte)(val) >> 0) & 0x01) << 5; \ -} +#define SET_RadarState_RadarState_Persistent_Error(buf, val) \ + { \ + buf[2] &= ~(0x01 << 5); \ + buf[2] |= (((ubyte)(val) >> 0) & 0x01) << 5; \ + } /** * Set signal RadarState_Persistent_Error in buffer to its initial value. @@ -18058,7 +18120,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarState_RadarState_Persistent_Error(buf) \ - SET_RadarState_RadarState_Persistent_Error(buf, 0) + SET_RadarState_RadarState_Persistent_Error(buf, 0) /** * Signal RadarState_Persistent_Error value conversion with 16 bit factor and offset. @@ -18071,35 +18133,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarState_RadarState_Persistent_Error(x, fmt) \ - ((x) * fmt) +#define CALC_RadarState_RadarState_Persistent_Error(x, fmt) ((x) * fmt) /** * Signal RadarState_Persistent_Error raw initial value. */ -#define START_RadarState_RadarState_Persistent_Error 0 +#define START_RadarState_RadarState_Persistent_Error 0 /** * Signal RadarState_Persistent_Error raw minimum value. */ -#define MIN_RadarState_RadarState_Persistent_Error 0 +#define MIN_RadarState_RadarState_Persistent_Error 0 /** * Signal RadarState_Persistent_Error raw maximum value. */ -#define MAX_RadarState_RadarState_Persistent_Error 0 +#define MAX_RadarState_RadarState_Persistent_Error 0 /** * Signal RadarState_Persistent_Error raw offset value. */ -#define OFF_RadarState_RadarState_Persistent_Error 0 +#define OFF_RadarState_RadarState_Persistent_Error 0 /** * @} */ /** - * @defgroup ENUM_RadarState_RadarState_Persistent_Error Value Table for Signal RadarState_Persistent_Error in Message RadarState (0x201) + * @defgroup ENUM_RadarState_RadarState_Persistent_Error Value Table for Signal + * RadarState_Persistent_Error in Message RadarState (0x201) * * Enum values defined for \ref SIG_RadarState_RadarState_Persistent_Error. * @@ -18113,7 +18175,7 @@ * * @ingroup ENUM_RadarState_RadarState_Persistent_Error */ -#define RadarState_RadarState_Persistent_Error_Error 1 +#define RadarState_RadarState_Persistent_Error_Error 1 /** * Value table RadarState_RadarState_Persistent_Error entry No. @@ -18122,10 +18184,11 @@ * * @ingroup ENUM_RadarState_RadarState_Persistent_Error */ -#define RadarState_RadarState_Persistent_Error_No 0 +#define RadarState_RadarState_Persistent_Error_No 0 /** - * @defgroup SIG_RadarState_RadarState_SortIndex Signal RadarState_SortIndex of Message RadarState (0x201) + * @defgroup SIG_RadarState_RadarState_SortIndex Signal RadarState_SortIndex of Message RadarState + * (0x201) * * Current sorting of object list * @@ -18139,9 +18202,10 @@ * Signal RadarState_SortIndex configuration tuple. * * @deprecated - * Use \ref SET_RadarState_RadarState_SortIndex and \ref GET_RadarState_RadarState_SortIndex instead. + * Use \ref SET_RadarState_RadarState_SortIndex and \ref GET_RadarState_RadarState_SortIndex + *instead. */ -#define SIG_RadarState_RadarState_SortIndex 1, 0, 38, 3 +#define SIG_RadarState_RadarState_SortIndex 1, 0, 38, 3 /** * Signal RadarState_SortIndex setup tuple. @@ -18149,7 +18213,7 @@ * @deprecated * Use \ref INITSIG_RadarState_RadarState_SortIndex or \ref INIT_RadarState instead. */ -#define SETUP_RadarState_RadarState_SortIndex 1, 0, 38, 3, 0 +#define SETUP_RadarState_RadarState_SortIndex 1, 0, 38, 3, 0 /** * Get signal RadarState_SortIndex from buffer. @@ -18159,9 +18223,7 @@ * @return * The raw signal */ -#define GET_RadarState_RadarState_SortIndex(buf) (0 \ - | (ubyte)(+(ubyte)((buf[4] >> 4) & 0x07) << 0) \ -) +#define GET_RadarState_RadarState_SortIndex(buf) (0 | (ubyte)(+(ubyte)((buf[4] >> 4) & 0x07) << 0)) /** * Set signal RadarState_SortIndex in buffer. @@ -18171,10 +18233,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarState_RadarState_SortIndex(buf, val) { \ - buf[4] &= ~(0x07 << 4); \ - buf[4] |= (((ubyte)(val) >> 0) & 0x07) << 4; \ -} +#define SET_RadarState_RadarState_SortIndex(buf, val) \ + { \ + buf[4] &= ~(0x07 << 4); \ + buf[4] |= (((ubyte)(val) >> 0) & 0x07) << 4; \ + } /** * Set signal RadarState_SortIndex in buffer to its initial value. @@ -18182,8 +18245,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_RadarState_RadarState_SortIndex(buf) \ - SET_RadarState_RadarState_SortIndex(buf, 0) +#define INITSIG_RadarState_RadarState_SortIndex(buf) SET_RadarState_RadarState_SortIndex(buf, 0) /** * Signal RadarState_SortIndex value conversion with 16 bit factor and offset. @@ -18196,35 +18258,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarState_RadarState_SortIndex(x, fmt) \ - ((x) * fmt) +#define CALC_RadarState_RadarState_SortIndex(x, fmt) ((x) * fmt) /** * Signal RadarState_SortIndex raw initial value. */ -#define START_RadarState_RadarState_SortIndex 0 +#define START_RadarState_RadarState_SortIndex 0 /** * Signal RadarState_SortIndex raw minimum value. */ -#define MIN_RadarState_RadarState_SortIndex 0 +#define MIN_RadarState_RadarState_SortIndex 0 /** * Signal RadarState_SortIndex raw maximum value. */ -#define MAX_RadarState_RadarState_SortIndex 0 +#define MAX_RadarState_RadarState_SortIndex 0 /** * Signal RadarState_SortIndex raw offset value. */ -#define OFF_RadarState_RadarState_SortIndex 0 +#define OFF_RadarState_RadarState_SortIndex 0 /** * @} */ /** - * @defgroup SIG_RadarState_RadarState_RCS_Threshold Signal RadarState_RCS_Threshold of Message RadarState (0x201) + * @defgroup SIG_RadarState_RadarState_RCS_Threshold Signal RadarState_RCS_Threshold of Message + * RadarState (0x201) * * Current sensitivity mode * @@ -18240,9 +18302,10 @@ * Signal RadarState_RCS_Threshold configuration tuple. * * @deprecated - * Use \ref SET_RadarState_RadarState_RCS_Threshold and \ref GET_RadarState_RadarState_RCS_Threshold instead. + * Use \ref SET_RadarState_RadarState_RCS_Threshold and \ref + *GET_RadarState_RadarState_RCS_Threshold instead. */ -#define SIG_RadarState_RadarState_RCS_Threshold 1, 0, 60, 3 +#define SIG_RadarState_RadarState_RCS_Threshold 1, 0, 60, 3 /** * Signal RadarState_RCS_Threshold setup tuple. @@ -18250,7 +18313,7 @@ * @deprecated * Use \ref INITSIG_RadarState_RadarState_RCS_Threshold or \ref INIT_RadarState instead. */ -#define SETUP_RadarState_RadarState_RCS_Threshold 1, 0, 60, 3, 0 +#define SETUP_RadarState_RadarState_RCS_Threshold 1, 0, 60, 3, 0 /** * Get signal RadarState_RCS_Threshold from buffer. @@ -18260,9 +18323,8 @@ * @return * The raw signal */ -#define GET_RadarState_RadarState_RCS_Threshold(buf) (0 \ - | (ubyte)(+(ubyte)((buf[7] >> 2) & 0x07) << 0) \ -) +#define GET_RadarState_RadarState_RCS_Threshold(buf) \ + (0 | (ubyte)(+(ubyte)((buf[7] >> 2) & 0x07) << 0)) /** * Set signal RadarState_RCS_Threshold in buffer. @@ -18272,10 +18334,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarState_RadarState_RCS_Threshold(buf, val) { \ - buf[7] &= ~(0x07 << 2); \ - buf[7] |= (((ubyte)(val) >> 0) & 0x07) << 2; \ -} +#define SET_RadarState_RadarState_RCS_Threshold(buf, val) \ + { \ + buf[7] &= ~(0x07 << 2); \ + buf[7] |= (((ubyte)(val) >> 0) & 0x07) << 2; \ + } /** * Set signal RadarState_RCS_Threshold in buffer to its initial value. @@ -18284,7 +18347,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarState_RadarState_RCS_Threshold(buf) \ - SET_RadarState_RadarState_RCS_Threshold(buf, 0) + SET_RadarState_RadarState_RCS_Threshold(buf, 0) /** * Signal RadarState_RCS_Threshold value conversion with 16 bit factor and offset. @@ -18297,35 +18360,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarState_RadarState_RCS_Threshold(x, fmt) \ - ((x) * fmt) +#define CALC_RadarState_RadarState_RCS_Threshold(x, fmt) ((x) * fmt) /** * Signal RadarState_RCS_Threshold raw initial value. */ -#define START_RadarState_RadarState_RCS_Threshold 0 +#define START_RadarState_RadarState_RCS_Threshold 0 /** * Signal RadarState_RCS_Threshold raw minimum value. */ -#define MIN_RadarState_RadarState_RCS_Threshold 0 +#define MIN_RadarState_RadarState_RCS_Threshold 0 /** * Signal RadarState_RCS_Threshold raw maximum value. */ -#define MAX_RadarState_RadarState_RCS_Threshold 7 +#define MAX_RadarState_RadarState_RCS_Threshold 7 /** * Signal RadarState_RCS_Threshold raw offset value. */ -#define OFF_RadarState_RadarState_RCS_Threshold 0 +#define OFF_RadarState_RadarState_RCS_Threshold 0 /** * @} */ /** - * @defgroup ENUM_RadarState_RadarState_RCS_Threshold Value Table for Signal RadarState_RCS_Threshold in Message RadarState (0x201) + * @defgroup ENUM_RadarState_RadarState_RCS_Threshold Value Table for Signal + * RadarState_RCS_Threshold in Message RadarState (0x201) * * Enum values defined for \ref SIG_RadarState_RadarState_RCS_Threshold. * @@ -18337,42 +18400,42 @@ * * @ingroup ENUM_RadarState_RadarState_RCS_Threshold */ -#define RadarState_RadarState_RCS_Threshold_Reserved 7 +#define RadarState_RadarState_RCS_Threshold_Reserved 7 /** * Value table RadarState_RadarState_RCS_Threshold entry Reserved_6. * * @ingroup ENUM_RadarState_RadarState_RCS_Threshold */ -#define RadarState_RadarState_RCS_Threshold_Reserved_6 6 +#define RadarState_RadarState_RCS_Threshold_Reserved_6 6 /** * Value table RadarState_RadarState_RCS_Threshold entry Reserved_5. * * @ingroup ENUM_RadarState_RadarState_RCS_Threshold */ -#define RadarState_RadarState_RCS_Threshold_Reserved_5 5 +#define RadarState_RadarState_RCS_Threshold_Reserved_5 5 /** * Value table RadarState_RadarState_RCS_Threshold entry Reserved_4. * * @ingroup ENUM_RadarState_RadarState_RCS_Threshold */ -#define RadarState_RadarState_RCS_Threshold_Reserved_4 4 +#define RadarState_RadarState_RCS_Threshold_Reserved_4 4 /** * Value table RadarState_RadarState_RCS_Threshold entry Reserved_3. * * @ingroup ENUM_RadarState_RadarState_RCS_Threshold */ -#define RadarState_RadarState_RCS_Threshold_Reserved_3 3 +#define RadarState_RadarState_RCS_Threshold_Reserved_3 3 /** * Value table RadarState_RadarState_RCS_Threshold entry Reserved_2. * * @ingroup ENUM_RadarState_RadarState_RCS_Threshold */ -#define RadarState_RadarState_RCS_Threshold_Reserved_2 2 +#define RadarState_RadarState_RCS_Threshold_Reserved_2 2 /** * Value table RadarState_RadarState_RCS_Threshold entry High. @@ -18381,17 +18444,18 @@ * * @ingroup ENUM_RadarState_RadarState_RCS_Threshold */ -#define RadarState_RadarState_RCS_Threshold_High 1 +#define RadarState_RadarState_RCS_Threshold_High 1 /** * Value table RadarState_RadarState_RCS_Threshold entry Standard. * * @ingroup ENUM_RadarState_RadarState_RCS_Threshold */ -#define RadarState_RadarState_RCS_Threshold_Standard 0 +#define RadarState_RadarState_RCS_Threshold_Standard 0 /** - * @defgroup SIG_RadarState_RadarState_CtrlRelayCfg Signal RadarState_CtrlRelayCfg of Message RadarState (0x201) + * @defgroup SIG_RadarState_RadarState_CtrlRelayCfg Signal RadarState_CtrlRelayCfg of Message + * RadarState (0x201) * * Status of control relay message output * @@ -18408,9 +18472,10 @@ * Signal RadarState_CtrlRelayCfg configuration tuple. * * @deprecated - * Use \ref SET_RadarState_RadarState_CtrlRelayCfg and \ref GET_RadarState_RadarState_CtrlRelayCfg instead. + * Use \ref SET_RadarState_RadarState_CtrlRelayCfg and \ref + *GET_RadarState_RadarState_CtrlRelayCfg instead. */ -#define SIG_RadarState_RadarState_CtrlRelayCfg 1, 0, 41, 1 +#define SIG_RadarState_RadarState_CtrlRelayCfg 1, 0, 41, 1 /** * Signal RadarState_CtrlRelayCfg setup tuple. @@ -18418,7 +18483,7 @@ * @deprecated * Use \ref INITSIG_RadarState_RadarState_CtrlRelayCfg or \ref INIT_RadarState instead. */ -#define SETUP_RadarState_RadarState_CtrlRelayCfg 1, 0, 41, 1, 0 +#define SETUP_RadarState_RadarState_CtrlRelayCfg 1, 0, 41, 1, 0 /** * Get signal RadarState_CtrlRelayCfg from buffer. @@ -18428,9 +18493,8 @@ * @return * The raw signal */ -#define GET_RadarState_RadarState_CtrlRelayCfg(buf) (0 \ - | (ubyte)(+(ubyte)((buf[5] >> 1) & 0x01) << 0) \ -) +#define GET_RadarState_RadarState_CtrlRelayCfg(buf) \ + (0 | (ubyte)(+(ubyte)((buf[5] >> 1) & 0x01) << 0)) /** * Set signal RadarState_CtrlRelayCfg in buffer. @@ -18440,10 +18504,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarState_RadarState_CtrlRelayCfg(buf, val) { \ - buf[5] &= ~(0x01 << 1); \ - buf[5] |= (((ubyte)(val) >> 0) & 0x01) << 1; \ -} +#define SET_RadarState_RadarState_CtrlRelayCfg(buf, val) \ + { \ + buf[5] &= ~(0x01 << 1); \ + buf[5] |= (((ubyte)(val) >> 0) & 0x01) << 1; \ + } /** * Set signal RadarState_CtrlRelayCfg in buffer to its initial value. @@ -18452,7 +18517,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarState_RadarState_CtrlRelayCfg(buf) \ - SET_RadarState_RadarState_CtrlRelayCfg(buf, 0) + SET_RadarState_RadarState_CtrlRelayCfg(buf, 0) /** * Signal RadarState_CtrlRelayCfg value conversion with 16 bit factor and offset. @@ -18465,35 +18530,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarState_RadarState_CtrlRelayCfg(x, fmt) \ - ((x) * fmt) +#define CALC_RadarState_RadarState_CtrlRelayCfg(x, fmt) ((x) * fmt) /** * Signal RadarState_CtrlRelayCfg raw initial value. */ -#define START_RadarState_RadarState_CtrlRelayCfg 0 +#define START_RadarState_RadarState_CtrlRelayCfg 0 /** * Signal RadarState_CtrlRelayCfg raw minimum value. */ -#define MIN_RadarState_RadarState_CtrlRelayCfg 0 +#define MIN_RadarState_RadarState_CtrlRelayCfg 0 /** * Signal RadarState_CtrlRelayCfg raw maximum value. */ -#define MAX_RadarState_RadarState_CtrlRelayCfg 1 +#define MAX_RadarState_RadarState_CtrlRelayCfg 1 /** * Signal RadarState_CtrlRelayCfg raw offset value. */ -#define OFF_RadarState_RadarState_CtrlRelayCfg 0 +#define OFF_RadarState_RadarState_CtrlRelayCfg 0 /** * @} */ /** - * @defgroup ENUM_RadarState_RadarState_CtrlRelayCfg Value Table for Signal RadarState_CtrlRelayCfg in Message RadarState (0x201) + * @defgroup ENUM_RadarState_RadarState_CtrlRelayCfg Value Table for Signal RadarState_CtrlRelayCfg + * in Message RadarState (0x201) * * Enum values defined for \ref SIG_RadarState_RadarState_CtrlRelayCfg. * @@ -18505,17 +18570,18 @@ * * @ingroup ENUM_RadarState_RadarState_CtrlRelayCfg */ -#define RadarState_RadarState_CtrlRelayCfg_Active 1 +#define RadarState_RadarState_CtrlRelayCfg_Active 1 /** * Value table RadarState_RadarState_CtrlRelayCfg entry Inactive. * * @ingroup ENUM_RadarState_RadarState_CtrlRelayCfg */ -#define RadarState_RadarState_CtrlRelayCfg_Inactive 0 +#define RadarState_RadarState_CtrlRelayCfg_Inactive 0 /** - * @defgroup SIG_RadarState_RadarState_SendQualityCfg Signal RadarState_SendQualityCfg of Message RadarState (0x201) + * @defgroup SIG_RadarState_RadarState_SendQualityCfg Signal RadarState_SendQualityCfg of Message + * RadarState (0x201) * * Status of quality information output * @@ -18532,9 +18598,10 @@ * Signal RadarState_SendQualityCfg configuration tuple. * * @deprecated - * Use \ref SET_RadarState_RadarState_SendQualityCfg and \ref GET_RadarState_RadarState_SendQualityCfg instead. + * Use \ref SET_RadarState_RadarState_SendQualityCfg and \ref + *GET_RadarState_RadarState_SendQualityCfg instead. */ -#define SIG_RadarState_RadarState_SendQualityCfg 1, 0, 44, 1 +#define SIG_RadarState_RadarState_SendQualityCfg 1, 0, 44, 1 /** * Signal RadarState_SendQualityCfg setup tuple. @@ -18542,7 +18609,7 @@ * @deprecated * Use \ref INITSIG_RadarState_RadarState_SendQualityCfg or \ref INIT_RadarState instead. */ -#define SETUP_RadarState_RadarState_SendQualityCfg 1, 0, 44, 1, 0 +#define SETUP_RadarState_RadarState_SendQualityCfg 1, 0, 44, 1, 0 /** * Get signal RadarState_SendQualityCfg from buffer. @@ -18552,9 +18619,8 @@ * @return * The raw signal */ -#define GET_RadarState_RadarState_SendQualityCfg(buf) (0 \ - | (ubyte)(+(ubyte)((buf[5] >> 4) & 0x01) << 0) \ -) +#define GET_RadarState_RadarState_SendQualityCfg(buf) \ + (0 | (ubyte)(+(ubyte)((buf[5] >> 4) & 0x01) << 0)) /** * Set signal RadarState_SendQualityCfg in buffer. @@ -18564,10 +18630,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarState_RadarState_SendQualityCfg(buf, val) { \ - buf[5] &= ~(0x01 << 4); \ - buf[5] |= (((ubyte)(val) >> 0) & 0x01) << 4; \ -} +#define SET_RadarState_RadarState_SendQualityCfg(buf, val) \ + { \ + buf[5] &= ~(0x01 << 4); \ + buf[5] |= (((ubyte)(val) >> 0) & 0x01) << 4; \ + } /** * Set signal RadarState_SendQualityCfg in buffer to its initial value. @@ -18576,7 +18643,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarState_RadarState_SendQualityCfg(buf) \ - SET_RadarState_RadarState_SendQualityCfg(buf, 0) + SET_RadarState_RadarState_SendQualityCfg(buf, 0) /** * Signal RadarState_SendQualityCfg value conversion with 16 bit factor and offset. @@ -18589,35 +18656,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarState_RadarState_SendQualityCfg(x, fmt) \ - ((x) * fmt) +#define CALC_RadarState_RadarState_SendQualityCfg(x, fmt) ((x) * fmt) /** * Signal RadarState_SendQualityCfg raw initial value. */ -#define START_RadarState_RadarState_SendQualityCfg 0 +#define START_RadarState_RadarState_SendQualityCfg 0 /** * Signal RadarState_SendQualityCfg raw minimum value. */ -#define MIN_RadarState_RadarState_SendQualityCfg 0 +#define MIN_RadarState_RadarState_SendQualityCfg 0 /** * Signal RadarState_SendQualityCfg raw maximum value. */ -#define MAX_RadarState_RadarState_SendQualityCfg 1 +#define MAX_RadarState_RadarState_SendQualityCfg 1 /** * Signal RadarState_SendQualityCfg raw offset value. */ -#define OFF_RadarState_RadarState_SendQualityCfg 0 +#define OFF_RadarState_RadarState_SendQualityCfg 0 /** * @} */ /** - * @defgroup ENUM_RadarState_RadarState_SendQualityCfg Value Table for Signal RadarState_SendQualityCfg in Message RadarState (0x201) + * @defgroup ENUM_RadarState_RadarState_SendQualityCfg Value Table for Signal + * RadarState_SendQualityCfg in Message RadarState (0x201) * * Enum values defined for \ref SIG_RadarState_RadarState_SendQualityCfg. * @@ -18629,17 +18696,18 @@ * * @ingroup ENUM_RadarState_RadarState_SendQualityCfg */ -#define RadarState_RadarState_SendQualityCfg_Active 1 +#define RadarState_RadarState_SendQualityCfg_Active 1 /** * Value table RadarState_RadarState_SendQualityCfg entry Inactive. * * @ingroup ENUM_RadarState_RadarState_SendQualityCfg */ -#define RadarState_RadarState_SendQualityCfg_Inactive 0 +#define RadarState_RadarState_SendQualityCfg_Inactive 0 /** - * @defgroup SIG_RadarState_RadarState_SendExtInfoCfg Signal RadarState_SendExtInfoCfg of Message RadarState (0x201) + * @defgroup SIG_RadarState_RadarState_SendExtInfoCfg Signal RadarState_SendExtInfoCfg of Message + * RadarState (0x201) * * Status of extended information output * @@ -18656,9 +18724,10 @@ * Signal RadarState_SendExtInfoCfg configuration tuple. * * @deprecated - * Use \ref SET_RadarState_RadarState_SendExtInfoCfg and \ref GET_RadarState_RadarState_SendExtInfoCfg instead. + * Use \ref SET_RadarState_RadarState_SendExtInfoCfg and \ref + *GET_RadarState_RadarState_SendExtInfoCfg instead. */ -#define SIG_RadarState_RadarState_SendExtInfoCfg 1, 0, 45, 1 +#define SIG_RadarState_RadarState_SendExtInfoCfg 1, 0, 45, 1 /** * Signal RadarState_SendExtInfoCfg setup tuple. @@ -18666,7 +18735,7 @@ * @deprecated * Use \ref INITSIG_RadarState_RadarState_SendExtInfoCfg or \ref INIT_RadarState instead. */ -#define SETUP_RadarState_RadarState_SendExtInfoCfg 1, 0, 45, 1, 0 +#define SETUP_RadarState_RadarState_SendExtInfoCfg 1, 0, 45, 1, 0 /** * Get signal RadarState_SendExtInfoCfg from buffer. @@ -18676,9 +18745,8 @@ * @return * The raw signal */ -#define GET_RadarState_RadarState_SendExtInfoCfg(buf) (0 \ - | (ubyte)(+(ubyte)((buf[5] >> 5) & 0x01) << 0) \ -) +#define GET_RadarState_RadarState_SendExtInfoCfg(buf) \ + (0 | (ubyte)(+(ubyte)((buf[5] >> 5) & 0x01) << 0)) /** * Set signal RadarState_SendExtInfoCfg in buffer. @@ -18688,10 +18756,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarState_RadarState_SendExtInfoCfg(buf, val) { \ - buf[5] &= ~(0x01 << 5); \ - buf[5] |= (((ubyte)(val) >> 0) & 0x01) << 5; \ -} +#define SET_RadarState_RadarState_SendExtInfoCfg(buf, val) \ + { \ + buf[5] &= ~(0x01 << 5); \ + buf[5] |= (((ubyte)(val) >> 0) & 0x01) << 5; \ + } /** * Set signal RadarState_SendExtInfoCfg in buffer to its initial value. @@ -18700,7 +18769,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarState_RadarState_SendExtInfoCfg(buf) \ - SET_RadarState_RadarState_SendExtInfoCfg(buf, 0) + SET_RadarState_RadarState_SendExtInfoCfg(buf, 0) /** * Signal RadarState_SendExtInfoCfg value conversion with 16 bit factor and offset. @@ -18713,35 +18782,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarState_RadarState_SendExtInfoCfg(x, fmt) \ - ((x) * fmt) +#define CALC_RadarState_RadarState_SendExtInfoCfg(x, fmt) ((x) * fmt) /** * Signal RadarState_SendExtInfoCfg raw initial value. */ -#define START_RadarState_RadarState_SendExtInfoCfg 0 +#define START_RadarState_RadarState_SendExtInfoCfg 0 /** * Signal RadarState_SendExtInfoCfg raw minimum value. */ -#define MIN_RadarState_RadarState_SendExtInfoCfg 0 +#define MIN_RadarState_RadarState_SendExtInfoCfg 0 /** * Signal RadarState_SendExtInfoCfg raw maximum value. */ -#define MAX_RadarState_RadarState_SendExtInfoCfg 1 +#define MAX_RadarState_RadarState_SendExtInfoCfg 1 /** * Signal RadarState_SendExtInfoCfg raw offset value. */ -#define OFF_RadarState_RadarState_SendExtInfoCfg 0 +#define OFF_RadarState_RadarState_SendExtInfoCfg 0 /** * @} */ /** - * @defgroup ENUM_RadarState_RadarState_SendExtInfoCfg Value Table for Signal RadarState_SendExtInfoCfg in Message RadarState (0x201) + * @defgroup ENUM_RadarState_RadarState_SendExtInfoCfg Value Table for Signal + * RadarState_SendExtInfoCfg in Message RadarState (0x201) * * Enum values defined for \ref SIG_RadarState_RadarState_SendExtInfoCfg. * @@ -18753,17 +18822,18 @@ * * @ingroup ENUM_RadarState_RadarState_SendExtInfoCfg */ -#define RadarState_RadarState_SendExtInfoCfg_Active 1 +#define RadarState_RadarState_SendExtInfoCfg_Active 1 /** * Value table RadarState_RadarState_SendExtInfoCfg entry Inactive. * * @ingroup ENUM_RadarState_RadarState_SendExtInfoCfg */ -#define RadarState_RadarState_SendExtInfoCfg_Inactive 0 +#define RadarState_RadarState_SendExtInfoCfg_Inactive 0 /** - * @defgroup SIG_RadarState_RadarState_MotionRxState Signal RadarState_MotionRxState of Message RadarState (0x201) + * @defgroup SIG_RadarState_RadarState_MotionRxState Signal RadarState_MotionRxState of Message + * RadarState (0x201) * * Status of motion input signals * @@ -18780,9 +18850,10 @@ * Signal RadarState_MotionRxState configuration tuple. * * @deprecated - * Use \ref SET_RadarState_RadarState_MotionRxState and \ref GET_RadarState_RadarState_MotionRxState instead. + * Use \ref SET_RadarState_RadarState_MotionRxState and \ref + *GET_RadarState_RadarState_MotionRxState instead. */ -#define SIG_RadarState_RadarState_MotionRxState 1, 0, 47, 2 +#define SIG_RadarState_RadarState_MotionRxState 1, 0, 47, 2 /** * Signal RadarState_MotionRxState setup tuple. @@ -18790,7 +18861,7 @@ * @deprecated * Use \ref INITSIG_RadarState_RadarState_MotionRxState or \ref INIT_RadarState instead. */ -#define SETUP_RadarState_RadarState_MotionRxState 1, 0, 47, 2, 0 +#define SETUP_RadarState_RadarState_MotionRxState 1, 0, 47, 2, 0 /** * Get signal RadarState_MotionRxState from buffer. @@ -18800,9 +18871,8 @@ * @return * The raw signal */ -#define GET_RadarState_RadarState_MotionRxState(buf) (0 \ - | (ubyte)(+(ubyte)((buf[5] >> 6) & 0x03) << 0) \ -) +#define GET_RadarState_RadarState_MotionRxState(buf) \ + (0 | (ubyte)(+(ubyte)((buf[5] >> 6) & 0x03) << 0)) /** * Set signal RadarState_MotionRxState in buffer. @@ -18812,10 +18882,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarState_RadarState_MotionRxState(buf, val) { \ - buf[5] &= ~(0x03 << 6); \ - buf[5] |= (((ubyte)(val) >> 0) & 0x03) << 6; \ -} +#define SET_RadarState_RadarState_MotionRxState(buf, val) \ + { \ + buf[5] &= ~(0x03 << 6); \ + buf[5] |= (((ubyte)(val) >> 0) & 0x03) << 6; \ + } /** * Set signal RadarState_MotionRxState in buffer to its initial value. @@ -18824,7 +18895,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarState_RadarState_MotionRxState(buf) \ - SET_RadarState_RadarState_MotionRxState(buf, 0) + SET_RadarState_RadarState_MotionRxState(buf, 0) /** * Signal RadarState_MotionRxState value conversion with 16 bit factor and offset. @@ -18837,35 +18908,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarState_RadarState_MotionRxState(x, fmt) \ - ((x) * fmt) +#define CALC_RadarState_RadarState_MotionRxState(x, fmt) ((x) * fmt) /** * Signal RadarState_MotionRxState raw initial value. */ -#define START_RadarState_RadarState_MotionRxState 0 +#define START_RadarState_RadarState_MotionRxState 0 /** * Signal RadarState_MotionRxState raw minimum value. */ -#define MIN_RadarState_RadarState_MotionRxState 0 +#define MIN_RadarState_RadarState_MotionRxState 0 /** * Signal RadarState_MotionRxState raw maximum value. */ -#define MAX_RadarState_RadarState_MotionRxState 3 +#define MAX_RadarState_RadarState_MotionRxState 3 /** * Signal RadarState_MotionRxState raw offset value. */ -#define OFF_RadarState_RadarState_MotionRxState 0 +#define OFF_RadarState_RadarState_MotionRxState 0 /** * @} */ /** - * @defgroup ENUM_RadarState_RadarState_MotionRxState Value Table for Signal RadarState_MotionRxState in Message RadarState (0x201) + * @defgroup ENUM_RadarState_RadarState_MotionRxState Value Table for Signal + * RadarState_MotionRxState in Message RadarState (0x201) * * Enum values defined for \ref SIG_RadarState_RadarState_MotionRxState. * @@ -18879,7 +18950,7 @@ * * @ingroup ENUM_RadarState_RadarState_MotionRxState */ -#define RadarState_RadarState_MotionRxState_Speed 3 +#define RadarState_RadarState_MotionRxState_Speed 3 /** * Value table RadarState_RadarState_MotionRxState entry Yaw. @@ -18888,7 +18959,7 @@ * * @ingroup ENUM_RadarState_RadarState_MotionRxState */ -#define RadarState_RadarState_MotionRxState_Yaw 2 +#define RadarState_RadarState_MotionRxState_Yaw 2 /** * Value table RadarState_RadarState_MotionRxState entry Speed_1. @@ -18897,7 +18968,7 @@ * * @ingroup ENUM_RadarState_RadarState_MotionRxState */ -#define RadarState_RadarState_MotionRxState_Speed_1 1 +#define RadarState_RadarState_MotionRxState_Speed_1 1 /** * Value table RadarState_RadarState_MotionRxState entry Input. @@ -18906,10 +18977,11 @@ * * @ingroup ENUM_RadarState_RadarState_MotionRxState */ -#define RadarState_RadarState_MotionRxState_Input 0 +#define RadarState_RadarState_MotionRxState_Input 0 /** - * @defgroup SIG_RadarState_RadarState_SensorID Signal RadarState_SensorID of Message RadarState (0x201) + * @defgroup SIG_RadarState_RadarState_SensorID Signal RadarState_SensorID of Message RadarState + * (0x201) * * Sensor ID (0 to 7) * @@ -18924,9 +18996,10 @@ * Signal RadarState_SensorID configuration tuple. * * @deprecated - * Use \ref SET_RadarState_RadarState_SensorID and \ref GET_RadarState_RadarState_SensorID instead. + * Use \ref SET_RadarState_RadarState_SensorID and \ref GET_RadarState_RadarState_SensorID + *instead. */ -#define SIG_RadarState_RadarState_SensorID 1, 0, 34, 3 +#define SIG_RadarState_RadarState_SensorID 1, 0, 34, 3 /** * Signal RadarState_SensorID setup tuple. @@ -18934,7 +19007,7 @@ * @deprecated * Use \ref INITSIG_RadarState_RadarState_SensorID or \ref INIT_RadarState instead. */ -#define SETUP_RadarState_RadarState_SensorID 1, 0, 34, 3, 0 +#define SETUP_RadarState_RadarState_SensorID 1, 0, 34, 3, 0 /** * Get signal RadarState_SensorID from buffer. @@ -18944,9 +19017,7 @@ * @return * The raw signal */ -#define GET_RadarState_RadarState_SensorID(buf) (0 \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0x07) << 0) \ -) +#define GET_RadarState_RadarState_SensorID(buf) (0 | (ubyte)(+(ubyte)((buf[4] >> 0) & 0x07) << 0)) /** * Set signal RadarState_SensorID in buffer. @@ -18956,10 +19027,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarState_RadarState_SensorID(buf, val) { \ - buf[4] &= ~(0x07 << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0x07) << 0; \ -} +#define SET_RadarState_RadarState_SensorID(buf, val) \ + { \ + buf[4] &= ~(0x07 << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0x07) << 0; \ + } /** * Set signal RadarState_SensorID in buffer to its initial value. @@ -18967,8 +19039,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_RadarState_RadarState_SensorID(buf) \ - SET_RadarState_RadarState_SensorID(buf, 0) +#define INITSIG_RadarState_RadarState_SensorID(buf) SET_RadarState_RadarState_SensorID(buf, 0) /** * Signal RadarState_SensorID value conversion with 16 bit factor and offset. @@ -18981,35 +19052,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarState_RadarState_SensorID(x, fmt) \ - ((x) * fmt) +#define CALC_RadarState_RadarState_SensorID(x, fmt) ((x) * fmt) /** * Signal RadarState_SensorID raw initial value. */ -#define START_RadarState_RadarState_SensorID 0 +#define START_RadarState_RadarState_SensorID 0 /** * Signal RadarState_SensorID raw minimum value. */ -#define MIN_RadarState_RadarState_SensorID 0 +#define MIN_RadarState_RadarState_SensorID 0 /** * Signal RadarState_SensorID raw maximum value. */ -#define MAX_RadarState_RadarState_SensorID 7 +#define MAX_RadarState_RadarState_SensorID 7 /** * Signal RadarState_SensorID raw offset value. */ -#define OFF_RadarState_RadarState_SensorID 0 +#define OFF_RadarState_RadarState_SensorID 0 /** * @} */ /** - * @defgroup SIG_RadarState_RadarState_OutputTypeCfg Signal RadarState_OutputTypeCfg of Message RadarState (0x201) + * @defgroup SIG_RadarState_RadarState_OutputTypeCfg Signal RadarState_OutputTypeCfg of Message + * RadarState (0x201) * * Current output list type * @@ -19026,9 +19097,10 @@ * Signal RadarState_OutputTypeCfg configuration tuple. * * @deprecated - * Use \ref SET_RadarState_RadarState_OutputTypeCfg and \ref GET_RadarState_RadarState_OutputTypeCfg instead. + * Use \ref SET_RadarState_RadarState_OutputTypeCfg and \ref + *GET_RadarState_RadarState_OutputTypeCfg instead. */ -#define SIG_RadarState_RadarState_OutputTypeCfg 1, 0, 43, 2 +#define SIG_RadarState_RadarState_OutputTypeCfg 1, 0, 43, 2 /** * Signal RadarState_OutputTypeCfg setup tuple. @@ -19036,7 +19108,7 @@ * @deprecated * Use \ref INITSIG_RadarState_RadarState_OutputTypeCfg or \ref INIT_RadarState instead. */ -#define SETUP_RadarState_RadarState_OutputTypeCfg 1, 0, 43, 2, 0 +#define SETUP_RadarState_RadarState_OutputTypeCfg 1, 0, 43, 2, 0 /** * Get signal RadarState_OutputTypeCfg from buffer. @@ -19046,9 +19118,8 @@ * @return * The raw signal */ -#define GET_RadarState_RadarState_OutputTypeCfg(buf) (0 \ - | (ubyte)(+(ubyte)((buf[5] >> 2) & 0x03) << 0) \ -) +#define GET_RadarState_RadarState_OutputTypeCfg(buf) \ + (0 | (ubyte)(+(ubyte)((buf[5] >> 2) & 0x03) << 0)) /** * Set signal RadarState_OutputTypeCfg in buffer. @@ -19058,10 +19129,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarState_RadarState_OutputTypeCfg(buf, val) { \ - buf[5] &= ~(0x03 << 2); \ - buf[5] |= (((ubyte)(val) >> 0) & 0x03) << 2; \ -} +#define SET_RadarState_RadarState_OutputTypeCfg(buf, val) \ + { \ + buf[5] &= ~(0x03 << 2); \ + buf[5] |= (((ubyte)(val) >> 0) & 0x03) << 2; \ + } /** * Set signal RadarState_OutputTypeCfg in buffer to its initial value. @@ -19070,7 +19142,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarState_RadarState_OutputTypeCfg(buf) \ - SET_RadarState_RadarState_OutputTypeCfg(buf, 0) + SET_RadarState_RadarState_OutputTypeCfg(buf, 0) /** * Signal RadarState_OutputTypeCfg value conversion with 16 bit factor and offset. @@ -19083,35 +19155,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarState_RadarState_OutputTypeCfg(x, fmt) \ - ((x) * fmt) +#define CALC_RadarState_RadarState_OutputTypeCfg(x, fmt) ((x) * fmt) /** * Signal RadarState_OutputTypeCfg raw initial value. */ -#define START_RadarState_RadarState_OutputTypeCfg 0 +#define START_RadarState_RadarState_OutputTypeCfg 0 /** * Signal RadarState_OutputTypeCfg raw minimum value. */ -#define MIN_RadarState_RadarState_OutputTypeCfg 0 +#define MIN_RadarState_RadarState_OutputTypeCfg 0 /** * Signal RadarState_OutputTypeCfg raw maximum value. */ -#define MAX_RadarState_RadarState_OutputTypeCfg 3 +#define MAX_RadarState_RadarState_OutputTypeCfg 3 /** * Signal RadarState_OutputTypeCfg raw offset value. */ -#define OFF_RadarState_RadarState_OutputTypeCfg 0 +#define OFF_RadarState_RadarState_OutputTypeCfg 0 /** * @} */ /** - * @defgroup ENUM_RadarState_RadarState_OutputTypeCfg Value Table for Signal RadarState_OutputTypeCfg in Message RadarState (0x201) + * @defgroup ENUM_RadarState_RadarState_OutputTypeCfg Value Table for Signal + * RadarState_OutputTypeCfg in Message RadarState (0x201) * * Enum values defined for \ref SIG_RadarState_RadarState_OutputTypeCfg. * @@ -19125,31 +19197,32 @@ * * @ingroup ENUM_RadarState_RadarState_OutputTypeCfg */ -#define RadarState_RadarState_OutputTypeCfg_reserved 3 +#define RadarState_RadarState_OutputTypeCfg_reserved 3 /** * Value table RadarState_RadarState_OutputTypeCfg entry SendClusters. * * @ingroup ENUM_RadarState_RadarState_OutputTypeCfg */ -#define RadarState_RadarState_OutputTypeCfg_SendClusters 2 +#define RadarState_RadarState_OutputTypeCfg_SendClusters 2 /** * Value table RadarState_RadarState_OutputTypeCfg entry SendObjects. * * @ingroup ENUM_RadarState_RadarState_OutputTypeCfg */ -#define RadarState_RadarState_OutputTypeCfg_SendObjects 1 +#define RadarState_RadarState_OutputTypeCfg_SendObjects 1 /** * Value table RadarState_RadarState_OutputTypeCfg entry None. * * @ingroup ENUM_RadarState_RadarState_OutputTypeCfg */ -#define RadarState_RadarState_OutputTypeCfg_None 0 +#define RadarState_RadarState_OutputTypeCfg_None 0 /** - * @defgroup SIG_RadarState_RadarState_RadarPowerCfg Signal RadarState_RadarPowerCfg of Message RadarState (0x201) + * @defgroup SIG_RadarState_RadarState_RadarPowerCfg Signal RadarState_RadarPowerCfg of Message + * RadarState (0x201) * * Radar Tx output level (Tx attenuation) * @@ -19166,9 +19239,10 @@ * Signal RadarState_RadarPowerCfg configuration tuple. * * @deprecated - * Use \ref SET_RadarState_RadarState_RadarPowerCfg and \ref GET_RadarState_RadarState_RadarPowerCfg instead. + * Use \ref SET_RadarState_RadarState_RadarPowerCfg and \ref + *GET_RadarState_RadarState_RadarPowerCfg instead. */ -#define SIG_RadarState_RadarState_RadarPowerCfg 1, 0, 25, 3 +#define SIG_RadarState_RadarState_RadarPowerCfg 1, 0, 25, 3 /** * Signal RadarState_RadarPowerCfg setup tuple. @@ -19176,7 +19250,7 @@ * @deprecated * Use \ref INITSIG_RadarState_RadarState_RadarPowerCfg or \ref INIT_RadarState instead. */ -#define SETUP_RadarState_RadarState_RadarPowerCfg 1, 0, 25, 3, 0 +#define SETUP_RadarState_RadarState_RadarPowerCfg 1, 0, 25, 3, 0 /** * Get signal RadarState_RadarPowerCfg from buffer. @@ -19186,10 +19260,8 @@ * @return * The raw signal */ -#define GET_RadarState_RadarState_RadarPowerCfg(buf) (0 \ - | (ubyte)(+(ubyte)((buf[3] >> 0) & 0x03) << 1) \ - | (ubyte)(+(ubyte)((buf[4] >> 7) & 0x01) << 0) \ -) +#define GET_RadarState_RadarState_RadarPowerCfg(buf) \ + (0 | (ubyte)(+(ubyte)((buf[3] >> 0) & 0x03) << 1) | (ubyte)(+(ubyte)((buf[4] >> 7) & 0x01) << 0)) /** * Set signal RadarState_RadarPowerCfg in buffer. @@ -19199,12 +19271,13 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarState_RadarState_RadarPowerCfg(buf, val) { \ - buf[3] &= ~(0x03 << 0); \ - buf[3] |= (((ubyte)(val) >> 1) & 0x03) << 0; \ - buf[4] &= ~(0x01 << 7); \ - buf[4] |= (((ubyte)(val) >> 0) & 0x01) << 7; \ -} +#define SET_RadarState_RadarState_RadarPowerCfg(buf, val) \ + { \ + buf[3] &= ~(0x03 << 0); \ + buf[3] |= (((ubyte)(val) >> 1) & 0x03) << 0; \ + buf[4] &= ~(0x01 << 7); \ + buf[4] |= (((ubyte)(val) >> 0) & 0x01) << 7; \ + } /** * Set signal RadarState_RadarPowerCfg in buffer to its initial value. @@ -19213,7 +19286,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarState_RadarState_RadarPowerCfg(buf) \ - SET_RadarState_RadarState_RadarPowerCfg(buf, 0) + SET_RadarState_RadarState_RadarPowerCfg(buf, 0) /** * Signal RadarState_RadarPowerCfg value conversion with 16 bit factor and offset. @@ -19226,35 +19299,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarState_RadarState_RadarPowerCfg(x, fmt) \ - ((x) * fmt) +#define CALC_RadarState_RadarState_RadarPowerCfg(x, fmt) ((x) * fmt) /** * Signal RadarState_RadarPowerCfg raw initial value. */ -#define START_RadarState_RadarState_RadarPowerCfg 0 +#define START_RadarState_RadarState_RadarPowerCfg 0 /** * Signal RadarState_RadarPowerCfg raw minimum value. */ -#define MIN_RadarState_RadarState_RadarPowerCfg 0 +#define MIN_RadarState_RadarState_RadarPowerCfg 0 /** * Signal RadarState_RadarPowerCfg raw maximum value. */ -#define MAX_RadarState_RadarState_RadarPowerCfg 7 +#define MAX_RadarState_RadarState_RadarPowerCfg 7 /** * Signal RadarState_RadarPowerCfg raw offset value. */ -#define OFF_RadarState_RadarState_RadarPowerCfg 0 +#define OFF_RadarState_RadarState_RadarPowerCfg 0 /** * @} */ /** - * @defgroup ENUM_RadarState_RadarState_RadarPowerCfg Value Table for Signal RadarState_RadarPowerCfg in Message RadarState (0x201) + * @defgroup ENUM_RadarState_RadarState_RadarPowerCfg Value Table for Signal + * RadarState_RadarPowerCfg in Message RadarState (0x201) * * Enum values defined for \ref SIG_RadarState_RadarState_RadarPowerCfg. * @@ -19266,28 +19339,28 @@ * * @ingroup ENUM_RadarState_RadarState_RadarPowerCfg */ -#define RadarState_RadarState_RadarPowerCfg_Reserved 7 +#define RadarState_RadarState_RadarPowerCfg_Reserved 7 /** * Value table RadarState_RadarState_RadarPowerCfg entry Reserved_6. * * @ingroup ENUM_RadarState_RadarState_RadarPowerCfg */ -#define RadarState_RadarState_RadarPowerCfg_Reserved_6 6 +#define RadarState_RadarState_RadarPowerCfg_Reserved_6 6 /** * Value table RadarState_RadarState_RadarPowerCfg entry Reserved_5. * * @ingroup ENUM_RadarState_RadarState_RadarPowerCfg */ -#define RadarState_RadarState_RadarPowerCfg_Reserved_5 5 +#define RadarState_RadarState_RadarPowerCfg_Reserved_5 5 /** * Value table RadarState_RadarState_RadarPowerCfg entry Reserved_4. * * @ingroup ENUM_RadarState_RadarState_RadarPowerCfg */ -#define RadarState_RadarState_RadarPowerCfg_Reserved_4 4 +#define RadarState_RadarState_RadarPowerCfg_Reserved_4 4 /** * Value table RadarState_RadarState_RadarPowerCfg entry _9. @@ -19296,7 +19369,7 @@ * * @ingroup ENUM_RadarState_RadarState_RadarPowerCfg */ -#define RadarState_RadarState_RadarPowerCfg__9 3 +#define RadarState_RadarState_RadarPowerCfg__9 3 /** * Value table RadarState_RadarState_RadarPowerCfg entry _6. @@ -19305,7 +19378,7 @@ * * @ingroup ENUM_RadarState_RadarState_RadarPowerCfg */ -#define RadarState_RadarState_RadarPowerCfg__6 2 +#define RadarState_RadarState_RadarPowerCfg__6 2 /** * Value table RadarState_RadarState_RadarPowerCfg entry _3. @@ -19314,17 +19387,18 @@ * * @ingroup ENUM_RadarState_RadarState_RadarPowerCfg */ -#define RadarState_RadarState_RadarPowerCfg__3 1 +#define RadarState_RadarState_RadarPowerCfg__3 1 /** * Value table RadarState_RadarState_RadarPowerCfg entry Standard. * * @ingroup ENUM_RadarState_RadarState_RadarPowerCfg */ -#define RadarState_RadarState_RadarPowerCfg_Standard 0 +#define RadarState_RadarState_RadarPowerCfg_Standard 0 /** - * @defgroup SIG_RadarState_RadarState_NVMReadStatus Signal RadarState_NVMReadStatus of Message RadarState (0x201) + * @defgroup SIG_RadarState_RadarState_NVMReadStatus Signal RadarState_NVMReadStatus of Message + * RadarState (0x201) * * Gives the status of reading the radar configuration from EEPROM * @@ -19341,9 +19415,10 @@ * Signal RadarState_NVMReadStatus configuration tuple. * * @deprecated - * Use \ref SET_RadarState_RadarState_NVMReadStatus and \ref GET_RadarState_RadarState_NVMReadStatus instead. + * Use \ref SET_RadarState_RadarState_NVMReadStatus and \ref + *GET_RadarState_RadarState_NVMReadStatus instead. */ -#define SIG_RadarState_RadarState_NVMReadStatus 1, 0, 6, 1 +#define SIG_RadarState_RadarState_NVMReadStatus 1, 0, 6, 1 /** * Signal RadarState_NVMReadStatus setup tuple. @@ -19351,7 +19426,7 @@ * @deprecated * Use \ref INITSIG_RadarState_RadarState_NVMReadStatus or \ref INIT_RadarState instead. */ -#define SETUP_RadarState_RadarState_NVMReadStatus 1, 0, 6, 1, 0 +#define SETUP_RadarState_RadarState_NVMReadStatus 1, 0, 6, 1, 0 /** * Get signal RadarState_NVMReadStatus from buffer. @@ -19361,9 +19436,8 @@ * @return * The raw signal */ -#define GET_RadarState_RadarState_NVMReadStatus(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 6) & 0x01) << 0) \ -) +#define GET_RadarState_RadarState_NVMReadStatus(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 6) & 0x01) << 0)) /** * Set signal RadarState_NVMReadStatus in buffer. @@ -19373,10 +19447,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarState_RadarState_NVMReadStatus(buf, val) { \ - buf[0] &= ~(0x01 << 6); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 6; \ -} +#define SET_RadarState_RadarState_NVMReadStatus(buf, val) \ + { \ + buf[0] &= ~(0x01 << 6); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 6; \ + } /** * Set signal RadarState_NVMReadStatus in buffer to its initial value. @@ -19385,7 +19460,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarState_RadarState_NVMReadStatus(buf) \ - SET_RadarState_RadarState_NVMReadStatus(buf, 0) + SET_RadarState_RadarState_NVMReadStatus(buf, 0) /** * Signal RadarState_NVMReadStatus value conversion with 16 bit factor and offset. @@ -19398,35 +19473,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarState_RadarState_NVMReadStatus(x, fmt) \ - ((x) * fmt) +#define CALC_RadarState_RadarState_NVMReadStatus(x, fmt) ((x) * fmt) /** * Signal RadarState_NVMReadStatus raw initial value. */ -#define START_RadarState_RadarState_NVMReadStatus 0 +#define START_RadarState_RadarState_NVMReadStatus 0 /** * Signal RadarState_NVMReadStatus raw minimum value. */ -#define MIN_RadarState_RadarState_NVMReadStatus 0 +#define MIN_RadarState_RadarState_NVMReadStatus 0 /** * Signal RadarState_NVMReadStatus raw maximum value. */ -#define MAX_RadarState_RadarState_NVMReadStatus 1 +#define MAX_RadarState_RadarState_NVMReadStatus 1 /** * Signal RadarState_NVMReadStatus raw offset value. */ -#define OFF_RadarState_RadarState_NVMReadStatus 0 +#define OFF_RadarState_RadarState_NVMReadStatus 0 /** * @} */ /** - * @defgroup ENUM_RadarState_RadarState_NVMReadStatus Value Table for Signal RadarState_NVMReadStatus in Message RadarState (0x201) + * @defgroup ENUM_RadarState_RadarState_NVMReadStatus Value Table for Signal + * RadarState_NVMReadStatus in Message RadarState (0x201) * * Enum values defined for \ref SIG_RadarState_RadarState_NVMReadStatus. * @@ -19438,17 +19513,18 @@ * * @ingroup ENUM_RadarState_RadarState_NVMReadStatus */ -#define RadarState_RadarState_NVMReadStatus_successful 1 +#define RadarState_RadarState_NVMReadStatus_successful 1 /** * Value table RadarState_RadarState_NVMReadStatus entry pending. * * @ingroup ENUM_RadarState_RadarState_NVMReadStatus */ -#define RadarState_RadarState_NVMReadStatus_pending 0 +#define RadarState_RadarState_NVMReadStatus_pending 0 /** - * @defgroup SIG_RadarState_RadarState_NVMwriteStatus Signal RadarState_NVMwriteStatus of Message RadarState (0x201) + * @defgroup SIG_RadarState_RadarState_NVMwriteStatus Signal RadarState_NVMwriteStatus of Message + * RadarState (0x201) * * Gives the status of writing the radar configuration from EEPROM * @@ -19465,9 +19541,10 @@ * Signal RadarState_NVMwriteStatus configuration tuple. * * @deprecated - * Use \ref SET_RadarState_RadarState_NVMwriteStatus and \ref GET_RadarState_RadarState_NVMwriteStatus instead. + * Use \ref SET_RadarState_RadarState_NVMwriteStatus and \ref + *GET_RadarState_RadarState_NVMwriteStatus instead. */ -#define SIG_RadarState_RadarState_NVMwriteStatus 1, 0, 7, 1 +#define SIG_RadarState_RadarState_NVMwriteStatus 1, 0, 7, 1 /** * Signal RadarState_NVMwriteStatus setup tuple. @@ -19475,7 +19552,7 @@ * @deprecated * Use \ref INITSIG_RadarState_RadarState_NVMwriteStatus or \ref INIT_RadarState instead. */ -#define SETUP_RadarState_RadarState_NVMwriteStatus 1, 0, 7, 1, 0 +#define SETUP_RadarState_RadarState_NVMwriteStatus 1, 0, 7, 1, 0 /** * Get signal RadarState_NVMwriteStatus from buffer. @@ -19485,9 +19562,8 @@ * @return * The raw signal */ -#define GET_RadarState_RadarState_NVMwriteStatus(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 7) & 0x01) << 0) \ -) +#define GET_RadarState_RadarState_NVMwriteStatus(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 7) & 0x01) << 0)) /** * Set signal RadarState_NVMwriteStatus in buffer. @@ -19497,10 +19573,11 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarState_RadarState_NVMwriteStatus(buf, val) { \ - buf[0] &= ~(0x01 << 7); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 7; \ -} +#define SET_RadarState_RadarState_NVMwriteStatus(buf, val) \ + { \ + buf[0] &= ~(0x01 << 7); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 7; \ + } /** * Set signal RadarState_NVMwriteStatus in buffer to its initial value. @@ -19509,7 +19586,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarState_RadarState_NVMwriteStatus(buf) \ - SET_RadarState_RadarState_NVMwriteStatus(buf, 0) + SET_RadarState_RadarState_NVMwriteStatus(buf, 0) /** * Signal RadarState_NVMwriteStatus value conversion with 16 bit factor and offset. @@ -19522,35 +19599,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarState_RadarState_NVMwriteStatus(x, fmt) \ - ((x) * fmt) +#define CALC_RadarState_RadarState_NVMwriteStatus(x, fmt) ((x) * fmt) /** * Signal RadarState_NVMwriteStatus raw initial value. */ -#define START_RadarState_RadarState_NVMwriteStatus 0 +#define START_RadarState_RadarState_NVMwriteStatus 0 /** * Signal RadarState_NVMwriteStatus raw minimum value. */ -#define MIN_RadarState_RadarState_NVMwriteStatus 0 +#define MIN_RadarState_RadarState_NVMwriteStatus 0 /** * Signal RadarState_NVMwriteStatus raw maximum value. */ -#define MAX_RadarState_RadarState_NVMwriteStatus 1 +#define MAX_RadarState_RadarState_NVMwriteStatus 1 /** * Signal RadarState_NVMwriteStatus raw offset value. */ -#define OFF_RadarState_RadarState_NVMwriteStatus 0 +#define OFF_RadarState_RadarState_NVMwriteStatus 0 /** * @} */ /** - * @defgroup ENUM_RadarState_RadarState_NVMwriteStatus Value Table for Signal RadarState_NVMwriteStatus in Message RadarState (0x201) + * @defgroup ENUM_RadarState_RadarState_NVMwriteStatus Value Table for Signal + * RadarState_NVMwriteStatus in Message RadarState (0x201) * * Enum values defined for \ref SIG_RadarState_RadarState_NVMwriteStatus. * @@ -19562,17 +19639,18 @@ * * @ingroup ENUM_RadarState_RadarState_NVMwriteStatus */ -#define RadarState_RadarState_NVMwriteStatus_successful 1 +#define RadarState_RadarState_NVMwriteStatus_successful 1 /** * Value table RadarState_RadarState_NVMwriteStatus entry failed. * * @ingroup ENUM_RadarState_RadarState_NVMwriteStatus */ -#define RadarState_RadarState_NVMwriteStatus_failed 0 +#define RadarState_RadarState_NVMwriteStatus_failed 0 /** - * @defgroup SIG_RadarState_RadarState_MaxDistanceCfg Signal RadarState_MaxDistanceCfg of Message RadarState (0x201) + * @defgroup SIG_RadarState_RadarState_MaxDistanceCfg Signal RadarState_MaxDistanceCfg of Message + * RadarState (0x201) * * Currently configured maximum distance of far scan * @@ -19587,9 +19665,10 @@ * Signal RadarState_MaxDistanceCfg configuration tuple. * * @deprecated - * Use \ref SET_RadarState_RadarState_MaxDistanceCfg and \ref GET_RadarState_RadarState_MaxDistanceCfg instead. + * Use \ref SET_RadarState_RadarState_MaxDistanceCfg and \ref + *GET_RadarState_RadarState_MaxDistanceCfg instead. */ -#define SIG_RadarState_RadarState_MaxDistanceCfg 1, 0, 15, 10 +#define SIG_RadarState_RadarState_MaxDistanceCfg 1, 0, 15, 10 /** * Signal RadarState_MaxDistanceCfg setup tuple. @@ -19597,7 +19676,7 @@ * @deprecated * Use \ref INITSIG_RadarState_RadarState_MaxDistanceCfg or \ref INIT_RadarState instead. */ -#define SETUP_RadarState_RadarState_MaxDistanceCfg 1, 0, 15, 10, 0 +#define SETUP_RadarState_RadarState_MaxDistanceCfg 1, 0, 15, 10, 0 /** * Get signal RadarState_MaxDistanceCfg from buffer. @@ -19607,10 +19686,8 @@ * @return * The raw signal */ -#define GET_RadarState_RadarState_MaxDistanceCfg(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0xff) << 2) \ - | (ubyte)(+(ubyte)((buf[2] >> 6) & 0x03) << 0) \ -) +#define GET_RadarState_RadarState_MaxDistanceCfg(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0xff) << 2) | (ubyte)(+(ubyte)((buf[2] >> 6) & 0x03) << 0)) /** * Set signal RadarState_MaxDistanceCfg in buffer. @@ -19620,12 +19697,13 @@ * @param val * The raw value to set the signal to */ -#define SET_RadarState_RadarState_MaxDistanceCfg(buf, val) { \ - buf[1] &= ~(0xff << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 2) & 0xff) << 0; \ - buf[2] &= ~(0x03 << 6); \ - buf[2] |= (((ubyte)(val) >> 0) & 0x03) << 6; \ -} +#define SET_RadarState_RadarState_MaxDistanceCfg(buf, val) \ + { \ + buf[1] &= ~(0xff << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 2) & 0xff) << 0; \ + buf[2] &= ~(0x03 << 6); \ + buf[2] |= (((ubyte)(val) >> 0) & 0x03) << 6; \ + } /** * Set signal RadarState_MaxDistanceCfg in buffer to its initial value. @@ -19634,7 +19712,7 @@ * The can message buffer to initialise */ #define INITSIG_RadarState_RadarState_MaxDistanceCfg(buf) \ - SET_RadarState_RadarState_MaxDistanceCfg(buf, 0) + SET_RadarState_RadarState_MaxDistanceCfg(buf, 0) /** * Signal RadarState_MaxDistanceCfg value conversion with 16 bit factor and offset. @@ -19647,35 +19725,35 @@ * @return * The signal value as a human readable number */ -#define CALC_RadarState_RadarState_MaxDistanceCfg(x, fmt) \ - ((x) * fmt * 2) +#define CALC_RadarState_RadarState_MaxDistanceCfg(x, fmt) ((x) * fmt * 2) /** * Signal RadarState_MaxDistanceCfg raw initial value. */ -#define START_RadarState_RadarState_MaxDistanceCfg 0 +#define START_RadarState_RadarState_MaxDistanceCfg 0 /** * Signal RadarState_MaxDistanceCfg raw minimum value. */ -#define MIN_RadarState_RadarState_MaxDistanceCfg 0 +#define MIN_RadarState_RadarState_MaxDistanceCfg 0 /** * Signal RadarState_MaxDistanceCfg raw maximum value. */ -#define MAX_RadarState_RadarState_MaxDistanceCfg 1023 +#define MAX_RadarState_RadarState_MaxDistanceCfg 1023 /** * Signal RadarState_MaxDistanceCfg raw offset value. */ -#define OFF_RadarState_RadarState_MaxDistanceCfg 0 +#define OFF_RadarState_RadarState_MaxDistanceCfg 0 /** * @} */ /** - * @defgroup SIG_SpeedInformation_RadarDevice_Speed Signal RadarDevice_Speed of Message SpeedInformation (0x300) + * @defgroup SIG_SpeedInformation_RadarDevice_Speed Signal RadarDevice_Speed of Message + * SpeedInformation (0x300) * * Speed of the radar unit * @@ -19690,9 +19768,10 @@ * Signal RadarDevice_Speed configuration tuple. * * @deprecated - * Use \ref SET_SpeedInformation_RadarDevice_Speed and \ref GET_SpeedInformation_RadarDevice_Speed instead. + * Use \ref SET_SpeedInformation_RadarDevice_Speed and \ref + *GET_SpeedInformation_RadarDevice_Speed instead. */ -#define SIG_SpeedInformation_RadarDevice_Speed 1, 0, 4, 13 +#define SIG_SpeedInformation_RadarDevice_Speed 1, 0, 4, 13 /** * Signal RadarDevice_Speed setup tuple. @@ -19700,7 +19779,7 @@ * @deprecated * Use \ref INITSIG_SpeedInformation_RadarDevice_Speed or \ref INIT_SpeedInformation instead. */ -#define SETUP_SpeedInformation_RadarDevice_Speed 1, 0, 4, 13, 0 +#define SETUP_SpeedInformation_RadarDevice_Speed 1, 0, 4, 13, 0 /** * Get signal RadarDevice_Speed from buffer. @@ -19710,10 +19789,8 @@ * @return * The raw signal */ -#define GET_SpeedInformation_RadarDevice_Speed(buf) (0 \ - | (uword)(+(uword)((buf[0] >> 0) & 0x1f) << 8) \ - | (ubyte)(+(ubyte)((buf[1] >> 0) & 0xff) << 0) \ -) +#define GET_SpeedInformation_RadarDevice_Speed(buf) \ + (0 | (uword)(+(uword)((buf[0] >> 0) & 0x1f) << 8) | (ubyte)(+(ubyte)((buf[1] >> 0) & 0xff) << 0)) /** * Set signal RadarDevice_Speed in buffer. @@ -19723,12 +19800,13 @@ * @param val * The raw value to set the signal to */ -#define SET_SpeedInformation_RadarDevice_Speed(buf, val) { \ - buf[0] &= ~(0x1f << 0); \ - buf[0] |= ((ubyte)((uword)(val) >> 8) & 0x1f) << 0; \ - buf[1] &= ~(0xff << 0); \ - buf[1] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_SpeedInformation_RadarDevice_Speed(buf, val) \ + { \ + buf[0] &= ~(0x1f << 0); \ + buf[0] |= ((ubyte)((uword)(val) >> 8) & 0x1f) << 0; \ + buf[1] &= ~(0xff << 0); \ + buf[1] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal RadarDevice_Speed in buffer to its initial value. @@ -19737,7 +19815,7 @@ * The can message buffer to initialise */ #define INITSIG_SpeedInformation_RadarDevice_Speed(buf) \ - SET_SpeedInformation_RadarDevice_Speed(buf, 0) + SET_SpeedInformation_RadarDevice_Speed(buf, 0) /** * Signal RadarDevice_Speed value conversion with 16 bit factor and offset. @@ -19750,35 +19828,35 @@ * @return * The signal value as a human readable number */ -#define CALC_SpeedInformation_RadarDevice_Speed(x, fmt) \ - ((x) * fmt / 50) +#define CALC_SpeedInformation_RadarDevice_Speed(x, fmt) ((x) * fmt / 50) /** * Signal RadarDevice_Speed raw initial value. */ -#define START_SpeedInformation_RadarDevice_Speed 0 +#define START_SpeedInformation_RadarDevice_Speed 0 /** * Signal RadarDevice_Speed raw minimum value. */ -#define MIN_SpeedInformation_RadarDevice_Speed 0 +#define MIN_SpeedInformation_RadarDevice_Speed 0 /** * Signal RadarDevice_Speed raw maximum value. */ -#define MAX_SpeedInformation_RadarDevice_Speed 8190 +#define MAX_SpeedInformation_RadarDevice_Speed 8190 /** * Signal RadarDevice_Speed raw offset value. */ -#define OFF_SpeedInformation_RadarDevice_Speed 0 +#define OFF_SpeedInformation_RadarDevice_Speed 0 /** * @} */ /** - * @defgroup SIG_SpeedInformation_RadarDevice_SpeedDirection Signal RadarDevice_SpeedDirection of Message SpeedInformation (0x300) + * @defgroup SIG_SpeedInformation_RadarDevice_SpeedDirection Signal RadarDevice_SpeedDirection of + * Message SpeedInformation (0x300) * * Speed direction of the radar unit * @@ -19795,17 +19873,19 @@ * Signal RadarDevice_SpeedDirection configuration tuple. * * @deprecated - * Use \ref SET_SpeedInformation_RadarDevice_SpeedDirection and \ref GET_SpeedInformation_RadarDevice_SpeedDirection instead. + * Use \ref SET_SpeedInformation_RadarDevice_SpeedDirection and \ref + *GET_SpeedInformation_RadarDevice_SpeedDirection instead. */ -#define SIG_SpeedInformation_RadarDevice_SpeedDirection 1, 0, 7, 2 +#define SIG_SpeedInformation_RadarDevice_SpeedDirection 1, 0, 7, 2 /** * Signal RadarDevice_SpeedDirection setup tuple. * * @deprecated - * Use \ref INITSIG_SpeedInformation_RadarDevice_SpeedDirection or \ref INIT_SpeedInformation instead. + * Use \ref INITSIG_SpeedInformation_RadarDevice_SpeedDirection or \ref INIT_SpeedInformation + *instead. */ -#define SETUP_SpeedInformation_RadarDevice_SpeedDirection 1, 0, 7, 2, 0 +#define SETUP_SpeedInformation_RadarDevice_SpeedDirection 1, 0, 7, 2, 0 /** * Get signal RadarDevice_SpeedDirection from buffer. @@ -19815,9 +19895,8 @@ * @return * The raw signal */ -#define GET_SpeedInformation_RadarDevice_SpeedDirection(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 6) & 0x03) << 0) \ -) +#define GET_SpeedInformation_RadarDevice_SpeedDirection(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 6) & 0x03) << 0)) /** * Set signal RadarDevice_SpeedDirection in buffer. @@ -19827,10 +19906,11 @@ * @param val * The raw value to set the signal to */ -#define SET_SpeedInformation_RadarDevice_SpeedDirection(buf, val) { \ - buf[0] &= ~(0x03 << 6); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x03) << 6; \ -} +#define SET_SpeedInformation_RadarDevice_SpeedDirection(buf, val) \ + { \ + buf[0] &= ~(0x03 << 6); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x03) << 6; \ + } /** * Set signal RadarDevice_SpeedDirection in buffer to its initial value. @@ -19839,7 +19919,7 @@ * The can message buffer to initialise */ #define INITSIG_SpeedInformation_RadarDevice_SpeedDirection(buf) \ - SET_SpeedInformation_RadarDevice_SpeedDirection(buf, 0) + SET_SpeedInformation_RadarDevice_SpeedDirection(buf, 0) /** * Signal RadarDevice_SpeedDirection value conversion with 16 bit factor and offset. @@ -19852,35 +19932,35 @@ * @return * The signal value as a human readable number */ -#define CALC_SpeedInformation_RadarDevice_SpeedDirection(x, fmt) \ - ((x) * fmt) +#define CALC_SpeedInformation_RadarDevice_SpeedDirection(x, fmt) ((x) * fmt) /** * Signal RadarDevice_SpeedDirection raw initial value. */ -#define START_SpeedInformation_RadarDevice_SpeedDirection 0 +#define START_SpeedInformation_RadarDevice_SpeedDirection 0 /** * Signal RadarDevice_SpeedDirection raw minimum value. */ -#define MIN_SpeedInformation_RadarDevice_SpeedDirection 0 +#define MIN_SpeedInformation_RadarDevice_SpeedDirection 0 /** * Signal RadarDevice_SpeedDirection raw maximum value. */ -#define MAX_SpeedInformation_RadarDevice_SpeedDirection 2 +#define MAX_SpeedInformation_RadarDevice_SpeedDirection 2 /** * Signal RadarDevice_SpeedDirection raw offset value. */ -#define OFF_SpeedInformation_RadarDevice_SpeedDirection 0 +#define OFF_SpeedInformation_RadarDevice_SpeedDirection 0 /** * @} */ /** - * @defgroup ENUM_SpeedInformation_RadarDevice_SpeedDirection Value Table for Signal RadarDevice_SpeedDirection in Message SpeedInformation (0x300) + * @defgroup ENUM_SpeedInformation_RadarDevice_SpeedDirection Value Table for Signal + * RadarDevice_SpeedDirection in Message SpeedInformation (0x300) * * Enum values defined for \ref SIG_SpeedInformation_RadarDevice_SpeedDirection. * @@ -19892,31 +19972,32 @@ * * @ingroup ENUM_SpeedInformation_RadarDevice_SpeedDirection */ -#define SpeedInformation_RadarDevice_SpeedDirection_reserved 3 +#define SpeedInformation_RadarDevice_SpeedDirection_reserved 3 /** * Value table SpeedInformation_RadarDevice_SpeedDirection entry reverse. * * @ingroup ENUM_SpeedInformation_RadarDevice_SpeedDirection */ -#define SpeedInformation_RadarDevice_SpeedDirection_reverse 2 +#define SpeedInformation_RadarDevice_SpeedDirection_reverse 2 /** * Value table SpeedInformation_RadarDevice_SpeedDirection entry forward. * * @ingroup ENUM_SpeedInformation_RadarDevice_SpeedDirection */ -#define SpeedInformation_RadarDevice_SpeedDirection_forward 1 +#define SpeedInformation_RadarDevice_SpeedDirection_forward 1 /** * Value table SpeedInformation_RadarDevice_SpeedDirection entry standstill. * * @ingroup ENUM_SpeedInformation_RadarDevice_SpeedDirection */ -#define SpeedInformation_RadarDevice_SpeedDirection_standstill 0 +#define SpeedInformation_RadarDevice_SpeedDirection_standstill 0 /** - * @defgroup SIG_YawRateInformation_RadarDevice_YawRate Signal RadarDevice_YawRate of Message YawRateInformation (0x301) + * @defgroup SIG_YawRateInformation_RadarDevice_YawRate Signal RadarDevice_YawRate of Message + * YawRateInformation (0x301) * * Yaw rate of the radar unit * @@ -19931,17 +20012,19 @@ * Signal RadarDevice_YawRate configuration tuple. * * @deprecated - * Use \ref SET_YawRateInformation_RadarDevice_YawRate and \ref GET_YawRateInformation_RadarDevice_YawRate instead. + * Use \ref SET_YawRateInformation_RadarDevice_YawRate and \ref + *GET_YawRateInformation_RadarDevice_YawRate instead. */ -#define SIG_YawRateInformation_RadarDevice_YawRate 1, 0, 7, 16 +#define SIG_YawRateInformation_RadarDevice_YawRate 1, 0, 7, 16 /** * Signal RadarDevice_YawRate setup tuple. * * @deprecated - * Use \ref INITSIG_YawRateInformation_RadarDevice_YawRate or \ref INIT_YawRateInformation instead. + * Use \ref INITSIG_YawRateInformation_RadarDevice_YawRate or \ref INIT_YawRateInformation + *instead. */ -#define SETUP_YawRateInformation_RadarDevice_YawRate 1, 0, 7, 16, 0 +#define SETUP_YawRateInformation_RadarDevice_YawRate 1, 0, 7, 16, 0 /** * Get signal RadarDevice_YawRate from buffer. @@ -19951,10 +20034,8 @@ * @return * The raw signal */ -#define GET_YawRateInformation_RadarDevice_YawRate(buf) (0 \ - | (uword)(+(uword)((buf[0] >> 0) & 0xff) << 8) \ - | (ubyte)(+(ubyte)((buf[1] >> 0) & 0xff) << 0) \ -) +#define GET_YawRateInformation_RadarDevice_YawRate(buf) \ + (0 | (uword)(+(uword)((buf[0] >> 0) & 0xff) << 8) | (ubyte)(+(ubyte)((buf[1] >> 0) & 0xff) << 0)) /** * Set signal RadarDevice_YawRate in buffer. @@ -19964,12 +20045,13 @@ * @param val * The raw value to set the signal to */ -#define SET_YawRateInformation_RadarDevice_YawRate(buf, val) { \ - buf[0] &= ~(0xff << 0); \ - buf[0] |= ((ubyte)((uword)(val) >> 8) & 0xff) << 0; \ - buf[1] &= ~(0xff << 0); \ - buf[1] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_YawRateInformation_RadarDevice_YawRate(buf, val) \ + { \ + buf[0] &= ~(0xff << 0); \ + buf[0] |= ((ubyte)((uword)(val) >> 8) & 0xff) << 0; \ + buf[1] &= ~(0xff << 0); \ + buf[1] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal RadarDevice_YawRate in buffer to its initial value. @@ -19978,7 +20060,7 @@ * The can message buffer to initialise */ #define INITSIG_YawRateInformation_RadarDevice_YawRate(buf) \ - SET_YawRateInformation_RadarDevice_YawRate(buf, 0) + SET_YawRateInformation_RadarDevice_YawRate(buf, 0) /** * Signal RadarDevice_YawRate value conversion with 16 bit factor and offset. @@ -19991,35 +20073,35 @@ * @return * The signal value as a human readable number */ -#define CALC_YawRateInformation_RadarDevice_YawRate(x, fmt) \ - ((x) * fmt / 100 + fmt * 8192 / (-25)) +#define CALC_YawRateInformation_RadarDevice_YawRate(x, fmt) ((x) * fmt / 100 + fmt * 8192 / (-25)) /** * Signal RadarDevice_YawRate raw initial value. */ -#define START_YawRateInformation_RadarDevice_YawRate 0 +#define START_YawRateInformation_RadarDevice_YawRate 0 /** * Signal RadarDevice_YawRate raw minimum value. */ -#define MIN_YawRateInformation_RadarDevice_YawRate 0 +#define MIN_YawRateInformation_RadarDevice_YawRate 0 /** * Signal RadarDevice_YawRate raw maximum value. */ -#define MAX_YawRateInformation_RadarDevice_YawRate 65534 +#define MAX_YawRateInformation_RadarDevice_YawRate 65534 /** * Signal RadarDevice_YawRate raw offset value. */ -#define OFF_YawRateInformation_RadarDevice_YawRate -32768 +#define OFF_YawRateInformation_RadarDevice_YawRate -32768 /** * @} */ /** - * @defgroup SIG_CollDetCfg_CollDetCfg_ClearRegions Signal CollDetCfg_ClearRegions of Message CollDetCfg (0x400) + * @defgroup SIG_CollDetCfg_CollDetCfg_ClearRegions Signal CollDetCfg_ClearRegions of Message + * CollDetCfg (0x400) * * Contains the value table \ref ENUM_CollDetCfg_CollDetCfg_ClearRegions. * @@ -20034,9 +20116,10 @@ * Signal CollDetCfg_ClearRegions configuration tuple. * * @deprecated - * Use \ref SET_CollDetCfg_CollDetCfg_ClearRegions and \ref GET_CollDetCfg_CollDetCfg_ClearRegions instead. + * Use \ref SET_CollDetCfg_CollDetCfg_ClearRegions and \ref + *GET_CollDetCfg_CollDetCfg_ClearRegions instead. */ -#define SIG_CollDetCfg_CollDetCfg_ClearRegions 1, 0, 7, 1 +#define SIG_CollDetCfg_CollDetCfg_ClearRegions 1, 0, 7, 1 /** * Signal CollDetCfg_ClearRegions setup tuple. @@ -20044,7 +20127,7 @@ * @deprecated * Use \ref INITSIG_CollDetCfg_CollDetCfg_ClearRegions or \ref INIT_CollDetCfg instead. */ -#define SETUP_CollDetCfg_CollDetCfg_ClearRegions 1, 0, 7, 1, 0 +#define SETUP_CollDetCfg_CollDetCfg_ClearRegions 1, 0, 7, 1, 0 /** * Get signal CollDetCfg_ClearRegions from buffer. @@ -20054,9 +20137,8 @@ * @return * The raw signal */ -#define GET_CollDetCfg_CollDetCfg_ClearRegions(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 7) & 0x01) << 0) \ -) +#define GET_CollDetCfg_CollDetCfg_ClearRegions(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 7) & 0x01) << 0)) /** * Set signal CollDetCfg_ClearRegions in buffer. @@ -20066,10 +20148,11 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetCfg_CollDetCfg_ClearRegions(buf, val) { \ - buf[0] &= ~(0x01 << 7); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 7; \ -} +#define SET_CollDetCfg_CollDetCfg_ClearRegions(buf, val) \ + { \ + buf[0] &= ~(0x01 << 7); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 7; \ + } /** * Set signal CollDetCfg_ClearRegions in buffer to its initial value. @@ -20078,7 +20161,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetCfg_CollDetCfg_ClearRegions(buf) \ - SET_CollDetCfg_CollDetCfg_ClearRegions(buf, 0) + SET_CollDetCfg_CollDetCfg_ClearRegions(buf, 0) /** * Signal CollDetCfg_ClearRegions value conversion with 16 bit factor and offset. @@ -20091,35 +20174,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetCfg_CollDetCfg_ClearRegions(x, fmt) \ - ((x) * fmt) +#define CALC_CollDetCfg_CollDetCfg_ClearRegions(x, fmt) ((x) * fmt) /** * Signal CollDetCfg_ClearRegions raw initial value. */ -#define START_CollDetCfg_CollDetCfg_ClearRegions 0 +#define START_CollDetCfg_CollDetCfg_ClearRegions 0 /** * Signal CollDetCfg_ClearRegions raw minimum value. */ -#define MIN_CollDetCfg_CollDetCfg_ClearRegions 0 +#define MIN_CollDetCfg_CollDetCfg_ClearRegions 0 /** * Signal CollDetCfg_ClearRegions raw maximum value. */ -#define MAX_CollDetCfg_CollDetCfg_ClearRegions 1 +#define MAX_CollDetCfg_CollDetCfg_ClearRegions 1 /** * Signal CollDetCfg_ClearRegions raw offset value. */ -#define OFF_CollDetCfg_CollDetCfg_ClearRegions 0 +#define OFF_CollDetCfg_CollDetCfg_ClearRegions 0 /** * @} */ /** - * @defgroup ENUM_CollDetCfg_CollDetCfg_ClearRegions Value Table for Signal CollDetCfg_ClearRegions in Message CollDetCfg (0x400) + * @defgroup ENUM_CollDetCfg_CollDetCfg_ClearRegions Value Table for Signal CollDetCfg_ClearRegions + * in Message CollDetCfg (0x400) * * Enum values defined for \ref SIG_CollDetCfg_CollDetCfg_ClearRegions. * @@ -20133,17 +20216,18 @@ * * @ingroup ENUM_CollDetCfg_CollDetCfg_ClearRegions */ -#define CollDetCfg_CollDetCfg_ClearRegions_Clear 1 +#define CollDetCfg_CollDetCfg_ClearRegions_Clear 1 /** * Value table CollDetCfg_CollDetCfg_ClearRegions entry Idle. * * @ingroup ENUM_CollDetCfg_CollDetCfg_ClearRegions */ -#define CollDetCfg_CollDetCfg_ClearRegions_Idle 0 +#define CollDetCfg_CollDetCfg_ClearRegions_Idle 0 /** - * @defgroup SIG_CollDetCfg_CollDetCfg_WarningReset Signal CollDetCfg_WarningReset of Message CollDetCfg (0x400) + * @defgroup SIG_CollDetCfg_CollDetCfg_WarningReset Signal CollDetCfg_WarningReset of Message + * CollDetCfg (0x400) * * Contains the value table \ref ENUM_CollDetCfg_CollDetCfg_WarningReset. * @@ -20158,9 +20242,10 @@ * Signal CollDetCfg_WarningReset configuration tuple. * * @deprecated - * Use \ref SET_CollDetCfg_CollDetCfg_WarningReset and \ref GET_CollDetCfg_CollDetCfg_WarningReset instead. + * Use \ref SET_CollDetCfg_CollDetCfg_WarningReset and \ref + *GET_CollDetCfg_CollDetCfg_WarningReset instead. */ -#define SIG_CollDetCfg_CollDetCfg_WarningReset 1, 0, 0, 1 +#define SIG_CollDetCfg_CollDetCfg_WarningReset 1, 0, 0, 1 /** * Signal CollDetCfg_WarningReset setup tuple. @@ -20168,7 +20253,7 @@ * @deprecated * Use \ref INITSIG_CollDetCfg_CollDetCfg_WarningReset or \ref INIT_CollDetCfg instead. */ -#define SETUP_CollDetCfg_CollDetCfg_WarningReset 1, 0, 0, 1, 0 +#define SETUP_CollDetCfg_CollDetCfg_WarningReset 1, 0, 0, 1, 0 /** * Get signal CollDetCfg_WarningReset from buffer. @@ -20178,9 +20263,8 @@ * @return * The raw signal */ -#define GET_CollDetCfg_CollDetCfg_WarningReset(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 0) & 0x01) << 0) \ -) +#define GET_CollDetCfg_CollDetCfg_WarningReset(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 0) & 0x01) << 0)) /** * Set signal CollDetCfg_WarningReset in buffer. @@ -20190,10 +20274,11 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetCfg_CollDetCfg_WarningReset(buf, val) { \ - buf[0] &= ~(0x01 << 0); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 0; \ -} +#define SET_CollDetCfg_CollDetCfg_WarningReset(buf, val) \ + { \ + buf[0] &= ~(0x01 << 0); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 0; \ + } /** * Set signal CollDetCfg_WarningReset in buffer to its initial value. @@ -20202,7 +20287,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetCfg_CollDetCfg_WarningReset(buf) \ - SET_CollDetCfg_CollDetCfg_WarningReset(buf, 0) + SET_CollDetCfg_CollDetCfg_WarningReset(buf, 0) /** * Signal CollDetCfg_WarningReset value conversion with 16 bit factor and offset. @@ -20215,35 +20300,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetCfg_CollDetCfg_WarningReset(x, fmt) \ - ((x) * fmt) +#define CALC_CollDetCfg_CollDetCfg_WarningReset(x, fmt) ((x) * fmt) /** * Signal CollDetCfg_WarningReset raw initial value. */ -#define START_CollDetCfg_CollDetCfg_WarningReset 0 +#define START_CollDetCfg_CollDetCfg_WarningReset 0 /** * Signal CollDetCfg_WarningReset raw minimum value. */ -#define MIN_CollDetCfg_CollDetCfg_WarningReset 0 +#define MIN_CollDetCfg_CollDetCfg_WarningReset 0 /** * Signal CollDetCfg_WarningReset raw maximum value. */ -#define MAX_CollDetCfg_CollDetCfg_WarningReset 1 +#define MAX_CollDetCfg_CollDetCfg_WarningReset 1 /** * Signal CollDetCfg_WarningReset raw offset value. */ -#define OFF_CollDetCfg_CollDetCfg_WarningReset 0 +#define OFF_CollDetCfg_CollDetCfg_WarningReset 0 /** * @} */ /** - * @defgroup ENUM_CollDetCfg_CollDetCfg_WarningReset Value Table for Signal CollDetCfg_WarningReset in Message CollDetCfg (0x400) + * @defgroup ENUM_CollDetCfg_CollDetCfg_WarningReset Value Table for Signal CollDetCfg_WarningReset + * in Message CollDetCfg (0x400) * * Enum values defined for \ref SIG_CollDetCfg_CollDetCfg_WarningReset. * @@ -20257,17 +20342,18 @@ * * @ingroup ENUM_CollDetCfg_CollDetCfg_WarningReset */ -#define CollDetCfg_CollDetCfg_WarningReset_Warn 1 +#define CollDetCfg_CollDetCfg_WarningReset_Warn 1 /** * Value table CollDetCfg_CollDetCfg_WarningReset entry Idle. * * @ingroup ENUM_CollDetCfg_CollDetCfg_WarningReset */ -#define CollDetCfg_CollDetCfg_WarningReset_Idle 0 +#define CollDetCfg_CollDetCfg_WarningReset_Idle 0 /** - * @defgroup SIG_CollDetCfg_CollDetCfg_Activate Signal CollDetCfg_Activate of Message CollDetCfg (0x400) + * @defgroup SIG_CollDetCfg_CollDetCfg_Activate Signal CollDetCfg_Activate of Message CollDetCfg + * (0x400) * * Contains the value table \ref ENUM_CollDetCfg_CollDetCfg_Activate. * @@ -20282,9 +20368,10 @@ * Signal CollDetCfg_Activate configuration tuple. * * @deprecated - * Use \ref SET_CollDetCfg_CollDetCfg_Activate and \ref GET_CollDetCfg_CollDetCfg_Activate instead. + * Use \ref SET_CollDetCfg_CollDetCfg_Activate and \ref GET_CollDetCfg_CollDetCfg_Activate + *instead. */ -#define SIG_CollDetCfg_CollDetCfg_Activate 1, 0, 1, 1 +#define SIG_CollDetCfg_CollDetCfg_Activate 1, 0, 1, 1 /** * Signal CollDetCfg_Activate setup tuple. @@ -20292,7 +20379,7 @@ * @deprecated * Use \ref INITSIG_CollDetCfg_CollDetCfg_Activate or \ref INIT_CollDetCfg instead. */ -#define SETUP_CollDetCfg_CollDetCfg_Activate 1, 0, 1, 1, 0 +#define SETUP_CollDetCfg_CollDetCfg_Activate 1, 0, 1, 1, 0 /** * Get signal CollDetCfg_Activate from buffer. @@ -20302,9 +20389,7 @@ * @return * The raw signal */ -#define GET_CollDetCfg_CollDetCfg_Activate(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 1) & 0x01) << 0) \ -) +#define GET_CollDetCfg_CollDetCfg_Activate(buf) (0 | (ubyte)(+(ubyte)((buf[0] >> 1) & 0x01) << 0)) /** * Set signal CollDetCfg_Activate in buffer. @@ -20314,10 +20399,11 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetCfg_CollDetCfg_Activate(buf, val) { \ - buf[0] &= ~(0x01 << 1); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 1; \ -} +#define SET_CollDetCfg_CollDetCfg_Activate(buf, val) \ + { \ + buf[0] &= ~(0x01 << 1); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 1; \ + } /** * Set signal CollDetCfg_Activate in buffer to its initial value. @@ -20325,8 +20411,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_CollDetCfg_CollDetCfg_Activate(buf) \ - SET_CollDetCfg_CollDetCfg_Activate(buf, 0) +#define INITSIG_CollDetCfg_CollDetCfg_Activate(buf) SET_CollDetCfg_CollDetCfg_Activate(buf, 0) /** * Signal CollDetCfg_Activate value conversion with 16 bit factor and offset. @@ -20339,35 +20424,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetCfg_CollDetCfg_Activate(x, fmt) \ - ((x) * fmt) +#define CALC_CollDetCfg_CollDetCfg_Activate(x, fmt) ((x) * fmt) /** * Signal CollDetCfg_Activate raw initial value. */ -#define START_CollDetCfg_CollDetCfg_Activate 0 +#define START_CollDetCfg_CollDetCfg_Activate 0 /** * Signal CollDetCfg_Activate raw minimum value. */ -#define MIN_CollDetCfg_CollDetCfg_Activate 0 +#define MIN_CollDetCfg_CollDetCfg_Activate 0 /** * Signal CollDetCfg_Activate raw maximum value. */ -#define MAX_CollDetCfg_CollDetCfg_Activate 1 +#define MAX_CollDetCfg_CollDetCfg_Activate 1 /** * Signal CollDetCfg_Activate raw offset value. */ -#define OFF_CollDetCfg_CollDetCfg_Activate 0 +#define OFF_CollDetCfg_CollDetCfg_Activate 0 /** * @} */ /** - * @defgroup ENUM_CollDetCfg_CollDetCfg_Activate Value Table for Signal CollDetCfg_Activate in Message CollDetCfg (0x400) + * @defgroup ENUM_CollDetCfg_CollDetCfg_Activate Value Table for Signal CollDetCfg_Activate in + * Message CollDetCfg (0x400) * * Enum values defined for \ref SIG_CollDetCfg_CollDetCfg_Activate. * @@ -20379,17 +20464,18 @@ * * @ingroup ENUM_CollDetCfg_CollDetCfg_Activate */ -#define CollDetCfg_CollDetCfg_Activate_Active 1 +#define CollDetCfg_CollDetCfg_Activate_Active 1 /** * Value table CollDetCfg_CollDetCfg_Activate entry Inactive. * * @ingroup ENUM_CollDetCfg_CollDetCfg_Activate */ -#define CollDetCfg_CollDetCfg_Activate_Inactive 0 +#define CollDetCfg_CollDetCfg_Activate_Inactive 0 /** - * @defgroup SIG_CollDetCfg_CollDetCfg_MinTime_valid Signal CollDetCfg_MinTime_valid of Message CollDetCfg (0x400) + * @defgroup SIG_CollDetCfg_CollDetCfg_MinTime_valid Signal CollDetCfg_MinTime_valid of Message + * CollDetCfg (0x400) * * Contains the value table \ref ENUM_CollDetCfg_CollDetCfg_MinTime_valid. * @@ -20404,9 +20490,10 @@ * Signal CollDetCfg_MinTime_valid configuration tuple. * * @deprecated - * Use \ref SET_CollDetCfg_CollDetCfg_MinTime_valid and \ref GET_CollDetCfg_CollDetCfg_MinTime_valid instead. + * Use \ref SET_CollDetCfg_CollDetCfg_MinTime_valid and \ref + *GET_CollDetCfg_CollDetCfg_MinTime_valid instead. */ -#define SIG_CollDetCfg_CollDetCfg_MinTime_valid 1, 0, 3, 1 +#define SIG_CollDetCfg_CollDetCfg_MinTime_valid 1, 0, 3, 1 /** * Signal CollDetCfg_MinTime_valid setup tuple. @@ -20414,7 +20501,7 @@ * @deprecated * Use \ref INITSIG_CollDetCfg_CollDetCfg_MinTime_valid or \ref INIT_CollDetCfg instead. */ -#define SETUP_CollDetCfg_CollDetCfg_MinTime_valid 1, 0, 3, 1, 0 +#define SETUP_CollDetCfg_CollDetCfg_MinTime_valid 1, 0, 3, 1, 0 /** * Get signal CollDetCfg_MinTime_valid from buffer. @@ -20424,9 +20511,8 @@ * @return * The raw signal */ -#define GET_CollDetCfg_CollDetCfg_MinTime_valid(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 3) & 0x01) << 0) \ -) +#define GET_CollDetCfg_CollDetCfg_MinTime_valid(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 3) & 0x01) << 0)) /** * Set signal CollDetCfg_MinTime_valid in buffer. @@ -20436,10 +20522,11 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetCfg_CollDetCfg_MinTime_valid(buf, val) { \ - buf[0] &= ~(0x01 << 3); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 3; \ -} +#define SET_CollDetCfg_CollDetCfg_MinTime_valid(buf, val) \ + { \ + buf[0] &= ~(0x01 << 3); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 3; \ + } /** * Set signal CollDetCfg_MinTime_valid in buffer to its initial value. @@ -20448,7 +20535,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetCfg_CollDetCfg_MinTime_valid(buf) \ - SET_CollDetCfg_CollDetCfg_MinTime_valid(buf, 0) + SET_CollDetCfg_CollDetCfg_MinTime_valid(buf, 0) /** * Signal CollDetCfg_MinTime_valid value conversion with 16 bit factor and offset. @@ -20461,35 +20548,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetCfg_CollDetCfg_MinTime_valid(x, fmt) \ - ((x) * fmt) +#define CALC_CollDetCfg_CollDetCfg_MinTime_valid(x, fmt) ((x) * fmt) /** * Signal CollDetCfg_MinTime_valid raw initial value. */ -#define START_CollDetCfg_CollDetCfg_MinTime_valid 0 +#define START_CollDetCfg_CollDetCfg_MinTime_valid 0 /** * Signal CollDetCfg_MinTime_valid raw minimum value. */ -#define MIN_CollDetCfg_CollDetCfg_MinTime_valid 0 +#define MIN_CollDetCfg_CollDetCfg_MinTime_valid 0 /** * Signal CollDetCfg_MinTime_valid raw maximum value. */ -#define MAX_CollDetCfg_CollDetCfg_MinTime_valid 1 +#define MAX_CollDetCfg_CollDetCfg_MinTime_valid 1 /** * Signal CollDetCfg_MinTime_valid raw offset value. */ -#define OFF_CollDetCfg_CollDetCfg_MinTime_valid 0 +#define OFF_CollDetCfg_CollDetCfg_MinTime_valid 0 /** * @} */ /** - * @defgroup ENUM_CollDetCfg_CollDetCfg_MinTime_valid Value Table for Signal CollDetCfg_MinTime_valid in Message CollDetCfg (0x400) + * @defgroup ENUM_CollDetCfg_CollDetCfg_MinTime_valid Value Table for Signal + * CollDetCfg_MinTime_valid in Message CollDetCfg (0x400) * * Enum values defined for \ref SIG_CollDetCfg_CollDetCfg_MinTime_valid. * @@ -20501,17 +20588,18 @@ * * @ingroup ENUM_CollDetCfg_CollDetCfg_MinTime_valid */ -#define CollDetCfg_CollDetCfg_MinTime_valid_Valid 1 +#define CollDetCfg_CollDetCfg_MinTime_valid_Valid 1 /** * Value table CollDetCfg_CollDetCfg_MinTime_valid entry Invalid. * * @ingroup ENUM_CollDetCfg_CollDetCfg_MinTime_valid */ -#define CollDetCfg_CollDetCfg_MinTime_valid_Invalid 0 +#define CollDetCfg_CollDetCfg_MinTime_valid_Invalid 0 /** - * @defgroup SIG_CollDetCfg_CollDetCfg_MinDetectTime Signal CollDetCfg_MinDetectTime of Message CollDetCfg (0x400) + * @defgroup SIG_CollDetCfg_CollDetCfg_MinDetectTime Signal CollDetCfg_MinDetectTime of Message + * CollDetCfg (0x400) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -20524,9 +20612,10 @@ * Signal CollDetCfg_MinDetectTime configuration tuple. * * @deprecated - * Use \ref SET_CollDetCfg_CollDetCfg_MinDetectTime and \ref GET_CollDetCfg_CollDetCfg_MinDetectTime instead. + * Use \ref SET_CollDetCfg_CollDetCfg_MinDetectTime and \ref + *GET_CollDetCfg_CollDetCfg_MinDetectTime instead. */ -#define SIG_CollDetCfg_CollDetCfg_MinDetectTime 1, 0, 15, 8 +#define SIG_CollDetCfg_CollDetCfg_MinDetectTime 1, 0, 15, 8 /** * Signal CollDetCfg_MinDetectTime setup tuple. @@ -20534,7 +20623,7 @@ * @deprecated * Use \ref INITSIG_CollDetCfg_CollDetCfg_MinDetectTime or \ref INIT_CollDetCfg instead. */ -#define SETUP_CollDetCfg_CollDetCfg_MinDetectTime 1, 0, 15, 8, 0 +#define SETUP_CollDetCfg_CollDetCfg_MinDetectTime 1, 0, 15, 8, 0 /** * Get signal CollDetCfg_MinDetectTime from buffer. @@ -20544,9 +20633,8 @@ * @return * The raw signal */ -#define GET_CollDetCfg_CollDetCfg_MinDetectTime(buf) (0 \ - | (ubyte)(+(ubyte)((buf[1] >> 0) & 0xff) << 0) \ -) +#define GET_CollDetCfg_CollDetCfg_MinDetectTime(buf) \ + (0 | (ubyte)(+(ubyte)((buf[1] >> 0) & 0xff) << 0)) /** * Set signal CollDetCfg_MinDetectTime in buffer. @@ -20556,10 +20644,11 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetCfg_CollDetCfg_MinDetectTime(buf, val) { \ - buf[1] &= ~(0xff << 0); \ - buf[1] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_CollDetCfg_CollDetCfg_MinDetectTime(buf, val) \ + { \ + buf[1] &= ~(0xff << 0); \ + buf[1] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal CollDetCfg_MinDetectTime in buffer to its initial value. @@ -20568,7 +20657,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetCfg_CollDetCfg_MinDetectTime(buf) \ - SET_CollDetCfg_CollDetCfg_MinDetectTime(buf, 0) + SET_CollDetCfg_CollDetCfg_MinDetectTime(buf, 0) /** * Signal CollDetCfg_MinDetectTime value conversion with 16 bit factor and offset. @@ -20581,35 +20670,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetCfg_CollDetCfg_MinDetectTime(x, fmt) \ - ((x) * fmt / 10) +#define CALC_CollDetCfg_CollDetCfg_MinDetectTime(x, fmt) ((x) * fmt / 10) /** * Signal CollDetCfg_MinDetectTime raw initial value. */ -#define START_CollDetCfg_CollDetCfg_MinDetectTime 0 +#define START_CollDetCfg_CollDetCfg_MinDetectTime 0 /** * Signal CollDetCfg_MinDetectTime raw minimum value. */ -#define MIN_CollDetCfg_CollDetCfg_MinDetectTime 0 +#define MIN_CollDetCfg_CollDetCfg_MinDetectTime 0 /** * Signal CollDetCfg_MinDetectTime raw maximum value. */ -#define MAX_CollDetCfg_CollDetCfg_MinDetectTime 255 +#define MAX_CollDetCfg_CollDetCfg_MinDetectTime 255 /** * Signal CollDetCfg_MinDetectTime raw offset value. */ -#define OFF_CollDetCfg_CollDetCfg_MinDetectTime 0 +#define OFF_CollDetCfg_CollDetCfg_MinDetectTime 0 /** * @} */ /** - * @defgroup SIG_CollDetRegionCfg_CollDetRegCfg_Activate Signal CollDetRegCfg_Activate of Message CollDetRegionCfg (0x401) + * @defgroup SIG_CollDetRegionCfg_CollDetRegCfg_Activate Signal CollDetRegCfg_Activate of Message + * CollDetRegionCfg (0x401) * * Contains the value table \ref ENUM_CollDetRegionCfg_CollDetRegCfg_Activate. * @@ -20624,17 +20713,19 @@ * Signal CollDetRegCfg_Activate configuration tuple. * * @deprecated - * Use \ref SET_CollDetRegionCfg_CollDetRegCfg_Activate and \ref GET_CollDetRegionCfg_CollDetRegCfg_Activate instead. + * Use \ref SET_CollDetRegionCfg_CollDetRegCfg_Activate and \ref + *GET_CollDetRegionCfg_CollDetRegCfg_Activate instead. */ -#define SIG_CollDetRegionCfg_CollDetRegCfg_Activate 1, 0, 1, 1 +#define SIG_CollDetRegionCfg_CollDetRegCfg_Activate 1, 0, 1, 1 /** * Signal CollDetRegCfg_Activate setup tuple. * * @deprecated - * Use \ref INITSIG_CollDetRegionCfg_CollDetRegCfg_Activate or \ref INIT_CollDetRegionCfg instead. + * Use \ref INITSIG_CollDetRegionCfg_CollDetRegCfg_Activate or \ref INIT_CollDetRegionCfg + *instead. */ -#define SETUP_CollDetRegionCfg_CollDetRegCfg_Activate 1, 0, 1, 1, 0 +#define SETUP_CollDetRegionCfg_CollDetRegCfg_Activate 1, 0, 1, 1, 0 /** * Get signal CollDetRegCfg_Activate from buffer. @@ -20644,9 +20735,8 @@ * @return * The raw signal */ -#define GET_CollDetRegionCfg_CollDetRegCfg_Activate(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 1) & 0x01) << 0) \ -) +#define GET_CollDetRegionCfg_CollDetRegCfg_Activate(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 1) & 0x01) << 0)) /** * Set signal CollDetRegCfg_Activate in buffer. @@ -20656,10 +20746,11 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetRegionCfg_CollDetRegCfg_Activate(buf, val) { \ - buf[0] &= ~(0x01 << 1); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 1; \ -} +#define SET_CollDetRegionCfg_CollDetRegCfg_Activate(buf, val) \ + { \ + buf[0] &= ~(0x01 << 1); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 1; \ + } /** * Set signal CollDetRegCfg_Activate in buffer to its initial value. @@ -20668,7 +20759,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetRegionCfg_CollDetRegCfg_Activate(buf) \ - SET_CollDetRegionCfg_CollDetRegCfg_Activate(buf, 0) + SET_CollDetRegionCfg_CollDetRegCfg_Activate(buf, 0) /** * Signal CollDetRegCfg_Activate value conversion with 16 bit factor and offset. @@ -20681,35 +20772,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetRegionCfg_CollDetRegCfg_Activate(x, fmt) \ - ((x) * fmt) +#define CALC_CollDetRegionCfg_CollDetRegCfg_Activate(x, fmt) ((x) * fmt) /** * Signal CollDetRegCfg_Activate raw initial value. */ -#define START_CollDetRegionCfg_CollDetRegCfg_Activate 0 +#define START_CollDetRegionCfg_CollDetRegCfg_Activate 0 /** * Signal CollDetRegCfg_Activate raw minimum value. */ -#define MIN_CollDetRegionCfg_CollDetRegCfg_Activate 0 +#define MIN_CollDetRegionCfg_CollDetRegCfg_Activate 0 /** * Signal CollDetRegCfg_Activate raw maximum value. */ -#define MAX_CollDetRegionCfg_CollDetRegCfg_Activate 1 +#define MAX_CollDetRegionCfg_CollDetRegCfg_Activate 1 /** * Signal CollDetRegCfg_Activate raw offset value. */ -#define OFF_CollDetRegionCfg_CollDetRegCfg_Activate 0 +#define OFF_CollDetRegionCfg_CollDetRegCfg_Activate 0 /** * @} */ /** - * @defgroup ENUM_CollDetRegionCfg_CollDetRegCfg_Activate Value Table for Signal CollDetRegCfg_Activate in Message CollDetRegionCfg (0x401) + * @defgroup ENUM_CollDetRegionCfg_CollDetRegCfg_Activate Value Table for Signal + * CollDetRegCfg_Activate in Message CollDetRegionCfg (0x401) * * Enum values defined for \ref SIG_CollDetRegionCfg_CollDetRegCfg_Activate. * @@ -20721,17 +20812,18 @@ * * @ingroup ENUM_CollDetRegionCfg_CollDetRegCfg_Activate */ -#define CollDetRegionCfg_CollDetRegCfg_Activate_Active 1 +#define CollDetRegionCfg_CollDetRegCfg_Activate_Active 1 /** * Value table CollDetRegionCfg_CollDetRegCfg_Activate entry Inactive. * * @ingroup ENUM_CollDetRegionCfg_CollDetRegCfg_Activate */ -#define CollDetRegionCfg_CollDetRegCfg_Activate_Inactive 0 +#define CollDetRegionCfg_CollDetRegCfg_Activate_Inactive 0 /** - * @defgroup SIG_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid Signal CollDetRegCfg_Coordinates_valid of Message CollDetRegionCfg (0x401) + * @defgroup SIG_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid Signal + * CollDetRegCfg_Coordinates_valid of Message CollDetRegionCfg (0x401) * * Contains the value table \ref ENUM_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid. * @@ -20746,17 +20838,19 @@ * Signal CollDetRegCfg_Coordinates_valid configuration tuple. * * @deprecated - * Use \ref SET_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid and \ref GET_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid instead. + * Use \ref SET_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid and \ref + *GET_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid instead. */ -#define SIG_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid 1, 0, 2, 1 +#define SIG_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid 1, 0, 2, 1 /** * Signal CollDetRegCfg_Coordinates_valid setup tuple. * * @deprecated - * Use \ref INITSIG_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid or \ref INIT_CollDetRegionCfg instead. + * Use \ref INITSIG_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid or \ref + *INIT_CollDetRegionCfg instead. */ -#define SETUP_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid 1, 0, 2, 1, 0 +#define SETUP_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid 1, 0, 2, 1, 0 /** * Get signal CollDetRegCfg_Coordinates_valid from buffer. @@ -20766,9 +20860,8 @@ * @return * The raw signal */ -#define GET_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 2) & 0x01) << 0) \ -) +#define GET_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 2) & 0x01) << 0)) /** * Set signal CollDetRegCfg_Coordinates_valid in buffer. @@ -20778,10 +20871,11 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid(buf, val) { \ - buf[0] &= ~(0x01 << 2); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 2; \ -} +#define SET_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid(buf, val) \ + { \ + buf[0] &= ~(0x01 << 2); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 2; \ + } /** * Set signal CollDetRegCfg_Coordinates_valid in buffer to its initial value. @@ -20790,7 +20884,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid(buf) \ - SET_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid(buf, 0) + SET_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid(buf, 0) /** * Signal CollDetRegCfg_Coordinates_valid value conversion with 16 bit factor and offset. @@ -20803,35 +20897,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid(x, fmt) \ - ((x) * fmt) +#define CALC_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid(x, fmt) ((x) * fmt) /** * Signal CollDetRegCfg_Coordinates_valid raw initial value. */ -#define START_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid 0 +#define START_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid 0 /** * Signal CollDetRegCfg_Coordinates_valid raw minimum value. */ -#define MIN_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid 0 +#define MIN_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid 0 /** * Signal CollDetRegCfg_Coordinates_valid raw maximum value. */ -#define MAX_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid 1 +#define MAX_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid 1 /** * Signal CollDetRegCfg_Coordinates_valid raw offset value. */ -#define OFF_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid 0 +#define OFF_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid 0 /** * @} */ /** - * @defgroup ENUM_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid Value Table for Signal CollDetRegCfg_Coordinates_valid in Message CollDetRegionCfg (0x401) + * @defgroup ENUM_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid Value Table for Signal + * CollDetRegCfg_Coordinates_valid in Message CollDetRegionCfg (0x401) * * Enum values defined for \ref SIG_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid. * @@ -20843,17 +20937,18 @@ * * @ingroup ENUM_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid */ -#define CollDetRegionCfg_CollDetRegCfg_Coordinates_valid_Valid 1 +#define CollDetRegionCfg_CollDetRegCfg_Coordinates_valid_Valid 1 /** * Value table CollDetRegionCfg_CollDetRegCfg_Coordinates_valid entry Invalid. * * @ingroup ENUM_CollDetRegionCfg_CollDetRegCfg_Coordinates_valid */ -#define CollDetRegionCfg_CollDetRegCfg_Coordinates_valid_Invalid 0 +#define CollDetRegionCfg_CollDetRegCfg_Coordinates_valid_Invalid 0 /** - * @defgroup SIG_CollDetRegionCfg_CollDetRegCfg_RegionID Signal CollDetRegCfg_RegionID of Message CollDetRegionCfg (0x401) + * @defgroup SIG_CollDetRegionCfg_CollDetRegCfg_RegionID Signal CollDetRegCfg_RegionID of Message + * CollDetRegionCfg (0x401) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -20866,17 +20961,19 @@ * Signal CollDetRegCfg_RegionID configuration tuple. * * @deprecated - * Use \ref SET_CollDetRegionCfg_CollDetRegCfg_RegionID and \ref GET_CollDetRegionCfg_CollDetRegCfg_RegionID instead. + * Use \ref SET_CollDetRegionCfg_CollDetRegCfg_RegionID and \ref + *GET_CollDetRegionCfg_CollDetRegCfg_RegionID instead. */ -#define SIG_CollDetRegionCfg_CollDetRegCfg_RegionID 1, 0, 10, 3 +#define SIG_CollDetRegionCfg_CollDetRegCfg_RegionID 1, 0, 10, 3 /** * Signal CollDetRegCfg_RegionID setup tuple. * * @deprecated - * Use \ref INITSIG_CollDetRegionCfg_CollDetRegCfg_RegionID or \ref INIT_CollDetRegionCfg instead. + * Use \ref INITSIG_CollDetRegionCfg_CollDetRegCfg_RegionID or \ref INIT_CollDetRegionCfg + *instead. */ -#define SETUP_CollDetRegionCfg_CollDetRegCfg_RegionID 1, 0, 10, 3, 0 +#define SETUP_CollDetRegionCfg_CollDetRegCfg_RegionID 1, 0, 10, 3, 0 /** * Get signal CollDetRegCfg_RegionID from buffer. @@ -20886,9 +20983,8 @@ * @return * The raw signal */ -#define GET_CollDetRegionCfg_CollDetRegCfg_RegionID(buf) (0 \ - | (ubyte)(+(ubyte)((buf[1] >> 0) & 0x07) << 0) \ -) +#define GET_CollDetRegionCfg_CollDetRegCfg_RegionID(buf) \ + (0 | (ubyte)(+(ubyte)((buf[1] >> 0) & 0x07) << 0)) /** * Set signal CollDetRegCfg_RegionID in buffer. @@ -20898,10 +20994,11 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetRegionCfg_CollDetRegCfg_RegionID(buf, val) { \ - buf[1] &= ~(0x07 << 0); \ - buf[1] |= (((ubyte)(val) >> 0) & 0x07) << 0; \ -} +#define SET_CollDetRegionCfg_CollDetRegCfg_RegionID(buf, val) \ + { \ + buf[1] &= ~(0x07 << 0); \ + buf[1] |= (((ubyte)(val) >> 0) & 0x07) << 0; \ + } /** * Set signal CollDetRegCfg_RegionID in buffer to its initial value. @@ -20910,7 +21007,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetRegionCfg_CollDetRegCfg_RegionID(buf) \ - SET_CollDetRegionCfg_CollDetRegCfg_RegionID(buf, 0) + SET_CollDetRegionCfg_CollDetRegCfg_RegionID(buf, 0) /** * Signal CollDetRegCfg_RegionID value conversion with 16 bit factor and offset. @@ -20923,35 +21020,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetRegionCfg_CollDetRegCfg_RegionID(x, fmt) \ - ((x) * fmt) +#define CALC_CollDetRegionCfg_CollDetRegCfg_RegionID(x, fmt) ((x) * fmt) /** * Signal CollDetRegCfg_RegionID raw initial value. */ -#define START_CollDetRegionCfg_CollDetRegCfg_RegionID 0 +#define START_CollDetRegionCfg_CollDetRegCfg_RegionID 0 /** * Signal CollDetRegCfg_RegionID raw minimum value. */ -#define MIN_CollDetRegionCfg_CollDetRegCfg_RegionID 0 +#define MIN_CollDetRegionCfg_CollDetRegCfg_RegionID 0 /** * Signal CollDetRegCfg_RegionID raw maximum value. */ -#define MAX_CollDetRegionCfg_CollDetRegCfg_RegionID 7 +#define MAX_CollDetRegionCfg_CollDetRegCfg_RegionID 7 /** * Signal CollDetRegCfg_RegionID raw offset value. */ -#define OFF_CollDetRegionCfg_CollDetRegCfg_RegionID 0 +#define OFF_CollDetRegionCfg_CollDetRegCfg_RegionID 0 /** * @} */ /** - * @defgroup SIG_CollDetRegionCfg_CollDetRegCfg_Point1X Signal CollDetRegCfg_Point1X of Message CollDetRegionCfg (0x401) + * @defgroup SIG_CollDetRegionCfg_CollDetRegCfg_Point1X Signal CollDetRegCfg_Point1X of Message + * CollDetRegionCfg (0x401) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -20964,17 +21061,19 @@ * Signal CollDetRegCfg_Point1X configuration tuple. * * @deprecated - * Use \ref SET_CollDetRegionCfg_CollDetRegCfg_Point1X and \ref GET_CollDetRegionCfg_CollDetRegCfg_Point1X instead. + * Use \ref SET_CollDetRegionCfg_CollDetRegCfg_Point1X and \ref + *GET_CollDetRegionCfg_CollDetRegCfg_Point1X instead. */ -#define SIG_CollDetRegionCfg_CollDetRegCfg_Point1X 1, 0, 23, 13 +#define SIG_CollDetRegionCfg_CollDetRegCfg_Point1X 1, 0, 23, 13 /** * Signal CollDetRegCfg_Point1X setup tuple. * * @deprecated - * Use \ref INITSIG_CollDetRegionCfg_CollDetRegCfg_Point1X or \ref INIT_CollDetRegionCfg instead. + * Use \ref INITSIG_CollDetRegionCfg_CollDetRegCfg_Point1X or \ref INIT_CollDetRegionCfg + *instead. */ -#define SETUP_CollDetRegionCfg_CollDetRegCfg_Point1X 1, 0, 23, 13, 2500 +#define SETUP_CollDetRegionCfg_CollDetRegCfg_Point1X 1, 0, 23, 13, 2500 /** * Get signal CollDetRegCfg_Point1X from buffer. @@ -20984,10 +21083,8 @@ * @return * The raw signal */ -#define GET_CollDetRegionCfg_CollDetRegCfg_Point1X(buf) (0 \ - | (uword)(+(uword)((buf[2] >> 0) & 0xff) << 5) \ - | (ubyte)(+(ubyte)((buf[3] >> 3) & 0x1f) << 0) \ -) +#define GET_CollDetRegionCfg_CollDetRegCfg_Point1X(buf) \ + (0 | (uword)(+(uword)((buf[2] >> 0) & 0xff) << 5) | (ubyte)(+(ubyte)((buf[3] >> 3) & 0x1f) << 0)) /** * Set signal CollDetRegCfg_Point1X in buffer. @@ -20997,12 +21094,13 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetRegionCfg_CollDetRegCfg_Point1X(buf, val) { \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= ((ubyte)((uword)(val) >> 5) & 0xff) << 0; \ - buf[3] &= ~(0x1f << 3); \ - buf[3] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ -} +#define SET_CollDetRegionCfg_CollDetRegCfg_Point1X(buf, val) \ + { \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= ((ubyte)((uword)(val) >> 5) & 0xff) << 0; \ + buf[3] &= ~(0x1f << 3); \ + buf[3] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ + } /** * Set signal CollDetRegCfg_Point1X in buffer to its initial value. @@ -21011,7 +21109,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetRegionCfg_CollDetRegCfg_Point1X(buf) \ - SET_CollDetRegionCfg_CollDetRegCfg_Point1X(buf, 2500) + SET_CollDetRegionCfg_CollDetRegCfg_Point1X(buf, 2500) /** * Signal CollDetRegCfg_Point1X value conversion with 16 bit factor and offset. @@ -21024,35 +21122,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetRegionCfg_CollDetRegCfg_Point1X(x, fmt) \ - ((x) * fmt / 5 + fmt * (-500)) +#define CALC_CollDetRegionCfg_CollDetRegCfg_Point1X(x, fmt) ((x) * fmt / 5 + fmt * (-500)) /** * Signal CollDetRegCfg_Point1X raw initial value. */ -#define START_CollDetRegionCfg_CollDetRegCfg_Point1X 2500 +#define START_CollDetRegionCfg_CollDetRegCfg_Point1X 2500 /** * Signal CollDetRegCfg_Point1X raw minimum value. */ -#define MIN_CollDetRegionCfg_CollDetRegCfg_Point1X 0 +#define MIN_CollDetRegionCfg_CollDetRegCfg_Point1X 0 /** * Signal CollDetRegCfg_Point1X raw maximum value. */ -#define MAX_CollDetRegionCfg_CollDetRegCfg_Point1X 8191 +#define MAX_CollDetRegionCfg_CollDetRegCfg_Point1X 8191 /** * Signal CollDetRegCfg_Point1X raw offset value. */ -#define OFF_CollDetRegionCfg_CollDetRegCfg_Point1X -2500 +#define OFF_CollDetRegionCfg_CollDetRegCfg_Point1X -2500 /** * @} */ /** - * @defgroup SIG_CollDetRegionCfg_CollDetRegCfg_Point1Y Signal CollDetRegCfg_Point1Y of Message CollDetRegionCfg (0x401) + * @defgroup SIG_CollDetRegionCfg_CollDetRegCfg_Point1Y Signal CollDetRegCfg_Point1Y of Message + * CollDetRegionCfg (0x401) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -21065,17 +21163,19 @@ * Signal CollDetRegCfg_Point1Y configuration tuple. * * @deprecated - * Use \ref SET_CollDetRegionCfg_CollDetRegCfg_Point1Y and \ref GET_CollDetRegionCfg_CollDetRegCfg_Point1Y instead. + * Use \ref SET_CollDetRegionCfg_CollDetRegCfg_Point1Y and \ref + *GET_CollDetRegionCfg_CollDetRegCfg_Point1Y instead. */ -#define SIG_CollDetRegionCfg_CollDetRegCfg_Point1Y 1, 0, 26, 11 +#define SIG_CollDetRegionCfg_CollDetRegCfg_Point1Y 1, 0, 26, 11 /** * Signal CollDetRegCfg_Point1Y setup tuple. * * @deprecated - * Use \ref INITSIG_CollDetRegionCfg_CollDetRegCfg_Point1Y or \ref INIT_CollDetRegionCfg instead. + * Use \ref INITSIG_CollDetRegionCfg_CollDetRegCfg_Point1Y or \ref INIT_CollDetRegionCfg + *instead. */ -#define SETUP_CollDetRegionCfg_CollDetRegCfg_Point1Y 1, 0, 26, 11, 1023 +#define SETUP_CollDetRegionCfg_CollDetRegCfg_Point1Y 1, 0, 26, 11, 1023 /** * Get signal CollDetRegCfg_Point1Y from buffer. @@ -21085,10 +21185,8 @@ * @return * The raw signal */ -#define GET_CollDetRegionCfg_CollDetRegCfg_Point1Y(buf) (0 \ - | (uword)(+(uword)((buf[3] >> 0) & 0x07) << 8) \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0) \ -) +#define GET_CollDetRegionCfg_CollDetRegCfg_Point1Y(buf) \ + (0 | (uword)(+(uword)((buf[3] >> 0) & 0x07) << 8) | (ubyte)(+(ubyte)((buf[4] >> 0) & 0xff) << 0)) /** * Set signal CollDetRegCfg_Point1Y in buffer. @@ -21098,12 +21196,13 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetRegionCfg_CollDetRegCfg_Point1Y(buf, val) { \ - buf[3] &= ~(0x07 << 0); \ - buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x07) << 0; \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_CollDetRegionCfg_CollDetRegCfg_Point1Y(buf, val) \ + { \ + buf[3] &= ~(0x07 << 0); \ + buf[3] |= ((ubyte)((uword)(val) >> 8) & 0x07) << 0; \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal CollDetRegCfg_Point1Y in buffer to its initial value. @@ -21112,7 +21211,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetRegionCfg_CollDetRegCfg_Point1Y(buf) \ - SET_CollDetRegionCfg_CollDetRegCfg_Point1Y(buf, 1023) + SET_CollDetRegionCfg_CollDetRegCfg_Point1Y(buf, 1023) /** * Signal CollDetRegCfg_Point1Y value conversion with 16 bit factor and offset. @@ -21125,35 +21224,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetRegionCfg_CollDetRegCfg_Point1Y(x, fmt) \ - ((x) * fmt / 5 + fmt * (-1024) / 5) +#define CALC_CollDetRegionCfg_CollDetRegCfg_Point1Y(x, fmt) ((x) * fmt / 5 + fmt * (-1024) / 5) /** * Signal CollDetRegCfg_Point1Y raw initial value. */ -#define START_CollDetRegionCfg_CollDetRegCfg_Point1Y 1023 +#define START_CollDetRegionCfg_CollDetRegCfg_Point1Y 1023 /** * Signal CollDetRegCfg_Point1Y raw minimum value. */ -#define MIN_CollDetRegionCfg_CollDetRegCfg_Point1Y 0 +#define MIN_CollDetRegionCfg_CollDetRegCfg_Point1Y 0 /** * Signal CollDetRegCfg_Point1Y raw maximum value. */ -#define MAX_CollDetRegionCfg_CollDetRegCfg_Point1Y 2047 +#define MAX_CollDetRegionCfg_CollDetRegCfg_Point1Y 2047 /** * Signal CollDetRegCfg_Point1Y raw offset value. */ -#define OFF_CollDetRegionCfg_CollDetRegCfg_Point1Y -1023 +#define OFF_CollDetRegionCfg_CollDetRegCfg_Point1Y -1023 /** * @} */ /** - * @defgroup SIG_CollDetRegionCfg_CollDetRegCfg_Point2X Signal CollDetRegCfg_Point2X of Message CollDetRegionCfg (0x401) + * @defgroup SIG_CollDetRegionCfg_CollDetRegCfg_Point2X Signal CollDetRegCfg_Point2X of Message + * CollDetRegionCfg (0x401) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -21166,17 +21265,19 @@ * Signal CollDetRegCfg_Point2X configuration tuple. * * @deprecated - * Use \ref SET_CollDetRegionCfg_CollDetRegCfg_Point2X and \ref GET_CollDetRegionCfg_CollDetRegCfg_Point2X instead. + * Use \ref SET_CollDetRegionCfg_CollDetRegCfg_Point2X and \ref + *GET_CollDetRegionCfg_CollDetRegCfg_Point2X instead. */ -#define SIG_CollDetRegionCfg_CollDetRegCfg_Point2X 1, 0, 47, 13 +#define SIG_CollDetRegionCfg_CollDetRegCfg_Point2X 1, 0, 47, 13 /** * Signal CollDetRegCfg_Point2X setup tuple. * * @deprecated - * Use \ref INITSIG_CollDetRegionCfg_CollDetRegCfg_Point2X or \ref INIT_CollDetRegionCfg instead. + * Use \ref INITSIG_CollDetRegionCfg_CollDetRegCfg_Point2X or \ref INIT_CollDetRegionCfg + *instead. */ -#define SETUP_CollDetRegionCfg_CollDetRegCfg_Point2X 1, 0, 47, 13, 2500 +#define SETUP_CollDetRegionCfg_CollDetRegCfg_Point2X 1, 0, 47, 13, 2500 /** * Get signal CollDetRegCfg_Point2X from buffer. @@ -21186,10 +21287,8 @@ * @return * The raw signal */ -#define GET_CollDetRegionCfg_CollDetRegCfg_Point2X(buf) (0 \ - | (uword)(+(uword)((buf[5] >> 0) & 0xff) << 5) \ - | (ubyte)(+(ubyte)((buf[6] >> 3) & 0x1f) << 0) \ -) +#define GET_CollDetRegionCfg_CollDetRegCfg_Point2X(buf) \ + (0 | (uword)(+(uword)((buf[5] >> 0) & 0xff) << 5) | (ubyte)(+(ubyte)((buf[6] >> 3) & 0x1f) << 0)) /** * Set signal CollDetRegCfg_Point2X in buffer. @@ -21199,12 +21298,13 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetRegionCfg_CollDetRegCfg_Point2X(buf, val) { \ - buf[5] &= ~(0xff << 0); \ - buf[5] |= ((ubyte)((uword)(val) >> 5) & 0xff) << 0; \ - buf[6] &= ~(0x1f << 3); \ - buf[6] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ -} +#define SET_CollDetRegionCfg_CollDetRegCfg_Point2X(buf, val) \ + { \ + buf[5] &= ~(0xff << 0); \ + buf[5] |= ((ubyte)((uword)(val) >> 5) & 0xff) << 0; \ + buf[6] &= ~(0x1f << 3); \ + buf[6] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ + } /** * Set signal CollDetRegCfg_Point2X in buffer to its initial value. @@ -21213,7 +21313,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetRegionCfg_CollDetRegCfg_Point2X(buf) \ - SET_CollDetRegionCfg_CollDetRegCfg_Point2X(buf, 2500) + SET_CollDetRegionCfg_CollDetRegCfg_Point2X(buf, 2500) /** * Signal CollDetRegCfg_Point2X value conversion with 16 bit factor and offset. @@ -21226,35 +21326,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetRegionCfg_CollDetRegCfg_Point2X(x, fmt) \ - ((x) * fmt / 5 + fmt * (-500)) +#define CALC_CollDetRegionCfg_CollDetRegCfg_Point2X(x, fmt) ((x) * fmt / 5 + fmt * (-500)) /** * Signal CollDetRegCfg_Point2X raw initial value. */ -#define START_CollDetRegionCfg_CollDetRegCfg_Point2X 2500 +#define START_CollDetRegionCfg_CollDetRegCfg_Point2X 2500 /** * Signal CollDetRegCfg_Point2X raw minimum value. */ -#define MIN_CollDetRegionCfg_CollDetRegCfg_Point2X 0 +#define MIN_CollDetRegionCfg_CollDetRegCfg_Point2X 0 /** * Signal CollDetRegCfg_Point2X raw maximum value. */ -#define MAX_CollDetRegionCfg_CollDetRegCfg_Point2X 8191 +#define MAX_CollDetRegionCfg_CollDetRegCfg_Point2X 8191 /** * Signal CollDetRegCfg_Point2X raw offset value. */ -#define OFF_CollDetRegionCfg_CollDetRegCfg_Point2X -2500 +#define OFF_CollDetRegionCfg_CollDetRegCfg_Point2X -2500 /** * @} */ /** - * @defgroup SIG_CollDetRegionCfg_CollDetRegCfg_Point2Y Signal CollDetRegCfg_Point2Y of Message CollDetRegionCfg (0x401) + * @defgroup SIG_CollDetRegionCfg_CollDetRegCfg_Point2Y Signal CollDetRegCfg_Point2Y of Message + * CollDetRegionCfg (0x401) * * Received by the ECUs: * - \ref ECU_ARS_ISF @@ -21267,17 +21367,19 @@ * Signal CollDetRegCfg_Point2Y configuration tuple. * * @deprecated - * Use \ref SET_CollDetRegionCfg_CollDetRegCfg_Point2Y and \ref GET_CollDetRegionCfg_CollDetRegCfg_Point2Y instead. + * Use \ref SET_CollDetRegionCfg_CollDetRegCfg_Point2Y and \ref + *GET_CollDetRegionCfg_CollDetRegCfg_Point2Y instead. */ -#define SIG_CollDetRegionCfg_CollDetRegCfg_Point2Y 1, 0, 50, 11 +#define SIG_CollDetRegionCfg_CollDetRegCfg_Point2Y 1, 0, 50, 11 /** * Signal CollDetRegCfg_Point2Y setup tuple. * * @deprecated - * Use \ref INITSIG_CollDetRegionCfg_CollDetRegCfg_Point2Y or \ref INIT_CollDetRegionCfg instead. + * Use \ref INITSIG_CollDetRegionCfg_CollDetRegCfg_Point2Y or \ref INIT_CollDetRegionCfg + *instead. */ -#define SETUP_CollDetRegionCfg_CollDetRegCfg_Point2Y 1, 0, 50, 11, 1023 +#define SETUP_CollDetRegionCfg_CollDetRegCfg_Point2Y 1, 0, 50, 11, 1023 /** * Get signal CollDetRegCfg_Point2Y from buffer. @@ -21287,10 +21389,8 @@ * @return * The raw signal */ -#define GET_CollDetRegionCfg_CollDetRegCfg_Point2Y(buf) (0 \ - | (uword)(+(uword)((buf[6] >> 0) & 0x07) << 8) \ - | (ubyte)(+(ubyte)((buf[7] >> 0) & 0xff) << 0) \ -) +#define GET_CollDetRegionCfg_CollDetRegCfg_Point2Y(buf) \ + (0 | (uword)(+(uword)((buf[6] >> 0) & 0x07) << 8) | (ubyte)(+(ubyte)((buf[7] >> 0) & 0xff) << 0)) /** * Set signal CollDetRegCfg_Point2Y in buffer. @@ -21300,12 +21400,13 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetRegionCfg_CollDetRegCfg_Point2Y(buf, val) { \ - buf[6] &= ~(0x07 << 0); \ - buf[6] |= ((ubyte)((uword)(val) >> 8) & 0x07) << 0; \ - buf[7] &= ~(0xff << 0); \ - buf[7] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_CollDetRegionCfg_CollDetRegCfg_Point2Y(buf, val) \ + { \ + buf[6] &= ~(0x07 << 0); \ + buf[6] |= ((ubyte)((uword)(val) >> 8) & 0x07) << 0; \ + buf[7] &= ~(0xff << 0); \ + buf[7] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal CollDetRegCfg_Point2Y in buffer to its initial value. @@ -21314,7 +21415,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetRegionCfg_CollDetRegCfg_Point2Y(buf) \ - SET_CollDetRegionCfg_CollDetRegCfg_Point2Y(buf, 1023) + SET_CollDetRegionCfg_CollDetRegCfg_Point2Y(buf, 1023) /** * Signal CollDetRegCfg_Point2Y value conversion with 16 bit factor and offset. @@ -21327,35 +21428,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetRegionCfg_CollDetRegCfg_Point2Y(x, fmt) \ - ((x) * fmt / 5 + fmt * (-1024) / 5) +#define CALC_CollDetRegionCfg_CollDetRegCfg_Point2Y(x, fmt) ((x) * fmt / 5 + fmt * (-1024) / 5) /** * Signal CollDetRegCfg_Point2Y raw initial value. */ -#define START_CollDetRegionCfg_CollDetRegCfg_Point2Y 1023 +#define START_CollDetRegionCfg_CollDetRegCfg_Point2Y 1023 /** * Signal CollDetRegCfg_Point2Y raw minimum value. */ -#define MIN_CollDetRegionCfg_CollDetRegCfg_Point2Y 0 +#define MIN_CollDetRegionCfg_CollDetRegCfg_Point2Y 0 /** * Signal CollDetRegCfg_Point2Y raw maximum value. */ -#define MAX_CollDetRegionCfg_CollDetRegCfg_Point2Y 2047 +#define MAX_CollDetRegionCfg_CollDetRegCfg_Point2Y 2047 /** * Signal CollDetRegCfg_Point2Y raw offset value. */ -#define OFF_CollDetRegionCfg_CollDetRegCfg_Point2Y -1023 +#define OFF_CollDetRegionCfg_CollDetRegCfg_Point2Y -1023 /** * @} */ /** - * @defgroup SIG_CollDetState_CollDetState_MeasCounter Signal CollDetState_MeasCounter of Message CollDetState (0x408) + * @defgroup SIG_CollDetState_CollDetState_MeasCounter Signal CollDetState_MeasCounter of Message + * CollDetState (0x408) * * Received by the ECUs: * @@ -21367,9 +21468,10 @@ * Signal CollDetState_MeasCounter configuration tuple. * * @deprecated - * Use \ref SET_CollDetState_CollDetState_MeasCounter and \ref GET_CollDetState_CollDetState_MeasCounter instead. + * Use \ref SET_CollDetState_CollDetState_MeasCounter and \ref + *GET_CollDetState_CollDetState_MeasCounter instead. */ -#define SIG_CollDetState_CollDetState_MeasCounter 1, 0, 23, 16 +#define SIG_CollDetState_CollDetState_MeasCounter 1, 0, 23, 16 /** * Signal CollDetState_MeasCounter setup tuple. @@ -21377,7 +21479,7 @@ * @deprecated * Use \ref INITSIG_CollDetState_CollDetState_MeasCounter or \ref INIT_CollDetState instead. */ -#define SETUP_CollDetState_CollDetState_MeasCounter 1, 0, 23, 16, 0 +#define SETUP_CollDetState_CollDetState_MeasCounter 1, 0, 23, 16, 0 /** * Get signal CollDetState_MeasCounter from buffer. @@ -21387,10 +21489,8 @@ * @return * The raw signal */ -#define GET_CollDetState_CollDetState_MeasCounter(buf) (0 \ - | (uword)(+(uword)((buf[2] >> 0) & 0xff) << 8) \ - | (ubyte)(+(ubyte)((buf[3] >> 0) & 0xff) << 0) \ -) +#define GET_CollDetState_CollDetState_MeasCounter(buf) \ + (0 | (uword)(+(uword)((buf[2] >> 0) & 0xff) << 8) | (ubyte)(+(ubyte)((buf[3] >> 0) & 0xff) << 0)) /** * Set signal CollDetState_MeasCounter in buffer. @@ -21400,12 +21500,13 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetState_CollDetState_MeasCounter(buf, val) { \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= ((ubyte)((uword)(val) >> 8) & 0xff) << 0; \ - buf[3] &= ~(0xff << 0); \ - buf[3] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_CollDetState_CollDetState_MeasCounter(buf, val) \ + { \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= ((ubyte)((uword)(val) >> 8) & 0xff) << 0; \ + buf[3] &= ~(0xff << 0); \ + buf[3] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal CollDetState_MeasCounter in buffer to its initial value. @@ -21414,7 +21515,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetState_CollDetState_MeasCounter(buf) \ - SET_CollDetState_CollDetState_MeasCounter(buf, 0) + SET_CollDetState_CollDetState_MeasCounter(buf, 0) /** * Signal CollDetState_MeasCounter value conversion with 16 bit factor and offset. @@ -21427,35 +21528,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetState_CollDetState_MeasCounter(x, fmt) \ - ((x) * fmt) +#define CALC_CollDetState_CollDetState_MeasCounter(x, fmt) ((x) * fmt) /** * Signal CollDetState_MeasCounter raw initial value. */ -#define START_CollDetState_CollDetState_MeasCounter 0 +#define START_CollDetState_CollDetState_MeasCounter 0 /** * Signal CollDetState_MeasCounter raw minimum value. */ -#define MIN_CollDetState_CollDetState_MeasCounter 0 +#define MIN_CollDetState_CollDetState_MeasCounter 0 /** * Signal CollDetState_MeasCounter raw maximum value. */ -#define MAX_CollDetState_CollDetState_MeasCounter 65535 +#define MAX_CollDetState_CollDetState_MeasCounter 65535 /** * Signal CollDetState_MeasCounter raw offset value. */ -#define OFF_CollDetState_CollDetState_MeasCounter 0 +#define OFF_CollDetState_CollDetState_MeasCounter 0 /** * @} */ /** - * @defgroup SIG_CollDetState_CollDetState_Active Signal CollDetState_Active of Message CollDetState (0x408) + * @defgroup SIG_CollDetState_CollDetState_Active Signal CollDetState_Active of Message CollDetState + * (0x408) * * Contains the value table \ref ENUM_CollDetState_CollDetState_Active. * @@ -21469,9 +21570,10 @@ * Signal CollDetState_Active configuration tuple. * * @deprecated - * Use \ref SET_CollDetState_CollDetState_Active and \ref GET_CollDetState_CollDetState_Active instead. + * Use \ref SET_CollDetState_CollDetState_Active and \ref GET_CollDetState_CollDetState_Active + *instead. */ -#define SIG_CollDetState_CollDetState_Active 1, 0, 1, 1 +#define SIG_CollDetState_CollDetState_Active 1, 0, 1, 1 /** * Signal CollDetState_Active setup tuple. @@ -21479,7 +21581,7 @@ * @deprecated * Use \ref INITSIG_CollDetState_CollDetState_Active or \ref INIT_CollDetState instead. */ -#define SETUP_CollDetState_CollDetState_Active 1, 0, 1, 1, 0 +#define SETUP_CollDetState_CollDetState_Active 1, 0, 1, 1, 0 /** * Get signal CollDetState_Active from buffer. @@ -21489,9 +21591,7 @@ * @return * The raw signal */ -#define GET_CollDetState_CollDetState_Active(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 1) & 0x01) << 0) \ -) +#define GET_CollDetState_CollDetState_Active(buf) (0 | (ubyte)(+(ubyte)((buf[0] >> 1) & 0x01) << 0)) /** * Set signal CollDetState_Active in buffer. @@ -21501,10 +21601,11 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetState_CollDetState_Active(buf, val) { \ - buf[0] &= ~(0x01 << 1); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 1; \ -} +#define SET_CollDetState_CollDetState_Active(buf, val) \ + { \ + buf[0] &= ~(0x01 << 1); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x01) << 1; \ + } /** * Set signal CollDetState_Active in buffer to its initial value. @@ -21512,8 +21613,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_CollDetState_CollDetState_Active(buf) \ - SET_CollDetState_CollDetState_Active(buf, 0) +#define INITSIG_CollDetState_CollDetState_Active(buf) SET_CollDetState_CollDetState_Active(buf, 0) /** * Signal CollDetState_Active value conversion with 16 bit factor and offset. @@ -21526,35 +21626,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetState_CollDetState_Active(x, fmt) \ - ((x) * fmt) +#define CALC_CollDetState_CollDetState_Active(x, fmt) ((x) * fmt) /** * Signal CollDetState_Active raw initial value. */ -#define START_CollDetState_CollDetState_Active 0 +#define START_CollDetState_CollDetState_Active 0 /** * Signal CollDetState_Active raw minimum value. */ -#define MIN_CollDetState_CollDetState_Active 0 +#define MIN_CollDetState_CollDetState_Active 0 /** * Signal CollDetState_Active raw maximum value. */ -#define MAX_CollDetState_CollDetState_Active 1 +#define MAX_CollDetState_CollDetState_Active 1 /** * Signal CollDetState_Active raw offset value. */ -#define OFF_CollDetState_CollDetState_Active 0 +#define OFF_CollDetState_CollDetState_Active 0 /** * @} */ /** - * @defgroup ENUM_CollDetState_CollDetState_Active Value Table for Signal CollDetState_Active in Message CollDetState (0x408) + * @defgroup ENUM_CollDetState_CollDetState_Active Value Table for Signal CollDetState_Active in + * Message CollDetState (0x408) * * Enum values defined for \ref SIG_CollDetState_CollDetState_Active. * @@ -21566,17 +21666,18 @@ * * @ingroup ENUM_CollDetState_CollDetState_Active */ -#define CollDetState_CollDetState_Active_Active 1 +#define CollDetState_CollDetState_Active_Active 1 /** * Value table CollDetState_CollDetState_Active entry Inactive. * * @ingroup ENUM_CollDetState_CollDetState_Active */ -#define CollDetState_CollDetState_Active_Inactive 0 +#define CollDetState_CollDetState_Active_Inactive 0 /** - * @defgroup SIG_CollDetState_CollDetState_NofRegions Signal CollDetState_NofRegions of Message CollDetState (0x408) + * @defgroup SIG_CollDetState_CollDetState_NofRegions Signal CollDetState_NofRegions of Message + * CollDetState (0x408) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -21589,9 +21690,10 @@ * Signal CollDetState_NofRegions configuration tuple. * * @deprecated - * Use \ref SET_CollDetState_CollDetState_NofRegions and \ref GET_CollDetState_CollDetState_NofRegions instead. + * Use \ref SET_CollDetState_CollDetState_NofRegions and \ref + *GET_CollDetState_CollDetState_NofRegions instead. */ -#define SIG_CollDetState_CollDetState_NofRegions 1, 0, 7, 4 +#define SIG_CollDetState_CollDetState_NofRegions 1, 0, 7, 4 /** * Signal CollDetState_NofRegions setup tuple. @@ -21599,7 +21701,7 @@ * @deprecated * Use \ref INITSIG_CollDetState_CollDetState_NofRegions or \ref INIT_CollDetState instead. */ -#define SETUP_CollDetState_CollDetState_NofRegions 1, 0, 7, 4, 0 +#define SETUP_CollDetState_CollDetState_NofRegions 1, 0, 7, 4, 0 /** * Get signal CollDetState_NofRegions from buffer. @@ -21609,9 +21711,8 @@ * @return * The raw signal */ -#define GET_CollDetState_CollDetState_NofRegions(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 4) & 0x0f) << 0) \ -) +#define GET_CollDetState_CollDetState_NofRegions(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 4) & 0x0f) << 0)) /** * Set signal CollDetState_NofRegions in buffer. @@ -21621,10 +21722,11 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetState_CollDetState_NofRegions(buf, val) { \ - buf[0] &= ~(0x0f << 4); \ - buf[0] |= (((ubyte)(val) >> 0) & 0x0f) << 4; \ -} +#define SET_CollDetState_CollDetState_NofRegions(buf, val) \ + { \ + buf[0] &= ~(0x0f << 4); \ + buf[0] |= (((ubyte)(val) >> 0) & 0x0f) << 4; \ + } /** * Set signal CollDetState_NofRegions in buffer to its initial value. @@ -21633,7 +21735,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetState_CollDetState_NofRegions(buf) \ - SET_CollDetState_CollDetState_NofRegions(buf, 0) + SET_CollDetState_CollDetState_NofRegions(buf, 0) /** * Signal CollDetState_NofRegions value conversion with 16 bit factor and offset. @@ -21646,35 +21748,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetState_CollDetState_NofRegions(x, fmt) \ - ((x) * fmt) +#define CALC_CollDetState_CollDetState_NofRegions(x, fmt) ((x) * fmt) /** * Signal CollDetState_NofRegions raw initial value. */ -#define START_CollDetState_CollDetState_NofRegions 0 +#define START_CollDetState_CollDetState_NofRegions 0 /** * Signal CollDetState_NofRegions raw minimum value. */ -#define MIN_CollDetState_CollDetState_NofRegions 0 +#define MIN_CollDetState_CollDetState_NofRegions 0 /** * Signal CollDetState_NofRegions raw maximum value. */ -#define MAX_CollDetState_CollDetState_NofRegions 15 +#define MAX_CollDetState_CollDetState_NofRegions 15 /** * Signal CollDetState_NofRegions raw offset value. */ -#define OFF_CollDetState_CollDetState_NofRegions 0 +#define OFF_CollDetState_CollDetState_NofRegions 0 /** * @} */ /** - * @defgroup SIG_CollDetState_CollDetState_MinDetectTime Signal CollDetState_MinDetectTime of Message CollDetState (0x408) + * @defgroup SIG_CollDetState_CollDetState_MinDetectTime Signal CollDetState_MinDetectTime of + * Message CollDetState (0x408) * * Received by the ECUs: * - \ref ECU_ExternalUnit @@ -21687,9 +21789,10 @@ * Signal CollDetState_MinDetectTime configuration tuple. * * @deprecated - * Use \ref SET_CollDetState_CollDetState_MinDetectTime and \ref GET_CollDetState_CollDetState_MinDetectTime instead. + * Use \ref SET_CollDetState_CollDetState_MinDetectTime and \ref + *GET_CollDetState_CollDetState_MinDetectTime instead. */ -#define SIG_CollDetState_CollDetState_MinDetectTime 1, 0, 15, 8 +#define SIG_CollDetState_CollDetState_MinDetectTime 1, 0, 15, 8 /** * Signal CollDetState_MinDetectTime setup tuple. @@ -21697,7 +21800,7 @@ * @deprecated * Use \ref INITSIG_CollDetState_CollDetState_MinDetectTime or \ref INIT_CollDetState instead. */ -#define SETUP_CollDetState_CollDetState_MinDetectTime 1, 0, 15, 8, 0 +#define SETUP_CollDetState_CollDetState_MinDetectTime 1, 0, 15, 8, 0 /** * Get signal CollDetState_MinDetectTime from buffer. @@ -21707,9 +21810,8 @@ * @return * The raw signal */ -#define GET_CollDetState_CollDetState_MinDetectTime(buf) (0 \ - | (ubyte)(+(ubyte)((buf[1] >> 0) & 0xff) << 0) \ -) +#define GET_CollDetState_CollDetState_MinDetectTime(buf) \ + (0 | (ubyte)(+(ubyte)((buf[1] >> 0) & 0xff) << 0)) /** * Set signal CollDetState_MinDetectTime in buffer. @@ -21719,10 +21821,11 @@ * @param val * The raw value to set the signal to */ -#define SET_CollDetState_CollDetState_MinDetectTime(buf, val) { \ - buf[1] &= ~(0xff << 0); \ - buf[1] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_CollDetState_CollDetState_MinDetectTime(buf, val) \ + { \ + buf[1] &= ~(0xff << 0); \ + buf[1] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal CollDetState_MinDetectTime in buffer to its initial value. @@ -21731,7 +21834,7 @@ * The can message buffer to initialise */ #define INITSIG_CollDetState_CollDetState_MinDetectTime(buf) \ - SET_CollDetState_CollDetState_MinDetectTime(buf, 0) + SET_CollDetState_CollDetState_MinDetectTime(buf, 0) /** * Signal CollDetState_MinDetectTime value conversion with 16 bit factor and offset. @@ -21744,35 +21847,35 @@ * @return * The signal value as a human readable number */ -#define CALC_CollDetState_CollDetState_MinDetectTime(x, fmt) \ - ((x) * fmt / 10) +#define CALC_CollDetState_CollDetState_MinDetectTime(x, fmt) ((x) * fmt / 10) /** * Signal CollDetState_MinDetectTime raw initial value. */ -#define START_CollDetState_CollDetState_MinDetectTime 0 +#define START_CollDetState_CollDetState_MinDetectTime 0 /** * Signal CollDetState_MinDetectTime raw minimum value. */ -#define MIN_CollDetState_CollDetState_MinDetectTime 0 +#define MIN_CollDetState_CollDetState_MinDetectTime 0 /** * Signal CollDetState_MinDetectTime raw maximum value. */ -#define MAX_CollDetState_CollDetState_MinDetectTime 255 +#define MAX_CollDetState_CollDetState_MinDetectTime 255 /** * Signal CollDetState_MinDetectTime raw offset value. */ -#define OFF_CollDetState_CollDetState_MinDetectTime 0 +#define OFF_CollDetState_CollDetState_MinDetectTime 0 /** * @} */ /** - * @defgroup SIG_Cluster_0_Status_Cluster_MeasCounter Signal Cluster_MeasCounter of Message Cluster_0_Status (0x600) + * @defgroup SIG_Cluster_0_Status_Cluster_MeasCounter Signal Cluster_MeasCounter of Message + * Cluster_0_Status (0x600) * * Measurement counter * @@ -21787,9 +21890,10 @@ * Signal Cluster_MeasCounter configuration tuple. * * @deprecated - * Use \ref SET_Cluster_0_Status_Cluster_MeasCounter and \ref GET_Cluster_0_Status_Cluster_MeasCounter instead. + * Use \ref SET_Cluster_0_Status_Cluster_MeasCounter and \ref + *GET_Cluster_0_Status_Cluster_MeasCounter instead. */ -#define SIG_Cluster_0_Status_Cluster_MeasCounter 1, 0, 23, 16 +#define SIG_Cluster_0_Status_Cluster_MeasCounter 1, 0, 23, 16 /** * Signal Cluster_MeasCounter setup tuple. @@ -21797,7 +21901,7 @@ * @deprecated * Use \ref INITSIG_Cluster_0_Status_Cluster_MeasCounter or \ref INIT_Cluster_0_Status instead. */ -#define SETUP_Cluster_0_Status_Cluster_MeasCounter 1, 0, 23, 16, 0 +#define SETUP_Cluster_0_Status_Cluster_MeasCounter 1, 0, 23, 16, 0 /** * Get signal Cluster_MeasCounter from buffer. @@ -21807,10 +21911,8 @@ * @return * The raw signal */ -#define GET_Cluster_0_Status_Cluster_MeasCounter(buf) (0 \ - | (uword)(+(uword)((buf[2] >> 0) & 0xff) << 8) \ - | (ubyte)(+(ubyte)((buf[3] >> 0) & 0xff) << 0) \ -) +#define GET_Cluster_0_Status_Cluster_MeasCounter(buf) \ + (0 | (uword)(+(uword)((buf[2] >> 0) & 0xff) << 8) | (ubyte)(+(ubyte)((buf[3] >> 0) & 0xff) << 0)) /** * Set signal Cluster_MeasCounter in buffer. @@ -21820,12 +21922,13 @@ * @param val * The raw value to set the signal to */ -#define SET_Cluster_0_Status_Cluster_MeasCounter(buf, val) { \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= ((ubyte)((uword)(val) >> 8) & 0xff) << 0; \ - buf[3] &= ~(0xff << 0); \ - buf[3] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_Cluster_0_Status_Cluster_MeasCounter(buf, val) \ + { \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= ((ubyte)((uword)(val) >> 8) & 0xff) << 0; \ + buf[3] &= ~(0xff << 0); \ + buf[3] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Cluster_MeasCounter in buffer to its initial value. @@ -21834,7 +21937,7 @@ * The can message buffer to initialise */ #define INITSIG_Cluster_0_Status_Cluster_MeasCounter(buf) \ - SET_Cluster_0_Status_Cluster_MeasCounter(buf, 0) + SET_Cluster_0_Status_Cluster_MeasCounter(buf, 0) /** * Signal Cluster_MeasCounter value conversion with 16 bit factor and offset. @@ -21847,35 +21950,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Cluster_0_Status_Cluster_MeasCounter(x, fmt) \ - ((x) * fmt) +#define CALC_Cluster_0_Status_Cluster_MeasCounter(x, fmt) ((x) * fmt) /** * Signal Cluster_MeasCounter raw initial value. */ -#define START_Cluster_0_Status_Cluster_MeasCounter 0 +#define START_Cluster_0_Status_Cluster_MeasCounter 0 /** * Signal Cluster_MeasCounter raw minimum value. */ -#define MIN_Cluster_0_Status_Cluster_MeasCounter 0 +#define MIN_Cluster_0_Status_Cluster_MeasCounter 0 /** * Signal Cluster_MeasCounter raw maximum value. */ -#define MAX_Cluster_0_Status_Cluster_MeasCounter 65535 +#define MAX_Cluster_0_Status_Cluster_MeasCounter 65535 /** * Signal Cluster_MeasCounter raw offset value. */ -#define OFF_Cluster_0_Status_Cluster_MeasCounter 0 +#define OFF_Cluster_0_Status_Cluster_MeasCounter 0 /** * @} */ /** - * @defgroup SIG_Cluster_0_Status_Cluster_NofClustersNear Signal Cluster_NofClustersNear of Message Cluster_0_Status (0x600) + * @defgroup SIG_Cluster_0_Status_Cluster_NofClustersNear Signal Cluster_NofClustersNear of Message + * Cluster_0_Status (0x600) * * Number of valid Clusters in near range scan * @@ -21890,17 +21993,19 @@ * Signal Cluster_NofClustersNear configuration tuple. * * @deprecated - * Use \ref SET_Cluster_0_Status_Cluster_NofClustersNear and \ref GET_Cluster_0_Status_Cluster_NofClustersNear instead. + * Use \ref SET_Cluster_0_Status_Cluster_NofClustersNear and \ref + *GET_Cluster_0_Status_Cluster_NofClustersNear instead. */ -#define SIG_Cluster_0_Status_Cluster_NofClustersNear 1, 0, 7, 8 +#define SIG_Cluster_0_Status_Cluster_NofClustersNear 1, 0, 7, 8 /** * Signal Cluster_NofClustersNear setup tuple. * * @deprecated - * Use \ref INITSIG_Cluster_0_Status_Cluster_NofClustersNear or \ref INIT_Cluster_0_Status instead. + * Use \ref INITSIG_Cluster_0_Status_Cluster_NofClustersNear or \ref INIT_Cluster_0_Status + *instead. */ -#define SETUP_Cluster_0_Status_Cluster_NofClustersNear 1, 0, 7, 8, 0 +#define SETUP_Cluster_0_Status_Cluster_NofClustersNear 1, 0, 7, 8, 0 /** * Get signal Cluster_NofClustersNear from buffer. @@ -21910,9 +22015,8 @@ * @return * The raw signal */ -#define GET_Cluster_0_Status_Cluster_NofClustersNear(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0) \ -) +#define GET_Cluster_0_Status_Cluster_NofClustersNear(buf) \ + (0 | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0)) /** * Set signal Cluster_NofClustersNear in buffer. @@ -21922,10 +22026,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Cluster_0_Status_Cluster_NofClustersNear(buf, val) { \ - buf[0] &= ~(0xff << 0); \ - buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_Cluster_0_Status_Cluster_NofClustersNear(buf, val) \ + { \ + buf[0] &= ~(0xff << 0); \ + buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Cluster_NofClustersNear in buffer to its initial value. @@ -21934,7 +22039,7 @@ * The can message buffer to initialise */ #define INITSIG_Cluster_0_Status_Cluster_NofClustersNear(buf) \ - SET_Cluster_0_Status_Cluster_NofClustersNear(buf, 0) + SET_Cluster_0_Status_Cluster_NofClustersNear(buf, 0) /** * Signal Cluster_NofClustersNear value conversion with 16 bit factor and offset. @@ -21947,35 +22052,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Cluster_0_Status_Cluster_NofClustersNear(x, fmt) \ - ((x) * fmt) +#define CALC_Cluster_0_Status_Cluster_NofClustersNear(x, fmt) ((x) * fmt) /** * Signal Cluster_NofClustersNear raw initial value. */ -#define START_Cluster_0_Status_Cluster_NofClustersNear 0 +#define START_Cluster_0_Status_Cluster_NofClustersNear 0 /** * Signal Cluster_NofClustersNear raw minimum value. */ -#define MIN_Cluster_0_Status_Cluster_NofClustersNear 0 +#define MIN_Cluster_0_Status_Cluster_NofClustersNear 0 /** * Signal Cluster_NofClustersNear raw maximum value. */ -#define MAX_Cluster_0_Status_Cluster_NofClustersNear 255 +#define MAX_Cluster_0_Status_Cluster_NofClustersNear 255 /** * Signal Cluster_NofClustersNear raw offset value. */ -#define OFF_Cluster_0_Status_Cluster_NofClustersNear 0 +#define OFF_Cluster_0_Status_Cluster_NofClustersNear 0 /** * @} */ /** - * @defgroup SIG_Cluster_0_Status_Cluster_NofClustersFar Signal Cluster_NofClustersFar of Message Cluster_0_Status (0x600) + * @defgroup SIG_Cluster_0_Status_Cluster_NofClustersFar Signal Cluster_NofClustersFar of Message + * Cluster_0_Status (0x600) * * Number of valid Clusters in far range scan * @@ -21990,17 +22095,19 @@ * Signal Cluster_NofClustersFar configuration tuple. * * @deprecated - * Use \ref SET_Cluster_0_Status_Cluster_NofClustersFar and \ref GET_Cluster_0_Status_Cluster_NofClustersFar instead. + * Use \ref SET_Cluster_0_Status_Cluster_NofClustersFar and \ref + *GET_Cluster_0_Status_Cluster_NofClustersFar instead. */ -#define SIG_Cluster_0_Status_Cluster_NofClustersFar 1, 0, 15, 8 +#define SIG_Cluster_0_Status_Cluster_NofClustersFar 1, 0, 15, 8 /** * Signal Cluster_NofClustersFar setup tuple. * * @deprecated - * Use \ref INITSIG_Cluster_0_Status_Cluster_NofClustersFar or \ref INIT_Cluster_0_Status instead. + * Use \ref INITSIG_Cluster_0_Status_Cluster_NofClustersFar or \ref INIT_Cluster_0_Status + *instead. */ -#define SETUP_Cluster_0_Status_Cluster_NofClustersFar 1, 0, 15, 8, 0 +#define SETUP_Cluster_0_Status_Cluster_NofClustersFar 1, 0, 15, 8, 0 /** * Get signal Cluster_NofClustersFar from buffer. @@ -22010,9 +22117,8 @@ * @return * The raw signal */ -#define GET_Cluster_0_Status_Cluster_NofClustersFar(buf) (0 \ - | (ubyte)(+(ubyte)((buf[1] >> 0) & 0xff) << 0) \ -) +#define GET_Cluster_0_Status_Cluster_NofClustersFar(buf) \ + (0 | (ubyte)(+(ubyte)((buf[1] >> 0) & 0xff) << 0)) /** * Set signal Cluster_NofClustersFar in buffer. @@ -22022,10 +22128,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Cluster_0_Status_Cluster_NofClustersFar(buf, val) { \ - buf[1] &= ~(0xff << 0); \ - buf[1] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_Cluster_0_Status_Cluster_NofClustersFar(buf, val) \ + { \ + buf[1] &= ~(0xff << 0); \ + buf[1] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Cluster_NofClustersFar in buffer to its initial value. @@ -22034,7 +22141,7 @@ * The can message buffer to initialise */ #define INITSIG_Cluster_0_Status_Cluster_NofClustersFar(buf) \ - SET_Cluster_0_Status_Cluster_NofClustersFar(buf, 0) + SET_Cluster_0_Status_Cluster_NofClustersFar(buf, 0) /** * Signal Cluster_NofClustersFar value conversion with 16 bit factor and offset. @@ -22047,35 +22154,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Cluster_0_Status_Cluster_NofClustersFar(x, fmt) \ - ((x) * fmt) +#define CALC_Cluster_0_Status_Cluster_NofClustersFar(x, fmt) ((x) * fmt) /** * Signal Cluster_NofClustersFar raw initial value. */ -#define START_Cluster_0_Status_Cluster_NofClustersFar 0 +#define START_Cluster_0_Status_Cluster_NofClustersFar 0 /** * Signal Cluster_NofClustersFar raw minimum value. */ -#define MIN_Cluster_0_Status_Cluster_NofClustersFar 0 +#define MIN_Cluster_0_Status_Cluster_NofClustersFar 0 /** * Signal Cluster_NofClustersFar raw maximum value. */ -#define MAX_Cluster_0_Status_Cluster_NofClustersFar 255 +#define MAX_Cluster_0_Status_Cluster_NofClustersFar 255 /** * Signal Cluster_NofClustersFar raw offset value. */ -#define OFF_Cluster_0_Status_Cluster_NofClustersFar 0 +#define OFF_Cluster_0_Status_Cluster_NofClustersFar 0 /** * @} */ /** - * @defgroup SIG_Cluster_0_Status_Cluster_InterfaceVersion Signal Cluster_InterfaceVersion of Message Cluster_0_Status (0x600) + * @defgroup SIG_Cluster_0_Status_Cluster_InterfaceVersion Signal Cluster_InterfaceVersion of + * Message Cluster_0_Status (0x600) * * Cluster CAN Interface Version Number * @@ -22090,17 +22197,19 @@ * Signal Cluster_InterfaceVersion configuration tuple. * * @deprecated - * Use \ref SET_Cluster_0_Status_Cluster_InterfaceVersion and \ref GET_Cluster_0_Status_Cluster_InterfaceVersion instead. + * Use \ref SET_Cluster_0_Status_Cluster_InterfaceVersion and \ref + *GET_Cluster_0_Status_Cluster_InterfaceVersion instead. */ -#define SIG_Cluster_0_Status_Cluster_InterfaceVersion 1, 0, 39, 4 +#define SIG_Cluster_0_Status_Cluster_InterfaceVersion 1, 0, 39, 4 /** * Signal Cluster_InterfaceVersion setup tuple. * * @deprecated - * Use \ref INITSIG_Cluster_0_Status_Cluster_InterfaceVersion or \ref INIT_Cluster_0_Status instead. + * Use \ref INITSIG_Cluster_0_Status_Cluster_InterfaceVersion or \ref INIT_Cluster_0_Status + *instead. */ -#define SETUP_Cluster_0_Status_Cluster_InterfaceVersion 1, 0, 39, 4, 0 +#define SETUP_Cluster_0_Status_Cluster_InterfaceVersion 1, 0, 39, 4, 0 /** * Get signal Cluster_InterfaceVersion from buffer. @@ -22110,9 +22219,8 @@ * @return * The raw signal */ -#define GET_Cluster_0_Status_Cluster_InterfaceVersion(buf) (0 \ - | (ubyte)(+(ubyte)((buf[4] >> 4) & 0x0f) << 0) \ -) +#define GET_Cluster_0_Status_Cluster_InterfaceVersion(buf) \ + (0 | (ubyte)(+(ubyte)((buf[4] >> 4) & 0x0f) << 0)) /** * Set signal Cluster_InterfaceVersion in buffer. @@ -22122,10 +22230,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Cluster_0_Status_Cluster_InterfaceVersion(buf, val) { \ - buf[4] &= ~(0x0f << 4); \ - buf[4] |= (((ubyte)(val) >> 0) & 0x0f) << 4; \ -} +#define SET_Cluster_0_Status_Cluster_InterfaceVersion(buf, val) \ + { \ + buf[4] &= ~(0x0f << 4); \ + buf[4] |= (((ubyte)(val) >> 0) & 0x0f) << 4; \ + } /** * Set signal Cluster_InterfaceVersion in buffer to its initial value. @@ -22134,7 +22243,7 @@ * The can message buffer to initialise */ #define INITSIG_Cluster_0_Status_Cluster_InterfaceVersion(buf) \ - SET_Cluster_0_Status_Cluster_InterfaceVersion(buf, 0) + SET_Cluster_0_Status_Cluster_InterfaceVersion(buf, 0) /** * Signal Cluster_InterfaceVersion value conversion with 16 bit factor and offset. @@ -22147,28 +22256,27 @@ * @return * The signal value as a human readable number */ -#define CALC_Cluster_0_Status_Cluster_InterfaceVersion(x, fmt) \ - ((x) * fmt) +#define CALC_Cluster_0_Status_Cluster_InterfaceVersion(x, fmt) ((x) * fmt) /** * Signal Cluster_InterfaceVersion raw initial value. */ -#define START_Cluster_0_Status_Cluster_InterfaceVersion 0 +#define START_Cluster_0_Status_Cluster_InterfaceVersion 0 /** * Signal Cluster_InterfaceVersion raw minimum value. */ -#define MIN_Cluster_0_Status_Cluster_InterfaceVersion 0 +#define MIN_Cluster_0_Status_Cluster_InterfaceVersion 0 /** * Signal Cluster_InterfaceVersion raw maximum value. */ -#define MAX_Cluster_0_Status_Cluster_InterfaceVersion 15 +#define MAX_Cluster_0_Status_Cluster_InterfaceVersion 15 /** * Signal Cluster_InterfaceVersion raw offset value. */ -#define OFF_Cluster_0_Status_Cluster_InterfaceVersion 0 +#define OFF_Cluster_0_Status_Cluster_InterfaceVersion 0 /** * @} @@ -22192,7 +22300,7 @@ * @deprecated * Use \ref SET_Obj_0_Status_Obj_NofObjects and \ref GET_Obj_0_Status_Obj_NofObjects instead. */ -#define SIG_Obj_0_Status_Obj_NofObjects 1, 0, 7, 8 +#define SIG_Obj_0_Status_Obj_NofObjects 1, 0, 7, 8 /** * Signal Obj_NofObjects setup tuple. @@ -22200,7 +22308,7 @@ * @deprecated * Use \ref INITSIG_Obj_0_Status_Obj_NofObjects or \ref INIT_Obj_0_Status instead. */ -#define SETUP_Obj_0_Status_Obj_NofObjects 1, 0, 7, 8, 0 +#define SETUP_Obj_0_Status_Obj_NofObjects 1, 0, 7, 8, 0 /** * Get signal Obj_NofObjects from buffer. @@ -22210,9 +22318,7 @@ * @return * The raw signal */ -#define GET_Obj_0_Status_Obj_NofObjects(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0) \ -) +#define GET_Obj_0_Status_Obj_NofObjects(buf) (0 | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0)) /** * Set signal Obj_NofObjects in buffer. @@ -22222,10 +22328,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_0_Status_Obj_NofObjects(buf, val) { \ - buf[0] &= ~(0xff << 0); \ - buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_Obj_0_Status_Obj_NofObjects(buf, val) \ + { \ + buf[0] &= ~(0xff << 0); \ + buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Obj_NofObjects in buffer to its initial value. @@ -22233,8 +22340,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_0_Status_Obj_NofObjects(buf) \ - SET_Obj_0_Status_Obj_NofObjects(buf, 0) +#define INITSIG_Obj_0_Status_Obj_NofObjects(buf) SET_Obj_0_Status_Obj_NofObjects(buf, 0) /** * Signal Obj_NofObjects value conversion with 16 bit factor and offset. @@ -22247,28 +22353,27 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_0_Status_Obj_NofObjects(x, fmt) \ - ((x) * fmt) +#define CALC_Obj_0_Status_Obj_NofObjects(x, fmt) ((x) * fmt) /** * Signal Obj_NofObjects raw initial value. */ -#define START_Obj_0_Status_Obj_NofObjects 0 +#define START_Obj_0_Status_Obj_NofObjects 0 /** * Signal Obj_NofObjects raw minimum value. */ -#define MIN_Obj_0_Status_Obj_NofObjects 0 +#define MIN_Obj_0_Status_Obj_NofObjects 0 /** * Signal Obj_NofObjects raw maximum value. */ -#define MAX_Obj_0_Status_Obj_NofObjects 255 +#define MAX_Obj_0_Status_Obj_NofObjects 255 /** * Signal Obj_NofObjects raw offset value. */ -#define OFF_Obj_0_Status_Obj_NofObjects 0 +#define OFF_Obj_0_Status_Obj_NofObjects 0 /** * @} @@ -22292,7 +22397,7 @@ * @deprecated * Use \ref SET_Obj_0_Status_Obj_MeasCounter and \ref GET_Obj_0_Status_Obj_MeasCounter instead. */ -#define SIG_Obj_0_Status_Obj_MeasCounter 1, 0, 15, 16 +#define SIG_Obj_0_Status_Obj_MeasCounter 1, 0, 15, 16 /** * Signal Obj_MeasCounter setup tuple. @@ -22300,7 +22405,7 @@ * @deprecated * Use \ref INITSIG_Obj_0_Status_Obj_MeasCounter or \ref INIT_Obj_0_Status instead. */ -#define SETUP_Obj_0_Status_Obj_MeasCounter 1, 0, 15, 16, 0 +#define SETUP_Obj_0_Status_Obj_MeasCounter 1, 0, 15, 16, 0 /** * Get signal Obj_MeasCounter from buffer. @@ -22310,10 +22415,8 @@ * @return * The raw signal */ -#define GET_Obj_0_Status_Obj_MeasCounter(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0xff) << 8) \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_Obj_0_Status_Obj_MeasCounter(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0xff) << 8) | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal Obj_MeasCounter in buffer. @@ -22323,12 +22426,13 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_0_Status_Obj_MeasCounter(buf, val) { \ - buf[1] &= ~(0xff << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 8) & 0xff) << 0; \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_Obj_0_Status_Obj_MeasCounter(buf, val) \ + { \ + buf[1] &= ~(0xff << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 8) & 0xff) << 0; \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Obj_MeasCounter in buffer to its initial value. @@ -22336,8 +22440,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_0_Status_Obj_MeasCounter(buf) \ - SET_Obj_0_Status_Obj_MeasCounter(buf, 0) +#define INITSIG_Obj_0_Status_Obj_MeasCounter(buf) SET_Obj_0_Status_Obj_MeasCounter(buf, 0) /** * Signal Obj_MeasCounter value conversion with 16 bit factor and offset. @@ -22350,35 +22453,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_0_Status_Obj_MeasCounter(x, fmt) \ - ((x) * fmt) +#define CALC_Obj_0_Status_Obj_MeasCounter(x, fmt) ((x) * fmt) /** * Signal Obj_MeasCounter raw initial value. */ -#define START_Obj_0_Status_Obj_MeasCounter 0 +#define START_Obj_0_Status_Obj_MeasCounter 0 /** * Signal Obj_MeasCounter raw minimum value. */ -#define MIN_Obj_0_Status_Obj_MeasCounter 0 +#define MIN_Obj_0_Status_Obj_MeasCounter 0 /** * Signal Obj_MeasCounter raw maximum value. */ -#define MAX_Obj_0_Status_Obj_MeasCounter 65535 +#define MAX_Obj_0_Status_Obj_MeasCounter 65535 /** * Signal Obj_MeasCounter raw offset value. */ -#define OFF_Obj_0_Status_Obj_MeasCounter 0 +#define OFF_Obj_0_Status_Obj_MeasCounter 0 /** * @} */ /** - * @defgroup SIG_Obj_0_Status_Obj_InterfaceVersion Signal Obj_InterfaceVersion of Message Obj_0_Status (0x60a) + * @defgroup SIG_Obj_0_Status_Obj_InterfaceVersion Signal Obj_InterfaceVersion of Message + * Obj_0_Status (0x60a) * * Object CAN Interface Version Number * @@ -22393,9 +22496,10 @@ * Signal Obj_InterfaceVersion configuration tuple. * * @deprecated - * Use \ref SET_Obj_0_Status_Obj_InterfaceVersion and \ref GET_Obj_0_Status_Obj_InterfaceVersion instead. + * Use \ref SET_Obj_0_Status_Obj_InterfaceVersion and \ref + *GET_Obj_0_Status_Obj_InterfaceVersion instead. */ -#define SIG_Obj_0_Status_Obj_InterfaceVersion 1, 0, 31, 4 +#define SIG_Obj_0_Status_Obj_InterfaceVersion 1, 0, 31, 4 /** * Signal Obj_InterfaceVersion setup tuple. @@ -22403,7 +22507,7 @@ * @deprecated * Use \ref INITSIG_Obj_0_Status_Obj_InterfaceVersion or \ref INIT_Obj_0_Status instead. */ -#define SETUP_Obj_0_Status_Obj_InterfaceVersion 1, 0, 31, 4, 0 +#define SETUP_Obj_0_Status_Obj_InterfaceVersion 1, 0, 31, 4, 0 /** * Get signal Obj_InterfaceVersion from buffer. @@ -22413,9 +22517,8 @@ * @return * The raw signal */ -#define GET_Obj_0_Status_Obj_InterfaceVersion(buf) (0 \ - | (ubyte)(+(ubyte)((buf[3] >> 4) & 0x0f) << 0) \ -) +#define GET_Obj_0_Status_Obj_InterfaceVersion(buf) \ + (0 | (ubyte)(+(ubyte)((buf[3] >> 4) & 0x0f) << 0)) /** * Set signal Obj_InterfaceVersion in buffer. @@ -22425,10 +22528,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_0_Status_Obj_InterfaceVersion(buf, val) { \ - buf[3] &= ~(0x0f << 4); \ - buf[3] |= (((ubyte)(val) >> 0) & 0x0f) << 4; \ -} +#define SET_Obj_0_Status_Obj_InterfaceVersion(buf, val) \ + { \ + buf[3] &= ~(0x0f << 4); \ + buf[3] |= (((ubyte)(val) >> 0) & 0x0f) << 4; \ + } /** * Set signal Obj_InterfaceVersion in buffer to its initial value. @@ -22436,8 +22540,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_0_Status_Obj_InterfaceVersion(buf) \ - SET_Obj_0_Status_Obj_InterfaceVersion(buf, 0) +#define INITSIG_Obj_0_Status_Obj_InterfaceVersion(buf) SET_Obj_0_Status_Obj_InterfaceVersion(buf, 0) /** * Signal Obj_InterfaceVersion value conversion with 16 bit factor and offset. @@ -22450,28 +22553,27 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_0_Status_Obj_InterfaceVersion(x, fmt) \ - ((x) * fmt) +#define CALC_Obj_0_Status_Obj_InterfaceVersion(x, fmt) ((x) * fmt) /** * Signal Obj_InterfaceVersion raw initial value. */ -#define START_Obj_0_Status_Obj_InterfaceVersion 0 +#define START_Obj_0_Status_Obj_InterfaceVersion 0 /** * Signal Obj_InterfaceVersion raw minimum value. */ -#define MIN_Obj_0_Status_Obj_InterfaceVersion 0 +#define MIN_Obj_0_Status_Obj_InterfaceVersion 0 /** * Signal Obj_InterfaceVersion raw maximum value. */ -#define MAX_Obj_0_Status_Obj_InterfaceVersion 16 +#define MAX_Obj_0_Status_Obj_InterfaceVersion 16 /** * Signal Obj_InterfaceVersion raw offset value. */ -#define OFF_Obj_0_Status_Obj_InterfaceVersion 0 +#define OFF_Obj_0_Status_Obj_InterfaceVersion 0 /** * @} @@ -22497,7 +22599,7 @@ * @deprecated * Use \ref SET_Obj_1_General_Obj_DynProp and \ref GET_Obj_1_General_Obj_DynProp instead. */ -#define SIG_Obj_1_General_Obj_DynProp 1, 0, 50, 3 +#define SIG_Obj_1_General_Obj_DynProp 1, 0, 50, 3 /** * Signal Obj_DynProp setup tuple. @@ -22505,7 +22607,7 @@ * @deprecated * Use \ref INITSIG_Obj_1_General_Obj_DynProp or \ref INIT_Obj_1_General instead. */ -#define SETUP_Obj_1_General_Obj_DynProp 1, 0, 50, 3, 0 +#define SETUP_Obj_1_General_Obj_DynProp 1, 0, 50, 3, 0 /** * Get signal Obj_DynProp from buffer. @@ -22515,9 +22617,7 @@ * @return * The raw signal */ -#define GET_Obj_1_General_Obj_DynProp(buf) (0 \ - | (ubyte)(+(ubyte)((buf[6] >> 0) & 0x07) << 0) \ -) +#define GET_Obj_1_General_Obj_DynProp(buf) (0 | (ubyte)(+(ubyte)((buf[6] >> 0) & 0x07) << 0)) /** * Set signal Obj_DynProp in buffer. @@ -22527,10 +22627,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_1_General_Obj_DynProp(buf, val) { \ - buf[6] &= ~(0x07 << 0); \ - buf[6] |= (((ubyte)(val) >> 0) & 0x07) << 0; \ -} +#define SET_Obj_1_General_Obj_DynProp(buf, val) \ + { \ + buf[6] &= ~(0x07 << 0); \ + buf[6] |= (((ubyte)(val) >> 0) & 0x07) << 0; \ + } /** * Set signal Obj_DynProp in buffer to its initial value. @@ -22538,8 +22639,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_1_General_Obj_DynProp(buf) \ - SET_Obj_1_General_Obj_DynProp(buf, 0) +#define INITSIG_Obj_1_General_Obj_DynProp(buf) SET_Obj_1_General_Obj_DynProp(buf, 0) /** * Signal Obj_DynProp value conversion with 16 bit factor and offset. @@ -22552,35 +22652,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_1_General_Obj_DynProp(x, fmt) \ - ((x) * fmt) +#define CALC_Obj_1_General_Obj_DynProp(x, fmt) ((x) * fmt) /** * Signal Obj_DynProp raw initial value. */ -#define START_Obj_1_General_Obj_DynProp 0 +#define START_Obj_1_General_Obj_DynProp 0 /** * Signal Obj_DynProp raw minimum value. */ -#define MIN_Obj_1_General_Obj_DynProp 0 +#define MIN_Obj_1_General_Obj_DynProp 0 /** * Signal Obj_DynProp raw maximum value. */ -#define MAX_Obj_1_General_Obj_DynProp 7 +#define MAX_Obj_1_General_Obj_DynProp 7 /** * Signal Obj_DynProp raw offset value. */ -#define OFF_Obj_1_General_Obj_DynProp 0 +#define OFF_Obj_1_General_Obj_DynProp 0 /** * @} */ /** - * @defgroup ENUM_Obj_1_General_Obj_DynProp Value Table for Signal Obj_DynProp in Message Obj_1_General (0x60b) + * @defgroup ENUM_Obj_1_General_Obj_DynProp Value Table for Signal Obj_DynProp in Message + * Obj_1_General (0x60b) * * Enum values defined for \ref SIG_Obj_1_General_Obj_DynProp. * @@ -22592,7 +22692,7 @@ * * @ingroup ENUM_Obj_1_General_Obj_DynProp */ -#define Obj_1_General_Obj_DynProp_Stopped 7 +#define Obj_1_General_Obj_DynProp_Stopped 7 /** * Value table Obj_1_General_Obj_DynProp entry Crossing. @@ -22601,7 +22701,7 @@ * * @ingroup ENUM_Obj_1_General_Obj_DynProp */ -#define Obj_1_General_Obj_DynProp_Crossing 6 +#define Obj_1_General_Obj_DynProp_Crossing 6 /** * Value table Obj_1_General_Obj_DynProp entry Crossing_5. @@ -22610,14 +22710,14 @@ * * @ingroup ENUM_Obj_1_General_Obj_DynProp */ -#define Obj_1_General_Obj_DynProp_Crossing_5 5 +#define Obj_1_General_Obj_DynProp_Crossing_5 5 /** * Value table Obj_1_General_Obj_DynProp entry Unknown. * * @ingroup ENUM_Obj_1_General_Obj_DynProp */ -#define Obj_1_General_Obj_DynProp_Unknown 4 +#define Obj_1_General_Obj_DynProp_Unknown 4 /** * Value table Obj_1_General_Obj_DynProp entry Stationary. @@ -22626,28 +22726,28 @@ * * @ingroup ENUM_Obj_1_General_Obj_DynProp */ -#define Obj_1_General_Obj_DynProp_Stationary 3 +#define Obj_1_General_Obj_DynProp_Stationary 3 /** * Value table Obj_1_General_Obj_DynProp entry Oncoming. * * @ingroup ENUM_Obj_1_General_Obj_DynProp */ -#define Obj_1_General_Obj_DynProp_Oncoming 2 +#define Obj_1_General_Obj_DynProp_Oncoming 2 /** * Value table Obj_1_General_Obj_DynProp entry Stationary_1. * * @ingroup ENUM_Obj_1_General_Obj_DynProp */ -#define Obj_1_General_Obj_DynProp_Stationary_1 1 +#define Obj_1_General_Obj_DynProp_Stationary_1 1 /** * Value table Obj_1_General_Obj_DynProp entry Moving. * * @ingroup ENUM_Obj_1_General_Obj_DynProp */ -#define Obj_1_General_Obj_DynProp_Moving 0 +#define Obj_1_General_Obj_DynProp_Moving 0 /** * @defgroup SIG_Obj_1_General_Obj_RCS Signal Obj_RCS of Message Obj_1_General (0x60b) @@ -22667,7 +22767,7 @@ * @deprecated * Use \ref SET_Obj_1_General_Obj_RCS and \ref GET_Obj_1_General_Obj_RCS instead. */ -#define SIG_Obj_1_General_Obj_RCS 1, 0, 63, 8 +#define SIG_Obj_1_General_Obj_RCS 1, 0, 63, 8 /** * Signal Obj_RCS setup tuple. @@ -22675,7 +22775,7 @@ * @deprecated * Use \ref INITSIG_Obj_1_General_Obj_RCS or \ref INIT_Obj_1_General instead. */ -#define SETUP_Obj_1_General_Obj_RCS 1, 0, 63, 8, 0 +#define SETUP_Obj_1_General_Obj_RCS 1, 0, 63, 8, 0 /** * Get signal Obj_RCS from buffer. @@ -22685,9 +22785,7 @@ * @return * The raw signal */ -#define GET_Obj_1_General_Obj_RCS(buf) (0 \ - | (ubyte)(+(ubyte)((buf[7] >> 0) & 0xff) << 0) \ -) +#define GET_Obj_1_General_Obj_RCS(buf) (0 | (ubyte)(+(ubyte)((buf[7] >> 0) & 0xff) << 0)) /** * Set signal Obj_RCS in buffer. @@ -22697,10 +22795,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_1_General_Obj_RCS(buf, val) { \ - buf[7] &= ~(0xff << 0); \ - buf[7] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_Obj_1_General_Obj_RCS(buf, val) \ + { \ + buf[7] &= ~(0xff << 0); \ + buf[7] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Obj_RCS in buffer to its initial value. @@ -22708,8 +22807,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_1_General_Obj_RCS(buf) \ - SET_Obj_1_General_Obj_RCS(buf, 0) +#define INITSIG_Obj_1_General_Obj_RCS(buf) SET_Obj_1_General_Obj_RCS(buf, 0) /** * Signal Obj_RCS value conversion with 16 bit factor and offset. @@ -22722,28 +22820,27 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_1_General_Obj_RCS(x, fmt) \ - ((x) * fmt / 2 + fmt * (-64)) +#define CALC_Obj_1_General_Obj_RCS(x, fmt) ((x) * fmt / 2 + fmt * (-64)) /** * Signal Obj_RCS raw initial value. */ -#define START_Obj_1_General_Obj_RCS 0 +#define START_Obj_1_General_Obj_RCS 0 /** * Signal Obj_RCS raw minimum value. */ -#define MIN_Obj_1_General_Obj_RCS 0 +#define MIN_Obj_1_General_Obj_RCS 0 /** * Signal Obj_RCS raw maximum value. */ -#define MAX_Obj_1_General_Obj_RCS 255 +#define MAX_Obj_1_General_Obj_RCS 255 /** * Signal Obj_RCS raw offset value. */ -#define OFF_Obj_1_General_Obj_RCS -128 +#define OFF_Obj_1_General_Obj_RCS -128 /** * @} @@ -22767,7 +22864,7 @@ * @deprecated * Use \ref SET_Obj_1_General_Obj_VrelLat and \ref GET_Obj_1_General_Obj_VrelLat instead. */ -#define SIG_Obj_1_General_Obj_VrelLat 1, 0, 45, 9 +#define SIG_Obj_1_General_Obj_VrelLat 1, 0, 45, 9 /** * Signal Obj_VrelLat setup tuple. @@ -22775,7 +22872,7 @@ * @deprecated * Use \ref INITSIG_Obj_1_General_Obj_VrelLat or \ref INIT_Obj_1_General instead. */ -#define SETUP_Obj_1_General_Obj_VrelLat 1, 0, 45, 9, 256 +#define SETUP_Obj_1_General_Obj_VrelLat 1, 0, 45, 9, 256 /** * Get signal Obj_VrelLat from buffer. @@ -22785,10 +22882,8 @@ * @return * The raw signal */ -#define GET_Obj_1_General_Obj_VrelLat(buf) (0 \ - | (uword)(+(uword)((buf[5] >> 0) & 0x3f) << 3) \ - | (ubyte)(+(ubyte)((buf[6] >> 5) & 0x07) << 0) \ -) +#define GET_Obj_1_General_Obj_VrelLat(buf) \ + (0 | (uword)(+(uword)((buf[5] >> 0) & 0x3f) << 3) | (ubyte)(+(ubyte)((buf[6] >> 5) & 0x07) << 0)) /** * Set signal Obj_VrelLat in buffer. @@ -22798,12 +22893,13 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_1_General_Obj_VrelLat(buf, val) { \ - buf[5] &= ~(0x3f << 0); \ - buf[5] |= ((ubyte)((uword)(val) >> 3) & 0x3f) << 0; \ - buf[6] &= ~(0x07 << 5); \ - buf[6] |= (((ubyte)(val) >> 0) & 0x07) << 5; \ -} +#define SET_Obj_1_General_Obj_VrelLat(buf, val) \ + { \ + buf[5] &= ~(0x3f << 0); \ + buf[5] |= ((ubyte)((uword)(val) >> 3) & 0x3f) << 0; \ + buf[6] &= ~(0x07 << 5); \ + buf[6] |= (((ubyte)(val) >> 0) & 0x07) << 5; \ + } /** * Set signal Obj_VrelLat in buffer to its initial value. @@ -22811,8 +22907,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_1_General_Obj_VrelLat(buf) \ - SET_Obj_1_General_Obj_VrelLat(buf, 256) +#define INITSIG_Obj_1_General_Obj_VrelLat(buf) SET_Obj_1_General_Obj_VrelLat(buf, 256) /** * Signal Obj_VrelLat value conversion with 16 bit factor and offset. @@ -22825,28 +22920,27 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_1_General_Obj_VrelLat(x, fmt) \ - ((x) * fmt / 4 + fmt * (-64)) +#define CALC_Obj_1_General_Obj_VrelLat(x, fmt) ((x) * fmt / 4 + fmt * (-64)) /** * Signal Obj_VrelLat raw initial value. */ -#define START_Obj_1_General_Obj_VrelLat 256 +#define START_Obj_1_General_Obj_VrelLat 256 /** * Signal Obj_VrelLat raw minimum value. */ -#define MIN_Obj_1_General_Obj_VrelLat 0 +#define MIN_Obj_1_General_Obj_VrelLat 0 /** * Signal Obj_VrelLat raw maximum value. */ -#define MAX_Obj_1_General_Obj_VrelLat 511 +#define MAX_Obj_1_General_Obj_VrelLat 511 /** * Signal Obj_VrelLat raw offset value. */ -#define OFF_Obj_1_General_Obj_VrelLat -256 +#define OFF_Obj_1_General_Obj_VrelLat -256 /** * @} @@ -22870,7 +22964,7 @@ * @deprecated * Use \ref SET_Obj_1_General_Obj_ID and \ref GET_Obj_1_General_Obj_ID instead. */ -#define SIG_Obj_1_General_Obj_ID 1, 0, 7, 8 +#define SIG_Obj_1_General_Obj_ID 1, 0, 7, 8 /** * Signal Obj_ID setup tuple. @@ -22878,7 +22972,7 @@ * @deprecated * Use \ref INITSIG_Obj_1_General_Obj_ID or \ref INIT_Obj_1_General instead. */ -#define SETUP_Obj_1_General_Obj_ID 1, 0, 7, 8, 0 +#define SETUP_Obj_1_General_Obj_ID 1, 0, 7, 8, 0 /** * Get signal Obj_ID from buffer. @@ -22888,9 +22982,7 @@ * @return * The raw signal */ -#define GET_Obj_1_General_Obj_ID(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0) \ -) +#define GET_Obj_1_General_Obj_ID(buf) (0 | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0)) /** * Set signal Obj_ID in buffer. @@ -22900,10 +22992,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_1_General_Obj_ID(buf, val) { \ - buf[0] &= ~(0xff << 0); \ - buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_Obj_1_General_Obj_ID(buf, val) \ + { \ + buf[0] &= ~(0xff << 0); \ + buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Obj_ID in buffer to its initial value. @@ -22911,8 +23004,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_1_General_Obj_ID(buf) \ - SET_Obj_1_General_Obj_ID(buf, 0) +#define INITSIG_Obj_1_General_Obj_ID(buf) SET_Obj_1_General_Obj_ID(buf, 0) /** * Signal Obj_ID value conversion with 16 bit factor and offset. @@ -22925,28 +23017,27 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_1_General_Obj_ID(x, fmt) \ - ((x) * fmt) +#define CALC_Obj_1_General_Obj_ID(x, fmt) ((x) * fmt) /** * Signal Obj_ID raw initial value. */ -#define START_Obj_1_General_Obj_ID 0 +#define START_Obj_1_General_Obj_ID 0 /** * Signal Obj_ID raw minimum value. */ -#define MIN_Obj_1_General_Obj_ID 0 +#define MIN_Obj_1_General_Obj_ID 0 /** * Signal Obj_ID raw maximum value. */ -#define MAX_Obj_1_General_Obj_ID 255 +#define MAX_Obj_1_General_Obj_ID 255 /** * Signal Obj_ID raw offset value. */ -#define OFF_Obj_1_General_Obj_ID 0 +#define OFF_Obj_1_General_Obj_ID 0 /** * @} @@ -22970,7 +23061,7 @@ * @deprecated * Use \ref SET_Obj_1_General_Obj_DistLong and \ref GET_Obj_1_General_Obj_DistLong instead. */ -#define SIG_Obj_1_General_Obj_DistLong 1, 0, 15, 13 +#define SIG_Obj_1_General_Obj_DistLong 1, 0, 15, 13 /** * Signal Obj_DistLong setup tuple. @@ -22978,7 +23069,7 @@ * @deprecated * Use \ref INITSIG_Obj_1_General_Obj_DistLong or \ref INIT_Obj_1_General instead. */ -#define SETUP_Obj_1_General_Obj_DistLong 1, 0, 15, 13, 2500 +#define SETUP_Obj_1_General_Obj_DistLong 1, 0, 15, 13, 2500 /** * Get signal Obj_DistLong from buffer. @@ -22988,10 +23079,8 @@ * @return * The raw signal */ -#define GET_Obj_1_General_Obj_DistLong(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0xff) << 5) \ - | (ubyte)(+(ubyte)((buf[2] >> 3) & 0x1f) << 0) \ -) +#define GET_Obj_1_General_Obj_DistLong(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0xff) << 5) | (ubyte)(+(ubyte)((buf[2] >> 3) & 0x1f) << 0)) /** * Set signal Obj_DistLong in buffer. @@ -23001,12 +23090,13 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_1_General_Obj_DistLong(buf, val) { \ - buf[1] &= ~(0xff << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 5) & 0xff) << 0; \ - buf[2] &= ~(0x1f << 3); \ - buf[2] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ -} +#define SET_Obj_1_General_Obj_DistLong(buf, val) \ + { \ + buf[1] &= ~(0xff << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 5) & 0xff) << 0; \ + buf[2] &= ~(0x1f << 3); \ + buf[2] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ + } /** * Set signal Obj_DistLong in buffer to its initial value. @@ -23014,8 +23104,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_1_General_Obj_DistLong(buf) \ - SET_Obj_1_General_Obj_DistLong(buf, 2500) +#define INITSIG_Obj_1_General_Obj_DistLong(buf) SET_Obj_1_General_Obj_DistLong(buf, 2500) /** * Signal Obj_DistLong value conversion with 16 bit factor and offset. @@ -23028,28 +23117,27 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_1_General_Obj_DistLong(x, fmt) \ - ((x) * fmt / 5 + fmt * (-500)) +#define CALC_Obj_1_General_Obj_DistLong(x, fmt) ((x) * fmt / 5 + fmt * (-500)) /** * Signal Obj_DistLong raw initial value. */ -#define START_Obj_1_General_Obj_DistLong 2500 +#define START_Obj_1_General_Obj_DistLong 2500 /** * Signal Obj_DistLong raw minimum value. */ -#define MIN_Obj_1_General_Obj_DistLong 0 +#define MIN_Obj_1_General_Obj_DistLong 0 /** * Signal Obj_DistLong raw maximum value. */ -#define MAX_Obj_1_General_Obj_DistLong 8191 +#define MAX_Obj_1_General_Obj_DistLong 8191 /** * Signal Obj_DistLong raw offset value. */ -#define OFF_Obj_1_General_Obj_DistLong -2500 +#define OFF_Obj_1_General_Obj_DistLong -2500 /** * @} @@ -23073,7 +23161,7 @@ * @deprecated * Use \ref SET_Obj_1_General_Obj_VrelLong and \ref GET_Obj_1_General_Obj_VrelLong instead. */ -#define SIG_Obj_1_General_Obj_VrelLong 1, 0, 39, 10 +#define SIG_Obj_1_General_Obj_VrelLong 1, 0, 39, 10 /** * Signal Obj_VrelLong setup tuple. @@ -23081,7 +23169,7 @@ * @deprecated * Use \ref INITSIG_Obj_1_General_Obj_VrelLong or \ref INIT_Obj_1_General instead. */ -#define SETUP_Obj_1_General_Obj_VrelLong 1, 0, 39, 10, 512 +#define SETUP_Obj_1_General_Obj_VrelLong 1, 0, 39, 10, 512 /** * Get signal Obj_VrelLong from buffer. @@ -23091,10 +23179,8 @@ * @return * The raw signal */ -#define GET_Obj_1_General_Obj_VrelLong(buf) (0 \ - | (uword)(+(uword)((buf[4] >> 0) & 0xff) << 2) \ - | (ubyte)(+(ubyte)((buf[5] >> 6) & 0x03) << 0) \ -) +#define GET_Obj_1_General_Obj_VrelLong(buf) \ + (0 | (uword)(+(uword)((buf[4] >> 0) & 0xff) << 2) | (ubyte)(+(ubyte)((buf[5] >> 6) & 0x03) << 0)) /** * Set signal Obj_VrelLong in buffer. @@ -23104,12 +23190,13 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_1_General_Obj_VrelLong(buf, val) { \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= ((ubyte)((uword)(val) >> 2) & 0xff) << 0; \ - buf[5] &= ~(0x03 << 6); \ - buf[5] |= (((ubyte)(val) >> 0) & 0x03) << 6; \ -} +#define SET_Obj_1_General_Obj_VrelLong(buf, val) \ + { \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= ((ubyte)((uword)(val) >> 2) & 0xff) << 0; \ + buf[5] &= ~(0x03 << 6); \ + buf[5] |= (((ubyte)(val) >> 0) & 0x03) << 6; \ + } /** * Set signal Obj_VrelLong in buffer to its initial value. @@ -23117,8 +23204,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_1_General_Obj_VrelLong(buf) \ - SET_Obj_1_General_Obj_VrelLong(buf, 512) +#define INITSIG_Obj_1_General_Obj_VrelLong(buf) SET_Obj_1_General_Obj_VrelLong(buf, 512) /** * Signal Obj_VrelLong value conversion with 16 bit factor and offset. @@ -23131,28 +23217,27 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_1_General_Obj_VrelLong(x, fmt) \ - ((x) * fmt / 4 + fmt * (-128)) +#define CALC_Obj_1_General_Obj_VrelLong(x, fmt) ((x) * fmt / 4 + fmt * (-128)) /** * Signal Obj_VrelLong raw initial value. */ -#define START_Obj_1_General_Obj_VrelLong 512 +#define START_Obj_1_General_Obj_VrelLong 512 /** * Signal Obj_VrelLong raw minimum value. */ -#define MIN_Obj_1_General_Obj_VrelLong 0 +#define MIN_Obj_1_General_Obj_VrelLong 0 /** * Signal Obj_VrelLong raw maximum value. */ -#define MAX_Obj_1_General_Obj_VrelLong 1023 +#define MAX_Obj_1_General_Obj_VrelLong 1023 /** * Signal Obj_VrelLong raw offset value. */ -#define OFF_Obj_1_General_Obj_VrelLong -512 +#define OFF_Obj_1_General_Obj_VrelLong -512 /** * @} @@ -23176,7 +23261,7 @@ * @deprecated * Use \ref SET_Obj_1_General_Obj_DistLat and \ref GET_Obj_1_General_Obj_DistLat instead. */ -#define SIG_Obj_1_General_Obj_DistLat 1, 0, 18, 11 +#define SIG_Obj_1_General_Obj_DistLat 1, 0, 18, 11 /** * Signal Obj_DistLat setup tuple. @@ -23184,7 +23269,7 @@ * @deprecated * Use \ref INITSIG_Obj_1_General_Obj_DistLat or \ref INIT_Obj_1_General instead. */ -#define SETUP_Obj_1_General_Obj_DistLat 1, 0, 18, 11, 1023 +#define SETUP_Obj_1_General_Obj_DistLat 1, 0, 18, 11, 1023 /** * Get signal Obj_DistLat from buffer. @@ -23194,10 +23279,8 @@ * @return * The raw signal */ -#define GET_Obj_1_General_Obj_DistLat(buf) (0 \ - | (uword)(+(uword)((buf[2] >> 0) & 0x07) << 8) \ - | (ubyte)(+(ubyte)((buf[3] >> 0) & 0xff) << 0) \ -) +#define GET_Obj_1_General_Obj_DistLat(buf) \ + (0 | (uword)(+(uword)((buf[2] >> 0) & 0x07) << 8) | (ubyte)(+(ubyte)((buf[3] >> 0) & 0xff) << 0)) /** * Set signal Obj_DistLat in buffer. @@ -23207,12 +23290,13 @@ * @param val * The raw value to set the signal to */ -#define SET_Obj_1_General_Obj_DistLat(buf, val) { \ - buf[2] &= ~(0x07 << 0); \ - buf[2] |= ((ubyte)((uword)(val) >> 8) & 0x07) << 0; \ - buf[3] &= ~(0xff << 0); \ - buf[3] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_Obj_1_General_Obj_DistLat(buf, val) \ + { \ + buf[2] &= ~(0x07 << 0); \ + buf[2] |= ((ubyte)((uword)(val) >> 8) & 0x07) << 0; \ + buf[3] &= ~(0xff << 0); \ + buf[3] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Obj_DistLat in buffer to its initial value. @@ -23220,8 +23304,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Obj_1_General_Obj_DistLat(buf) \ - SET_Obj_1_General_Obj_DistLat(buf, 1023) +#define INITSIG_Obj_1_General_Obj_DistLat(buf) SET_Obj_1_General_Obj_DistLat(buf, 1023) /** * Signal Obj_DistLat value conversion with 16 bit factor and offset. @@ -23234,35 +23317,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Obj_1_General_Obj_DistLat(x, fmt) \ - ((x) * fmt / 5 + fmt * (-1024) / 5) +#define CALC_Obj_1_General_Obj_DistLat(x, fmt) ((x) * fmt / 5 + fmt * (-1024) / 5) /** * Signal Obj_DistLat raw initial value. */ -#define START_Obj_1_General_Obj_DistLat 1023 +#define START_Obj_1_General_Obj_DistLat 1023 /** * Signal Obj_DistLat raw minimum value. */ -#define MIN_Obj_1_General_Obj_DistLat 0 +#define MIN_Obj_1_General_Obj_DistLat 0 /** * Signal Obj_DistLat raw maximum value. */ -#define MAX_Obj_1_General_Obj_DistLat 2047 +#define MAX_Obj_1_General_Obj_DistLat 2047 /** * Signal Obj_DistLat raw offset value. */ -#define OFF_Obj_1_General_Obj_DistLat -1023 +#define OFF_Obj_1_General_Obj_DistLat -1023 /** * @} */ /** - * @defgroup SIG_VersionID_Version_ExtendedRange Signal Version_ExtendedRange of Message VersionID (0x700) + * @defgroup SIG_VersionID_Version_ExtendedRange Signal Version_ExtendedRange of Message VersionID + * (0x700) * * Contains the value table \ref ENUM_VersionID_Version_ExtendedRange. * @@ -23276,9 +23359,10 @@ * Signal Version_ExtendedRange configuration tuple. * * @deprecated - * Use \ref SET_VersionID_Version_ExtendedRange and \ref GET_VersionID_Version_ExtendedRange instead. + * Use \ref SET_VersionID_Version_ExtendedRange and \ref GET_VersionID_Version_ExtendedRange + *instead. */ -#define SIG_VersionID_Version_ExtendedRange 1, 0, 25, 1 +#define SIG_VersionID_Version_ExtendedRange 1, 0, 25, 1 /** * Signal Version_ExtendedRange setup tuple. @@ -23286,7 +23370,7 @@ * @deprecated * Use \ref INITSIG_VersionID_Version_ExtendedRange or \ref INIT_VersionID instead. */ -#define SETUP_VersionID_Version_ExtendedRange 1, 0, 25, 1, 0 +#define SETUP_VersionID_Version_ExtendedRange 1, 0, 25, 1, 0 /** * Get signal Version_ExtendedRange from buffer. @@ -23296,9 +23380,7 @@ * @return * The raw signal */ -#define GET_VersionID_Version_ExtendedRange(buf) (0 \ - | (ubyte)(+(ubyte)((buf[3] >> 1) & 0x01) << 0) \ -) +#define GET_VersionID_Version_ExtendedRange(buf) (0 | (ubyte)(+(ubyte)((buf[3] >> 1) & 0x01) << 0)) /** * Set signal Version_ExtendedRange in buffer. @@ -23308,10 +23390,11 @@ * @param val * The raw value to set the signal to */ -#define SET_VersionID_Version_ExtendedRange(buf, val) { \ - buf[3] &= ~(0x01 << 1); \ - buf[3] |= (((ubyte)(val) >> 0) & 0x01) << 1; \ -} +#define SET_VersionID_Version_ExtendedRange(buf, val) \ + { \ + buf[3] &= ~(0x01 << 1); \ + buf[3] |= (((ubyte)(val) >> 0) & 0x01) << 1; \ + } /** * Set signal Version_ExtendedRange in buffer to its initial value. @@ -23319,8 +23402,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_VersionID_Version_ExtendedRange(buf) \ - SET_VersionID_Version_ExtendedRange(buf, 0) +#define INITSIG_VersionID_Version_ExtendedRange(buf) SET_VersionID_Version_ExtendedRange(buf, 0) /** * Signal Version_ExtendedRange value conversion with 16 bit factor and offset. @@ -23333,35 +23415,35 @@ * @return * The signal value as a human readable number */ -#define CALC_VersionID_Version_ExtendedRange(x, fmt) \ - ((x) * fmt) +#define CALC_VersionID_Version_ExtendedRange(x, fmt) ((x) * fmt) /** * Signal Version_ExtendedRange raw initial value. */ -#define START_VersionID_Version_ExtendedRange 0 +#define START_VersionID_Version_ExtendedRange 0 /** * Signal Version_ExtendedRange raw minimum value. */ -#define MIN_VersionID_Version_ExtendedRange 0 +#define MIN_VersionID_Version_ExtendedRange 0 /** * Signal Version_ExtendedRange raw maximum value. */ -#define MAX_VersionID_Version_ExtendedRange 0 +#define MAX_VersionID_Version_ExtendedRange 0 /** * Signal Version_ExtendedRange raw offset value. */ -#define OFF_VersionID_Version_ExtendedRange 0 +#define OFF_VersionID_Version_ExtendedRange 0 /** * @} */ /** - * @defgroup ENUM_VersionID_Version_ExtendedRange Value Table for Signal Version_ExtendedRange in Message VersionID (0x700) + * @defgroup ENUM_VersionID_Version_ExtendedRange Value Table for Signal Version_ExtendedRange in + * Message VersionID (0x700) * * Enum values defined for \ref SIG_VersionID_Version_ExtendedRange. * @@ -23375,7 +23457,7 @@ * * @ingroup ENUM_VersionID_Version_ExtendedRange */ -#define VersionID_Version_ExtendedRange_Extended 1 +#define VersionID_Version_ExtendedRange_Extended 1 /** * Value table VersionID_Version_ExtendedRange entry Standard. @@ -23384,10 +23466,11 @@ * * @ingroup ENUM_VersionID_Version_ExtendedRange */ -#define VersionID_Version_ExtendedRange_Standard 0 +#define VersionID_Version_ExtendedRange_Standard 0 /** - * @defgroup SIG_VersionID_Version_CountryCode Signal Version_CountryCode of Message VersionID (0x700) + * @defgroup SIG_VersionID_Version_CountryCode Signal Version_CountryCode of Message VersionID + * (0x700) * * Contains the value table \ref ENUM_VersionID_Version_CountryCode. * @@ -23401,9 +23484,10 @@ * Signal Version_CountryCode configuration tuple. * * @deprecated - * Use \ref SET_VersionID_Version_CountryCode and \ref GET_VersionID_Version_CountryCode instead. + * Use \ref SET_VersionID_Version_CountryCode and \ref GET_VersionID_Version_CountryCode + *instead. */ -#define SIG_VersionID_Version_CountryCode 1, 0, 24, 1 +#define SIG_VersionID_Version_CountryCode 1, 0, 24, 1 /** * Signal Version_CountryCode setup tuple. @@ -23411,7 +23495,7 @@ * @deprecated * Use \ref INITSIG_VersionID_Version_CountryCode or \ref INIT_VersionID instead. */ -#define SETUP_VersionID_Version_CountryCode 1, 0, 24, 1, 0 +#define SETUP_VersionID_Version_CountryCode 1, 0, 24, 1, 0 /** * Get signal Version_CountryCode from buffer. @@ -23421,9 +23505,7 @@ * @return * The raw signal */ -#define GET_VersionID_Version_CountryCode(buf) (0 \ - | (ubyte)(+(ubyte)((buf[3] >> 0) & 0x01) << 0) \ -) +#define GET_VersionID_Version_CountryCode(buf) (0 | (ubyte)(+(ubyte)((buf[3] >> 0) & 0x01) << 0)) /** * Set signal Version_CountryCode in buffer. @@ -23433,10 +23515,11 @@ * @param val * The raw value to set the signal to */ -#define SET_VersionID_Version_CountryCode(buf, val) { \ - buf[3] &= ~(0x01 << 0); \ - buf[3] |= (((ubyte)(val) >> 0) & 0x01) << 0; \ -} +#define SET_VersionID_Version_CountryCode(buf, val) \ + { \ + buf[3] &= ~(0x01 << 0); \ + buf[3] |= (((ubyte)(val) >> 0) & 0x01) << 0; \ + } /** * Set signal Version_CountryCode in buffer to its initial value. @@ -23444,8 +23527,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_VersionID_Version_CountryCode(buf) \ - SET_VersionID_Version_CountryCode(buf, 0) +#define INITSIG_VersionID_Version_CountryCode(buf) SET_VersionID_Version_CountryCode(buf, 0) /** * Signal Version_CountryCode value conversion with 16 bit factor and offset. @@ -23458,35 +23540,35 @@ * @return * The signal value as a human readable number */ -#define CALC_VersionID_Version_CountryCode(x, fmt) \ - ((x) * fmt) +#define CALC_VersionID_Version_CountryCode(x, fmt) ((x) * fmt) /** * Signal Version_CountryCode raw initial value. */ -#define START_VersionID_Version_CountryCode 0 +#define START_VersionID_Version_CountryCode 0 /** * Signal Version_CountryCode raw minimum value. */ -#define MIN_VersionID_Version_CountryCode 0 +#define MIN_VersionID_Version_CountryCode 0 /** * Signal Version_CountryCode raw maximum value. */ -#define MAX_VersionID_Version_CountryCode 0 +#define MAX_VersionID_Version_CountryCode 0 /** * Signal Version_CountryCode raw offset value. */ -#define OFF_VersionID_Version_CountryCode 0 +#define OFF_VersionID_Version_CountryCode 0 /** * @} */ /** - * @defgroup ENUM_VersionID_Version_CountryCode Value Table for Signal Version_CountryCode in Message VersionID (0x700) + * @defgroup ENUM_VersionID_Version_CountryCode Value Table for Signal Version_CountryCode in + * Message VersionID (0x700) * * Enum values defined for \ref SIG_VersionID_Version_CountryCode. * @@ -23500,7 +23582,7 @@ * * @ingroup ENUM_VersionID_Version_CountryCode */ -#define VersionID_Version_CountryCode_South 1 +#define VersionID_Version_CountryCode_South 1 /** * Value table VersionID_Version_CountryCode entry International. @@ -23509,10 +23591,11 @@ * * @ingroup ENUM_VersionID_Version_CountryCode */ -#define VersionID_Version_CountryCode_International 0 +#define VersionID_Version_CountryCode_International 0 /** - * @defgroup SIG_VersionID_Version_MajorRelease Signal Version_MajorRelease of Message VersionID (0x700) + * @defgroup SIG_VersionID_Version_MajorRelease Signal Version_MajorRelease of Message VersionID + * (0x700) * * Major Release Number * @@ -23527,9 +23610,10 @@ * Signal Version_MajorRelease configuration tuple. * * @deprecated - * Use \ref SET_VersionID_Version_MajorRelease and \ref GET_VersionID_Version_MajorRelease instead. + * Use \ref SET_VersionID_Version_MajorRelease and \ref GET_VersionID_Version_MajorRelease + *instead. */ -#define SIG_VersionID_Version_MajorRelease 1, 0, 7, 8 +#define SIG_VersionID_Version_MajorRelease 1, 0, 7, 8 /** * Signal Version_MajorRelease setup tuple. @@ -23537,7 +23621,7 @@ * @deprecated * Use \ref INITSIG_VersionID_Version_MajorRelease or \ref INIT_VersionID instead. */ -#define SETUP_VersionID_Version_MajorRelease 1, 0, 7, 8, 0 +#define SETUP_VersionID_Version_MajorRelease 1, 0, 7, 8, 0 /** * Get signal Version_MajorRelease from buffer. @@ -23547,9 +23631,7 @@ * @return * The raw signal */ -#define GET_VersionID_Version_MajorRelease(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0) \ -) +#define GET_VersionID_Version_MajorRelease(buf) (0 | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0)) /** * Set signal Version_MajorRelease in buffer. @@ -23559,10 +23641,11 @@ * @param val * The raw value to set the signal to */ -#define SET_VersionID_Version_MajorRelease(buf, val) { \ - buf[0] &= ~(0xff << 0); \ - buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_VersionID_Version_MajorRelease(buf, val) \ + { \ + buf[0] &= ~(0xff << 0); \ + buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Version_MajorRelease in buffer to its initial value. @@ -23570,8 +23653,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_VersionID_Version_MajorRelease(buf) \ - SET_VersionID_Version_MajorRelease(buf, 0) +#define INITSIG_VersionID_Version_MajorRelease(buf) SET_VersionID_Version_MajorRelease(buf, 0) /** * Signal Version_MajorRelease value conversion with 16 bit factor and offset. @@ -23584,35 +23666,35 @@ * @return * The signal value as a human readable number */ -#define CALC_VersionID_Version_MajorRelease(x, fmt) \ - ((x) * fmt) +#define CALC_VersionID_Version_MajorRelease(x, fmt) ((x) * fmt) /** * Signal Version_MajorRelease raw initial value. */ -#define START_VersionID_Version_MajorRelease 0 +#define START_VersionID_Version_MajorRelease 0 /** * Signal Version_MajorRelease raw minimum value. */ -#define MIN_VersionID_Version_MajorRelease 0 +#define MIN_VersionID_Version_MajorRelease 0 /** * Signal Version_MajorRelease raw maximum value. */ -#define MAX_VersionID_Version_MajorRelease 256 +#define MAX_VersionID_Version_MajorRelease 256 /** * Signal Version_MajorRelease raw offset value. */ -#define OFF_VersionID_Version_MajorRelease 0 +#define OFF_VersionID_Version_MajorRelease 0 /** * @} */ /** - * @defgroup SIG_VersionID_Version_MinorRelease Signal Version_MinorRelease of Message VersionID (0x700) + * @defgroup SIG_VersionID_Version_MinorRelease Signal Version_MinorRelease of Message VersionID + * (0x700) * * Minor Release Number * @@ -23627,9 +23709,10 @@ * Signal Version_MinorRelease configuration tuple. * * @deprecated - * Use \ref SET_VersionID_Version_MinorRelease and \ref GET_VersionID_Version_MinorRelease instead. + * Use \ref SET_VersionID_Version_MinorRelease and \ref GET_VersionID_Version_MinorRelease + *instead. */ -#define SIG_VersionID_Version_MinorRelease 1, 0, 15, 8 +#define SIG_VersionID_Version_MinorRelease 1, 0, 15, 8 /** * Signal Version_MinorRelease setup tuple. @@ -23637,7 +23720,7 @@ * @deprecated * Use \ref INITSIG_VersionID_Version_MinorRelease or \ref INIT_VersionID instead. */ -#define SETUP_VersionID_Version_MinorRelease 1, 0, 15, 8, 0 +#define SETUP_VersionID_Version_MinorRelease 1, 0, 15, 8, 0 /** * Get signal Version_MinorRelease from buffer. @@ -23647,9 +23730,7 @@ * @return * The raw signal */ -#define GET_VersionID_Version_MinorRelease(buf) (0 \ - | (ubyte)(+(ubyte)((buf[1] >> 0) & 0xff) << 0) \ -) +#define GET_VersionID_Version_MinorRelease(buf) (0 | (ubyte)(+(ubyte)((buf[1] >> 0) & 0xff) << 0)) /** * Set signal Version_MinorRelease in buffer. @@ -23659,10 +23740,11 @@ * @param val * The raw value to set the signal to */ -#define SET_VersionID_Version_MinorRelease(buf, val) { \ - buf[1] &= ~(0xff << 0); \ - buf[1] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_VersionID_Version_MinorRelease(buf, val) \ + { \ + buf[1] &= ~(0xff << 0); \ + buf[1] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Version_MinorRelease in buffer to its initial value. @@ -23670,8 +23752,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_VersionID_Version_MinorRelease(buf) \ - SET_VersionID_Version_MinorRelease(buf, 0) +#define INITSIG_VersionID_Version_MinorRelease(buf) SET_VersionID_Version_MinorRelease(buf, 0) /** * Signal Version_MinorRelease value conversion with 16 bit factor and offset. @@ -23684,28 +23765,27 @@ * @return * The signal value as a human readable number */ -#define CALC_VersionID_Version_MinorRelease(x, fmt) \ - ((x) * fmt) +#define CALC_VersionID_Version_MinorRelease(x, fmt) ((x) * fmt) /** * Signal Version_MinorRelease raw initial value. */ -#define START_VersionID_Version_MinorRelease 0 +#define START_VersionID_Version_MinorRelease 0 /** * Signal Version_MinorRelease raw minimum value. */ -#define MIN_VersionID_Version_MinorRelease 0 +#define MIN_VersionID_Version_MinorRelease 0 /** * Signal Version_MinorRelease raw maximum value. */ -#define MAX_VersionID_Version_MinorRelease 256 +#define MAX_VersionID_Version_MinorRelease 256 /** * Signal Version_MinorRelease raw offset value. */ -#define OFF_VersionID_Version_MinorRelease 0 +#define OFF_VersionID_Version_MinorRelease 0 /** * @} @@ -23729,7 +23809,7 @@ * @deprecated * Use \ref SET_VersionID_Version_PatchLevel and \ref GET_VersionID_Version_PatchLevel instead. */ -#define SIG_VersionID_Version_PatchLevel 1, 0, 23, 8 +#define SIG_VersionID_Version_PatchLevel 1, 0, 23, 8 /** * Signal Version_PatchLevel setup tuple. @@ -23737,7 +23817,7 @@ * @deprecated * Use \ref INITSIG_VersionID_Version_PatchLevel or \ref INIT_VersionID instead. */ -#define SETUP_VersionID_Version_PatchLevel 1, 0, 23, 8, 0 +#define SETUP_VersionID_Version_PatchLevel 1, 0, 23, 8, 0 /** * Get signal Version_PatchLevel from buffer. @@ -23747,9 +23827,7 @@ * @return * The raw signal */ -#define GET_VersionID_Version_PatchLevel(buf) (0 \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0) \ -) +#define GET_VersionID_Version_PatchLevel(buf) (0 | (ubyte)(+(ubyte)((buf[2] >> 0) & 0xff) << 0)) /** * Set signal Version_PatchLevel in buffer. @@ -23759,10 +23837,11 @@ * @param val * The raw value to set the signal to */ -#define SET_VersionID_Version_PatchLevel(buf, val) { \ - buf[2] &= ~(0xff << 0); \ - buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_VersionID_Version_PatchLevel(buf, val) \ + { \ + buf[2] &= ~(0xff << 0); \ + buf[2] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Version_PatchLevel in buffer to its initial value. @@ -23770,8 +23849,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_VersionID_Version_PatchLevel(buf) \ - SET_VersionID_Version_PatchLevel(buf, 0) +#define INITSIG_VersionID_Version_PatchLevel(buf) SET_VersionID_Version_PatchLevel(buf, 0) /** * Signal Version_PatchLevel value conversion with 16 bit factor and offset. @@ -23784,35 +23862,35 @@ * @return * The signal value as a human readable number */ -#define CALC_VersionID_Version_PatchLevel(x, fmt) \ - ((x) * fmt) +#define CALC_VersionID_Version_PatchLevel(x, fmt) ((x) * fmt) /** * Signal Version_PatchLevel raw initial value. */ -#define START_VersionID_Version_PatchLevel 0 +#define START_VersionID_Version_PatchLevel 0 /** * Signal Version_PatchLevel raw minimum value. */ -#define MIN_VersionID_Version_PatchLevel 0 +#define MIN_VersionID_Version_PatchLevel 0 /** * Signal Version_PatchLevel raw maximum value. */ -#define MAX_VersionID_Version_PatchLevel 256 +#define MAX_VersionID_Version_PatchLevel 256 /** * Signal Version_PatchLevel raw offset value. */ -#define OFF_VersionID_Version_PatchLevel 0 +#define OFF_VersionID_Version_PatchLevel 0 /** * @} */ /** - * @defgroup SIG_Cluster_1_General_Cluster_DynProp Signal Cluster_DynProp of Message Cluster_1_General (0x701) + * @defgroup SIG_Cluster_1_General_Cluster_DynProp Signal Cluster_DynProp of Message + * Cluster_1_General (0x701) * * Cluster dynamic property * @@ -23829,9 +23907,10 @@ * Signal Cluster_DynProp configuration tuple. * * @deprecated - * Use \ref SET_Cluster_1_General_Cluster_DynProp and \ref GET_Cluster_1_General_Cluster_DynProp instead. + * Use \ref SET_Cluster_1_General_Cluster_DynProp and \ref + *GET_Cluster_1_General_Cluster_DynProp instead. */ -#define SIG_Cluster_1_General_Cluster_DynProp 1, 0, 50, 3 +#define SIG_Cluster_1_General_Cluster_DynProp 1, 0, 50, 3 /** * Signal Cluster_DynProp setup tuple. @@ -23839,7 +23918,7 @@ * @deprecated * Use \ref INITSIG_Cluster_1_General_Cluster_DynProp or \ref INIT_Cluster_1_General instead. */ -#define SETUP_Cluster_1_General_Cluster_DynProp 1, 0, 50, 3, 0 +#define SETUP_Cluster_1_General_Cluster_DynProp 1, 0, 50, 3, 0 /** * Get signal Cluster_DynProp from buffer. @@ -23849,9 +23928,8 @@ * @return * The raw signal */ -#define GET_Cluster_1_General_Cluster_DynProp(buf) (0 \ - | (ubyte)(+(ubyte)((buf[6] >> 0) & 0x07) << 0) \ -) +#define GET_Cluster_1_General_Cluster_DynProp(buf) \ + (0 | (ubyte)(+(ubyte)((buf[6] >> 0) & 0x07) << 0)) /** * Set signal Cluster_DynProp in buffer. @@ -23861,10 +23939,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Cluster_1_General_Cluster_DynProp(buf, val) { \ - buf[6] &= ~(0x07 << 0); \ - buf[6] |= (((ubyte)(val) >> 0) & 0x07) << 0; \ -} +#define SET_Cluster_1_General_Cluster_DynProp(buf, val) \ + { \ + buf[6] &= ~(0x07 << 0); \ + buf[6] |= (((ubyte)(val) >> 0) & 0x07) << 0; \ + } /** * Set signal Cluster_DynProp in buffer to its initial value. @@ -23872,8 +23951,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Cluster_1_General_Cluster_DynProp(buf) \ - SET_Cluster_1_General_Cluster_DynProp(buf, 0) +#define INITSIG_Cluster_1_General_Cluster_DynProp(buf) SET_Cluster_1_General_Cluster_DynProp(buf, 0) /** * Signal Cluster_DynProp value conversion with 16 bit factor and offset. @@ -23886,35 +23964,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Cluster_1_General_Cluster_DynProp(x, fmt) \ - ((x) * fmt) +#define CALC_Cluster_1_General_Cluster_DynProp(x, fmt) ((x) * fmt) /** * Signal Cluster_DynProp raw initial value. */ -#define START_Cluster_1_General_Cluster_DynProp 0 +#define START_Cluster_1_General_Cluster_DynProp 0 /** * Signal Cluster_DynProp raw minimum value. */ -#define MIN_Cluster_1_General_Cluster_DynProp 0 +#define MIN_Cluster_1_General_Cluster_DynProp 0 /** * Signal Cluster_DynProp raw maximum value. */ -#define MAX_Cluster_1_General_Cluster_DynProp 7 +#define MAX_Cluster_1_General_Cluster_DynProp 7 /** * Signal Cluster_DynProp raw offset value. */ -#define OFF_Cluster_1_General_Cluster_DynProp 0 +#define OFF_Cluster_1_General_Cluster_DynProp 0 /** * @} */ /** - * @defgroup ENUM_Cluster_1_General_Cluster_DynProp Value Table for Signal Cluster_DynProp in Message Cluster_1_General (0x701) + * @defgroup ENUM_Cluster_1_General_Cluster_DynProp Value Table for Signal Cluster_DynProp in + * Message Cluster_1_General (0x701) * * Enum values defined for \ref SIG_Cluster_1_General_Cluster_DynProp. * @@ -23926,7 +24004,7 @@ * * @ingroup ENUM_Cluster_1_General_Cluster_DynProp */ -#define Cluster_1_General_Cluster_DynProp_Stopped 7 +#define Cluster_1_General_Cluster_DynProp_Stopped 7 /** * Value table Cluster_1_General_Cluster_DynProp entry Crossing. @@ -23935,7 +24013,7 @@ * * @ingroup ENUM_Cluster_1_General_Cluster_DynProp */ -#define Cluster_1_General_Cluster_DynProp_Crossing 6 +#define Cluster_1_General_Cluster_DynProp_Crossing 6 /** * Value table Cluster_1_General_Cluster_DynProp entry Crossing_5. @@ -23944,14 +24022,14 @@ * * @ingroup ENUM_Cluster_1_General_Cluster_DynProp */ -#define Cluster_1_General_Cluster_DynProp_Crossing_5 5 +#define Cluster_1_General_Cluster_DynProp_Crossing_5 5 /** * Value table Cluster_1_General_Cluster_DynProp entry Unknown. * * @ingroup ENUM_Cluster_1_General_Cluster_DynProp */ -#define Cluster_1_General_Cluster_DynProp_Unknown 4 +#define Cluster_1_General_Cluster_DynProp_Unknown 4 /** * Value table Cluster_1_General_Cluster_DynProp entry Stationary. @@ -23960,31 +24038,32 @@ * * @ingroup ENUM_Cluster_1_General_Cluster_DynProp */ -#define Cluster_1_General_Cluster_DynProp_Stationary 3 +#define Cluster_1_General_Cluster_DynProp_Stationary 3 /** * Value table Cluster_1_General_Cluster_DynProp entry Oncoming. * * @ingroup ENUM_Cluster_1_General_Cluster_DynProp */ -#define Cluster_1_General_Cluster_DynProp_Oncoming 2 +#define Cluster_1_General_Cluster_DynProp_Oncoming 2 /** * Value table Cluster_1_General_Cluster_DynProp entry Stationary_1. * * @ingroup ENUM_Cluster_1_General_Cluster_DynProp */ -#define Cluster_1_General_Cluster_DynProp_Stationary_1 1 +#define Cluster_1_General_Cluster_DynProp_Stationary_1 1 /** * Value table Cluster_1_General_Cluster_DynProp entry Moving. * * @ingroup ENUM_Cluster_1_General_Cluster_DynProp */ -#define Cluster_1_General_Cluster_DynProp_Moving 0 +#define Cluster_1_General_Cluster_DynProp_Moving 0 /** - * @defgroup SIG_Cluster_1_General_Cluster_VrelLat Signal Cluster_VrelLat of Message Cluster_1_General (0x701) + * @defgroup SIG_Cluster_1_General_Cluster_VrelLat Signal Cluster_VrelLat of Message + * Cluster_1_General (0x701) * * Cluster relative lateral velocity * @@ -23999,9 +24078,10 @@ * Signal Cluster_VrelLat configuration tuple. * * @deprecated - * Use \ref SET_Cluster_1_General_Cluster_VrelLat and \ref GET_Cluster_1_General_Cluster_VrelLat instead. + * Use \ref SET_Cluster_1_General_Cluster_VrelLat and \ref + *GET_Cluster_1_General_Cluster_VrelLat instead. */ -#define SIG_Cluster_1_General_Cluster_VrelLat 1, 0, 45, 9 +#define SIG_Cluster_1_General_Cluster_VrelLat 1, 0, 45, 9 /** * Signal Cluster_VrelLat setup tuple. @@ -24009,7 +24089,7 @@ * @deprecated * Use \ref INITSIG_Cluster_1_General_Cluster_VrelLat or \ref INIT_Cluster_1_General instead. */ -#define SETUP_Cluster_1_General_Cluster_VrelLat 1, 0, 45, 9, 256 +#define SETUP_Cluster_1_General_Cluster_VrelLat 1, 0, 45, 9, 256 /** * Get signal Cluster_VrelLat from buffer. @@ -24019,10 +24099,8 @@ * @return * The raw signal */ -#define GET_Cluster_1_General_Cluster_VrelLat(buf) (0 \ - | (uword)(+(uword)((buf[5] >> 0) & 0x3f) << 3) \ - | (ubyte)(+(ubyte)((buf[6] >> 5) & 0x07) << 0) \ -) +#define GET_Cluster_1_General_Cluster_VrelLat(buf) \ + (0 | (uword)(+(uword)((buf[5] >> 0) & 0x3f) << 3) | (ubyte)(+(ubyte)((buf[6] >> 5) & 0x07) << 0)) /** * Set signal Cluster_VrelLat in buffer. @@ -24032,12 +24110,13 @@ * @param val * The raw value to set the signal to */ -#define SET_Cluster_1_General_Cluster_VrelLat(buf, val) { \ - buf[5] &= ~(0x3f << 0); \ - buf[5] |= ((ubyte)((uword)(val) >> 3) & 0x3f) << 0; \ - buf[6] &= ~(0x07 << 5); \ - buf[6] |= (((ubyte)(val) >> 0) & 0x07) << 5; \ -} +#define SET_Cluster_1_General_Cluster_VrelLat(buf, val) \ + { \ + buf[5] &= ~(0x3f << 0); \ + buf[5] |= ((ubyte)((uword)(val) >> 3) & 0x3f) << 0; \ + buf[6] &= ~(0x07 << 5); \ + buf[6] |= (((ubyte)(val) >> 0) & 0x07) << 5; \ + } /** * Set signal Cluster_VrelLat in buffer to its initial value. @@ -24046,7 +24125,7 @@ * The can message buffer to initialise */ #define INITSIG_Cluster_1_General_Cluster_VrelLat(buf) \ - SET_Cluster_1_General_Cluster_VrelLat(buf, 256) + SET_Cluster_1_General_Cluster_VrelLat(buf, 256) /** * Signal Cluster_VrelLat value conversion with 16 bit factor and offset. @@ -24059,35 +24138,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Cluster_1_General_Cluster_VrelLat(x, fmt) \ - ((x) * fmt / 4 + fmt * (-64)) +#define CALC_Cluster_1_General_Cluster_VrelLat(x, fmt) ((x) * fmt / 4 + fmt * (-64)) /** * Signal Cluster_VrelLat raw initial value. */ -#define START_Cluster_1_General_Cluster_VrelLat 256 +#define START_Cluster_1_General_Cluster_VrelLat 256 /** * Signal Cluster_VrelLat raw minimum value. */ -#define MIN_Cluster_1_General_Cluster_VrelLat 0 +#define MIN_Cluster_1_General_Cluster_VrelLat 0 /** * Signal Cluster_VrelLat raw maximum value. */ -#define MAX_Cluster_1_General_Cluster_VrelLat 511 +#define MAX_Cluster_1_General_Cluster_VrelLat 511 /** * Signal Cluster_VrelLat raw offset value. */ -#define OFF_Cluster_1_General_Cluster_VrelLat -256 +#define OFF_Cluster_1_General_Cluster_VrelLat -256 /** * @} */ /** - * @defgroup SIG_Cluster_1_General_Cluster_RCS Signal Cluster_RCS of Message Cluster_1_General (0x701) + * @defgroup SIG_Cluster_1_General_Cluster_RCS Signal Cluster_RCS of Message Cluster_1_General + * (0x701) * * Cluster RCS value (Radar cross section) * @@ -24102,9 +24181,10 @@ * Signal Cluster_RCS configuration tuple. * * @deprecated - * Use \ref SET_Cluster_1_General_Cluster_RCS and \ref GET_Cluster_1_General_Cluster_RCS instead. + * Use \ref SET_Cluster_1_General_Cluster_RCS and \ref GET_Cluster_1_General_Cluster_RCS + *instead. */ -#define SIG_Cluster_1_General_Cluster_RCS 1, 0, 63, 8 +#define SIG_Cluster_1_General_Cluster_RCS 1, 0, 63, 8 /** * Signal Cluster_RCS setup tuple. @@ -24112,7 +24192,7 @@ * @deprecated * Use \ref INITSIG_Cluster_1_General_Cluster_RCS or \ref INIT_Cluster_1_General instead. */ -#define SETUP_Cluster_1_General_Cluster_RCS 1, 0, 63, 8, 0 +#define SETUP_Cluster_1_General_Cluster_RCS 1, 0, 63, 8, 0 /** * Get signal Cluster_RCS from buffer. @@ -24122,9 +24202,7 @@ * @return * The raw signal */ -#define GET_Cluster_1_General_Cluster_RCS(buf) (0 \ - | (ubyte)(+(ubyte)((buf[7] >> 0) & 0xff) << 0) \ -) +#define GET_Cluster_1_General_Cluster_RCS(buf) (0 | (ubyte)(+(ubyte)((buf[7] >> 0) & 0xff) << 0)) /** * Set signal Cluster_RCS in buffer. @@ -24134,10 +24212,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Cluster_1_General_Cluster_RCS(buf, val) { \ - buf[7] &= ~(0xff << 0); \ - buf[7] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_Cluster_1_General_Cluster_RCS(buf, val) \ + { \ + buf[7] &= ~(0xff << 0); \ + buf[7] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Cluster_RCS in buffer to its initial value. @@ -24145,8 +24224,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Cluster_1_General_Cluster_RCS(buf) \ - SET_Cluster_1_General_Cluster_RCS(buf, 0) +#define INITSIG_Cluster_1_General_Cluster_RCS(buf) SET_Cluster_1_General_Cluster_RCS(buf, 0) /** * Signal Cluster_RCS value conversion with 16 bit factor and offset. @@ -24159,35 +24237,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Cluster_1_General_Cluster_RCS(x, fmt) \ - ((x) * fmt / 2 + fmt * (-64)) +#define CALC_Cluster_1_General_Cluster_RCS(x, fmt) ((x) * fmt / 2 + fmt * (-64)) /** * Signal Cluster_RCS raw initial value. */ -#define START_Cluster_1_General_Cluster_RCS 0 +#define START_Cluster_1_General_Cluster_RCS 0 /** * Signal Cluster_RCS raw minimum value. */ -#define MIN_Cluster_1_General_Cluster_RCS 0 +#define MIN_Cluster_1_General_Cluster_RCS 0 /** * Signal Cluster_RCS raw maximum value. */ -#define MAX_Cluster_1_General_Cluster_RCS 255 +#define MAX_Cluster_1_General_Cluster_RCS 255 /** * Signal Cluster_RCS raw offset value. */ -#define OFF_Cluster_1_General_Cluster_RCS -128 +#define OFF_Cluster_1_General_Cluster_RCS -128 /** * @} */ /** - * @defgroup SIG_Cluster_1_General_Cluster_DistLong Signal Cluster_DistLong of Message Cluster_1_General (0x701) + * @defgroup SIG_Cluster_1_General_Cluster_DistLong Signal Cluster_DistLong of Message + * Cluster_1_General (0x701) * * Cluster longitudinal distance * @@ -24202,9 +24280,10 @@ * Signal Cluster_DistLong configuration tuple. * * @deprecated - * Use \ref SET_Cluster_1_General_Cluster_DistLong and \ref GET_Cluster_1_General_Cluster_DistLong instead. + * Use \ref SET_Cluster_1_General_Cluster_DistLong and \ref + *GET_Cluster_1_General_Cluster_DistLong instead. */ -#define SIG_Cluster_1_General_Cluster_DistLong 1, 0, 15, 13 +#define SIG_Cluster_1_General_Cluster_DistLong 1, 0, 15, 13 /** * Signal Cluster_DistLong setup tuple. @@ -24212,7 +24291,7 @@ * @deprecated * Use \ref INITSIG_Cluster_1_General_Cluster_DistLong or \ref INIT_Cluster_1_General instead. */ -#define SETUP_Cluster_1_General_Cluster_DistLong 1, 0, 15, 13, 2500 +#define SETUP_Cluster_1_General_Cluster_DistLong 1, 0, 15, 13, 2500 /** * Get signal Cluster_DistLong from buffer. @@ -24222,10 +24301,8 @@ * @return * The raw signal */ -#define GET_Cluster_1_General_Cluster_DistLong(buf) (0 \ - | (uword)(+(uword)((buf[1] >> 0) & 0xff) << 5) \ - | (ubyte)(+(ubyte)((buf[2] >> 3) & 0x1f) << 0) \ -) +#define GET_Cluster_1_General_Cluster_DistLong(buf) \ + (0 | (uword)(+(uword)((buf[1] >> 0) & 0xff) << 5) | (ubyte)(+(ubyte)((buf[2] >> 3) & 0x1f) << 0)) /** * Set signal Cluster_DistLong in buffer. @@ -24235,12 +24312,13 @@ * @param val * The raw value to set the signal to */ -#define SET_Cluster_1_General_Cluster_DistLong(buf, val) { \ - buf[1] &= ~(0xff << 0); \ - buf[1] |= ((ubyte)((uword)(val) >> 5) & 0xff) << 0; \ - buf[2] &= ~(0x1f << 3); \ - buf[2] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ -} +#define SET_Cluster_1_General_Cluster_DistLong(buf, val) \ + { \ + buf[1] &= ~(0xff << 0); \ + buf[1] |= ((ubyte)((uword)(val) >> 5) & 0xff) << 0; \ + buf[2] &= ~(0x1f << 3); \ + buf[2] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ + } /** * Set signal Cluster_DistLong in buffer to its initial value. @@ -24249,7 +24327,7 @@ * The can message buffer to initialise */ #define INITSIG_Cluster_1_General_Cluster_DistLong(buf) \ - SET_Cluster_1_General_Cluster_DistLong(buf, 2500) + SET_Cluster_1_General_Cluster_DistLong(buf, 2500) /** * Signal Cluster_DistLong value conversion with 16 bit factor and offset. @@ -24262,28 +24340,27 @@ * @return * The signal value as a human readable number */ -#define CALC_Cluster_1_General_Cluster_DistLong(x, fmt) \ - ((x) * fmt / 5 + fmt * (-500)) +#define CALC_Cluster_1_General_Cluster_DistLong(x, fmt) ((x) * fmt / 5 + fmt * (-500)) /** * Signal Cluster_DistLong raw initial value. */ -#define START_Cluster_1_General_Cluster_DistLong 2500 +#define START_Cluster_1_General_Cluster_DistLong 2500 /** * Signal Cluster_DistLong raw minimum value. */ -#define MIN_Cluster_1_General_Cluster_DistLong 0 +#define MIN_Cluster_1_General_Cluster_DistLong 0 /** * Signal Cluster_DistLong raw maximum value. */ -#define MAX_Cluster_1_General_Cluster_DistLong 8191 +#define MAX_Cluster_1_General_Cluster_DistLong 8191 /** * Signal Cluster_DistLong raw offset value. */ -#define OFF_Cluster_1_General_Cluster_DistLong -2500 +#define OFF_Cluster_1_General_Cluster_DistLong -2500 /** * @} @@ -24307,7 +24384,7 @@ * @deprecated * Use \ref SET_Cluster_1_General_Cluster_ID and \ref GET_Cluster_1_General_Cluster_ID instead. */ -#define SIG_Cluster_1_General_Cluster_ID 1, 0, 7, 8 +#define SIG_Cluster_1_General_Cluster_ID 1, 0, 7, 8 /** * Signal Cluster_ID setup tuple. @@ -24315,7 +24392,7 @@ * @deprecated * Use \ref INITSIG_Cluster_1_General_Cluster_ID or \ref INIT_Cluster_1_General instead. */ -#define SETUP_Cluster_1_General_Cluster_ID 1, 0, 7, 8, 0 +#define SETUP_Cluster_1_General_Cluster_ID 1, 0, 7, 8, 0 /** * Get signal Cluster_ID from buffer. @@ -24325,9 +24402,7 @@ * @return * The raw signal */ -#define GET_Cluster_1_General_Cluster_ID(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0) \ -) +#define GET_Cluster_1_General_Cluster_ID(buf) (0 | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0)) /** * Set signal Cluster_ID in buffer. @@ -24337,10 +24412,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Cluster_1_General_Cluster_ID(buf, val) { \ - buf[0] &= ~(0xff << 0); \ - buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_Cluster_1_General_Cluster_ID(buf, val) \ + { \ + buf[0] &= ~(0xff << 0); \ + buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Cluster_ID in buffer to its initial value. @@ -24348,8 +24424,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Cluster_1_General_Cluster_ID(buf) \ - SET_Cluster_1_General_Cluster_ID(buf, 0) +#define INITSIG_Cluster_1_General_Cluster_ID(buf) SET_Cluster_1_General_Cluster_ID(buf, 0) /** * Signal Cluster_ID value conversion with 16 bit factor and offset. @@ -24362,35 +24437,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Cluster_1_General_Cluster_ID(x, fmt) \ - ((x) * fmt) +#define CALC_Cluster_1_General_Cluster_ID(x, fmt) ((x) * fmt) /** * Signal Cluster_ID raw initial value. */ -#define START_Cluster_1_General_Cluster_ID 0 +#define START_Cluster_1_General_Cluster_ID 0 /** * Signal Cluster_ID raw minimum value. */ -#define MIN_Cluster_1_General_Cluster_ID 0 +#define MIN_Cluster_1_General_Cluster_ID 0 /** * Signal Cluster_ID raw maximum value. */ -#define MAX_Cluster_1_General_Cluster_ID 255 +#define MAX_Cluster_1_General_Cluster_ID 255 /** * Signal Cluster_ID raw offset value. */ -#define OFF_Cluster_1_General_Cluster_ID 0 +#define OFF_Cluster_1_General_Cluster_ID 0 /** * @} */ /** - * @defgroup SIG_Cluster_1_General_Cluster_VrelLong Signal Cluster_VrelLong of Message Cluster_1_General (0x701) + * @defgroup SIG_Cluster_1_General_Cluster_VrelLong Signal Cluster_VrelLong of Message + * Cluster_1_General (0x701) * * Cluster relative longitudinal velocity * @@ -24405,9 +24480,10 @@ * Signal Cluster_VrelLong configuration tuple. * * @deprecated - * Use \ref SET_Cluster_1_General_Cluster_VrelLong and \ref GET_Cluster_1_General_Cluster_VrelLong instead. + * Use \ref SET_Cluster_1_General_Cluster_VrelLong and \ref + *GET_Cluster_1_General_Cluster_VrelLong instead. */ -#define SIG_Cluster_1_General_Cluster_VrelLong 1, 0, 39, 10 +#define SIG_Cluster_1_General_Cluster_VrelLong 1, 0, 39, 10 /** * Signal Cluster_VrelLong setup tuple. @@ -24415,7 +24491,7 @@ * @deprecated * Use \ref INITSIG_Cluster_1_General_Cluster_VrelLong or \ref INIT_Cluster_1_General instead. */ -#define SETUP_Cluster_1_General_Cluster_VrelLong 1, 0, 39, 10, 512 +#define SETUP_Cluster_1_General_Cluster_VrelLong 1, 0, 39, 10, 512 /** * Get signal Cluster_VrelLong from buffer. @@ -24425,10 +24501,8 @@ * @return * The raw signal */ -#define GET_Cluster_1_General_Cluster_VrelLong(buf) (0 \ - | (uword)(+(uword)((buf[4] >> 0) & 0xff) << 2) \ - | (ubyte)(+(ubyte)((buf[5] >> 6) & 0x03) << 0) \ -) +#define GET_Cluster_1_General_Cluster_VrelLong(buf) \ + (0 | (uword)(+(uword)((buf[4] >> 0) & 0xff) << 2) | (ubyte)(+(ubyte)((buf[5] >> 6) & 0x03) << 0)) /** * Set signal Cluster_VrelLong in buffer. @@ -24438,12 +24512,13 @@ * @param val * The raw value to set the signal to */ -#define SET_Cluster_1_General_Cluster_VrelLong(buf, val) { \ - buf[4] &= ~(0xff << 0); \ - buf[4] |= ((ubyte)((uword)(val) >> 2) & 0xff) << 0; \ - buf[5] &= ~(0x03 << 6); \ - buf[5] |= (((ubyte)(val) >> 0) & 0x03) << 6; \ -} +#define SET_Cluster_1_General_Cluster_VrelLong(buf, val) \ + { \ + buf[4] &= ~(0xff << 0); \ + buf[4] |= ((ubyte)((uword)(val) >> 2) & 0xff) << 0; \ + buf[5] &= ~(0x03 << 6); \ + buf[5] |= (((ubyte)(val) >> 0) & 0x03) << 6; \ + } /** * Set signal Cluster_VrelLong in buffer to its initial value. @@ -24452,7 +24527,7 @@ * The can message buffer to initialise */ #define INITSIG_Cluster_1_General_Cluster_VrelLong(buf) \ - SET_Cluster_1_General_Cluster_VrelLong(buf, 512) + SET_Cluster_1_General_Cluster_VrelLong(buf, 512) /** * Signal Cluster_VrelLong value conversion with 16 bit factor and offset. @@ -24465,35 +24540,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Cluster_1_General_Cluster_VrelLong(x, fmt) \ - ((x) * fmt / 4 + fmt * (-128)) +#define CALC_Cluster_1_General_Cluster_VrelLong(x, fmt) ((x) * fmt / 4 + fmt * (-128)) /** * Signal Cluster_VrelLong raw initial value. */ -#define START_Cluster_1_General_Cluster_VrelLong 512 +#define START_Cluster_1_General_Cluster_VrelLong 512 /** * Signal Cluster_VrelLong raw minimum value. */ -#define MIN_Cluster_1_General_Cluster_VrelLong 0 +#define MIN_Cluster_1_General_Cluster_VrelLong 0 /** * Signal Cluster_VrelLong raw maximum value. */ -#define MAX_Cluster_1_General_Cluster_VrelLong 1023 +#define MAX_Cluster_1_General_Cluster_VrelLong 1023 /** * Signal Cluster_VrelLong raw offset value. */ -#define OFF_Cluster_1_General_Cluster_VrelLong -512 +#define OFF_Cluster_1_General_Cluster_VrelLong -512 /** * @} */ /** - * @defgroup SIG_Cluster_1_General_Cluster_DistLat Signal Cluster_DistLat of Message Cluster_1_General (0x701) + * @defgroup SIG_Cluster_1_General_Cluster_DistLat Signal Cluster_DistLat of Message + * Cluster_1_General (0x701) * * Cluster lateral distance * @@ -24508,9 +24583,10 @@ * Signal Cluster_DistLat configuration tuple. * * @deprecated - * Use \ref SET_Cluster_1_General_Cluster_DistLat and \ref GET_Cluster_1_General_Cluster_DistLat instead. + * Use \ref SET_Cluster_1_General_Cluster_DistLat and \ref + *GET_Cluster_1_General_Cluster_DistLat instead. */ -#define SIG_Cluster_1_General_Cluster_DistLat 1, 0, 17, 10 +#define SIG_Cluster_1_General_Cluster_DistLat 1, 0, 17, 10 /** * Signal Cluster_DistLat setup tuple. @@ -24518,7 +24594,7 @@ * @deprecated * Use \ref INITSIG_Cluster_1_General_Cluster_DistLat or \ref INIT_Cluster_1_General instead. */ -#define SETUP_Cluster_1_General_Cluster_DistLat 1, 0, 17, 10, 511.5 +#define SETUP_Cluster_1_General_Cluster_DistLat 1, 0, 17, 10, 511.5 /** * Get signal Cluster_DistLat from buffer. @@ -24528,10 +24604,8 @@ * @return * The raw signal */ -#define GET_Cluster_1_General_Cluster_DistLat(buf) (0 \ - | (uword)(+(uword)((buf[2] >> 0) & 0x03) << 8) \ - | (ubyte)(+(ubyte)((buf[3] >> 0) & 0xff) << 0) \ -) +#define GET_Cluster_1_General_Cluster_DistLat(buf) \ + (0 | (uword)(+(uword)((buf[2] >> 0) & 0x03) << 8) | (ubyte)(+(ubyte)((buf[3] >> 0) & 0xff) << 0)) /** * Set signal Cluster_DistLat in buffer. @@ -24541,12 +24615,13 @@ * @param val * The raw value to set the signal to */ -#define SET_Cluster_1_General_Cluster_DistLat(buf, val) { \ - buf[2] &= ~(0x03 << 0); \ - buf[2] |= ((ubyte)((uword)(val) >> 8) & 0x03) << 0; \ - buf[3] &= ~(0xff << 0); \ - buf[3] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_Cluster_1_General_Cluster_DistLat(buf, val) \ + { \ + buf[2] &= ~(0x03 << 0); \ + buf[2] |= ((ubyte)((uword)(val) >> 8) & 0x03) << 0; \ + buf[3] &= ~(0xff << 0); \ + buf[3] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Cluster_DistLat in buffer to its initial value. @@ -24555,7 +24630,7 @@ * The can message buffer to initialise */ #define INITSIG_Cluster_1_General_Cluster_DistLat(buf) \ - SET_Cluster_1_General_Cluster_DistLat(buf, 511.5) + SET_Cluster_1_General_Cluster_DistLat(buf, 511.5) /** * Signal Cluster_DistLat value conversion with 16 bit factor and offset. @@ -24568,28 +24643,27 @@ * @return * The signal value as a human readable number */ -#define CALC_Cluster_1_General_Cluster_DistLat(x, fmt) \ - ((x) * fmt / 5 + fmt * (-512) / 5) +#define CALC_Cluster_1_General_Cluster_DistLat(x, fmt) ((x) * fmt / 5 + fmt * (-512) / 5) /** * Signal Cluster_DistLat raw initial value. */ -#define START_Cluster_1_General_Cluster_DistLat 511.5 +#define START_Cluster_1_General_Cluster_DistLat 511.5 /** * Signal Cluster_DistLat raw minimum value. */ -#define MIN_Cluster_1_General_Cluster_DistLat 0 +#define MIN_Cluster_1_General_Cluster_DistLat 0 /** * Signal Cluster_DistLat raw maximum value. */ -#define MAX_Cluster_1_General_Cluster_DistLat 1023 +#define MAX_Cluster_1_General_Cluster_DistLat 1023 /** * Signal Cluster_DistLat raw offset value. */ -#define OFF_Cluster_1_General_Cluster_DistLat -511 +#define OFF_Cluster_1_General_Cluster_DistLat -511 /** * @} @@ -24613,7 +24687,7 @@ * @deprecated * Use \ref SET_Cluster_2_Quality_Cluster_ID and \ref GET_Cluster_2_Quality_Cluster_ID instead. */ -#define SIG_Cluster_2_Quality_Cluster_ID 1, 0, 7, 8 +#define SIG_Cluster_2_Quality_Cluster_ID 1, 0, 7, 8 /** * Signal Cluster_ID setup tuple. @@ -24621,7 +24695,7 @@ * @deprecated * Use \ref INITSIG_Cluster_2_Quality_Cluster_ID or \ref INIT_Cluster_2_Quality instead. */ -#define SETUP_Cluster_2_Quality_Cluster_ID 1, 0, 7, 8, 0 +#define SETUP_Cluster_2_Quality_Cluster_ID 1, 0, 7, 8, 0 /** * Get signal Cluster_ID from buffer. @@ -24631,9 +24705,7 @@ * @return * The raw signal */ -#define GET_Cluster_2_Quality_Cluster_ID(buf) (0 \ - | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0) \ -) +#define GET_Cluster_2_Quality_Cluster_ID(buf) (0 | (ubyte)(+(ubyte)((buf[0] >> 0) & 0xff) << 0)) /** * Set signal Cluster_ID in buffer. @@ -24643,10 +24715,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Cluster_2_Quality_Cluster_ID(buf, val) { \ - buf[0] &= ~(0xff << 0); \ - buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ -} +#define SET_Cluster_2_Quality_Cluster_ID(buf, val) \ + { \ + buf[0] &= ~(0xff << 0); \ + buf[0] |= (((ubyte)(val) >> 0) & 0xff) << 0; \ + } /** * Set signal Cluster_ID in buffer to its initial value. @@ -24654,8 +24727,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Cluster_2_Quality_Cluster_ID(buf) \ - SET_Cluster_2_Quality_Cluster_ID(buf, 0) +#define INITSIG_Cluster_2_Quality_Cluster_ID(buf) SET_Cluster_2_Quality_Cluster_ID(buf, 0) /** * Signal Cluster_ID value conversion with 16 bit factor and offset. @@ -24668,35 +24740,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Cluster_2_Quality_Cluster_ID(x, fmt) \ - ((x) * fmt) +#define CALC_Cluster_2_Quality_Cluster_ID(x, fmt) ((x) * fmt) /** * Signal Cluster_ID raw initial value. */ -#define START_Cluster_2_Quality_Cluster_ID 0 +#define START_Cluster_2_Quality_Cluster_ID 0 /** * Signal Cluster_ID raw minimum value. */ -#define MIN_Cluster_2_Quality_Cluster_ID 0 +#define MIN_Cluster_2_Quality_Cluster_ID 0 /** * Signal Cluster_ID raw maximum value. */ -#define MAX_Cluster_2_Quality_Cluster_ID 255 +#define MAX_Cluster_2_Quality_Cluster_ID 255 /** * Signal Cluster_ID raw offset value. */ -#define OFF_Cluster_2_Quality_Cluster_ID 0 +#define OFF_Cluster_2_Quality_Cluster_ID 0 /** * @} */ /** - * @defgroup SIG_Cluster_2_Quality_Cluster_VrelLat_rms Signal Cluster_VrelLat_rms of Message Cluster_2_Quality (0x702) + * @defgroup SIG_Cluster_2_Quality_Cluster_VrelLat_rms Signal Cluster_VrelLat_rms of Message + * Cluster_2_Quality (0x702) * * Cluster relative lateral velocity standard deviation * @@ -24713,17 +24785,19 @@ * Signal Cluster_VrelLat_rms configuration tuple. * * @deprecated - * Use \ref SET_Cluster_2_Quality_Cluster_VrelLat_rms and \ref GET_Cluster_2_Quality_Cluster_VrelLat_rms instead. + * Use \ref SET_Cluster_2_Quality_Cluster_VrelLat_rms and \ref + *GET_Cluster_2_Quality_Cluster_VrelLat_rms instead. */ -#define SIG_Cluster_2_Quality_Cluster_VrelLat_rms 1, 0, 16, 5 +#define SIG_Cluster_2_Quality_Cluster_VrelLat_rms 1, 0, 16, 5 /** * Signal Cluster_VrelLat_rms setup tuple. * * @deprecated - * Use \ref INITSIG_Cluster_2_Quality_Cluster_VrelLat_rms or \ref INIT_Cluster_2_Quality instead. + * Use \ref INITSIG_Cluster_2_Quality_Cluster_VrelLat_rms or \ref INIT_Cluster_2_Quality + *instead. */ -#define SETUP_Cluster_2_Quality_Cluster_VrelLat_rms 1, 0, 16, 5, 0 +#define SETUP_Cluster_2_Quality_Cluster_VrelLat_rms 1, 0, 16, 5, 0 /** * Get signal Cluster_VrelLat_rms from buffer. @@ -24733,10 +24807,8 @@ * @return * The raw signal */ -#define GET_Cluster_2_Quality_Cluster_VrelLat_rms(buf) (0 \ - | (ubyte)(+(ubyte)((buf[2] >> 0) & 0x01) << 4) \ - | (ubyte)(+(ubyte)((buf[3] >> 4) & 0x0f) << 0) \ -) +#define GET_Cluster_2_Quality_Cluster_VrelLat_rms(buf) \ + (0 | (ubyte)(+(ubyte)((buf[2] >> 0) & 0x01) << 4) | (ubyte)(+(ubyte)((buf[3] >> 4) & 0x0f) << 0)) /** * Set signal Cluster_VrelLat_rms in buffer. @@ -24746,12 +24818,13 @@ * @param val * The raw value to set the signal to */ -#define SET_Cluster_2_Quality_Cluster_VrelLat_rms(buf, val) { \ - buf[2] &= ~(0x01 << 0); \ - buf[2] |= (((ubyte)(val) >> 4) & 0x01) << 0; \ - buf[3] &= ~(0x0f << 4); \ - buf[3] |= (((ubyte)(val) >> 0) & 0x0f) << 4; \ -} +#define SET_Cluster_2_Quality_Cluster_VrelLat_rms(buf, val) \ + { \ + buf[2] &= ~(0x01 << 0); \ + buf[2] |= (((ubyte)(val) >> 4) & 0x01) << 0; \ + buf[3] &= ~(0x0f << 4); \ + buf[3] |= (((ubyte)(val) >> 0) & 0x0f) << 4; \ + } /** * Set signal Cluster_VrelLat_rms in buffer to its initial value. @@ -24760,7 +24833,7 @@ * The can message buffer to initialise */ #define INITSIG_Cluster_2_Quality_Cluster_VrelLat_rms(buf) \ - SET_Cluster_2_Quality_Cluster_VrelLat_rms(buf, 0) + SET_Cluster_2_Quality_Cluster_VrelLat_rms(buf, 0) /** * Signal Cluster_VrelLat_rms value conversion with 16 bit factor and offset. @@ -24773,35 +24846,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Cluster_2_Quality_Cluster_VrelLat_rms(x, fmt) \ - ((x) * fmt) +#define CALC_Cluster_2_Quality_Cluster_VrelLat_rms(x, fmt) ((x) * fmt) /** * Signal Cluster_VrelLat_rms raw initial value. */ -#define START_Cluster_2_Quality_Cluster_VrelLat_rms 0 +#define START_Cluster_2_Quality_Cluster_VrelLat_rms 0 /** * Signal Cluster_VrelLat_rms raw minimum value. */ -#define MIN_Cluster_2_Quality_Cluster_VrelLat_rms 0 +#define MIN_Cluster_2_Quality_Cluster_VrelLat_rms 0 /** * Signal Cluster_VrelLat_rms raw maximum value. */ -#define MAX_Cluster_2_Quality_Cluster_VrelLat_rms 31 +#define MAX_Cluster_2_Quality_Cluster_VrelLat_rms 31 /** * Signal Cluster_VrelLat_rms raw offset value. */ -#define OFF_Cluster_2_Quality_Cluster_VrelLat_rms 0 +#define OFF_Cluster_2_Quality_Cluster_VrelLat_rms 0 /** * @} */ /** - * @defgroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms Value Table for Signal Cluster_VrelLat_rms in Message Cluster_2_Quality (0x702) + * @defgroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms Value Table for Signal Cluster_VrelLat_rms + * in Message Cluster_2_Quality (0x702) * * Enum values defined for \ref SIG_Cluster_2_Quality_Cluster_VrelLat_rms. * @@ -24813,7 +24886,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms_Invalid 31 +#define Cluster_2_Quality_Cluster_VrelLat_rms_Invalid 31 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _10_000. @@ -24822,7 +24895,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__10_000 30 +#define Cluster_2_Quality_Cluster_VrelLat_rms__10_000 30 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _7_762. @@ -24831,7 +24904,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__7_762 29 +#define Cluster_2_Quality_Cluster_VrelLat_rms__7_762 29 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _6_025. @@ -24840,7 +24913,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__6_025 28 +#define Cluster_2_Quality_Cluster_VrelLat_rms__6_025 28 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _4_676. @@ -24849,7 +24922,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__4_676 27 +#define Cluster_2_Quality_Cluster_VrelLat_rms__4_676 27 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _3_630. @@ -24858,7 +24931,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__3_630 26 +#define Cluster_2_Quality_Cluster_VrelLat_rms__3_630 26 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _2_817. @@ -24867,7 +24940,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__2_817 25 +#define Cluster_2_Quality_Cluster_VrelLat_rms__2_817 25 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _2_187. @@ -24876,7 +24949,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__2_187 24 +#define Cluster_2_Quality_Cluster_VrelLat_rms__2_187 24 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _1_697. @@ -24885,7 +24958,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__1_697 23 +#define Cluster_2_Quality_Cluster_VrelLat_rms__1_697 23 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _1_317. @@ -24894,7 +24967,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__1_317 22 +#define Cluster_2_Quality_Cluster_VrelLat_rms__1_317 22 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _1_023. @@ -24903,7 +24976,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__1_023 21 +#define Cluster_2_Quality_Cluster_VrelLat_rms__1_023 21 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_794. @@ -24912,7 +24985,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_794 20 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_794 20 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_616. @@ -24921,7 +24994,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_616 19 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_616 19 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_478. @@ -24930,7 +25003,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_478 18 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_478 18 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_371. @@ -24939,7 +25012,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_371 17 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_371 17 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_288. @@ -24948,7 +25021,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_288 16 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_288 16 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_224. @@ -24957,7 +25030,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_224 15 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_224 15 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_174. @@ -24966,7 +25039,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_174 14 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_174 14 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_135. @@ -24975,7 +25048,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_135 13 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_135 13 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_105. @@ -24984,7 +25057,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_105 12 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_105 12 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_081. @@ -24993,7 +25066,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_081 11 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_081 11 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_063. @@ -25002,7 +25075,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_063 10 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_063 10 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_049. @@ -25011,7 +25084,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_049 9 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_049 9 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_038. @@ -25020,7 +25093,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_038 8 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_038 8 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_029. @@ -25029,7 +25102,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_029 7 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_029 7 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_023. @@ -25038,7 +25111,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_023 6 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_023 6 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_018. @@ -25047,7 +25120,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_018 5 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_018 5 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_014. @@ -25056,7 +25129,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_014 4 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_014 4 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_011. @@ -25065,7 +25138,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_011 3 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_011 3 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_008. @@ -25074,7 +25147,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_008 2 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_008 2 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_006. @@ -25083,7 +25156,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_006 1 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_006 1 /** * Value table Cluster_2_Quality_Cluster_VrelLat_rms entry _0_005. @@ -25092,10 +25165,11 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLat_rms */ -#define Cluster_2_Quality_Cluster_VrelLat_rms__0_005 0 +#define Cluster_2_Quality_Cluster_VrelLat_rms__0_005 0 /** - * @defgroup SIG_Cluster_2_Quality_Cluster_InvalidState Signal Cluster_InvalidState of Message Cluster_2_Quality (0x702) + * @defgroup SIG_Cluster_2_Quality_Cluster_InvalidState Signal Cluster_InvalidState of Message + * Cluster_2_Quality (0x702) * * Cluster invalid state * @@ -25112,17 +25186,19 @@ * Signal Cluster_InvalidState configuration tuple. * * @deprecated - * Use \ref SET_Cluster_2_Quality_Cluster_InvalidState and \ref GET_Cluster_2_Quality_Cluster_InvalidState instead. + * Use \ref SET_Cluster_2_Quality_Cluster_InvalidState and \ref + *GET_Cluster_2_Quality_Cluster_InvalidState instead. */ -#define SIG_Cluster_2_Quality_Cluster_InvalidState 1, 0, 39, 5 +#define SIG_Cluster_2_Quality_Cluster_InvalidState 1, 0, 39, 5 /** * Signal Cluster_InvalidState setup tuple. * * @deprecated - * Use \ref INITSIG_Cluster_2_Quality_Cluster_InvalidState or \ref INIT_Cluster_2_Quality instead. + * Use \ref INITSIG_Cluster_2_Quality_Cluster_InvalidState or \ref INIT_Cluster_2_Quality + *instead. */ -#define SETUP_Cluster_2_Quality_Cluster_InvalidState 1, 0, 39, 5, 0 +#define SETUP_Cluster_2_Quality_Cluster_InvalidState 1, 0, 39, 5, 0 /** * Get signal Cluster_InvalidState from buffer. @@ -25132,9 +25208,8 @@ * @return * The raw signal */ -#define GET_Cluster_2_Quality_Cluster_InvalidState(buf) (0 \ - | (ubyte)(+(ubyte)((buf[4] >> 3) & 0x1f) << 0) \ -) +#define GET_Cluster_2_Quality_Cluster_InvalidState(buf) \ + (0 | (ubyte)(+(ubyte)((buf[4] >> 3) & 0x1f) << 0)) /** * Set signal Cluster_InvalidState in buffer. @@ -25144,10 +25219,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Cluster_2_Quality_Cluster_InvalidState(buf, val) { \ - buf[4] &= ~(0x1f << 3); \ - buf[4] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ -} +#define SET_Cluster_2_Quality_Cluster_InvalidState(buf, val) \ + { \ + buf[4] &= ~(0x1f << 3); \ + buf[4] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ + } /** * Set signal Cluster_InvalidState in buffer to its initial value. @@ -25156,7 +25232,7 @@ * The can message buffer to initialise */ #define INITSIG_Cluster_2_Quality_Cluster_InvalidState(buf) \ - SET_Cluster_2_Quality_Cluster_InvalidState(buf, 0) + SET_Cluster_2_Quality_Cluster_InvalidState(buf, 0) /** * Signal Cluster_InvalidState value conversion with 16 bit factor and offset. @@ -25169,35 +25245,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Cluster_2_Quality_Cluster_InvalidState(x, fmt) \ - ((x) * fmt) +#define CALC_Cluster_2_Quality_Cluster_InvalidState(x, fmt) ((x) * fmt) /** * Signal Cluster_InvalidState raw initial value. */ -#define START_Cluster_2_Quality_Cluster_InvalidState 0 +#define START_Cluster_2_Quality_Cluster_InvalidState 0 /** * Signal Cluster_InvalidState raw minimum value. */ -#define MIN_Cluster_2_Quality_Cluster_InvalidState 0 +#define MIN_Cluster_2_Quality_Cluster_InvalidState 0 /** * Signal Cluster_InvalidState raw maximum value. */ -#define MAX_Cluster_2_Quality_Cluster_InvalidState 31 +#define MAX_Cluster_2_Quality_Cluster_InvalidState 31 /** * Signal Cluster_InvalidState raw offset value. */ -#define OFF_Cluster_2_Quality_Cluster_InvalidState 0 +#define OFF_Cluster_2_Quality_Cluster_InvalidState 0 /** * @} */ /** - * @defgroup ENUM_Cluster_2_Quality_Cluster_InvalidState Value Table for Signal Cluster_InvalidState in Message Cluster_2_Quality (0x702) + * @defgroup ENUM_Cluster_2_Quality_Cluster_InvalidState Value Table for Signal Cluster_InvalidState + * in Message Cluster_2_Quality (0x702) * * Enum values defined for \ref SIG_Cluster_2_Quality_Cluster_InvalidState. * @@ -25211,7 +25287,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_InvalidState */ -#define Cluster_2_Quality_Cluster_InvalidState_Valid 17 +#define Cluster_2_Quality_Cluster_InvalidState_Valid 17 /** * Value table Cluster_2_Quality_Cluster_InvalidState entry Valid_10. @@ -25220,7 +25296,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_InvalidState */ -#define Cluster_2_Quality_Cluster_InvalidState_Valid_10 16 +#define Cluster_2_Quality_Cluster_InvalidState_Valid_10 16 /** * Value table Cluster_2_Quality_Cluster_InvalidState entry Valid_F. @@ -25229,32 +25305,32 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_InvalidState */ -#define Cluster_2_Quality_Cluster_InvalidState_Valid_F 15 +#define Cluster_2_Quality_Cluster_InvalidState_Valid_F 15 /** * Value table Cluster_2_Quality_Cluster_InvalidState entry Invalid. * - * harmonics + * harmonics * * @ingroup ENUM_Cluster_2_Quality_Cluster_InvalidState */ -#define Cluster_2_Quality_Cluster_InvalidState_Invalid 14 +#define Cluster_2_Quality_Cluster_InvalidState_Invalid 14 /** * Value table Cluster_2_Quality_Cluster_InvalidState entry reserved. * * @ingroup ENUM_Cluster_2_Quality_Cluster_InvalidState */ -#define Cluster_2_Quality_Cluster_InvalidState_reserved 13 +#define Cluster_2_Quality_Cluster_InvalidState_reserved 13 /** * Value table Cluster_2_Quality_Cluster_InvalidState entry Valid_C. * - * artefact + * artefact * * @ingroup ENUM_Cluster_2_Quality_Cluster_InvalidState */ -#define Cluster_2_Quality_Cluster_InvalidState_Valid_C 12 +#define Cluster_2_Quality_Cluster_InvalidState_Valid_C 12 /** * Value table Cluster_2_Quality_Cluster_InvalidState entry Valid_B. @@ -25263,7 +25339,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_InvalidState */ -#define Cluster_2_Quality_Cluster_InvalidState_Valid_B 11 +#define Cluster_2_Quality_Cluster_InvalidState_Valid_B 11 /** * Value table Cluster_2_Quality_Cluster_InvalidState entry Valid_A. @@ -25272,7 +25348,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_InvalidState */ -#define Cluster_2_Quality_Cluster_InvalidState_Valid_A 10 +#define Cluster_2_Quality_Cluster_InvalidState_Valid_A 10 /** * Value table Cluster_2_Quality_Cluster_InvalidState entry Valid_9. @@ -25281,7 +25357,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_InvalidState */ -#define Cluster_2_Quality_Cluster_InvalidState_Valid_9 9 +#define Cluster_2_Quality_Cluster_InvalidState_Valid_9 9 /** * Value table Cluster_2_Quality_Cluster_InvalidState entry Valid_8. @@ -25290,7 +25366,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_InvalidState */ -#define Cluster_2_Quality_Cluster_InvalidState_Valid_8 8 +#define Cluster_2_Quality_Cluster_InvalidState_Valid_8 8 /** * Value table Cluster_2_Quality_Cluster_InvalidState entry Invalid_7. @@ -25299,7 +25375,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_InvalidState */ -#define Cluster_2_Quality_Cluster_InvalidState_Invalid_7 7 +#define Cluster_2_Quality_Cluster_InvalidState_Invalid_7 7 /** * Value table Cluster_2_Quality_Cluster_InvalidState entry Invalid_6. @@ -25308,14 +25384,14 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_InvalidState */ -#define Cluster_2_Quality_Cluster_InvalidState_Invalid_6 6 +#define Cluster_2_Quality_Cluster_InvalidState_Invalid_6 6 /** * Value table Cluster_2_Quality_Cluster_InvalidState entry reserved_5. * * @ingroup ENUM_Cluster_2_Quality_Cluster_InvalidState */ -#define Cluster_2_Quality_Cluster_InvalidState_reserved_5 5 +#define Cluster_2_Quality_Cluster_InvalidState_reserved_5 5 /** * Value table Cluster_2_Quality_Cluster_InvalidState entry Valid_4. @@ -25324,7 +25400,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_InvalidState */ -#define Cluster_2_Quality_Cluster_InvalidState_Valid_4 4 +#define Cluster_2_Quality_Cluster_InvalidState_Valid_4 4 /** * Value table Cluster_2_Quality_Cluster_InvalidState entry Invalid_3. @@ -25333,7 +25409,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_InvalidState */ -#define Cluster_2_Quality_Cluster_InvalidState_Invalid_3 3 +#define Cluster_2_Quality_Cluster_InvalidState_Invalid_3 3 /** * Value table Cluster_2_Quality_Cluster_InvalidState entry Invalid_2. @@ -25342,7 +25418,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_InvalidState */ -#define Cluster_2_Quality_Cluster_InvalidState_Invalid_2 2 +#define Cluster_2_Quality_Cluster_InvalidState_Invalid_2 2 /** * Value table Cluster_2_Quality_Cluster_InvalidState entry Invalid_1. @@ -25351,17 +25427,18 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_InvalidState */ -#define Cluster_2_Quality_Cluster_InvalidState_Invalid_1 1 +#define Cluster_2_Quality_Cluster_InvalidState_Invalid_1 1 /** * Value table Cluster_2_Quality_Cluster_InvalidState entry Valid_0. * * @ingroup ENUM_Cluster_2_Quality_Cluster_InvalidState */ -#define Cluster_2_Quality_Cluster_InvalidState_Valid_0 0 +#define Cluster_2_Quality_Cluster_InvalidState_Valid_0 0 /** - * @defgroup SIG_Cluster_2_Quality_Cluster_DistLat_rms Signal Cluster_DistLat_rms of Message Cluster_2_Quality (0x702) + * @defgroup SIG_Cluster_2_Quality_Cluster_DistLat_rms Signal Cluster_DistLat_rms of Message + * Cluster_2_Quality (0x702) * * Cluster lateral distance standard deviation * @@ -25378,17 +25455,19 @@ * Signal Cluster_DistLat_rms configuration tuple. * * @deprecated - * Use \ref SET_Cluster_2_Quality_Cluster_DistLat_rms and \ref GET_Cluster_2_Quality_Cluster_DistLat_rms instead. + * Use \ref SET_Cluster_2_Quality_Cluster_DistLat_rms and \ref + *GET_Cluster_2_Quality_Cluster_DistLat_rms instead. */ -#define SIG_Cluster_2_Quality_Cluster_DistLat_rms 1, 0, 10, 5 +#define SIG_Cluster_2_Quality_Cluster_DistLat_rms 1, 0, 10, 5 /** * Signal Cluster_DistLat_rms setup tuple. * * @deprecated - * Use \ref INITSIG_Cluster_2_Quality_Cluster_DistLat_rms or \ref INIT_Cluster_2_Quality instead. + * Use \ref INITSIG_Cluster_2_Quality_Cluster_DistLat_rms or \ref INIT_Cluster_2_Quality + *instead. */ -#define SETUP_Cluster_2_Quality_Cluster_DistLat_rms 1, 0, 10, 5, 0 +#define SETUP_Cluster_2_Quality_Cluster_DistLat_rms 1, 0, 10, 5, 0 /** * Get signal Cluster_DistLat_rms from buffer. @@ -25398,10 +25477,8 @@ * @return * The raw signal */ -#define GET_Cluster_2_Quality_Cluster_DistLat_rms(buf) (0 \ - | (ubyte)(+(ubyte)((buf[1] >> 0) & 0x07) << 2) \ - | (ubyte)(+(ubyte)((buf[2] >> 6) & 0x03) << 0) \ -) +#define GET_Cluster_2_Quality_Cluster_DistLat_rms(buf) \ + (0 | (ubyte)(+(ubyte)((buf[1] >> 0) & 0x07) << 2) | (ubyte)(+(ubyte)((buf[2] >> 6) & 0x03) << 0)) /** * Set signal Cluster_DistLat_rms in buffer. @@ -25411,12 +25488,13 @@ * @param val * The raw value to set the signal to */ -#define SET_Cluster_2_Quality_Cluster_DistLat_rms(buf, val) { \ - buf[1] &= ~(0x07 << 0); \ - buf[1] |= (((ubyte)(val) >> 2) & 0x07) << 0; \ - buf[2] &= ~(0x03 << 6); \ - buf[2] |= (((ubyte)(val) >> 0) & 0x03) << 6; \ -} +#define SET_Cluster_2_Quality_Cluster_DistLat_rms(buf, val) \ + { \ + buf[1] &= ~(0x07 << 0); \ + buf[1] |= (((ubyte)(val) >> 2) & 0x07) << 0; \ + buf[2] &= ~(0x03 << 6); \ + buf[2] |= (((ubyte)(val) >> 0) & 0x03) << 6; \ + } /** * Set signal Cluster_DistLat_rms in buffer to its initial value. @@ -25425,7 +25503,7 @@ * The can message buffer to initialise */ #define INITSIG_Cluster_2_Quality_Cluster_DistLat_rms(buf) \ - SET_Cluster_2_Quality_Cluster_DistLat_rms(buf, 0) + SET_Cluster_2_Quality_Cluster_DistLat_rms(buf, 0) /** * Signal Cluster_DistLat_rms value conversion with 16 bit factor and offset. @@ -25438,35 +25516,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Cluster_2_Quality_Cluster_DistLat_rms(x, fmt) \ - ((x) * fmt) +#define CALC_Cluster_2_Quality_Cluster_DistLat_rms(x, fmt) ((x) * fmt) /** * Signal Cluster_DistLat_rms raw initial value. */ -#define START_Cluster_2_Quality_Cluster_DistLat_rms 0 +#define START_Cluster_2_Quality_Cluster_DistLat_rms 0 /** * Signal Cluster_DistLat_rms raw minimum value. */ -#define MIN_Cluster_2_Quality_Cluster_DistLat_rms 0 +#define MIN_Cluster_2_Quality_Cluster_DistLat_rms 0 /** * Signal Cluster_DistLat_rms raw maximum value. */ -#define MAX_Cluster_2_Quality_Cluster_DistLat_rms 31 +#define MAX_Cluster_2_Quality_Cluster_DistLat_rms 31 /** * Signal Cluster_DistLat_rms raw offset value. */ -#define OFF_Cluster_2_Quality_Cluster_DistLat_rms 0 +#define OFF_Cluster_2_Quality_Cluster_DistLat_rms 0 /** * @} */ /** - * @defgroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms Value Table for Signal Cluster_DistLat_rms in Message Cluster_2_Quality (0x702) + * @defgroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms Value Table for Signal Cluster_DistLat_rms + * in Message Cluster_2_Quality (0x702) * * Enum values defined for \ref SIG_Cluster_2_Quality_Cluster_DistLat_rms. * @@ -25478,7 +25556,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms_Invalid 31 +#define Cluster_2_Quality_Cluster_DistLat_rms_Invalid 31 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _10_000. @@ -25487,7 +25565,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__10_000 30 +#define Cluster_2_Quality_Cluster_DistLat_rms__10_000 30 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _7_762. @@ -25496,7 +25574,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__7_762 29 +#define Cluster_2_Quality_Cluster_DistLat_rms__7_762 29 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _6_025. @@ -25505,7 +25583,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__6_025 28 +#define Cluster_2_Quality_Cluster_DistLat_rms__6_025 28 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _4_676. @@ -25514,7 +25592,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__4_676 27 +#define Cluster_2_Quality_Cluster_DistLat_rms__4_676 27 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _3_630. @@ -25523,7 +25601,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__3_630 26 +#define Cluster_2_Quality_Cluster_DistLat_rms__3_630 26 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _2_817. @@ -25532,7 +25610,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__2_817 25 +#define Cluster_2_Quality_Cluster_DistLat_rms__2_817 25 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _2_187. @@ -25541,7 +25619,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__2_187 24 +#define Cluster_2_Quality_Cluster_DistLat_rms__2_187 24 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _1_697. @@ -25550,7 +25628,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__1_697 23 +#define Cluster_2_Quality_Cluster_DistLat_rms__1_697 23 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _1_317. @@ -25559,7 +25637,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__1_317 22 +#define Cluster_2_Quality_Cluster_DistLat_rms__1_317 22 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _1_023. @@ -25568,7 +25646,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__1_023 21 +#define Cluster_2_Quality_Cluster_DistLat_rms__1_023 21 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_794. @@ -25577,7 +25655,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_794 20 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_794 20 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_616. @@ -25586,7 +25664,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_616 19 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_616 19 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_478. @@ -25595,7 +25673,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_478 18 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_478 18 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_371. @@ -25604,7 +25682,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_371 17 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_371 17 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_288. @@ -25613,7 +25691,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_288 16 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_288 16 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_224. @@ -25622,7 +25700,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_224 15 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_224 15 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_174. @@ -25631,7 +25709,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_174 14 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_174 14 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_135. @@ -25640,7 +25718,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_135 13 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_135 13 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_105. @@ -25649,7 +25727,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_105 12 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_105 12 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_081. @@ -25658,7 +25736,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_081 11 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_081 11 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_063. @@ -25667,7 +25745,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_063 10 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_063 10 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_049. @@ -25676,7 +25754,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_049 9 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_049 9 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_038. @@ -25685,7 +25763,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_038 8 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_038 8 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_029. @@ -25694,7 +25772,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_029 7 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_029 7 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_023. @@ -25703,7 +25781,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_023 6 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_023 6 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_018. @@ -25712,7 +25790,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_018 5 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_018 5 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_014. @@ -25721,7 +25799,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_014 4 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_014 4 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_011. @@ -25730,7 +25808,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_011 3 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_011 3 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_008. @@ -25739,7 +25817,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_008 2 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_008 2 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_006. @@ -25748,7 +25826,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_006 1 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_006 1 /** * Value table Cluster_2_Quality_Cluster_DistLat_rms entry _0_005. @@ -25757,10 +25835,11 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLat_rms */ -#define Cluster_2_Quality_Cluster_DistLat_rms__0_005 0 +#define Cluster_2_Quality_Cluster_DistLat_rms__0_005 0 /** - * @defgroup SIG_Cluster_2_Quality_Cluster_DistLong_rms Signal Cluster_DistLong_rms of Message Cluster_2_Quality (0x702) + * @defgroup SIG_Cluster_2_Quality_Cluster_DistLong_rms Signal Cluster_DistLong_rms of Message + * Cluster_2_Quality (0x702) * * Cluster longitudinal distance standard deviation * @@ -25777,17 +25856,19 @@ * Signal Cluster_DistLong_rms configuration tuple. * * @deprecated - * Use \ref SET_Cluster_2_Quality_Cluster_DistLong_rms and \ref GET_Cluster_2_Quality_Cluster_DistLong_rms instead. + * Use \ref SET_Cluster_2_Quality_Cluster_DistLong_rms and \ref + *GET_Cluster_2_Quality_Cluster_DistLong_rms instead. */ -#define SIG_Cluster_2_Quality_Cluster_DistLong_rms 1, 0, 15, 5 +#define SIG_Cluster_2_Quality_Cluster_DistLong_rms 1, 0, 15, 5 /** * Signal Cluster_DistLong_rms setup tuple. * * @deprecated - * Use \ref INITSIG_Cluster_2_Quality_Cluster_DistLong_rms or \ref INIT_Cluster_2_Quality instead. + * Use \ref INITSIG_Cluster_2_Quality_Cluster_DistLong_rms or \ref INIT_Cluster_2_Quality + *instead. */ -#define SETUP_Cluster_2_Quality_Cluster_DistLong_rms 1, 0, 15, 5, 0 +#define SETUP_Cluster_2_Quality_Cluster_DistLong_rms 1, 0, 15, 5, 0 /** * Get signal Cluster_DistLong_rms from buffer. @@ -25797,9 +25878,8 @@ * @return * The raw signal */ -#define GET_Cluster_2_Quality_Cluster_DistLong_rms(buf) (0 \ - | (ubyte)(+(ubyte)((buf[1] >> 3) & 0x1f) << 0) \ -) +#define GET_Cluster_2_Quality_Cluster_DistLong_rms(buf) \ + (0 | (ubyte)(+(ubyte)((buf[1] >> 3) & 0x1f) << 0)) /** * Set signal Cluster_DistLong_rms in buffer. @@ -25809,10 +25889,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Cluster_2_Quality_Cluster_DistLong_rms(buf, val) { \ - buf[1] &= ~(0x1f << 3); \ - buf[1] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ -} +#define SET_Cluster_2_Quality_Cluster_DistLong_rms(buf, val) \ + { \ + buf[1] &= ~(0x1f << 3); \ + buf[1] |= (((ubyte)(val) >> 0) & 0x1f) << 3; \ + } /** * Set signal Cluster_DistLong_rms in buffer to its initial value. @@ -25821,7 +25902,7 @@ * The can message buffer to initialise */ #define INITSIG_Cluster_2_Quality_Cluster_DistLong_rms(buf) \ - SET_Cluster_2_Quality_Cluster_DistLong_rms(buf, 0) + SET_Cluster_2_Quality_Cluster_DistLong_rms(buf, 0) /** * Signal Cluster_DistLong_rms value conversion with 16 bit factor and offset. @@ -25834,35 +25915,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Cluster_2_Quality_Cluster_DistLong_rms(x, fmt) \ - ((x) * fmt) +#define CALC_Cluster_2_Quality_Cluster_DistLong_rms(x, fmt) ((x) * fmt) /** * Signal Cluster_DistLong_rms raw initial value. */ -#define START_Cluster_2_Quality_Cluster_DistLong_rms 0 +#define START_Cluster_2_Quality_Cluster_DistLong_rms 0 /** * Signal Cluster_DistLong_rms raw minimum value. */ -#define MIN_Cluster_2_Quality_Cluster_DistLong_rms 0 +#define MIN_Cluster_2_Quality_Cluster_DistLong_rms 0 /** * Signal Cluster_DistLong_rms raw maximum value. */ -#define MAX_Cluster_2_Quality_Cluster_DistLong_rms 31 +#define MAX_Cluster_2_Quality_Cluster_DistLong_rms 31 /** * Signal Cluster_DistLong_rms raw offset value. */ -#define OFF_Cluster_2_Quality_Cluster_DistLong_rms 0 +#define OFF_Cluster_2_Quality_Cluster_DistLong_rms 0 /** * @} */ /** - * @defgroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms Value Table for Signal Cluster_DistLong_rms in Message Cluster_2_Quality (0x702) + * @defgroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms Value Table for Signal Cluster_DistLong_rms + * in Message Cluster_2_Quality (0x702) * * Enum values defined for \ref SIG_Cluster_2_Quality_Cluster_DistLong_rms. * @@ -25874,7 +25955,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms_Invalid 31 +#define Cluster_2_Quality_Cluster_DistLong_rms_Invalid 31 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _10_000. @@ -25883,7 +25964,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__10_000 30 +#define Cluster_2_Quality_Cluster_DistLong_rms__10_000 30 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _7_762. @@ -25892,7 +25973,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__7_762 29 +#define Cluster_2_Quality_Cluster_DistLong_rms__7_762 29 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _6_025. @@ -25901,7 +25982,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__6_025 28 +#define Cluster_2_Quality_Cluster_DistLong_rms__6_025 28 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _4_676. @@ -25910,7 +25991,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__4_676 27 +#define Cluster_2_Quality_Cluster_DistLong_rms__4_676 27 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _3_630. @@ -25919,7 +26000,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__3_630 26 +#define Cluster_2_Quality_Cluster_DistLong_rms__3_630 26 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _2_817. @@ -25928,7 +26009,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__2_817 25 +#define Cluster_2_Quality_Cluster_DistLong_rms__2_817 25 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _2_187. @@ -25937,7 +26018,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__2_187 24 +#define Cluster_2_Quality_Cluster_DistLong_rms__2_187 24 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _1_697. @@ -25946,7 +26027,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__1_697 23 +#define Cluster_2_Quality_Cluster_DistLong_rms__1_697 23 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _1_317. @@ -25955,7 +26036,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__1_317 22 +#define Cluster_2_Quality_Cluster_DistLong_rms__1_317 22 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _1_023. @@ -25964,7 +26045,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__1_023 21 +#define Cluster_2_Quality_Cluster_DistLong_rms__1_023 21 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_794. @@ -25973,7 +26054,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_794 20 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_794 20 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_616. @@ -25982,7 +26063,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_616 19 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_616 19 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_478. @@ -25991,7 +26072,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_478 18 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_478 18 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_371. @@ -26000,7 +26081,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_371 17 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_371 17 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_288. @@ -26009,7 +26090,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_288 16 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_288 16 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_224. @@ -26018,7 +26099,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_224 15 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_224 15 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_174. @@ -26027,7 +26108,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_174 14 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_174 14 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_135. @@ -26036,7 +26117,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_135 13 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_135 13 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_105. @@ -26045,7 +26126,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_105 12 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_105 12 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_081. @@ -26054,7 +26135,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_081 11 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_081 11 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_063. @@ -26063,7 +26144,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_063 10 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_063 10 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_049. @@ -26072,7 +26153,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_049 9 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_049 9 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_038. @@ -26081,7 +26162,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_038 8 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_038 8 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_029. @@ -26090,7 +26171,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_029 7 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_029 7 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_023. @@ -26099,7 +26180,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_023 6 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_023 6 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_018. @@ -26108,7 +26189,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_018 5 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_018 5 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_014. @@ -26117,7 +26198,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_014 4 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_014 4 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_011. @@ -26126,7 +26207,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_011 3 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_011 3 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_008. @@ -26135,7 +26216,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_008 2 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_008 2 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_006. @@ -26144,7 +26225,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_006 1 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_006 1 /** * Value table Cluster_2_Quality_Cluster_DistLong_rms entry _0_005. @@ -26153,10 +26234,11 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_DistLong_rms */ -#define Cluster_2_Quality_Cluster_DistLong_rms__0_005 0 +#define Cluster_2_Quality_Cluster_DistLong_rms__0_005 0 /** - * @defgroup SIG_Cluster_2_Quality_Cluster_VrelLong_rms Signal Cluster_VrelLong_rms of Message Cluster_2_Quality (0x702) + * @defgroup SIG_Cluster_2_Quality_Cluster_VrelLong_rms Signal Cluster_VrelLong_rms of Message + * Cluster_2_Quality (0x702) * * Cluster relative longitudinal velocity standard deviation * @@ -26173,17 +26255,19 @@ * Signal Cluster_VrelLong_rms configuration tuple. * * @deprecated - * Use \ref SET_Cluster_2_Quality_Cluster_VrelLong_rms and \ref GET_Cluster_2_Quality_Cluster_VrelLong_rms instead. + * Use \ref SET_Cluster_2_Quality_Cluster_VrelLong_rms and \ref + *GET_Cluster_2_Quality_Cluster_VrelLong_rms instead. */ -#define SIG_Cluster_2_Quality_Cluster_VrelLong_rms 1, 0, 21, 5 +#define SIG_Cluster_2_Quality_Cluster_VrelLong_rms 1, 0, 21, 5 /** * Signal Cluster_VrelLong_rms setup tuple. * * @deprecated - * Use \ref INITSIG_Cluster_2_Quality_Cluster_VrelLong_rms or \ref INIT_Cluster_2_Quality instead. + * Use \ref INITSIG_Cluster_2_Quality_Cluster_VrelLong_rms or \ref INIT_Cluster_2_Quality + *instead. */ -#define SETUP_Cluster_2_Quality_Cluster_VrelLong_rms 1, 0, 21, 5, 0 +#define SETUP_Cluster_2_Quality_Cluster_VrelLong_rms 1, 0, 21, 5, 0 /** * Get signal Cluster_VrelLong_rms from buffer. @@ -26193,9 +26277,8 @@ * @return * The raw signal */ -#define GET_Cluster_2_Quality_Cluster_VrelLong_rms(buf) (0 \ - | (ubyte)(+(ubyte)((buf[2] >> 1) & 0x1f) << 0) \ -) +#define GET_Cluster_2_Quality_Cluster_VrelLong_rms(buf) \ + (0 | (ubyte)(+(ubyte)((buf[2] >> 1) & 0x1f) << 0)) /** * Set signal Cluster_VrelLong_rms in buffer. @@ -26205,10 +26288,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Cluster_2_Quality_Cluster_VrelLong_rms(buf, val) { \ - buf[2] &= ~(0x1f << 1); \ - buf[2] |= (((ubyte)(val) >> 0) & 0x1f) << 1; \ -} +#define SET_Cluster_2_Quality_Cluster_VrelLong_rms(buf, val) \ + { \ + buf[2] &= ~(0x1f << 1); \ + buf[2] |= (((ubyte)(val) >> 0) & 0x1f) << 1; \ + } /** * Set signal Cluster_VrelLong_rms in buffer to its initial value. @@ -26217,7 +26301,7 @@ * The can message buffer to initialise */ #define INITSIG_Cluster_2_Quality_Cluster_VrelLong_rms(buf) \ - SET_Cluster_2_Quality_Cluster_VrelLong_rms(buf, 0) + SET_Cluster_2_Quality_Cluster_VrelLong_rms(buf, 0) /** * Signal Cluster_VrelLong_rms value conversion with 16 bit factor and offset. @@ -26230,35 +26314,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Cluster_2_Quality_Cluster_VrelLong_rms(x, fmt) \ - ((x) * fmt) +#define CALC_Cluster_2_Quality_Cluster_VrelLong_rms(x, fmt) ((x) * fmt) /** * Signal Cluster_VrelLong_rms raw initial value. */ -#define START_Cluster_2_Quality_Cluster_VrelLong_rms 0 +#define START_Cluster_2_Quality_Cluster_VrelLong_rms 0 /** * Signal Cluster_VrelLong_rms raw minimum value. */ -#define MIN_Cluster_2_Quality_Cluster_VrelLong_rms 0 +#define MIN_Cluster_2_Quality_Cluster_VrelLong_rms 0 /** * Signal Cluster_VrelLong_rms raw maximum value. */ -#define MAX_Cluster_2_Quality_Cluster_VrelLong_rms 31 +#define MAX_Cluster_2_Quality_Cluster_VrelLong_rms 31 /** * Signal Cluster_VrelLong_rms raw offset value. */ -#define OFF_Cluster_2_Quality_Cluster_VrelLong_rms 0 +#define OFF_Cluster_2_Quality_Cluster_VrelLong_rms 0 /** * @} */ /** - * @defgroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms Value Table for Signal Cluster_VrelLong_rms in Message Cluster_2_Quality (0x702) + * @defgroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms Value Table for Signal Cluster_VrelLong_rms + * in Message Cluster_2_Quality (0x702) * * Enum values defined for \ref SIG_Cluster_2_Quality_Cluster_VrelLong_rms. * @@ -26270,7 +26354,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms_Invalid 31 +#define Cluster_2_Quality_Cluster_VrelLong_rms_Invalid 31 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _10_000. @@ -26279,7 +26363,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__10_000 30 +#define Cluster_2_Quality_Cluster_VrelLong_rms__10_000 30 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _7_762. @@ -26288,7 +26372,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__7_762 29 +#define Cluster_2_Quality_Cluster_VrelLong_rms__7_762 29 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _6_025. @@ -26297,7 +26381,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__6_025 28 +#define Cluster_2_Quality_Cluster_VrelLong_rms__6_025 28 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _4_676. @@ -26306,7 +26390,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__4_676 27 +#define Cluster_2_Quality_Cluster_VrelLong_rms__4_676 27 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _3_630. @@ -26315,7 +26399,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__3_630 26 +#define Cluster_2_Quality_Cluster_VrelLong_rms__3_630 26 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _2_817. @@ -26324,7 +26408,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__2_817 25 +#define Cluster_2_Quality_Cluster_VrelLong_rms__2_817 25 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _2_187. @@ -26333,7 +26417,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__2_187 24 +#define Cluster_2_Quality_Cluster_VrelLong_rms__2_187 24 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _1_697. @@ -26342,7 +26426,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__1_697 23 +#define Cluster_2_Quality_Cluster_VrelLong_rms__1_697 23 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _1_317. @@ -26351,7 +26435,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__1_317 22 +#define Cluster_2_Quality_Cluster_VrelLong_rms__1_317 22 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _1_023. @@ -26360,7 +26444,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__1_023 21 +#define Cluster_2_Quality_Cluster_VrelLong_rms__1_023 21 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_794. @@ -26369,7 +26453,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_794 20 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_794 20 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_616. @@ -26378,7 +26462,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_616 19 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_616 19 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_478. @@ -26387,7 +26471,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_478 18 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_478 18 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_371. @@ -26396,7 +26480,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_371 17 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_371 17 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_288. @@ -26405,7 +26489,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_288 16 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_288 16 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_224. @@ -26414,7 +26498,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_224 15 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_224 15 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_174. @@ -26423,7 +26507,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_174 14 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_174 14 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_135. @@ -26432,7 +26516,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_135 13 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_135 13 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_105. @@ -26441,7 +26525,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_105 12 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_105 12 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_081. @@ -26450,7 +26534,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_081 11 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_081 11 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_063. @@ -26459,7 +26543,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_063 10 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_063 10 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_049. @@ -26468,7 +26552,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_049 9 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_049 9 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_038. @@ -26477,7 +26561,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_038 8 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_038 8 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_029. @@ -26486,7 +26570,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_029 7 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_029 7 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_023. @@ -26495,7 +26579,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_023 6 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_023 6 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_018. @@ -26504,7 +26588,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_018 5 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_018 5 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_014. @@ -26513,7 +26597,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_014 4 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_014 4 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_011. @@ -26522,7 +26606,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_011 3 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_011 3 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_008. @@ -26531,7 +26615,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_008 2 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_008 2 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_006. @@ -26540,7 +26624,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_006 1 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_006 1 /** * Value table Cluster_2_Quality_Cluster_VrelLong_rms entry _0_005. @@ -26549,10 +26633,11 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_VrelLong_rms */ -#define Cluster_2_Quality_Cluster_VrelLong_rms__0_005 0 +#define Cluster_2_Quality_Cluster_VrelLong_rms__0_005 0 /** - * @defgroup SIG_Cluster_2_Quality_Cluster_PdH0 Signal Cluster_PdH0 of Message Cluster_2_Quality (0x702) + * @defgroup SIG_Cluster_2_Quality_Cluster_PdH0 Signal Cluster_PdH0 of Message Cluster_2_Quality + * (0x702) * * Cluster false alarm probability * @@ -26569,9 +26654,10 @@ * Signal Cluster_PdH0 configuration tuple. * * @deprecated - * Use \ref SET_Cluster_2_Quality_Cluster_PdH0 and \ref GET_Cluster_2_Quality_Cluster_PdH0 instead. + * Use \ref SET_Cluster_2_Quality_Cluster_PdH0 and \ref GET_Cluster_2_Quality_Cluster_PdH0 + *instead. */ -#define SIG_Cluster_2_Quality_Cluster_PdH0 1, 0, 26, 3 +#define SIG_Cluster_2_Quality_Cluster_PdH0 1, 0, 26, 3 /** * Signal Cluster_PdH0 setup tuple. @@ -26579,7 +26665,7 @@ * @deprecated * Use \ref INITSIG_Cluster_2_Quality_Cluster_PdH0 or \ref INIT_Cluster_2_Quality instead. */ -#define SETUP_Cluster_2_Quality_Cluster_PdH0 1, 0, 26, 3, 0 +#define SETUP_Cluster_2_Quality_Cluster_PdH0 1, 0, 26, 3, 0 /** * Get signal Cluster_PdH0 from buffer. @@ -26589,9 +26675,7 @@ * @return * The raw signal */ -#define GET_Cluster_2_Quality_Cluster_PdH0(buf) (0 \ - | (ubyte)(+(ubyte)((buf[3] >> 0) & 0x07) << 0) \ -) +#define GET_Cluster_2_Quality_Cluster_PdH0(buf) (0 | (ubyte)(+(ubyte)((buf[3] >> 0) & 0x07) << 0)) /** * Set signal Cluster_PdH0 in buffer. @@ -26601,10 +26685,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Cluster_2_Quality_Cluster_PdH0(buf, val) { \ - buf[3] &= ~(0x07 << 0); \ - buf[3] |= (((ubyte)(val) >> 0) & 0x07) << 0; \ -} +#define SET_Cluster_2_Quality_Cluster_PdH0(buf, val) \ + { \ + buf[3] &= ~(0x07 << 0); \ + buf[3] |= (((ubyte)(val) >> 0) & 0x07) << 0; \ + } /** * Set signal Cluster_PdH0 in buffer to its initial value. @@ -26612,8 +26697,7 @@ * @param buf * The can message buffer to initialise */ -#define INITSIG_Cluster_2_Quality_Cluster_PdH0(buf) \ - SET_Cluster_2_Quality_Cluster_PdH0(buf, 0) +#define INITSIG_Cluster_2_Quality_Cluster_PdH0(buf) SET_Cluster_2_Quality_Cluster_PdH0(buf, 0) /** * Signal Cluster_PdH0 value conversion with 16 bit factor and offset. @@ -26626,35 +26710,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Cluster_2_Quality_Cluster_PdH0(x, fmt) \ - ((x) * fmt) +#define CALC_Cluster_2_Quality_Cluster_PdH0(x, fmt) ((x) * fmt) /** * Signal Cluster_PdH0 raw initial value. */ -#define START_Cluster_2_Quality_Cluster_PdH0 0 +#define START_Cluster_2_Quality_Cluster_PdH0 0 /** * Signal Cluster_PdH0 raw minimum value. */ -#define MIN_Cluster_2_Quality_Cluster_PdH0 0 +#define MIN_Cluster_2_Quality_Cluster_PdH0 0 /** * Signal Cluster_PdH0 raw maximum value. */ -#define MAX_Cluster_2_Quality_Cluster_PdH0 7 +#define MAX_Cluster_2_Quality_Cluster_PdH0 7 /** * Signal Cluster_PdH0 raw offset value. */ -#define OFF_Cluster_2_Quality_Cluster_PdH0 0 +#define OFF_Cluster_2_Quality_Cluster_PdH0 0 /** * @} */ /** - * @defgroup ENUM_Cluster_2_Quality_Cluster_PdH0 Value Table for Signal Cluster_PdH0 in Message Cluster_2_Quality (0x702) + * @defgroup ENUM_Cluster_2_Quality_Cluster_PdH0 Value Table for Signal Cluster_PdH0 in Message + * Cluster_2_Quality (0x702) * * Enum values defined for \ref SIG_Cluster_2_Quality_Cluster_PdH0. * @@ -26668,7 +26752,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_PdH0 */ -#define Cluster_2_Quality_Cluster_PdH0___100_ 7 +#define Cluster_2_Quality_Cluster_PdH0___100_ 7 /** * Value table Cluster_2_Quality_Cluster_PdH0 entry _99_9_. @@ -26677,7 +26761,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_PdH0 */ -#define Cluster_2_Quality_Cluster_PdH0__99_9_ 6 +#define Cluster_2_Quality_Cluster_PdH0__99_9_ 6 /** * Value table Cluster_2_Quality_Cluster_PdH0 entry _99_. @@ -26686,7 +26770,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_PdH0 */ -#define Cluster_2_Quality_Cluster_PdH0__99_ 5 +#define Cluster_2_Quality_Cluster_PdH0__99_ 5 /** * Value table Cluster_2_Quality_Cluster_PdH0 entry _90_. @@ -26695,7 +26779,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_PdH0 */ -#define Cluster_2_Quality_Cluster_PdH0__90_ 4 +#define Cluster_2_Quality_Cluster_PdH0__90_ 4 /** * Value table Cluster_2_Quality_Cluster_PdH0 entry _75_. @@ -26704,7 +26788,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_PdH0 */ -#define Cluster_2_Quality_Cluster_PdH0__75_ 3 +#define Cluster_2_Quality_Cluster_PdH0__75_ 3 /** * Value table Cluster_2_Quality_Cluster_PdH0 entry _50_. @@ -26713,7 +26797,7 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_PdH0 */ -#define Cluster_2_Quality_Cluster_PdH0__50_ 2 +#define Cluster_2_Quality_Cluster_PdH0__50_ 2 /** * Value table Cluster_2_Quality_Cluster_PdH0 entry _25_. @@ -26722,17 +26806,18 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_PdH0 */ -#define Cluster_2_Quality_Cluster_PdH0__25_ 1 +#define Cluster_2_Quality_Cluster_PdH0__25_ 1 /** * Value table Cluster_2_Quality_Cluster_PdH0 entry invalid. * * @ingroup ENUM_Cluster_2_Quality_Cluster_PdH0 */ -#define Cluster_2_Quality_Cluster_PdH0_invalid 0 +#define Cluster_2_Quality_Cluster_PdH0_invalid 0 /** - * @defgroup SIG_Cluster_2_Quality_Cluster_AmbigState Signal Cluster_AmbigState of Message Cluster_2_Quality (0x702) + * @defgroup SIG_Cluster_2_Quality_Cluster_AmbigState Signal Cluster_AmbigState of Message + * Cluster_2_Quality (0x702) * * Cluster Doppler ambiguity status * @@ -26749,17 +26834,19 @@ * Signal Cluster_AmbigState configuration tuple. * * @deprecated - * Use \ref SET_Cluster_2_Quality_Cluster_AmbigState and \ref GET_Cluster_2_Quality_Cluster_AmbigState instead. + * Use \ref SET_Cluster_2_Quality_Cluster_AmbigState and \ref + *GET_Cluster_2_Quality_Cluster_AmbigState instead. */ -#define SIG_Cluster_2_Quality_Cluster_AmbigState 1, 0, 34, 3 +#define SIG_Cluster_2_Quality_Cluster_AmbigState 1, 0, 34, 3 /** * Signal Cluster_AmbigState setup tuple. * * @deprecated - * Use \ref INITSIG_Cluster_2_Quality_Cluster_AmbigState or \ref INIT_Cluster_2_Quality instead. + * Use \ref INITSIG_Cluster_2_Quality_Cluster_AmbigState or \ref INIT_Cluster_2_Quality + *instead. */ -#define SETUP_Cluster_2_Quality_Cluster_AmbigState 1, 0, 34, 3, 0 +#define SETUP_Cluster_2_Quality_Cluster_AmbigState 1, 0, 34, 3, 0 /** * Get signal Cluster_AmbigState from buffer. @@ -26769,9 +26856,8 @@ * @return * The raw signal */ -#define GET_Cluster_2_Quality_Cluster_AmbigState(buf) (0 \ - | (ubyte)(+(ubyte)((buf[4] >> 0) & 0x07) << 0) \ -) +#define GET_Cluster_2_Quality_Cluster_AmbigState(buf) \ + (0 | (ubyte)(+(ubyte)((buf[4] >> 0) & 0x07) << 0)) /** * Set signal Cluster_AmbigState in buffer. @@ -26781,10 +26867,11 @@ * @param val * The raw value to set the signal to */ -#define SET_Cluster_2_Quality_Cluster_AmbigState(buf, val) { \ - buf[4] &= ~(0x07 << 0); \ - buf[4] |= (((ubyte)(val) >> 0) & 0x07) << 0; \ -} +#define SET_Cluster_2_Quality_Cluster_AmbigState(buf, val) \ + { \ + buf[4] &= ~(0x07 << 0); \ + buf[4] |= (((ubyte)(val) >> 0) & 0x07) << 0; \ + } /** * Set signal Cluster_AmbigState in buffer to its initial value. @@ -26793,7 +26880,7 @@ * The can message buffer to initialise */ #define INITSIG_Cluster_2_Quality_Cluster_AmbigState(buf) \ - SET_Cluster_2_Quality_Cluster_AmbigState(buf, 0) + SET_Cluster_2_Quality_Cluster_AmbigState(buf, 0) /** * Signal Cluster_AmbigState value conversion with 16 bit factor and offset. @@ -26806,35 +26893,35 @@ * @return * The signal value as a human readable number */ -#define CALC_Cluster_2_Quality_Cluster_AmbigState(x, fmt) \ - ((x) * fmt) +#define CALC_Cluster_2_Quality_Cluster_AmbigState(x, fmt) ((x) * fmt) /** * Signal Cluster_AmbigState raw initial value. */ -#define START_Cluster_2_Quality_Cluster_AmbigState 0 +#define START_Cluster_2_Quality_Cluster_AmbigState 0 /** * Signal Cluster_AmbigState raw minimum value. */ -#define MIN_Cluster_2_Quality_Cluster_AmbigState 0 +#define MIN_Cluster_2_Quality_Cluster_AmbigState 0 /** * Signal Cluster_AmbigState raw maximum value. */ -#define MAX_Cluster_2_Quality_Cluster_AmbigState 7 +#define MAX_Cluster_2_Quality_Cluster_AmbigState 7 /** * Signal Cluster_AmbigState raw offset value. */ -#define OFF_Cluster_2_Quality_Cluster_AmbigState 0 +#define OFF_Cluster_2_Quality_Cluster_AmbigState 0 /** * @} */ /** - * @defgroup ENUM_Cluster_2_Quality_Cluster_AmbigState Value Table for Signal Cluster_AmbigState in Message Cluster_2_Quality (0x702) + * @defgroup ENUM_Cluster_2_Quality_Cluster_AmbigState Value Table for Signal Cluster_AmbigState in + * Message Cluster_2_Quality (0x702) * * Enum values defined for \ref SIG_Cluster_2_Quality_Cluster_AmbigState. * @@ -26848,14 +26935,14 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_AmbigState */ -#define Cluster_2_Quality_Cluster_AmbigState_Stationary 4 +#define Cluster_2_Quality_Cluster_AmbigState_Stationary 4 /** * Value table Cluster_2_Quality_Cluster_AmbigState entry Unambiguous. * * @ingroup ENUM_Cluster_2_Quality_Cluster_AmbigState */ -#define Cluster_2_Quality_Cluster_AmbigState_Unambiguous 3 +#define Cluster_2_Quality_Cluster_AmbigState_Unambiguous 3 /** * Value table Cluster_2_Quality_Cluster_AmbigState entry Staggered. @@ -26864,32 +26951,33 @@ * * @ingroup ENUM_Cluster_2_Quality_Cluster_AmbigState */ -#define Cluster_2_Quality_Cluster_AmbigState_Staggered 2 +#define Cluster_2_Quality_Cluster_AmbigState_Staggered 2 /** * Value table Cluster_2_Quality_Cluster_AmbigState entry Ambiguous. * * @ingroup ENUM_Cluster_2_Quality_Cluster_AmbigState */ -#define Cluster_2_Quality_Cluster_AmbigState_Ambiguous 1 +#define Cluster_2_Quality_Cluster_AmbigState_Ambiguous 1 /** * Value table Cluster_2_Quality_Cluster_AmbigState entry Invalid. * * @ingroup ENUM_Cluster_2_Quality_Cluster_AmbigState */ -#define Cluster_2_Quality_Cluster_AmbigState_Invalid 0\ +#define Cluster_2_Quality_Cluster_AmbigState_Invalid 0 -#define Get_MsgID0_From_MsgID(id) (0 \ - | (((id) >> 8) & 0xF) << 8 /* Extract 3rd digit and position it */ \ - | (((id) >> 0) & 0xF) << 0 /* Extract 1st digit and position it */ \ -) +#define Get_MsgID0_From_MsgID(id) \ + (0 | (((id) >> 8) & 0xF) << 8 /* Extract 3rd digit and position it */ \ + | (((id) >> 0) & 0xF) << 0 /* Extract 1st digit and position it */ \ + ) -#define Get_SensorID_From_MsgID(id) (0 \ - | (((id) >> 4) & 0xF) /* Extract 2nd (middle) digit */ \ -) +#define Get_SensorID_From_MsgID(id) \ + (0 | (((id) >> 4) & 0xF) /* Extract 2nd (middle) digit */ \ + ) -#define Set_SensorID_In_MsgID(buf, id) { \ - buf &= (0xF0F); \ - buf |= (id & 0xF) << 4; \ -} +#define Set_SensorID_In_MsgID(buf, id) \ + { \ + buf &= (0xF0F); \ + buf |= (id & 0xF) << 4; \ + } diff --git a/src/interfacing/sensor_interfacing/radar_conti_ars408/include/radar_conti_ars_408_component.hpp b/src/interfacing/sensor_interfacing/radar_conti_ars408/include/radar_conti_ars_408_component.hpp index b1d84fb5..ef60d348 100644 --- a/src/interfacing/sensor_interfacing/radar_conti_ars408/include/radar_conti_ars_408_component.hpp +++ b/src/interfacing/sensor_interfacing/radar_conti_ars408/include/radar_conti_ars_408_component.hpp @@ -3,30 +3,29 @@ #include #include +#include #include #include -#include #include "rclcpp/rclcpp.hpp" -#include "can_msgs/msg/frame.hpp" -#include "std_msgs/msg/string.hpp" +#include +#include +#include +#include #include +#include #include -#include +#include "can_msgs/msg/frame.hpp" #include "radar_conti_ars408_msgs/msg/filter_state_cfg.hpp" -#include -#include -#include -#include +#include "std_msgs/msg/string.hpp" -#include "lifecycle_msgs/msg/transition.hpp" #include "lifecycle_msgs/msg/state.hpp" -#include "rclcpp_lifecycle/lifecycle_node.hpp" -#include "rclcpp_lifecycle/lifecycle_publisher.hpp" -#include "rclcpp_lifecycle/lifecycle_node.hpp" +#include "lifecycle_msgs/msg/transition.hpp" #include "rclcpp/allocator/allocator_common.hpp" #include "rclcpp/strategies/allocator_memory_strategy.hpp" +#include "rclcpp_lifecycle/lifecycle_node.hpp" +#include "rclcpp_lifecycle/lifecycle_publisher.hpp" #include "rclcpp/qos.hpp" #include "rclcpp/subscription_factory.hpp" @@ -34,8 +33,8 @@ #include "rclcpp/timer.hpp" #include "rmw/qos_profiles.h" -#include #include +#include #include #include "radar_msgs/msg/radar_detection.hpp" @@ -47,32 +46,31 @@ #include "unique_identifier_msgs/msg/uuid.hpp" -#include #include +#include #define CAN_MAX_DLC 8 // Enum class definition enum class FilterType { - NOFOBJ, - DISTANCE, - AZIMUTH, - VRELONCOME, - VRELDEPART, - RCS, - LIFETIME, - SIZE, - PROBEXISTS, - Y, - X, - VYRIGHTLEFT, - VXONCOME, - VYLEFTRIGHT, - VXDEPART, - UNKNOWN // Add this to handle default case + NOFOBJ, + DISTANCE, + AZIMUTH, + VRELONCOME, + VRELDEPART, + RCS, + LIFETIME, + SIZE, + PROBEXISTS, + Y, + X, + VYRIGHTLEFT, + VXONCOME, + VYLEFTRIGHT, + VXDEPART, + UNKNOWN // Add this to handle default case }; - constexpr char DEFAULT_NODE_NAME[] = "RADAR_CONTI_ARS408"; typedef unsigned char ubyte; @@ -81,229 +79,202 @@ typedef unsigned short int uword; using rclcpp::memory_strategies::allocator_memory_strategy::AllocatorMemoryStrategy; using rclcpp::strategies::message_pool_memory_strategy::MessagePoolMemoryStrategy; -namespace watonomous -{ - - class radar_conti_ars408 : public rclcpp_lifecycle::LifecycleNode - { - public: - radar_conti_ars408(const rclcpp::NodeOptions &options); - - /// Transition callback for state error - /** - * on_error callback is being called when the lifecycle node - * enters the "error" state. - */ - rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn on_error( - const rclcpp_lifecycle::State & - previous_state); - - /// Transition callback for state shutting down - /** - * on_shutdown callback is being called when the lifecycle node - * enters the "shutting down" state. - */ - rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn on_shutdown( - const rclcpp_lifecycle::State &previous_state); - - /// Transition callback for state configuring - /** - * on_configure callback is being called when the lifecycle node - * enters the "configuring" state. - * Depending on the return value of this function, the state machine - * either invokes a transition to the "inactive" state or stays - * in "unconfigured". - * TRANSITION_CALLBACK_SUCCESS transitions to "inactive" - * TRANSITION_CALLBACK_FAILURE transitions to "unconfigured" - * TRANSITION_CALLBACK_ERROR or any uncaught exceptions to "errorprocessing" - */ - rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn on_configure( - const rclcpp_lifecycle::State &); - - /// Transition callback for state activating - /** - * on_activate callback is being called when the lifecycle node - * enters the "activating" state. - * Depending on the return value of this function, the state machine - * either invokes a transition to the "active" state or stays - * in "inactive". - * TRANSITION_CALLBACK_SUCCESS transitions to "active" - * TRANSITION_CALLBACK_FAILURE transitions to "inactive" - * TRANSITION_CALLBACK_ERROR or any uncaught exceptions to "errorprocessing" - * - */ - rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn on_activate( - const rclcpp_lifecycle::State &); - - /// Transition callback for state deactivating - /** - * on_deactivate callback is being called when the lifecycle node - * enters the "deactivating" state. - * Depending on the return value of this function, the state machine - * either invokes a transition to the "inactive" state or stays - * in "active". - * TRANSITION_CALLBACK_SUCCESS transitions to "inactive" - * TRANSITION_CALLBACK_FAILURE transitions to "active" - * TRANSITION_CALLBACK_ERROR or any uncaught exceptions to "errorprocessing" - */ - rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn on_deactivate( - const rclcpp_lifecycle::State &); - - /// Transition callback for state cleaningup - /** - * on_cleanup callback is being called when the lifecycle node - * enters the "cleaningup" state. - * Depending on the return value of this function, the state machine - * either invokes a transition to the "unconfigured" state or stays - * in "inactive". - * TRANSITION_CALLBACK_SUCCESS transitions to "unconfigured" - * TRANSITION_CALLBACK_FAILURE transitions to "inactive" - * TRANSITION_CALLBACK_ERROR or any uncaught exceptions to "errorprocessing" - */ - rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn on_cleanup( - const rclcpp_lifecycle::State &); - - void setFilterService( - const std::shared_ptr request, - std::shared_ptr response); - - template - void declare_parameter_with_type(rclcpp_lifecycle::LifecycleNode::SharedPtr node, const std::string ¶m_name, T value) { - if constexpr (std::is_same_v) { - node->declare_parameter(param_name, rclcpp::ParameterValue(static_cast(value))); - } else if constexpr (std::is_same_v) { - node->declare_parameter(param_name, rclcpp::ParameterValue(static_cast(value))); - } else if constexpr (std::is_same_v) { - node->declare_parameter(param_name, rclcpp::ParameterValue(static_cast(value))); - } else if constexpr (std::is_same_v) { - node->declare_parameter(param_name, rclcpp::ParameterValue(static_cast(value))); - } else if constexpr (std::is_same_v) { - node->declare_parameter(param_name, rclcpp::ParameterValue(static_cast(value))); - } else { - static_assert(!std::is_same_v, "Unsupported type for declare_parameter_with_type"); - } - } - - // Function to handle the retrieval of parameters based on type T - template - void get_parameter_with_type(rclcpp_lifecycle::LifecycleNode::SharedPtr node, const std::string ¶m_name, T &value) { - if constexpr (std::is_same_v) { - node->get_parameter(param_name, value); - } else if constexpr (std::is_same_v) { - node->get_parameter(param_name, value); - } else if constexpr (std::is_same_v) { - node->get_parameter(param_name, value); - } else if constexpr (std::is_same_v) { - int temp_value; - node->get_parameter(param_name, temp_value); - value = static_cast(temp_value); - } else if constexpr (std::is_same_v) { - int temp_value; - node->get_parameter(param_name, temp_value); - value = static_cast(temp_value); - } else { - static_assert(!std::is_same_v, "Unsupported type for get_parameter_with_type"); - } - } - - template - void initializeFilterConfig(std::string radar_name, std::string config_name, T value, T &config); - - - unique_identifier_msgs::msg::UUID generateRandomUUID(); - void generateUUIDTable(); - - static constexpr double covariance[] = { - 0.005, - 0.007, - 0.010, - 0.014, - 0.020, - 0.029, - 0.041, - 0.058, - 0.082, - 0.116, - 0.165, - 0.234, - 0.332, - 0.471, - 0.669, - 0.949, - 1.346, - 1.909, - 2.709, - 3.843, - 5.451, - 7.734, - 10.971, - 15.565, - 22.081, - 31.325, - 44.439, - 63.044, - 89.437, - 126.881, - 180.000, - 200.000}; - - private: - // ##############Task2################ - // create Publisher - rclcpp::QoS qos{10}; - std::string radar_detection_topic_name_; - std::string radar_packet_topic_name_; - std::string filter_config_topic_name_; - - uint16_t max_radar_id = 512; - std::vector UUID_table_; - - std::vector::SharedPtr> filter_config_publishers_; - rclcpp_lifecycle::LifecyclePublisher::SharedPtr radar_packet_publisher_; - rclcpp::Subscription::SharedPtr can_frame_subscriber_; - rclcpp_lifecycle::LifecyclePublisher::SharedPtr can_frame_publisher_; - - rclcpp::Service::SharedPtr set_filter_service_; - - // create can_receive_callback - void can_receive_callback(const can_msgs::msg::Frame::SharedPtr frame); - // create handle_object_list - void handle_object_list(const can_msgs::msg::Frame::SharedPtr frame); - // create publish_object_map - void publish_object_map(int sensor_id); - // update filter - bool setFilter(const int &sensor_id, const int &active, const int &valid, const int &type, const int &index, const int &min_value, const int &max_value); - void updateFilterConfig(const can_msgs::msg::Frame::SharedPtr frame, const int &sensor_id); - void initializeFilterConfigs(); - // create map container for object list - std::map object_map_; - std::vector> object_map_list_; - - // create data structures for radar object list - radar_msgs::msg::RadarPacket object_list_; - std::vector object_list_list_; - - // create data structures for radar filter config - std::vector radar_filter_configs_; - std::vector> radar_filter_active_; - std::vector> radar_filter_valid_; - - // additional variables - int operation_mode_; - int object_count; - int number_of_radars_; - - /// @brief whether to overwrite radar configurations on startup - bool overwrite_configs_; - - std::unique_ptr bond_{nullptr}; - - std::vector radar_link_names_; - std::vector filter_config_initialized_list_; - - // ################################## - }; - -} // namespace radar_conti_ars408 - -#endif // COMPOSITION__RADAR_CONTI_ARS408_COMPONENT_HPP_ +namespace watonomous { + +class radar_conti_ars408 : public rclcpp_lifecycle::LifecycleNode { + public: + radar_conti_ars408(const rclcpp::NodeOptions &options); + + /// Transition callback for state error + /** + * on_error callback is being called when the lifecycle node + * enters the "error" state. + */ + rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn on_error( + const rclcpp_lifecycle::State &previous_state); + + /// Transition callback for state shutting down + /** + * on_shutdown callback is being called when the lifecycle node + * enters the "shutting down" state. + */ + rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn on_shutdown( + const rclcpp_lifecycle::State &previous_state); + + /// Transition callback for state configuring + /** + * on_configure callback is being called when the lifecycle node + * enters the "configuring" state. + * Depending on the return value of this function, the state machine + * either invokes a transition to the "inactive" state or stays + * in "unconfigured". + * TRANSITION_CALLBACK_SUCCESS transitions to "inactive" + * TRANSITION_CALLBACK_FAILURE transitions to "unconfigured" + * TRANSITION_CALLBACK_ERROR or any uncaught exceptions to "errorprocessing" + */ + rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn on_configure( + const rclcpp_lifecycle::State &); + + /// Transition callback for state activating + /** + * on_activate callback is being called when the lifecycle node + * enters the "activating" state. + * Depending on the return value of this function, the state machine + * either invokes a transition to the "active" state or stays + * in "inactive". + * TRANSITION_CALLBACK_SUCCESS transitions to "active" + * TRANSITION_CALLBACK_FAILURE transitions to "inactive" + * TRANSITION_CALLBACK_ERROR or any uncaught exceptions to "errorprocessing" + * + */ + rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn on_activate( + const rclcpp_lifecycle::State &); + + /// Transition callback for state deactivating + /** + * on_deactivate callback is being called when the lifecycle node + * enters the "deactivating" state. + * Depending on the return value of this function, the state machine + * either invokes a transition to the "inactive" state or stays + * in "active". + * TRANSITION_CALLBACK_SUCCESS transitions to "inactive" + * TRANSITION_CALLBACK_FAILURE transitions to "active" + * TRANSITION_CALLBACK_ERROR or any uncaught exceptions to "errorprocessing" + */ + rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn on_deactivate( + const rclcpp_lifecycle::State &); + + /// Transition callback for state cleaningup + /** + * on_cleanup callback is being called when the lifecycle node + * enters the "cleaningup" state. + * Depending on the return value of this function, the state machine + * either invokes a transition to the "unconfigured" state or stays + * in "inactive". + * TRANSITION_CALLBACK_SUCCESS transitions to "unconfigured" + * TRANSITION_CALLBACK_FAILURE transitions to "inactive" + * TRANSITION_CALLBACK_ERROR or any uncaught exceptions to "errorprocessing" + */ + rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn on_cleanup( + const rclcpp_lifecycle::State &); + + void setFilterService( + const std::shared_ptr request, + std::shared_ptr response); + + template + void declare_parameter_with_type(rclcpp_lifecycle::LifecycleNode::SharedPtr node, + const std::string ¶m_name, T value) { + if constexpr (std::is_same_v) { + node->declare_parameter(param_name, rclcpp::ParameterValue(static_cast(value))); + } else if constexpr (std::is_same_v) { + node->declare_parameter(param_name, rclcpp::ParameterValue(static_cast(value))); + } else if constexpr (std::is_same_v) { + node->declare_parameter(param_name, rclcpp::ParameterValue(static_cast(value))); + } else if constexpr (std::is_same_v) { + node->declare_parameter(param_name, rclcpp::ParameterValue(static_cast(value))); + } else if constexpr (std::is_same_v) { + node->declare_parameter(param_name, rclcpp::ParameterValue(static_cast(value))); + } else { + static_assert(!std::is_same_v, "Unsupported type for declare_parameter_with_type"); + } + } + + // Function to handle the retrieval of parameters based on type T + template + void get_parameter_with_type(rclcpp_lifecycle::LifecycleNode::SharedPtr node, + const std::string ¶m_name, T &value) { + if constexpr (std::is_same_v) { + node->get_parameter(param_name, value); + } else if constexpr (std::is_same_v) { + node->get_parameter(param_name, value); + } else if constexpr (std::is_same_v) { + node->get_parameter(param_name, value); + } else if constexpr (std::is_same_v) { + int temp_value; + node->get_parameter(param_name, temp_value); + value = static_cast(temp_value); + } else if constexpr (std::is_same_v) { + int temp_value; + node->get_parameter(param_name, temp_value); + value = static_cast(temp_value); + } else { + static_assert(!std::is_same_v, "Unsupported type for get_parameter_with_type"); + } + } + + template + void initializeFilterConfig(std::string radar_name, std::string config_name, T value, T &config); + + unique_identifier_msgs::msg::UUID generateRandomUUID(); + void generateUUIDTable(); + + static constexpr double covariance[] = { + 0.005, 0.007, 0.010, 0.014, 0.020, 0.029, 0.041, 0.058, 0.082, 0.116, 0.165, + 0.234, 0.332, 0.471, 0.669, 0.949, 1.346, 1.909, 2.709, 3.843, 5.451, 7.734, + 10.971, 15.565, 22.081, 31.325, 44.439, 63.044, 89.437, 126.881, 180.000, 200.000}; + + private: + // ##############Task2################ + // create Publisher + rclcpp::QoS qos{10}; + std::string radar_detection_topic_name_; + std::string radar_packet_topic_name_; + std::string filter_config_topic_name_; + + uint16_t max_radar_id = 512; + std::vector UUID_table_; + + std::vector< + rclcpp_lifecycle::LifecyclePublisher::SharedPtr> + filter_config_publishers_; + rclcpp_lifecycle::LifecyclePublisher::SharedPtr + radar_packet_publisher_; + rclcpp::Subscription::SharedPtr can_frame_subscriber_; + rclcpp_lifecycle::LifecyclePublisher::SharedPtr can_frame_publisher_; + + rclcpp::Service::SharedPtr set_filter_service_; + + // create can_receive_callback + void can_receive_callback(const can_msgs::msg::Frame::SharedPtr frame); + // create handle_object_list + void handle_object_list(const can_msgs::msg::Frame::SharedPtr frame); + // create publish_object_map + void publish_object_map(int sensor_id); + // update filter + bool setFilter(const int &sensor_id, const int &active, const int &valid, const int &type, + const int &index, const int &min_value, const int &max_value); + void updateFilterConfig(const can_msgs::msg::Frame::SharedPtr frame, const int &sensor_id); + void initializeFilterConfigs(); + // create map container for object list + std::map object_map_; + std::vector> object_map_list_; + + // create data structures for radar object list + radar_msgs::msg::RadarPacket object_list_; + std::vector object_list_list_; + + // create data structures for radar filter config + std::vector radar_filter_configs_; + std::vector> radar_filter_active_; + std::vector> radar_filter_valid_; + + // additional variables + int operation_mode_; + int object_count; + int number_of_radars_; + + /// @brief whether to overwrite radar configurations on startup + bool overwrite_configs_; + + std::unique_ptr bond_{nullptr}; + + std::vector radar_link_names_; + std::vector filter_config_initialized_list_; + + // ################################## +}; + +} // namespace watonomous + +#endif // COMPOSITION__RADAR_CONTI_ARS408_COMPONENT_HPP_ diff --git a/src/interfacing/sensor_interfacing/radar_conti_ars408/src/radar_conti_ars_408_component.cpp b/src/interfacing/sensor_interfacing/radar_conti_ars408/src/radar_conti_ars_408_component.cpp index 2e78d5a4..4dd78dd7 100644 --- a/src/interfacing/sensor_interfacing/radar_conti_ars408/src/radar_conti_ars_408_component.cpp +++ b/src/interfacing/sensor_interfacing/radar_conti_ars408/src/radar_conti_ars_408_component.cpp @@ -1,481 +1,514 @@ #include "../include/radar_conti_ars_408_component.hpp" +#include #include #include #include #include -#include #define _USE_MATH_DEFINES #include "rclcpp/rclcpp.hpp" -#include "std_msgs/msg/string.hpp" #include "ros2_socketcan/socket_can_receiver.hpp" #include "ros2_socketcan/socket_can_sender.hpp" +#include "std_msgs/msg/string.hpp" #include using std::placeholders::_1; using namespace std::chrono_literals; -namespace watonomous -{ - - const std::vector filterTypes = { - FilterType::NOFOBJ, - FilterType::DISTANCE, - FilterType::AZIMUTH, - FilterType::VRELONCOME, - FilterType::VRELDEPART, - FilterType::RCS, - FilterType::LIFETIME, - FilterType::SIZE, - FilterType::PROBEXISTS, - FilterType::Y, - FilterType::X, - FilterType::VYRIGHTLEFT, - FilterType::VXONCOME, - FilterType::VYLEFTRIGHT, - FilterType::VXDEPART, - FilterType::UNKNOWN // Add this to handle default case - }; - - radar_conti_ars408::radar_conti_ars408(const rclcpp::NodeOptions &options) - : rclcpp_lifecycle::LifecycleNode("radar_conti_ars408", options) - { - } - - rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn radar_conti_ars408::on_configure( - const rclcpp_lifecycle::State &) - { - RCUTILS_LOG_INFO_NAMED(get_name(), "on_configure() is called."); - auto node = shared_from_this(); - node->declare_parameter("radar_detection_topic_name", rclcpp::ParameterValue("ars408/radar_detection")); - node->declare_parameter("radar_packet_topic_name", rclcpp::ParameterValue("ars408/radar_packet")); - node->declare_parameter("filter_config_topic_name", rclcpp::ParameterValue("ars408/filter_config")); - - node->get_parameter("radar_detection_topic_name", radar_detection_topic_name_); - node->get_parameter("radar_packet_topic_name", radar_packet_topic_name_); - node->get_parameter("filter_config_topic_name", filter_config_topic_name_); - - auto transient_local_qos = rclcpp::QoS(rclcpp::KeepLast(5)).reliability(rclcpp::ReliabilityPolicy::Reliable).durability(rclcpp::DurabilityPolicy::TransientLocal); - - size_t topic_ind = 0; - bool more_params = false; - number_of_radars_ = 0; - do - { - std::stringstream ss; - ss << "radar_" << topic_ind; - std::string radar_name = ss.str(); - - node->declare_parameter(radar_name + ".link_name", rclcpp::PARAMETER_STRING); - - rclcpp::Parameter parameter; - if (node->get_parameter(radar_name + ".link_name", parameter)) - { - more_params = true; - filter_config_publishers_.push_back(this->create_publisher(parameter.as_string() + "/" + filter_config_topic_name_, transient_local_qos)); - - object_map_list_.push_back(std::map()); - object_list_list_.push_back(radar_msgs::msg::RadarPacket()); - radar_filter_configs_.push_back(radar_conti_ars408_msgs::msg::FilterStateCfg()); - radar_filter_active_.push_back(std::vector()); - radar_filter_valid_.push_back(std::vector()); - - std::vector init_radar_active_values = {false, false, false, false, false, false, false, false, false, false, false, false, false, false, false}; - node->declare_parameter(radar_name+".active", rclcpp::ParameterValue(init_radar_active_values)); - node->get_parameter(radar_name + ".active", radar_filter_active_[topic_ind]); - std::vector init_radar_valid_values = {false, false, false, false, false, false, false, false, false, false, false, false, false, false, false}; - node->declare_parameter(radar_name+".valid", rclcpp::ParameterValue(init_radar_valid_values)); - node->get_parameter(radar_name + ".valid", radar_filter_valid_[topic_ind]); - - radar_link_names_.push_back(parameter.as_string()); - - RCLCPP_DEBUG(node->get_logger(), "radar frame is: %s", parameter.as_string().c_str()); - - //Initialize Number of Objects Filters - initializeFilterConfig(radar_name, std::string("filtercfg_min_nofobj"), 0, radar_filter_configs_[topic_ind].filtercfg_min_nofobj.data); - initializeFilterConfig(radar_name, std::string("filtercfg_max_nofobj"), 20, radar_filter_configs_[topic_ind].filtercfg_max_nofobj.data); - - //Initialize Distance Filters - initializeFilterConfig(radar_name, std::string("filtercfg_min_distance"), 0.0, radar_filter_configs_[topic_ind].filtercfg_min_distance.data); - initializeFilterConfig(radar_name, std::string("filtercfg_max_distance"), 409.0, radar_filter_configs_[topic_ind].filtercfg_max_distance.data); - - //Initialize Azimuth Filters - initializeFilterConfig(radar_name, std::string("filtercfg_min_azimuth"), 0.0, radar_filter_configs_[topic_ind].filtercfg_min_azimuth.data); - initializeFilterConfig(radar_name, std::string("filtercfg_max_azimuth"), 100.0, radar_filter_configs_[topic_ind].filtercfg_max_azimuth.data); - - //Initialize Oncoming Velocity Filters - initializeFilterConfig(radar_name, std::string("filtercfg_min_vreloncome"), 0.0, radar_filter_configs_[topic_ind].filtercfg_min_vreloncome.data); - initializeFilterConfig(radar_name, std::string("filtercfg_max_vreloncome"), 128.0, radar_filter_configs_[topic_ind].filtercfg_max_vreloncome.data); - - //Initialize Departing Velocity Filters - initializeFilterConfig(radar_name, std::string("filtercfg_min_vreldepart"), 0.0, radar_filter_configs_[topic_ind].filtercfg_min_vreldepart.data); - initializeFilterConfig(radar_name, std::string("filtercfg_max_vreldepart"), 128.0, radar_filter_configs_[topic_ind].filtercfg_max_vreldepart.data); - - //Initialize Radar Cross Section Filters - initializeFilterConfig(radar_name, std::string("filtercfg_min_rcs"), 0.0, radar_filter_configs_[topic_ind].filtercfg_min_rcs.data); - initializeFilterConfig(radar_name, std::string("filtercfg_max_rcs"), 100.0, radar_filter_configs_[topic_ind].filtercfg_max_rcs.data); - - //Initialize Lifetime Filters - initializeFilterConfig(radar_name, std::string("filtercfg_min_lifetime"), 0.0, radar_filter_configs_[topic_ind].filtercfg_min_lifetime.data); - initializeFilterConfig(radar_name, std::string("filtercfg_max_lifetime"), 409.0, radar_filter_configs_[topic_ind].filtercfg_max_lifetime.data); - - //Initialize Size Filters - initializeFilterConfig(radar_name, std::string("filtercfg_min_size"), 0.0, radar_filter_configs_[topic_ind].filtercfg_min_size.data); - initializeFilterConfig(radar_name, std::string("filtercfg_max_size"), 102.0, radar_filter_configs_[topic_ind].filtercfg_max_size.data); - - //Initialize Probability of Existence Filters - initializeFilterConfig(radar_name, std::string("filtercfg_min_probexists"), 0, radar_filter_configs_[topic_ind].filtercfg_min_probexists.data); - initializeFilterConfig(radar_name, std::string("filtercfg_max_probexists"), 7, radar_filter_configs_[topic_ind].filtercfg_max_probexists.data); - - //Initialize Y Filters - initializeFilterConfig(radar_name, std::string("filtercfg_min_y"), 0.0, radar_filter_configs_[topic_ind].filtercfg_min_y.data); - initializeFilterConfig(radar_name, std::string("filtercfg_max_y"), 818.0, radar_filter_configs_[topic_ind].filtercfg_max_y.data); - - //Initialize X Filters - initializeFilterConfig(radar_name, std::string("filtercfg_min_x"), 0.0, radar_filter_configs_[topic_ind].filtercfg_min_x.data); - initializeFilterConfig(radar_name, std::string("filtercfg_max_x"), 0.0, radar_filter_configs_[topic_ind].filtercfg_max_x.data); - - //Initialize Y Velocity going left to right Filters - initializeFilterConfig(radar_name, std::string("filtercfg_min_vyrightleft"), 0.0, radar_filter_configs_[topic_ind].filtercfg_min_vyrightleft.data); - initializeFilterConfig(radar_name, std::string("filtercfg_max_vyrightleft"), 128.0, radar_filter_configs_[topic_ind].filtercfg_max_vyrightleft.data); - - //Initialize X Velocity oncoming Filters - initializeFilterConfig(radar_name, std::string("filtercfg_min_vxoncome"), 0.0, radar_filter_configs_[topic_ind].filtercfg_min_vxoncome.data); - initializeFilterConfig(radar_name, std::string("filtercfg_max_vxoncome"), 128.0, radar_filter_configs_[topic_ind].filtercfg_max_vxoncome.data); - - //Initialize Y Velocity going right to left Filters - initializeFilterConfig(radar_name, std::string("filtercfg_min_vyleftright"), 0.0, radar_filter_configs_[topic_ind].filtercfg_min_vyleftright.data); - initializeFilterConfig(radar_name, std::string("filtercfg_max_vyleftright"), 128.0, radar_filter_configs_[topic_ind].filtercfg_max_vyleftright.data); - - //Initialize X Velocity Departing Filters - initializeFilterConfig(radar_name, std::string("filtercfg_min_vxdepart"), 0.0, radar_filter_configs_[topic_ind].filtercfg_min_vxdepart.data); - initializeFilterConfig(radar_name, std::string("filtercfg_max_vxdepart"), 128.0, radar_filter_configs_[topic_ind].filtercfg_max_vxdepart.data); - - filter_config_initialized_list_.push_back(false); - RCLCPP_WARN(this->get_logger(), "link_name is: %s", parameter.as_string().c_str()); - number_of_radars_++; - topic_ind++; - } - else - { - more_params = false; - } - } while (more_params); - - can_frame_subscriber_ = this->create_subscription("/from_can_bus", transient_local_qos, std::bind(&radar_conti_ars408::can_receive_callback, this, std::placeholders::_1)); - can_frame_publisher_ = this->create_publisher("/to_can_bus", transient_local_qos); - radar_packet_publisher_ = this->create_publisher("/radar_packet", transient_local_qos); - - object_count = 0.0; - set_filter_service_ = create_service("/set_filter", std::bind(&radar_conti_ars408::setFilterService, this, std::placeholders::_1, std::placeholders::_2)); - - generateUUIDTable(); - - return rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn::SUCCESS; - } - - template - void radar_conti_ars408::initializeFilterConfig(std::string radar_name, std::string config_name, T value, T &config){ - auto node = shared_from_this(); - T config_value; - declare_parameter_with_type(node, radar_name + "." + config_name, value); - get_parameter_with_type(node, radar_name + "." + config_name, config_value); - config = config_value; - } - - rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn radar_conti_ars408::on_shutdown( - const rclcpp_lifecycle::State & /*previous_state*/) - { - RCUTILS_LOG_INFO_NAMED(get_name(), "on shutdown is called."); - return rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn::SUCCESS; - } - - rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn radar_conti_ars408::on_error( - const rclcpp_lifecycle::State & /*previous_state*/) - { - RCUTILS_LOG_INFO_NAMED(get_name(), "on error is called."); - return rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn::SUCCESS; - } - - rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn radar_conti_ars408::on_activate( - const rclcpp_lifecycle::State & /*previous_state*/) - { - return rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn::SUCCESS; - } - - rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn radar_conti_ars408::on_deactivate( - const rclcpp_lifecycle::State &) - { - RCUTILS_LOG_INFO_NAMED(get_name(), "on_deactivate() is called."); - return rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn::SUCCESS; - } - - rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn radar_conti_ars408::on_cleanup( - const rclcpp_lifecycle::State &) - { - RCUTILS_LOG_INFO_NAMED(get_name(), "on cleanup is called."); - if (bond_) - { - bond_.reset(); +namespace watonomous { + +const std::vector filterTypes = { + FilterType::NOFOBJ, FilterType::DISTANCE, FilterType::AZIMUTH, FilterType::VRELONCOME, + FilterType::VRELDEPART, FilterType::RCS, FilterType::LIFETIME, FilterType::SIZE, + FilterType::PROBEXISTS, FilterType::Y, FilterType::X, FilterType::VYRIGHTLEFT, + FilterType::VXONCOME, FilterType::VYLEFTRIGHT, FilterType::VXDEPART, + FilterType::UNKNOWN // Add this to handle default case +}; + +radar_conti_ars408::radar_conti_ars408(const rclcpp::NodeOptions &options) + : rclcpp_lifecycle::LifecycleNode("radar_conti_ars408", options) {} + +rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn +radar_conti_ars408::on_configure(const rclcpp_lifecycle::State &) { + RCUTILS_LOG_INFO_NAMED(get_name(), "on_configure() is called."); + auto node = shared_from_this(); + node->declare_parameter("radar_detection_topic_name", + rclcpp::ParameterValue("ars408/radar_detection")); + node->declare_parameter("radar_packet_topic_name", rclcpp::ParameterValue("ars408/radar_packet")); + node->declare_parameter("filter_config_topic_name", + rclcpp::ParameterValue("ars408/filter_config")); + + node->get_parameter("radar_detection_topic_name", radar_detection_topic_name_); + node->get_parameter("radar_packet_topic_name", radar_packet_topic_name_); + node->get_parameter("filter_config_topic_name", filter_config_topic_name_); + + auto transient_local_qos = rclcpp::QoS(rclcpp::KeepLast(5)) + .reliability(rclcpp::ReliabilityPolicy::Reliable) + .durability(rclcpp::DurabilityPolicy::TransientLocal); + + size_t topic_ind = 0; + bool more_params = false; + number_of_radars_ = 0; + do { + std::stringstream ss; + ss << "radar_" << topic_ind; + std::string radar_name = ss.str(); + + node->declare_parameter(radar_name + ".link_name", rclcpp::PARAMETER_STRING); + + rclcpp::Parameter parameter; + if (node->get_parameter(radar_name + ".link_name", parameter)) { + more_params = true; + filter_config_publishers_.push_back( + this->create_publisher( + parameter.as_string() + "/" + filter_config_topic_name_, transient_local_qos)); + + object_map_list_.push_back(std::map()); + object_list_list_.push_back(radar_msgs::msg::RadarPacket()); + radar_filter_configs_.push_back(radar_conti_ars408_msgs::msg::FilterStateCfg()); + radar_filter_active_.push_back(std::vector()); + radar_filter_valid_.push_back(std::vector()); + + std::vector init_radar_active_values = {false, false, false, false, false, + false, false, false, false, false, + false, false, false, false, false}; + node->declare_parameter(radar_name + ".active", + rclcpp::ParameterValue(init_radar_active_values)); + node->get_parameter(radar_name + ".active", radar_filter_active_[topic_ind]); + std::vector init_radar_valid_values = {false, false, false, false, false, + false, false, false, false, false, + false, false, false, false, false}; + node->declare_parameter(radar_name + ".valid", + rclcpp::ParameterValue(init_radar_valid_values)); + node->get_parameter(radar_name + ".valid", radar_filter_valid_[topic_ind]); + + radar_link_names_.push_back(parameter.as_string()); + + RCLCPP_DEBUG(node->get_logger(), "radar frame is: %s", parameter.as_string().c_str()); + + // Initialize Number of Objects Filters + initializeFilterConfig(radar_name, std::string("filtercfg_min_nofobj"), 0, + radar_filter_configs_[topic_ind].filtercfg_min_nofobj.data); + initializeFilterConfig(radar_name, std::string("filtercfg_max_nofobj"), 20, + radar_filter_configs_[topic_ind].filtercfg_max_nofobj.data); + + // Initialize Distance Filters + initializeFilterConfig(radar_name, std::string("filtercfg_min_distance"), 0.0, + radar_filter_configs_[topic_ind].filtercfg_min_distance.data); + initializeFilterConfig(radar_name, std::string("filtercfg_max_distance"), 409.0, + radar_filter_configs_[topic_ind].filtercfg_max_distance.data); + + // Initialize Azimuth Filters + initializeFilterConfig(radar_name, std::string("filtercfg_min_azimuth"), 0.0, + radar_filter_configs_[topic_ind].filtercfg_min_azimuth.data); + initializeFilterConfig(radar_name, std::string("filtercfg_max_azimuth"), 100.0, + radar_filter_configs_[topic_ind].filtercfg_max_azimuth.data); + + // Initialize Oncoming Velocity Filters + initializeFilterConfig(radar_name, std::string("filtercfg_min_vreloncome"), 0.0, + radar_filter_configs_[topic_ind].filtercfg_min_vreloncome.data); + initializeFilterConfig(radar_name, std::string("filtercfg_max_vreloncome"), 128.0, + radar_filter_configs_[topic_ind].filtercfg_max_vreloncome.data); + + // Initialize Departing Velocity Filters + initializeFilterConfig(radar_name, std::string("filtercfg_min_vreldepart"), 0.0, + radar_filter_configs_[topic_ind].filtercfg_min_vreldepart.data); + initializeFilterConfig(radar_name, std::string("filtercfg_max_vreldepart"), 128.0, + radar_filter_configs_[topic_ind].filtercfg_max_vreldepart.data); + + // Initialize Radar Cross Section Filters + initializeFilterConfig(radar_name, std::string("filtercfg_min_rcs"), 0.0, + radar_filter_configs_[topic_ind].filtercfg_min_rcs.data); + initializeFilterConfig(radar_name, std::string("filtercfg_max_rcs"), 100.0, + radar_filter_configs_[topic_ind].filtercfg_max_rcs.data); + + // Initialize Lifetime Filters + initializeFilterConfig(radar_name, std::string("filtercfg_min_lifetime"), 0.0, + radar_filter_configs_[topic_ind].filtercfg_min_lifetime.data); + initializeFilterConfig(radar_name, std::string("filtercfg_max_lifetime"), 409.0, + radar_filter_configs_[topic_ind].filtercfg_max_lifetime.data); + + // Initialize Size Filters + initializeFilterConfig(radar_name, std::string("filtercfg_min_size"), 0.0, + radar_filter_configs_[topic_ind].filtercfg_min_size.data); + initializeFilterConfig(radar_name, std::string("filtercfg_max_size"), 102.0, + radar_filter_configs_[topic_ind].filtercfg_max_size.data); + + // Initialize Probability of Existence Filters + initializeFilterConfig( + radar_name, std::string("filtercfg_min_probexists"), 0, + radar_filter_configs_[topic_ind].filtercfg_min_probexists.data); + initializeFilterConfig( + radar_name, std::string("filtercfg_max_probexists"), 7, + radar_filter_configs_[topic_ind].filtercfg_max_probexists.data); + + // Initialize Y Filters + initializeFilterConfig(radar_name, std::string("filtercfg_min_y"), 0.0, + radar_filter_configs_[topic_ind].filtercfg_min_y.data); + initializeFilterConfig(radar_name, std::string("filtercfg_max_y"), 818.0, + radar_filter_configs_[topic_ind].filtercfg_max_y.data); + + // Initialize X Filters + initializeFilterConfig(radar_name, std::string("filtercfg_min_x"), 0.0, + radar_filter_configs_[topic_ind].filtercfg_min_x.data); + initializeFilterConfig(radar_name, std::string("filtercfg_max_x"), 0.0, + radar_filter_configs_[topic_ind].filtercfg_max_x.data); + + // Initialize Y Velocity going left to right Filters + initializeFilterConfig( + radar_name, std::string("filtercfg_min_vyrightleft"), 0.0, + radar_filter_configs_[topic_ind].filtercfg_min_vyrightleft.data); + initializeFilterConfig( + radar_name, std::string("filtercfg_max_vyrightleft"), 128.0, + radar_filter_configs_[topic_ind].filtercfg_max_vyrightleft.data); + + // Initialize X Velocity oncoming Filters + initializeFilterConfig(radar_name, std::string("filtercfg_min_vxoncome"), 0.0, + radar_filter_configs_[topic_ind].filtercfg_min_vxoncome.data); + initializeFilterConfig(radar_name, std::string("filtercfg_max_vxoncome"), 128.0, + radar_filter_configs_[topic_ind].filtercfg_max_vxoncome.data); + + // Initialize Y Velocity going right to left Filters + initializeFilterConfig( + radar_name, std::string("filtercfg_min_vyleftright"), 0.0, + radar_filter_configs_[topic_ind].filtercfg_min_vyleftright.data); + initializeFilterConfig( + radar_name, std::string("filtercfg_max_vyleftright"), 128.0, + radar_filter_configs_[topic_ind].filtercfg_max_vyleftright.data); + + // Initialize X Velocity Departing Filters + initializeFilterConfig(radar_name, std::string("filtercfg_min_vxdepart"), 0.0, + radar_filter_configs_[topic_ind].filtercfg_min_vxdepart.data); + initializeFilterConfig(radar_name, std::string("filtercfg_max_vxdepart"), 128.0, + radar_filter_configs_[topic_ind].filtercfg_max_vxdepart.data); + + filter_config_initialized_list_.push_back(false); + RCLCPP_WARN(this->get_logger(), "link_name is: %s", parameter.as_string().c_str()); + number_of_radars_++; + topic_ind++; + } else { + more_params = false; } - return rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn::SUCCESS; - } - - unique_identifier_msgs::msg::UUID radar_conti_ars408::generateRandomUUID() - { - unique_identifier_msgs::msg::UUID uuid; - std::mt19937 gen(std::random_device{}()); - std::independent_bits_engine bit_eng(gen); - std::generate(uuid.uuid.begin(), uuid.uuid.end(), bit_eng); - return uuid; + } while (more_params); + + can_frame_subscriber_ = this->create_subscription( + "/from_can_bus", transient_local_qos, + std::bind(&radar_conti_ars408::can_receive_callback, this, std::placeholders::_1)); + can_frame_publisher_ = + this->create_publisher("/to_can_bus", transient_local_qos); + radar_packet_publisher_ = + this->create_publisher("/radar_packet", transient_local_qos); + + object_count = 0.0; + set_filter_service_ = create_service( + "/set_filter", std::bind(&radar_conti_ars408::setFilterService, this, std::placeholders::_1, + std::placeholders::_2)); + + generateUUIDTable(); + + return rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn::SUCCESS; +} + +template +void radar_conti_ars408::initializeFilterConfig(std::string radar_name, std::string config_name, + T value, T &config) { + auto node = shared_from_this(); + T config_value; + declare_parameter_with_type(node, radar_name + "." + config_name, value); + get_parameter_with_type(node, radar_name + "." + config_name, config_value); + config = config_value; +} + +rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn +radar_conti_ars408::on_shutdown(const rclcpp_lifecycle::State & /*previous_state*/) { + RCUTILS_LOG_INFO_NAMED(get_name(), "on shutdown is called."); + return rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn::SUCCESS; +} + +rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn +radar_conti_ars408::on_error(const rclcpp_lifecycle::State & /*previous_state*/) { + RCUTILS_LOG_INFO_NAMED(get_name(), "on error is called."); + return rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn::SUCCESS; +} + +rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn +radar_conti_ars408::on_activate(const rclcpp_lifecycle::State & /*previous_state*/) { + return rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn::SUCCESS; +} + +rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn +radar_conti_ars408::on_deactivate(const rclcpp_lifecycle::State &) { + RCUTILS_LOG_INFO_NAMED(get_name(), "on_deactivate() is called."); + return rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn::SUCCESS; +} + +rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn +radar_conti_ars408::on_cleanup(const rclcpp_lifecycle::State &) { + RCUTILS_LOG_INFO_NAMED(get_name(), "on cleanup is called."); + if (bond_) { + bond_.reset(); } - - void radar_conti_ars408::generateUUIDTable() - { - for (int i = 0; i <= (max_radar_id * number_of_radars_); i++) - { - UUID_table_.emplace_back(radar_conti_ars408::generateRandomUUID()); - } + return rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn::SUCCESS; +} + +unique_identifier_msgs::msg::UUID radar_conti_ars408::generateRandomUUID() { + unique_identifier_msgs::msg::UUID uuid; + std::mt19937 gen(std::random_device{}()); + std::independent_bits_engine bit_eng(gen); + std::generate(uuid.uuid.begin(), uuid.uuid.end(), bit_eng); + return uuid; +} + +void radar_conti_ars408::generateUUIDTable() { + for (int i = 0; i <= (max_radar_id * number_of_radars_); i++) { + UUID_table_.emplace_back(radar_conti_ars408::generateRandomUUID()); } - - void radar_conti_ars408::initializeFilterConfigs() - { - const int type = FilterCfg_FilterCfg_Type_Object; - int min_value = 0; - int max_value = 0; - - for (size_t radar_index = 0; radar_index < radar_filter_configs_.size(); radar_index++) - { - for (size_t filter_index = 0; filter_index < MAX_FilterState_Cfg_FilterState_Index; filter_index++) - { - int active = radar_filter_active_[radar_index][filter_index] ? FilterCfg_FilterCfg_Active_active : FilterCfg_FilterCfg_Active_inactive; - int valid = radar_filter_valid_[radar_index][filter_index] ? FilterCfg_FilterCfg_Valid_valid : FilterCfg_FilterCfg_Valid_invalid; - switch (filterTypes[filter_index]) - { +} + +void radar_conti_ars408::initializeFilterConfigs() { + const int type = FilterCfg_FilterCfg_Type_Object; + int min_value = 0; + int max_value = 0; + + for (size_t radar_index = 0; radar_index < radar_filter_configs_.size(); radar_index++) { + for (size_t filter_index = 0; filter_index < MAX_FilterState_Cfg_FilterState_Index; + filter_index++) { + int active = radar_filter_active_[radar_index][filter_index] + ? FilterCfg_FilterCfg_Active_active + : FilterCfg_FilterCfg_Active_inactive; + int valid = radar_filter_valid_[radar_index][filter_index] + ? FilterCfg_FilterCfg_Valid_valid + : FilterCfg_FilterCfg_Valid_invalid; + switch (filterTypes[filter_index]) { case FilterType::NOFOBJ: - min_value = static_cast(radar_filter_configs_[radar_index].filtercfg_min_nofobj.data); - max_value = static_cast(radar_filter_configs_[radar_index].filtercfg_max_nofobj.data); + min_value = + static_cast(radar_filter_configs_[radar_index].filtercfg_min_nofobj.data); + max_value = + static_cast(radar_filter_configs_[radar_index].filtercfg_max_nofobj.data); break; case FilterType::DISTANCE: - min_value = static_cast(radar_filter_configs_[radar_index].filtercfg_min_distance.data / 0.1); - max_value = static_cast(radar_filter_configs_[radar_index].filtercfg_max_distance.data / 0.1); + min_value = static_cast( + radar_filter_configs_[radar_index].filtercfg_min_distance.data / 0.1); + max_value = static_cast( + radar_filter_configs_[radar_index].filtercfg_max_distance.data / 0.1); break; case FilterType::AZIMUTH: - min_value = static_cast(radar_filter_configs_[radar_index].filtercfg_min_azimuth.data / 0.025); - max_value = static_cast(radar_filter_configs_[radar_index].filtercfg_max_azimuth.data / 0.025); + min_value = static_cast( + radar_filter_configs_[radar_index].filtercfg_min_azimuth.data / 0.025); + max_value = static_cast( + radar_filter_configs_[radar_index].filtercfg_max_azimuth.data / 0.025); break; case FilterType::VRELONCOME: - min_value = static_cast(radar_filter_configs_[radar_index].filtercfg_min_vreloncome.data / 0.0315); - max_value = static_cast(radar_filter_configs_[radar_index].filtercfg_max_vreloncome.data / 0.0315); + min_value = static_cast( + radar_filter_configs_[radar_index].filtercfg_min_vreloncome.data / 0.0315); + max_value = static_cast( + radar_filter_configs_[radar_index].filtercfg_max_vreloncome.data / 0.0315); break; case FilterType::VRELDEPART: - min_value = static_cast(radar_filter_configs_[radar_index].filtercfg_min_vreldepart.data / 0.0315); - max_value = static_cast(radar_filter_configs_[radar_index].filtercfg_max_vreldepart.data / 0.0315); - break; + min_value = static_cast( + radar_filter_configs_[radar_index].filtercfg_min_vreldepart.data / 0.0315); + max_value = static_cast( + radar_filter_configs_[radar_index].filtercfg_max_vreldepart.data / 0.0315); + break; case FilterType::RCS: - min_value = static_cast(radar_filter_configs_[radar_index].filtercfg_min_rcs.data / 0.025); - max_value = static_cast(radar_filter_configs_[radar_index].filtercfg_max_rcs.data / 0.025); + min_value = + static_cast(radar_filter_configs_[radar_index].filtercfg_min_rcs.data / 0.025); + max_value = + static_cast(radar_filter_configs_[radar_index].filtercfg_max_rcs.data / 0.025); break; case FilterType::LIFETIME: - min_value = static_cast(radar_filter_configs_[radar_index].filtercfg_min_lifetime.data / 0.1); - max_value = static_cast(radar_filter_configs_[radar_index].filtercfg_max_lifetime.data / 0.1); + min_value = static_cast( + radar_filter_configs_[radar_index].filtercfg_min_lifetime.data / 0.1); + max_value = static_cast( + radar_filter_configs_[radar_index].filtercfg_max_lifetime.data / 0.1); break; case FilterType::SIZE: - min_value = static_cast(radar_filter_configs_[radar_index].filtercfg_min_size.data / 0.025); - max_value = static_cast(radar_filter_configs_[radar_index].filtercfg_max_size.data / 0.025); + min_value = + static_cast(radar_filter_configs_[radar_index].filtercfg_min_size.data / 0.025); + max_value = + static_cast(radar_filter_configs_[radar_index].filtercfg_max_size.data / 0.025); break; case FilterType::PROBEXISTS: - min_value = static_cast(radar_filter_configs_[radar_index].filtercfg_min_probexists.data); - max_value = static_cast(radar_filter_configs_[radar_index].filtercfg_max_probexists.data); + min_value = + static_cast(radar_filter_configs_[radar_index].filtercfg_min_probexists.data); + max_value = + static_cast(radar_filter_configs_[radar_index].filtercfg_max_probexists.data); break; case FilterType::Y: - min_value = static_cast(radar_filter_configs_[radar_index].filtercfg_min_y.data / 0.2); - max_value = static_cast(radar_filter_configs_[radar_index].filtercfg_max_y.data / 0.2); + min_value = + static_cast(radar_filter_configs_[radar_index].filtercfg_min_y.data / 0.2); + max_value = + static_cast(radar_filter_configs_[radar_index].filtercfg_max_y.data / 0.2); break; case FilterType::X: min_value = static_cast(radar_filter_configs_[radar_index].filtercfg_min_x.data); max_value = static_cast(radar_filter_configs_[radar_index].filtercfg_max_x.data); break; case FilterType::VYRIGHTLEFT: - min_value = static_cast(radar_filter_configs_[radar_index].filtercfg_min_vyrightleft.data / 0.0315); - max_value = static_cast(radar_filter_configs_[radar_index].filtercfg_max_vyrightleft.data / 0.0315); + min_value = static_cast( + radar_filter_configs_[radar_index].filtercfg_min_vyrightleft.data / 0.0315); + max_value = static_cast( + radar_filter_configs_[radar_index].filtercfg_max_vyrightleft.data / 0.0315); break; case FilterType::VXONCOME: - min_value = static_cast(radar_filter_configs_[radar_index].filtercfg_min_vxoncome.data / 0.0315); - max_value = static_cast(radar_filter_configs_[radar_index].filtercfg_max_vxoncome.data / 0.0315); + min_value = static_cast( + radar_filter_configs_[radar_index].filtercfg_min_vxoncome.data / 0.0315); + max_value = static_cast( + radar_filter_configs_[radar_index].filtercfg_max_vxoncome.data / 0.0315); break; case FilterType::VYLEFTRIGHT: - min_value = static_cast(radar_filter_configs_[radar_index].filtercfg_min_vyleftright.data / 0.0315); - max_value = static_cast(radar_filter_configs_[radar_index].filtercfg_max_vyleftright.data / 0.0315); + min_value = static_cast( + radar_filter_configs_[radar_index].filtercfg_min_vyleftright.data / 0.0315); + max_value = static_cast( + radar_filter_configs_[radar_index].filtercfg_max_vyleftright.data / 0.0315); break; case FilterType::VXDEPART: - min_value = static_cast(radar_filter_configs_[radar_index].filtercfg_min_vxdepart.data / 0.0315); - max_value = static_cast(radar_filter_configs_[radar_index].filtercfg_max_vxdepart.data / 0.0315); + min_value = static_cast( + radar_filter_configs_[radar_index].filtercfg_min_vxdepart.data / 0.0315); + max_value = static_cast( + radar_filter_configs_[radar_index].filtercfg_max_vxdepart.data / 0.0315); break; default: break; - } - setFilter(radar_index, active, valid, type, filter_index, min_value, max_value); - // need to sleep in order to read properly and not spam the can bus - std::this_thread::sleep_for(std::chrono::milliseconds(50)); } - // initialized and publish once - filter_config_initialized_list_[radar_index] = true; - filter_config_publishers_[radar_index]->publish(radar_filter_configs_[radar_index]); + setFilter(radar_index, active, valid, type, filter_index, min_value, max_value); + // need to sleep in order to read properly and not spam the can bus + std::this_thread::sleep_for(std::chrono::milliseconds(50)); } + // initialized and publish once + filter_config_initialized_list_[radar_index] = true; + filter_config_publishers_[radar_index]->publish(radar_filter_configs_[radar_index]); } +} - void radar_conti_ars408::can_receive_callback(const can_msgs::msg::Frame::SharedPtr frame) - { - int sensor_id = Get_SensorID_From_MsgID(frame->id); +void radar_conti_ars408::can_receive_callback(const can_msgs::msg::Frame::SharedPtr frame) { + int sensor_id = Get_SensorID_From_MsgID(frame->id); - // If the sensor_id is greater than the size of the number of object lists, break - if (sensor_id > object_list_list_.size() - 1) - { - return; - } - - // When a filter configuration message is sent, the sensor replies with the messages - // FilterState_Header (0x203) with the number of configured filters and one message FilterState_Cfg - // (0x204) for the filter that has been changed. - if (Get_MsgID0_From_MsgID(frame->id) == ID_FilterState_Cfg) - { - updateFilterConfig(frame, sensor_id); - } - - if (Get_MsgID0_From_MsgID(frame->id) == ID_RadarState) - { - operation_mode_ = CALC_RadarState_RadarState_OutputTypeCfg(GET_RadarState_RadarState_OutputTypeCfg(frame->data), 1.0); - } - - // no output - if (operation_mode_ == RadarState_RadarState_OutputTypeCfg_None) - { - return; - } - - // object list - if (operation_mode_ == RadarState_RadarState_OutputTypeCfg_SendObjects) - { - handle_object_list(frame); - } + // If the sensor_id is greater than the size of the number of object lists, break + if (sensor_id > object_list_list_.size() - 1) { + return; } - void radar_conti_ars408::handle_object_list(const can_msgs::msg::Frame::SharedPtr frame) - { - - int sensor_id = Get_SensorID_From_MsgID(frame->id); - - - if (Get_MsgID0_From_MsgID(frame->id) == ID_Obj_0_Status) - { - publish_object_map(sensor_id); - object_list_list_[sensor_id].header.stamp = rclcpp_lifecycle::LifecycleNode::now(); - object_map_list_[sensor_id].clear(); - } - - // Object General Information - // for each Obj_1_General message a new object has to be created in the map - if (Get_MsgID0_From_MsgID(frame->id) == ID_Obj_1_General) - { + // When a filter configuration message is sent, the sensor replies with the messages + // FilterState_Header (0x203) with the number of configured filters and one message + // FilterState_Cfg (0x204) for the filter that has been changed. + if (Get_MsgID0_From_MsgID(frame->id) == ID_FilterState_Cfg) { + updateFilterConfig(frame, sensor_id); + } - radar_msgs::msg::RadarDetection o; + if (Get_MsgID0_From_MsgID(frame->id) == ID_RadarState) { + operation_mode_ = CALC_RadarState_RadarState_OutputTypeCfg( + GET_RadarState_RadarState_OutputTypeCfg(frame->data), 1.0); + } - // object ID - int id = GET_Obj_1_General_Obj_ID(frame->data); - o.obj_id = GET_Obj_1_General_Obj_ID(frame->data); - o.sensor_id = Get_SensorID_From_MsgID(frame->id); + // no output + if (operation_mode_ == RadarState_RadarState_OutputTypeCfg_None) { + return; + } - // longitudinal distance - o.pos_x = - CALC_Obj_1_General_Obj_DistLong(GET_Obj_1_General_Obj_DistLong(frame->data), 1.0); + // object list + if (operation_mode_ == RadarState_RadarState_OutputTypeCfg_SendObjects) { + handle_object_list(frame); + } +} - // lateral distance - o.pos_y = - CALC_Obj_1_General_Obj_DistLat(GET_Obj_1_General_Obj_DistLat(frame->data), 1.0); +void radar_conti_ars408::handle_object_list(const can_msgs::msg::Frame::SharedPtr frame) { + int sensor_id = Get_SensorID_From_MsgID(frame->id); - // relative longitudinal velocity - double long_vel = - CALC_Obj_1_General_Obj_VrelLong(GET_Obj_1_General_Obj_VrelLong(frame->data), 1.0); + if (Get_MsgID0_From_MsgID(frame->id) == ID_Obj_0_Status) { + publish_object_map(sensor_id); + object_list_list_[sensor_id].header.stamp = rclcpp_lifecycle::LifecycleNode::now(); + object_map_list_[sensor_id].clear(); + } - // relative lateral velocity - double lat_vel = - CALC_Obj_1_General_Obj_VrelLat(GET_Obj_1_General_Obj_VrelLat(frame->data), 1.0); + // Object General Information + // for each Obj_1_General message a new object has to be created in the map + if (Get_MsgID0_From_MsgID(frame->id) == ID_Obj_1_General) { + radar_msgs::msg::RadarDetection o; - // radial velocity - double angle_det = atan2(o.pos_y, o.pos_x); - double radial_vel = long_vel * cos(angle_det) + lat_vel * sin(angle_det); - o.vrel_rad = radial_vel; + // object ID + int id = GET_Obj_1_General_Obj_ID(frame->data); + o.obj_id = GET_Obj_1_General_Obj_ID(frame->data); + o.sensor_id = Get_SensorID_From_MsgID(frame->id); - o.rcs0 = - CALC_Obj_1_General_Obj_RCS(GET_Obj_1_General_Obj_RCS(frame->data), 1.0); + // longitudinal distance + o.pos_x = CALC_Obj_1_General_Obj_DistLong(GET_Obj_1_General_Obj_DistLong(frame->data), 1.0); - // insert object into map - object_map_list_[sensor_id].insert(std::pair(id, o)); - } + // lateral distance + o.pos_y = CALC_Obj_1_General_Obj_DistLat(GET_Obj_1_General_Obj_DistLat(frame->data), 1.0); - // Object Quality Information - // for each Obj_2_Quality message the existing object in the map has to be updated - if (Get_MsgID0_From_MsgID(frame->id) == ID_Obj_2_Quality) - { - } + // relative longitudinal velocity + double long_vel = + CALC_Obj_1_General_Obj_VrelLong(GET_Obj_1_General_Obj_VrelLong(frame->data), 1.0); - // Object Extended Information - // for each Obj_3_ExtInfo message the existing object in the map has to be updated - if (Get_MsgID0_From_MsgID(frame->id) == ID_Obj_3_Extended) - { - }; - } + // relative lateral velocity + double lat_vel = + CALC_Obj_1_General_Obj_VrelLat(GET_Obj_1_General_Obj_VrelLat(frame->data), 1.0); - void radar_conti_ars408::publish_object_map(int sensor_id) - { - radar_msgs::msg::RadarPacket packet; - packet.header.stamp = rclcpp_lifecycle::LifecycleNode::now(); - packet.header.frame_id = radar_link_names_[sensor_id]; + // radial velocity + double angle_det = atan2(o.pos_y, o.pos_x); + double radial_vel = long_vel * cos(angle_det) + lat_vel * sin(angle_det); + o.vrel_rad = radial_vel; - std::map::iterator itr; + o.rcs0 = CALC_Obj_1_General_Obj_RCS(GET_Obj_1_General_Obj_RCS(frame->data), 1.0); - for (itr = object_map_list_[sensor_id].begin(); itr != object_map_list_[sensor_id].end(); ++itr) - { - packet.detections.emplace_back(itr->second); - } - radar_packet_publisher_->publish(packet); + // insert object into map + object_map_list_[sensor_id].insert(std::pair(id, o)); } - void radar_conti_ars408::setFilterService( - const std::shared_ptr request, - std::shared_ptr response) - { - auto req = *request; - std::this_thread::sleep_for(std::chrono::milliseconds(1)); - if (!setFilter(req.sensor_id, - FilterCfg_FilterCfg_Active_active, - FilterCfg_FilterCfg_Valid_valid, - req.type, req.index, req.min_value, req.max_value)) - { - response->success = false; - return; - } - response->success = true; + // Object Quality Information + // for each Obj_2_Quality message the existing object in the map has to be updated + if (Get_MsgID0_From_MsgID(frame->id) == ID_Obj_2_Quality) { } - bool radar_conti_ars408::setFilter(const int &sensor_id, const int &active, const int &valid, const int &type, const int &index, const int &min_value, const int &max_value) - { + // Object Extended Information + // for each Obj_3_ExtInfo message the existing object in the map has to be updated + if (Get_MsgID0_From_MsgID(frame->id) == ID_Obj_3_Extended) { + }; +} - uint32_t msg_id = ID_FilterCfg; - Set_SensorID_In_MsgID(msg_id, sensor_id); +void radar_conti_ars408::publish_object_map(int sensor_id) { + radar_msgs::msg::RadarPacket packet; + packet.header.stamp = rclcpp_lifecycle::LifecycleNode::now(); + packet.header.frame_id = radar_link_names_[sensor_id]; - std::array data; - SET_FilterCfg_FilterCfg_Active(data, active); - SET_FilterCfg_FilterCfg_Valid(data, valid); - SET_FilterCfg_FilterCfg_Type(data, type); - SET_FilterCfg_FilterCfg_Index(data, index); + std::map::iterator itr; - switch (filterTypes[index]) - { + for (itr = object_map_list_[sensor_id].begin(); itr != object_map_list_[sensor_id].end(); ++itr) { + packet.detections.emplace_back(itr->second); + } + radar_packet_publisher_->publish(packet); +} + +void radar_conti_ars408::setFilterService( + const std::shared_ptr request, + std::shared_ptr response) { + auto req = *request; + std::this_thread::sleep_for(std::chrono::milliseconds(1)); + if (!setFilter(req.sensor_id, FilterCfg_FilterCfg_Active_active, FilterCfg_FilterCfg_Valid_valid, + req.type, req.index, req.min_value, req.max_value)) { + response->success = false; + return; + } + response->success = true; +} + +bool radar_conti_ars408::setFilter(const int &sensor_id, const int &active, const int &valid, + const int &type, const int &index, const int &min_value, + const int &max_value) { + uint32_t msg_id = ID_FilterCfg; + Set_SensorID_In_MsgID(msg_id, sensor_id); + + std::array data; + SET_FilterCfg_FilterCfg_Active(data, active); + SET_FilterCfg_FilterCfg_Valid(data, valid); + SET_FilterCfg_FilterCfg_Type(data, type); + SET_FilterCfg_FilterCfg_Index(data, index); + + switch (filterTypes[index]) { case FilterType::NOFOBJ: RCLCPP_DEBUG(this->get_logger(), "Setting Number Of Objects Filter"); SET_FilterCfg_FilterCfg_Max_NofObj(data, max_value); @@ -553,132 +586,162 @@ namespace watonomous default: RCLCPP_ERROR(this->get_logger(), "Unknown Filter Index"); return false; - } + } - RCLCPP_DEBUG(this->get_logger(), "valid: %i", valid); - RCLCPP_DEBUG(this->get_logger(), "active: %i", active); - RCLCPP_DEBUG(this->get_logger(), "min_value is: %i", min_value); - RCLCPP_DEBUG(this->get_logger(), "max_value is: %i", max_value); + RCLCPP_DEBUG(this->get_logger(), "valid: %i", valid); + RCLCPP_DEBUG(this->get_logger(), "active: %i", active); + RCLCPP_DEBUG(this->get_logger(), "min_value is: %i", min_value); + RCLCPP_DEBUG(this->get_logger(), "max_value is: %i", max_value); - can_msgs::msg::Frame frame; - frame.data = data; - can_frame_publisher_->publish(frame); + can_msgs::msg::Frame frame; + frame.data = data; + can_frame_publisher_->publish(frame); - return true; - } + return true; +} - void radar_conti_ars408::updateFilterConfig(const can_msgs::msg::Frame::SharedPtr frame, const int &sensor_id) - { - radar_filter_configs_[sensor_id].header.stamp = rclcpp_lifecycle::LifecycleNode::now(); - radar_filter_configs_[sensor_id].header.frame_id = radar_link_names_[sensor_id]; +void radar_conti_ars408::updateFilterConfig(const can_msgs::msg::Frame::SharedPtr frame, + const int &sensor_id) { + radar_filter_configs_[sensor_id].header.stamp = rclcpp_lifecycle::LifecycleNode::now(); + radar_filter_configs_[sensor_id].header.frame_id = radar_link_names_[sensor_id]; - radar_filter_configs_[sensor_id].filtercfg_type.data = CALC_FilterState_Cfg_FilterState_Type(GET_FilterState_Cfg_FilterState_Type(frame->data), 1.0); - int index = CALC_FilterState_Cfg_FilterState_Index(GET_FilterState_Cfg_FilterState_Index(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_type.data = + CALC_FilterState_Cfg_FilterState_Type(GET_FilterState_Cfg_FilterState_Type(frame->data), 1.0); + int index = CALC_FilterState_Cfg_FilterState_Index( + GET_FilterState_Cfg_FilterState_Index(frame->data), 1.0); - switch (filterTypes[index]) - { + switch (filterTypes[index]) { case FilterType::NOFOBJ: - radar_filter_configs_[sensor_id].filtercfg_min_nofobj.data = CALC_FilterState_Cfg_FilterState_Min_NofObj( - GET_FilterState_Cfg_FilterState_Min_NofObj(frame->data), 1.0); - radar_filter_configs_[sensor_id].filtercfg_max_nofobj.data = CALC_FilterState_Cfg_FilterState_Max_NofObj( - GET_FilterState_Cfg_FilterState_Max_NofObj(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_min_nofobj.data = + CALC_FilterState_Cfg_FilterState_Min_NofObj( + GET_FilterState_Cfg_FilterState_Min_NofObj(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_max_nofobj.data = + CALC_FilterState_Cfg_FilterState_Max_NofObj( + GET_FilterState_Cfg_FilterState_Max_NofObj(frame->data), 1.0); break; case FilterType::DISTANCE: - radar_filter_configs_[sensor_id].filtercfg_min_distance.data = CALC_FilterState_Cfg_FilterState_Min_Distance( - GET_FilterState_Cfg_FilterState_Min_Distance(frame->data), 1.0); - radar_filter_configs_[sensor_id].filtercfg_max_distance.data = CALC_FilterState_Cfg_FilterState_Max_Distance( - GET_FilterState_Cfg_FilterState_Max_Distance(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_min_distance.data = + CALC_FilterState_Cfg_FilterState_Min_Distance( + GET_FilterState_Cfg_FilterState_Min_Distance(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_max_distance.data = + CALC_FilterState_Cfg_FilterState_Max_Distance( + GET_FilterState_Cfg_FilterState_Max_Distance(frame->data), 1.0); break; case FilterType::AZIMUTH: - radar_filter_configs_[sensor_id].filtercfg_min_azimuth.data = CALC_FilterState_Cfg_FilterState_Min_Azimuth( - GET_FilterState_Cfg_FilterState_Min_Azimuth(frame->data), 1.0); - radar_filter_configs_[sensor_id].filtercfg_max_azimuth.data = CALC_FilterState_Cfg_FilterState_Max_Azimuth( - GET_FilterState_Cfg_FilterState_Max_Azimuth(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_min_azimuth.data = + CALC_FilterState_Cfg_FilterState_Min_Azimuth( + GET_FilterState_Cfg_FilterState_Min_Azimuth(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_max_azimuth.data = + CALC_FilterState_Cfg_FilterState_Max_Azimuth( + GET_FilterState_Cfg_FilterState_Max_Azimuth(frame->data), 1.0); break; case FilterType::VRELONCOME: - radar_filter_configs_[sensor_id].filtercfg_min_vreloncome.data = CALC_FilterState_Cfg_FilterState_Min_VrelOncome( - GET_FilterState_Cfg_FilterState_Min_VrelOncome(frame->data), 1.0); - radar_filter_configs_[sensor_id].filtercfg_max_vreloncome.data = CALC_FilterState_Cfg_FilterState_Max_VrelOncome( - GET_FilterState_Cfg_FilterState_Max_VrelOncome(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_min_vreloncome.data = + CALC_FilterState_Cfg_FilterState_Min_VrelOncome( + GET_FilterState_Cfg_FilterState_Min_VrelOncome(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_max_vreloncome.data = + CALC_FilterState_Cfg_FilterState_Max_VrelOncome( + GET_FilterState_Cfg_FilterState_Max_VrelOncome(frame->data), 1.0); break; case FilterType::VRELDEPART: - radar_filter_configs_[sensor_id].filtercfg_min_vreldepart.data = CALC_FilterState_Cfg_FilterState_Min_VrelDepart( - GET_FilterState_Cfg_FilterState_Min_VrelDepart(frame->data), 1.0); - radar_filter_configs_[sensor_id].filtercfg_max_vreldepart.data = CALC_FilterState_Cfg_FilterState_Max_VrelDepart( - GET_FilterState_Cfg_FilterState_Max_VrelDepart(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_min_vreldepart.data = + CALC_FilterState_Cfg_FilterState_Min_VrelDepart( + GET_FilterState_Cfg_FilterState_Min_VrelDepart(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_max_vreldepart.data = + CALC_FilterState_Cfg_FilterState_Max_VrelDepart( + GET_FilterState_Cfg_FilterState_Max_VrelDepart(frame->data), 1.0); break; case FilterType::RCS: - radar_filter_configs_[sensor_id].filtercfg_min_rcs.data = CALC_FilterState_Cfg_FilterState_Min_RCS( - GET_FilterState_Cfg_FilterState_Min_RCS(frame->data), 1.0); - radar_filter_configs_[sensor_id].filtercfg_max_rcs.data = CALC_FilterState_Cfg_FilterState_Max_RCS( - GET_FilterState_Cfg_FilterState_Max_RCS(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_min_rcs.data = + CALC_FilterState_Cfg_FilterState_Min_RCS( + GET_FilterState_Cfg_FilterState_Min_RCS(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_max_rcs.data = + CALC_FilterState_Cfg_FilterState_Max_RCS( + GET_FilterState_Cfg_FilterState_Max_RCS(frame->data), 1.0); break; case FilterType::LIFETIME: - radar_filter_configs_[sensor_id].filtercfg_min_lifetime.data = CALC_FilterState_Cfg_FilterState_Min_Lifetime( - GET_FilterState_Cfg_FilterState_Min_Lifetime(frame->data), 1.0); - radar_filter_configs_[sensor_id].filtercfg_max_lifetime.data = CALC_FilterState_Cfg_FilterState_Max_Lifetime( - GET_FilterState_Cfg_FilterState_Max_Lifetime(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_min_lifetime.data = + CALC_FilterState_Cfg_FilterState_Min_Lifetime( + GET_FilterState_Cfg_FilterState_Min_Lifetime(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_max_lifetime.data = + CALC_FilterState_Cfg_FilterState_Max_Lifetime( + GET_FilterState_Cfg_FilterState_Max_Lifetime(frame->data), 1.0); break; case FilterType::SIZE: - radar_filter_configs_[sensor_id].filtercfg_min_size.data = CALC_FilterState_Cfg_FilterState_Min_Size( - GET_FilterState_Cfg_FilterState_Min_Size(frame->data), 1.0); - radar_filter_configs_[sensor_id].filtercfg_max_size.data = CALC_FilterState_Cfg_FilterState_Max_Size( - GET_FilterState_Cfg_FilterState_Max_Size(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_min_size.data = + CALC_FilterState_Cfg_FilterState_Min_Size( + GET_FilterState_Cfg_FilterState_Min_Size(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_max_size.data = + CALC_FilterState_Cfg_FilterState_Max_Size( + GET_FilterState_Cfg_FilterState_Max_Size(frame->data), 1.0); break; case FilterType::PROBEXISTS: - radar_filter_configs_[sensor_id].filtercfg_min_probexists.data = CALC_FilterState_Cfg_FilterState_Min_ProbExists( - GET_FilterState_Cfg_FilterState_Min_ProbExists(frame->data), 1.0); - radar_filter_configs_[sensor_id].filtercfg_max_probexists.data = CALC_FilterState_Cfg_FilterState_Max_ProbExists( - GET_FilterState_Cfg_FilterState_Max_ProbExists(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_min_probexists.data = + CALC_FilterState_Cfg_FilterState_Min_ProbExists( + GET_FilterState_Cfg_FilterState_Min_ProbExists(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_max_probexists.data = + CALC_FilterState_Cfg_FilterState_Max_ProbExists( + GET_FilterState_Cfg_FilterState_Max_ProbExists(frame->data), 1.0); break; case FilterType::Y: - radar_filter_configs_[sensor_id].filtercfg_min_y.data = CALC_FilterState_Cfg_FilterState_Min_Y( - GET_FilterState_Cfg_FilterState_Min_Y(frame->data), 1.0); - radar_filter_configs_[sensor_id].filtercfg_max_y.data = CALC_FilterState_Cfg_FilterState_Max_Y( - GET_FilterState_Cfg_FilterState_Max_Y(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_min_y.data = + CALC_FilterState_Cfg_FilterState_Min_Y(GET_FilterState_Cfg_FilterState_Min_Y(frame->data), + 1.0); + radar_filter_configs_[sensor_id].filtercfg_max_y.data = + CALC_FilterState_Cfg_FilterState_Max_Y(GET_FilterState_Cfg_FilterState_Max_Y(frame->data), + 1.0); break; case FilterType::X: - radar_filter_configs_[sensor_id].filtercfg_min_x.data = CALC_FilterState_Cfg_FilterState_Min_X( - GET_FilterState_Cfg_FilterState_Min_X(frame->data), 1.0); - radar_filter_configs_[sensor_id].filtercfg_max_x.data = CALC_FilterState_Cfg_FilterState_Max_X( - GET_FilterState_Cfg_FilterState_Max_X(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_min_x.data = + CALC_FilterState_Cfg_FilterState_Min_X(GET_FilterState_Cfg_FilterState_Min_X(frame->data), + 1.0); + radar_filter_configs_[sensor_id].filtercfg_max_x.data = + CALC_FilterState_Cfg_FilterState_Max_X(GET_FilterState_Cfg_FilterState_Max_X(frame->data), + 1.0); break; case FilterType::VYRIGHTLEFT: - radar_filter_configs_[sensor_id].filtercfg_min_vyrightleft.data = CALC_FilterState_Cfg_FilterState_Min_VYRightLeft( - GET_FilterState_Cfg_FilterState_Min_VYRightLeft(frame->data), 1.0); - radar_filter_configs_[sensor_id].filtercfg_max_vyrightleft.data = CALC_FilterState_Cfg_FilterState_Max_VYRightLeft( - GET_FilterState_Cfg_FilterState_Max_VYRightLeft(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_min_vyrightleft.data = + CALC_FilterState_Cfg_FilterState_Min_VYRightLeft( + GET_FilterState_Cfg_FilterState_Min_VYRightLeft(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_max_vyrightleft.data = + CALC_FilterState_Cfg_FilterState_Max_VYRightLeft( + GET_FilterState_Cfg_FilterState_Max_VYRightLeft(frame->data), 1.0); break; case FilterType::VXONCOME: - radar_filter_configs_[sensor_id].filtercfg_min_vxoncome.data = CALC_FilterState_Cfg_FilterState_Min_VXOncome( - GET_FilterState_Cfg_FilterState_Min_VXOncome(frame->data), 1.0); - radar_filter_configs_[sensor_id].filtercfg_max_vxoncome.data = CALC_FilterState_Cfg_FilterState_Max_VXOncome( - GET_FilterState_Cfg_FilterState_Max_VXOncome(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_min_vxoncome.data = + CALC_FilterState_Cfg_FilterState_Min_VXOncome( + GET_FilterState_Cfg_FilterState_Min_VXOncome(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_max_vxoncome.data = + CALC_FilterState_Cfg_FilterState_Max_VXOncome( + GET_FilterState_Cfg_FilterState_Max_VXOncome(frame->data), 1.0); break; case FilterType::VYLEFTRIGHT: - radar_filter_configs_[sensor_id].filtercfg_min_vyleftright.data = CALC_FilterState_Cfg_FilterState_Min_VYLeftRight( - GET_FilterState_Cfg_FilterState_Min_VYLeftRight(frame->data), 1.0); - radar_filter_configs_[sensor_id].filtercfg_max_vyleftright.data = CALC_FilterState_Cfg_FilterState_Max_VYLeftRight( - GET_FilterState_Cfg_FilterState_Max_VYLeftRight(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_min_vyleftright.data = + CALC_FilterState_Cfg_FilterState_Min_VYLeftRight( + GET_FilterState_Cfg_FilterState_Min_VYLeftRight(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_max_vyleftright.data = + CALC_FilterState_Cfg_FilterState_Max_VYLeftRight( + GET_FilterState_Cfg_FilterState_Max_VYLeftRight(frame->data), 1.0); break; case FilterType::VXDEPART: - radar_filter_configs_[sensor_id].filtercfg_min_vxdepart.data = CALC_FilterState_Cfg_FilterState_Min_VXDepart( - GET_FilterState_Cfg_FilterState_Min_VXDepart(frame->data), 1.0); - radar_filter_configs_[sensor_id].filtercfg_max_vxdepart.data = CALC_FilterState_Cfg_FilterState_Max_VXDepart( - GET_FilterState_Cfg_FilterState_Max_VXDepart(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_min_vxdepart.data = + CALC_FilterState_Cfg_FilterState_Min_VXDepart( + GET_FilterState_Cfg_FilterState_Min_VXDepart(frame->data), 1.0); + radar_filter_configs_[sensor_id].filtercfg_max_vxdepart.data = + CALC_FilterState_Cfg_FilterState_Max_VXDepart( + GET_FilterState_Cfg_FilterState_Max_VXDepart(frame->data), 1.0); break; default: break; - } - // only publish once we have initialized values in the filter config by sending invalid values for a response - if (filter_config_initialized_list_[sensor_id]) - { - filter_config_publishers_[sensor_id]->publish(radar_filter_configs_[sensor_id]); - } } - + // only publish once we have initialized values in the filter config by sending invalid values for + // a response + if (filter_config_initialized_list_[sensor_id]) { + filter_config_publishers_[sensor_id]->publish(radar_filter_configs_[sensor_id]); + } +} -} // end namespace +} // namespace watonomous #include "rclcpp_components/register_node_macro.hpp" RCLCPP_COMPONENTS_REGISTER_NODE(watonomous::radar_conti_ars408) diff --git a/src/interfacing/sensor_interfacing/radar_conti_ars408/src/radar_conti_ars_408_composition.cpp b/src/interfacing/sensor_interfacing/radar_conti_ars408/src/radar_conti_ars_408_composition.cpp index 02a1823e..d904dd0a 100644 --- a/src/interfacing/sensor_interfacing/radar_conti_ars408/src/radar_conti_ars_408_composition.cpp +++ b/src/interfacing/sensor_interfacing/radar_conti_ars408/src/radar_conti_ars_408_composition.cpp @@ -3,19 +3,18 @@ #include "../include/radar_conti_ars_408_component.hpp" #include "rclcpp/rclcpp.hpp" -int main(int argc, char * argv[]) -{ - rclcpp::init(argc, argv); +int main(int argc, char* argv[]) { + rclcpp::init(argc, argv); - // Create an executor that will be responsible for execution of callbacks for a set of nodes. - // With this version, all callbacks will be called from within this thread (the main one). - rclcpp::executors::SingleThreadedExecutor exec; + // Create an executor that will be responsible for execution of callbacks for a set of nodes. + // With this version, all callbacks will be called from within this thread (the main one). + rclcpp::executors::SingleThreadedExecutor exec; - rclcpp::NodeOptions options; - auto radar_conti_ars408_node = std::make_shared(options); - - exec.add_node(radar_conti_ars408_node->get_node_base_interface()); - exec.spin(); + rclcpp::NodeOptions options; + auto radar_conti_ars408_node = std::make_shared(options); - rclcpp::shutdown(); + exec.add_node(radar_conti_ars408_node->get_node_base_interface()); + exec.spin(); + + rclcpp::shutdown(); }