# RTC_SetAlarmInterrupt

## Syntax

  `#include <nitro/rtc.h>`

      void RTC_SetAlarmInterrupt( RTCInterrupt interrupt );

## Arguments

interrupt | Pointer to the callback function. This callback is called from within the interrupt handler.

## Return Values

None.

## Description

This specifies the user callback function that will be called when a real-time clock alarm interrupt is generated. Interrupts will be ignored if no callback function is specified by this function. There are two alarm channels. However, because interrupts are shared there will only be one interrupt.

## See Also

`RTCInterrupt, RTC_GetAlarmStatus, RTC_GetAlarmParam, RTC_SetAlarmStatus, RTC_SetAlarmParam`

## Revision History

2005/06/27 Added a statement about callbacks being invoked from the interrupt handler.
2005/03/08 Standardized use of the term "interrupt" in Japanese.
2004/05/18 Initial version.

CONFIDENTIAL