RTC Demos

# Real Time Clock Sample Demo

## Location

        $NitroSDK/build/demos/rtc

## Compilation

Move to the `$NitroSDK/build/demos/rtc` directory and enter:

        % make

The executable files (`.nef`, `.srl`) are generated in

        $NitroSDK/build/demos/rtc/sample_name/bin/platform/target/

For example

        $NitroSDK/build/demos/rtc/rtc-1/bin/ARM9-TEG/Release/

## Execution

Navigate to the

        $NitroSDK/build/demos/rtc/sample_name/bin/platform/target/

directory and perform one of the following:

- Execute `*.nef`, `*.srl` with ensata.
- Execute `*.srl` with the TEG version of the IS-NITRO-EMULATOR.
- Load and execute `*.nlf` with IS-NITRO-DEBUGGER.
- Execute `*.srl` with IS-NITRO-DEBUGGER.

## Description

`rtc-1`

This function tests the real time clock operation features:

- Read and change date and time
- Read and change alarm setting values
- Interrupt functions when alarms are generated

## Operation

`rtc-1` does not work properly with ensata.

If `rtc-1` is used on the IS-NITRO-EMULATOR hardware, the interrupt function does not operate properly when the alarm is generated unless the IS-NITRO-DEBUGGER software is version 1.11 or newer. This phenomenon is caused by the conflict problem between the RTC hardware and the IS-NITRO-EMULATOR hardware.

## See Also

`RTC Function List`

## Revision History

10/06/2004 Changed description regarding the alarm interrupt feature of `rtc-1` demo
09/16/2004 Added description on the alarm interrupt feature of `rtc-1` demo.
08/17/2004 Standardized the notation of the IS-NITRO-EMULATOR.
07/10/2004 Changed from `.bin` to `.srl`.
06/18/2004 Initial version.