Go to the source code of this file.
Defines | |
#define | NUTASSERT(c) |
Functions | |
void | NUTPANIC (const char *fmt,...) |
This function is called on fatal errors. | |
void | NUTFATAL (const char *, const char *, int, const char *) |
This function is called on fatal errors. |
#define NUTASSERT | ( | c | ) |
Referenced by _close(), _filelength(), _fileno(), _fmode(), _ioctl(), _open(), _read(), _seek(), _tell(), _write(), _write_P(), At25dfInit(), At45dNodeStatus(), At45dNodeTransfer(), At91SpiBus0Deselect(), At91SpiBus0Select(), At91SpiBus0Transfer(), At91SpiBusNodeInit(), At91SpiSetup(), Avr32SpiBus0Deselect(), Avr32SpiBus0Select(), Avr32SpiBus0Transfer(), Avr32SpiBus1Deselect(), Avr32SpiBus1Select(), Avr32SpiBus1Transfer(), Avr32SpiBusNodeInit(), Avr32SpiSetup(), AvrSpiBus0Deselect(), AvrSpiBus0NodeInit(), AvrSpiBus0Select(), AvrSpiBus0Transfer(), feof(), ferror(), fflush(), fgetc(), fgets(), findenv(), FLASH_EraseAllPages(), FLASH_HalfCycleAccessCmd(), FLASH_PrefetchBufferCmd(), FLASH_SetLatency(), FLASH_Unlock(), fprintf(), fpurge(), fputc(), fputs(), fputs_P(), fread(), fscanf(), fseek(), ftell(), fwrite(), fwrite_P(), gets(), GPIO_PinAFConfig(), GPIO_PinRemapConfig(), GpioPinConfigGet(), GpioPinConfigSet(), GpioPortConfigSet(), GpioSpiBus0Deselect(), GpioSpiBus0NodeInit(), GpioSpiBus0Select(), GpioSpiBus0Transfer(), GpioSpiBusSetRate(), IntRegister(), IntUnregister(), LiLiClean(), LiLiFindItem(), LiLiInsertItemAfterNode(), LiLiInsertItemBeforeNode(), LiLiLocateItem(), LiLiNodes(), LiLiPopItem(), LiLiPushItem(), LiLiRemoveNode(), localtime_r(), NplSpiBusDeselect(), NplSpiBusNodeInit(), NplSpiBusPollTransfer(), NplSpiBusSelect(), NutBlockDeviceClose(), NutBlockDeviceInit(), NutBlockDeviceIOCtl(), NutBlockDeviceOpen(), NutBlockDeviceRead(), NutBlockDeviceSize(), NutBlockDeviceWrite(), NutBlockDeviceWrite_P(), NutDeviceLookup(), NutEventBroadcastAsync(), NutEventPostAsync(), NutEventTimeout(), NutEventWait(), NutEventWaitNext(), NutLoadConfig(), NutMutexDestroy(), NutMutexInit(), NutMutexLock(), NutMutexTrylock(), NutMutexUnlock(), NutNetBufAlloc(), NutNetBufClonePart(), NutNetBufFree(), NutPwmChannelInit(), NutPwmInit(), NutRegisterDevice(), NutRegisterKey(), NutRegisterSpiDevice(), NutSaveConfig(), NutSemDestroy(), NutSemInit(), NutSemPost(), NutSemTryWait(), NutSetLed(), NutSmtpDisconnect(), NutSmtpLogin(), NutSmtpReceiveResponse(), NutSmtpSendCommand(), NutSmtpSendEncodedLines(), NutSmtpSendMail(), NutSmtpSendMailHeader(), NutSmtpSendMailRequest(), NutThreadAddPriQueue(), NutThreadWake(), NutTimerInsert(), NutTimerStop(), PerCiAttachReader(), PerCiClose(), PerCiDetachReader(), PerCiFlush(), PerCiInit(), PerCiOpen(), PerCiRead(), PerCiReadLine(), PerCiWrite(), PerCiWriteFormat(), PerCiWriteVarList(), printf(), putenv(), RawFsFileClose(), RawFsFileRead(), RawFsFileWrite(), RawFsMount(), RawFsUnmount(), scanf(), Spi7segDot(), Spi7segInit(), Spi7SegOpen(), Spi7SegPush(), Spi7segPutc(), Spi7segWrite(), SpiAt25IOCtl(), SpiAt25PageRead(), SpiAt25PageWrite(), SpiAt45dCommand(), SpiAt45dInit(), SpiAt45dIOCtl(), SpiAt45dPageErase(), SpiAt45dPageRead(), SpiAt45dPages(), SpiAt45dPageSize(), SpiAt45dPageWrite(), SpiAt45dStatus(), SpiAt45dWaitReady(), SpiMmcBlockRead(), SpiMmcBlockWrite(), SpiMmcUnmount(), sprintf(), Stm32Usart3BusDeselect(), Stm32Usart3BusSelect(), Stm32UsartBusNodeInit(), Stm32UsartBusTransfer(), Stm32UsartSpiSetup(), sys_key(), sys_led(), UFlashAttach(), UFlashDetach(), UFlashFormat(), ungetc(), vfprintf(), and vfprintf_P().
void NUTPANIC | ( | const char * | fmt, |
... | |||
) |
This function is called on fatal errors.
The function will enter a critical section and print a description of the problem to stdout. It is assumed, that stdout is available and has been assigned to a debug output device, such as devDebug or similar. Then the function will enter an endless loop, which freezes the system.
If this is not, what the application is expected to do on fatal errors or if no debug device has been assigned to stdout, the application must define its own version of this routine.
fmt | Format string containing conversion specifications. |
References NutEnterCritical, stdout, and vfprintf().
Referenced by NUTFATAL(), and NutHeapRootFree().
void NUTFATAL | ( | const char * | func, |
const char * | file, | ||
int | line, | ||
const char * | expected | ||
) |
This function is called on fatal errors.
The function will enter a critical section and print a description of the problem to stdout. It is assumed, that stdout is available and has been assigned to a debug output device, such as devDebug or similar. Then the function will enter an endless loop, which freezes the system.
If this is not, what the application is expected to do on fatal errors or if no debug device has been assigned to stdout, the application must define its own version of this routine.
func | Name of the function or thread, where the error has been detected. |
file | Name of the source file, that contains the function. |
line | Line number within the source file. |
expected | Assertion which should have been true, but is not. |
References NUTPANIC().
Referenced by NutTimerIntr().