# OS_InitIrqTable

## C Specification

  `#include <nitro/os.h>`
  `void OS_InitIrqTable( void );`

## Arguments

None.

## Return Values

None.

## Description

This function initializes the IRQ interrupt table.

This IRQ interrupt table is to register the functions to jump to when an IRE interrupt occurs. Functions that do nothing are set for the IRQ interrupt, but `DMA` and `TIMER` interrupts register the interrupt handler provided by OS. This interrupt is only called by the OS handler when a user has registered the handler, but nothing is registered at first. A user does not need to distinguish this difference. So to the user, it appears that nothing is done with all the interrupts (or a function that does nothing is called) after `OS_InitIrqTable` is called.

Since `OS_InitIrqTable()` is called from within `OS_Init()`, there is no need to call it if `OS_Init()` is called.

## See Also

`OS_SetIrqFunction`, `OS_GetIrqFunction`

## Revision History

2005/07/19 Added description of calling from `OS_Init()`.
03/08/2005 Standardized the Japanese word for "interrupt"
03/01/2004 Updated description of operation at initialization.
12/01/2003 Initial version.

CONFIDENTIAL