iLLD_TC29x  1.0
Assertion
Collaboration diagram for Assertion:

Files

file  Ifx_Assert.h
 Assert functions.
 

Macros

#define IFX_VERBOSE_LEVEL_OFF   (0)
 Assertion level off, assertion is disabled. More...
 
#define IFX_VERBOSE_LEVEL_FAILURE   (1)
 Assertion level failure, a debug instruction is inserted if enabled. More...
 
#define IFX_VERBOSE_LEVEL_ERROR   (2)
 Assertion level error, a debug instruction is inserted if enabled. More...
 
#define IFX_VERBOSE_LEVEL_WARNING   (3)
 Assertion level warning. More...
 
#define IFX_VERBOSE_LEVEL_INFO   (4)
 Assertion level info. More...
 
#define IFX_VERBOSE_LEVEL_DEBUG   (5)
 Assertion level debug. More...
 
#define IFX_ASSERT_FEATURE_NOT_IMPLEMENTED   (FALSE)
 Constant to be used to indicate not implemented feature. More...
 
#define IFX_ASSERT_FEATURE_NOT_AVAILABLE   (FALSE)
 Feature is not available on the selected hardware. More...
 
#define IFX_ASSERT(level, expr)   ((void)0)
 
#define IFX_VALIDATE(level, expr)   (expr)
 

Detailed Description

This module implements assertion functions.

Macro Definition Documentation

#define IFX_ASSERT (   level,
  expr 
)    ((void)0)

Definition at line 52 of file Ifx_Assert.h.

Referenced by Ifx_Console_print(), Ifx_Console_printAlign(), Ifx_Fifo_canReadCount(), Ifx_Fifo_canWriteCount(), Ifx_Fifo_init(), Ifx_Fifo_read(), Ifx_Fifo_write(), Ifx_Shell_cmdEscapeProcess(), Ifx_Shell_process(), IfxAsclin_Asc_initModule(), IfxCcu6_Icu_initChannel(), IfxCcu6_PwmBc_initModule(), IfxCcu6_PwmHl_init(), IfxCcu6_setT12InputSignal(), IfxCcu6_setT13InputSignal(), IfxCcu6_Timer_initModule(), IfxCcu6_TimerWithTrigger_init(), IfxCcu6_TPwm_initModule(), IfxCpu_setSafetyTaskIdentifier(), IfxEth_init(), IfxFft_Fft_initDma(), IfxFft_Fft_initJob(), IfxFft_Fft_initModule(), IfxFft_Fft_initWindow(), IfxFft_Fft_isrOutput(), IfxFlash_selectCorrectableErrorTracking(), IfxFlash_selectUncorrectableErrorTracking(), IfxGpt12_T2_setEudInput(), IfxGpt12_T2_setInput(), IfxGpt12_T3_setCounterInputMode(), IfxGpt12_T3_setMode(), IfxGpt12_T5_setEudInput(), IfxGpt12_T5_setInput(), IfxGpt12_T5_setMode(), IfxGpt12_T6_setCounterInputMode(), IfxGpt12_T6_setEudInput(), IfxGpt12_T6_setInput(), IfxGpt12_T6_setMode(), IfxGtm_Atom_PwmHl_init(), IfxGtm_Atom_Timer_init(), IfxGtm_Atom_Timer_setPeriod(), IfxGtm_Atom_Timer_setTrigger(), IfxGtm_Tom_PwmHl_init(), IfxGtm_Tom_Timer_init(), IfxGtm_Tom_Timer_setPeriod(), IfxGtm_Tom_Timer_setTrigger(), IfxGtm_Trig_toVadc(), IfxMtu_clearSram(), IfxMtu_clearSramStart(), IfxMtu_runCheckerBoardTest(), IfxMtu_runMarchUTest(), IfxMtu_runNonDestructiveInversionTest(), IfxMtu_writeSramAddress(), IfxQspi_SpiMaster_packLongModeBuffer(), IfxStdIf_DPipe_print(), and IfxVadc_Adc_initModule().

#define IFX_ASSERT_FEATURE_NOT_AVAILABLE   (FALSE)

