
SCIOPTA - Real-Time Kernel
10-2 Manual Version 4.1 User’s Manual
SCIOPTA - Real-Time Kernel
10 Error Handling
10.3 Error Hook
In SCIOPTA all error conditions will end up in the error hook. As already stated there are two error hooks availa-
ble: the Module Error Hook and the Global Error Hook.
An error hook can only use the following system calls:
(Please consult the SCIOPTA - Kernel, Reference Manual for detailed description of the SCIOPTA system calls.)
sc_miscCrc Calculates a 16 bit CRC over a specified memory range.
ssc_miscCrcContd Calculates a 16 bit CRC over an additional memory range.
sc_miscErrnoGet Returns the process error number (errno) variable.
sc_moduleIdGet Returns the ID of a module.
sc_moduleInfo Returns a snap-shot of a module control block (mcb).
sc_moduleNameGet Returns the name of a module.
sc_poolIdGet Returns the ID of a message pool.
sc_poolInfo Returns a snap-shot of a pool control block.
sc_procPpidGet Returns the process ID of the parent (creator) of a process.
sc_procPrioGet Returns the priority of a prioritized process.
sc_procSliceGet Returns the time slice of a timer process.
sc_procVarDel Removes a process variable from the process variable data area.
sc_procVarGet Returns a process variable.
sc_procVarSet Defines or modifies a process variable.
sc_tickGet Returns the actual kernel tick counter value.
sc_tickLength Sets the current system tick length in micro seconds.
sc_tickMs2Tick Converts a time from milliseconds into system ticks.
sc_tickTick2Ms Converts a time from system ticks into milliseconds.
sc_triggerValueGet Returns the value of a process trigger.
Comentarios a estos manuales