|
iLLD_TC29x
1.0
|
|
Macros | |
| #define | __saturate(X, Min, Max) ( __minf(__maxf(X, Min), Max) ) |
| #define | __sqrf(X) ((X) * (X)) |
| #define | __sqrtf(X) sqrtf(X) |
| #define | __checkrange(X, Min, Max) (((X) >= (Min)) && ((X) <= (Max))) |
| #define | __roundf(X) ((((X) - (sint32)(X)) > 0.5) ? (1 + (sint32)(X)) : ((sint32)(X))) |
| #define | __absf(X) ( ((X) < 0.0) ? -(X) : (X) ) |
| #define | __minf(X, Y) ( ((X) < (Y)) ? (X) : (Y) ) |
| #define | __maxf(X, Y) ( ((X) > (Y)) ? (X) : (Y) ) |
| #define | __saturatef(X, Min, Max) ( __minf(__maxf(X, Min), Max) ) |
| #define | __checkrangef(X, Min, Max) (((X) >= (Min)) && ((X) <= (Max))) |
| #define | __abs_stdreal(X) ( ((X) > 0.0) ? (X) : -(X) ) |
| #define | __min_stdreal(X, Y) ( ((X) < (Y)) ? (X) : (Y) ) |
| #define | __max_stdreal(X, Y) ( ((X) > (Y)) ? (X) : (Y) ) |
| #define | __saturate_stdreal(X, Min, Max) ( __min_stdreal(__max_stdreal(X, Min), Max) ) |
| #define | __neqf(X, Y) ( ((X) > (Y)) || ((X) < (Y)) ) |
| #define | __leqf(X, Y) ( !((X) > (Y)) ) |
| #define | __geqf(X, Y) ( !((X) < (Y)) ) |
| #define __abs_stdreal | ( | X) | ( ((X) > 0.0) ? (X) : -(X) ) |
Definition at line 112 of file IfxCpu_IntrinsicsDcc.h.
| #define __absf | ( | X) | ( ((X) < 0.0) ? -(X) : (X) ) |
Definition at line 106 of file IfxCpu_IntrinsicsDcc.h.
Referenced by IfxAsclin_setBitTiming(), IfxMultican_Can_initModule(), IfxMultican_Node_setBitTiming(), IfxQspi_calculateExtendedConfigurationValue(), and IfxQspi_calculatePrescaler().
| #define __checkrange | ( | X, | |
| Min, | |||
| Max | |||
| ) | (((X) >= (Min)) && ((X) <= (Max))) |
Definition at line 103 of file IfxCpu_IntrinsicsDcc.h.
| #define __checkrangef | ( | X, | |
| Min, | |||
| Max | |||
| ) | (((X) >= (Min)) && ((X) <= (Max))) |
Definition at line 110 of file IfxCpu_IntrinsicsDcc.h.
| #define __geqf | ( | X, | |
| Y | |||
| ) | ( !((X) < (Y)) ) |
X >= Y
Definition at line 119 of file IfxCpu_IntrinsicsDcc.h.
| #define __leqf | ( | X, | |
| Y | |||
| ) | ( !((X) > (Y)) ) |
X <= Y
Definition at line 118 of file IfxCpu_IntrinsicsDcc.h.
Referenced by IfxQspi_calculateExtendedConfigurationValue(), and IfxQspi_calculatePrescaler().
| #define __max_stdreal | ( | X, | |
| Y | |||
| ) | ( ((X) > (Y)) ? (X) : (Y) ) |
Definition at line 114 of file IfxCpu_IntrinsicsDcc.h.
| #define __maxf | ( | X, | |
| Y | |||
| ) | ( ((X) > (Y)) ? (X) : (Y) ) |
Definition at line 108 of file IfxCpu_IntrinsicsDcc.h.
Referenced by IfxMultican_Can_initModule().
| #define __min_stdreal | ( | X, | |
| Y | |||
| ) | ( ((X) < (Y)) ? (X) : (Y) ) |
Definition at line 113 of file IfxCpu_IntrinsicsDcc.h.
| #define __minf | ( | X, | |
| Y | |||
| ) | ( ((X) < (Y)) ? (X) : (Y) ) |
Definition at line 107 of file IfxCpu_IntrinsicsDcc.h.
Referenced by IfxMultican_Can_initModule().
| #define __neqf | ( | X, | |
| Y | |||
| ) | ( ((X) > (Y)) || ((X) < (Y)) ) |
X != Y
Definition at line 117 of file IfxCpu_IntrinsicsDcc.h.
Referenced by IfxQspi_calculateExtendedConfigurationValue().
Definition at line 105 of file IfxCpu_IntrinsicsDcc.h.
Referenced by IfxCif_Cam_calcMem(), IfxQspi_calculateTimeQuantumLength(), IfxScuCcu_setGtmFrequency(), and IfxScuCcu_setSriFrequency().
Definition at line 99 of file IfxCpu_IntrinsicsDcc.h.
| #define __saturate_stdreal | ( | X, | |
| Min, | |||
| Max | |||
| ) | ( __min_stdreal(__max_stdreal(X, Min), Max) ) |
Definition at line 115 of file IfxCpu_IntrinsicsDcc.h.
Definition at line 109 of file IfxCpu_IntrinsicsDcc.h.
| #define __sqrf | ( | X) | ((X) * (X)) |
Definition at line 101 of file IfxCpu_IntrinsicsDcc.h.
| #define __sqrtf | ( | X) | sqrtf(X) |
Definition at line 102 of file IfxCpu_IntrinsicsDcc.h.