# OS_SetIrqStackChecker

## Syntax

      #include <nitro/os.h>

      void OS_SetIrqStackCkecker( void );

## Arguments

None.

## Return Values

None.

## Description

This function sets up data used to check for stack overflow of the IRQ mode stack.

Sets the data to check for stack overflow at the top and bottom of the IRQ stack. Also, you can find out if this part has been used at least once by checking whether it has been rewritten.. The function `OS_CheckIrqStack()` is used for checking.

This function is called by the `OS_Init` function, so there is no need for the application to call it again.

## See Also

`OS_SetIrqStackWarningOffset, OS_GetIrqStackStatus, OS_CheckIrqStack
`

## Revision History

2009/06/03 Revised the text to reflect that calling `OS_Init` is now required.
2005/07/19 Initial version.

CONFIDENTIAL