

#include <nitro/rtc.h>RTCResult RTC_SetAlarmStatus(
RTCAlarmChan chan,
const RTCAlarmStatus* status );
| chan | Uses RTCAlarmChan to specify the alarm channel. |
| status | Pointer to RTCAlarmStatus containing status to set. |
If the request succeeds, it returns 0. If the request fails, it returns a numeric value other than 0.
This function writes alarm permission status for the real time clock. It sends a request to ARM7 to allow alarm permissions and returns the process result once it is received. This is a synchronous version of the RTC_SetAlarmStatusAsync function.
In write alarm state, do not set to any state other than enable or prohibit.
This function requires a PXI interrupt for synchronization. Do not call this function when PXI interrupts are prohibited.
RTC_SetAlarmStatusAsync, RTC_GetAlarmStatus, RTC_GetAlarmParamAsync, RTCResult, RTCAlarmChan, RTCAlarmStatus
2005/03/08 Standardized the Japanese term for "interrupt."
2004/05/18 Initial version.
CONFIDENTIAL