Feature is not available on the selected hardware.

Definition at line 49 of file Ifx_Assert.h.

#define IFX_ASSERT_FEATURE_NOT_IMPLEMENTED   (FALSE)

Constant to be used to indicate not implemented feature.

Definition at line 47 of file Ifx_Assert.h.

Referenced by IfxQspi_SpiMaster_packLongModeBuffer().

#define IFX_VALIDATE (   level,
  expr 
)    (expr)

Definition at line 56 of file Ifx_Assert.h.

Referenced by Ifx_Fifo_create().

#define IFX_VERBOSE_LEVEL_DEBUG   (5)

Assertion level debug.

Definition at line 44 of file Ifx_Assert.h.

#define IFX_VERBOSE_LEVEL_ERROR   (2)

Assertion level error, a debug instruction is inserted if enabled.

Definition at line 41 of file Ifx_Assert.h.

Referenced by Ifx_Assert_doLevel(), Ifx_Assert_doValidate(), Ifx_Console_print(), Ifx_Console_printAlign(), Ifx_Fifo_canReadCount(), Ifx_Fifo_canWriteCount(), Ifx_Fifo_create(), Ifx_Fifo_init(), Ifx_Fifo_read(), Ifx_Fifo_write(), Ifx_Shell_cmdEscapeProcess(), Ifx_Shell_process(), IfxAsclin_Asc_initModule(), IfxCcu6_Icu_initChannel(), IfxCcu6_PwmBc_initModule(), IfxCcu6_PwmHl_init(), IfxCcu6_setT12InputSignal(), IfxCcu6_setT13InputSignal(), IfxCcu6_Timer_initModule(), IfxCcu6_TimerWithTrigger_init(), IfxCcu6_TPwm_initModule(), IfxCpu_setSafetyTaskIdentifier(), IfxEth_init(), IfxFft_Fft_initDma(), IfxFft_Fft_initJob(), IfxFft_Fft_initModule(), IfxFft_Fft_initWindow(), IfxFft_Fft_isrOutput(), IfxFlash_selectCorrectableErrorTracking(), IfxFlash_selectUncorrectableErrorTracking(), IfxGpt12_T2_setEudInput(), IfxGpt12_T2_setInput(), IfxGpt12_T3_setCounterInputMode(), IfxGpt12_T3_setMode(), IfxGpt12_T5_setEudInput(), IfxGpt12_T5_setInput(), IfxGpt12_T5_setMode(), IfxGpt12_T6_setCounterInputMode(), IfxGpt12_T6_setEudInput(), IfxGpt12_T6_setInput(), IfxGpt12_T6_setMode(), IfxGtm_Atom_PwmHl_init(), IfxGtm_Atom_Timer_init(), IfxGtm_Atom_Timer_setPeriod(), IfxGtm_Atom_Timer_setTrigger(), IfxGtm_Tom_PwmHl_init(), IfxGtm_Tom_Timer_init(), IfxGtm_Tom_Timer_setPeriod(), IfxGtm_Tom_Timer_setTrigger(), IfxGtm_Trig_toVadc(), IfxMtu_clearSram(), IfxMtu_clearSramStart(), IfxMtu_runCheckerBoardTest(), IfxMtu_runMarchUTest(), IfxMtu_runNonDestructiveInversionTest(), IfxMtu_writeSramAddress(), IfxQspi_SpiMaster_packLongModeBuffer(), and IfxStdIf_DPipe_print().

#define IFX_VERBOSE_LEVEL_FAILURE   (1)

Assertion level failure, a debug instruction is inserted if enabled.

Definition at line 40 of file Ifx_Assert.h.

#define IFX_VERBOSE_LEVEL_INFO   (4)

Assertion level info.

Definition at line 43 of file Ifx_Assert.h.

#define IFX_VERBOSE_LEVEL_OFF   (0)

Assertion level off, assertion is disabled.

Definition at line 39 of file Ifx_Assert.h.

#define IFX_VERBOSE_LEVEL_WARNING   (3)

Assertion level warning.

Definition at line 42 of file Ifx_Assert.h.

Referenced by IfxVadc_Adc_initModule().