Home |
RTKernel-32 Programming Manual Function RTInstallSharedIRQHandlerEx Function RTInstallSharedIRQHandler Function RTRemoveSharedIRQHandlerEx Function RTRemoveSharedIRQHandler Function RTKRestoreIRQHandlerFar Function RTKSetIRQStack |
Function RTKSetIRQStackUsing RTKSetIRQStack, the available stack space for handling an IRQ can be enlarged. void RTKSetIRQStack(int IRQ, unsigned StackSize); ParametersIRQSpecifies the interrupt (0 .. 31) to which the new stack should be assigned. StackSizeThe size of the new stack in bytes. RTKernel-32 usually assigns RTKConfig.DefaultIntStackSize to each IRQ. This call can change the value for a particular IRQ. If the new stack is larger than the current panic stack, the panic stack is also reallocated with StackSize bytes. This function does nothing when the requested StackSize is smaller than the currently installed interrupt's stack.
|