RTC Demos

# Real Time Clock Sample Demo

## Location

`$NitroSDK/build/demos/rtc`

## Compilation

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

> `% make`

Executable (`.nef`, `.srl`) files will be generated in

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

For example:

> `$NitroSDK/build/demos/rtc/rtc-1/bin/ARM9-TS/Release/`

## Execution

Navigate to the $NitroSDK/build/demos/rtc/sample_name/bin/platform/target/ directory and perform one of the following:

- Load and execute a `*.nlf` file with IS-NITRO-DEBUGGER.
- Execute a `*.srl` file 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
`convert-1` | Tests the conversion function for date and time. It outputs the result to debug output.

## 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

05/17/2005 Added convert-1 demo
03/08/2005 Standardized the Japanese term for "interrupt".
03/02/2005 Revised descriptions to reflect current support environment conditions.
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

CONFIDENTIAL