RTC_GetAlarmStatus


C Specification

#include <nitro/rtc.h>
RTCResult RTC_GetAlarmStatus(
            RTCAlarmChan    chan,
            RTCAlarmStatus*   status );

Description

This function reads alarm interrupt permission status from the real time clock. It queries ARM7 for the values of the alarm permission status and returns the results once they are received. This is a synchronous version of RTC_GetAlarmStatusAsync.

Cautions

This function requires a PXI interrupt for synchronization. Do not call this function when PXI interrupts are prohibited.

Arguments

chan Uses the RTCAlarmChan enum to specify the alarm channel.
status Pointer to RTCAlarmStatus data structure.

Return Values

If the request succeeds, it returns 0.
If the request fails, returns a non-zero value.

See Also

RTC_GetAlarmStatusAsync, RTC_SetAlarmStatus, RTC_SetAlarmStatusAsync, RTCResult, RTCAlarmChan, RTCAlarmStatus

Revision History

05/18/2004 Initial Version