beautypg.com

13 alarm handler function – Renesas Emulator System M3T-MR100 User Manual

Page 73

background image

- 57 -

4.1.13

Alarm Handler Function

The alarm handler is a time event handler that is started only once at a specified time.

Use of the alarm handler makes it possible to perform time-dependent processing. The time of day is specified by a relative
time. Figure 4.23 shows a typical operation of the alarm handler.

Alarm handler

created

Activation

time

Start

operating

Stop

operating

Handler does

not start

Handler starts

Start

operating

Activation

time

Figure 4.23 Typical operation of the alarm handler

Start Alarm Handler Operation (sta_alm, ista_alm)

Causes the alarm handler with the specified ID to operational state.

Stop alarm Handler Operation (stp_alm, istp_alm)

Causes the alarm handler with the specified ID to non-operational state.

Reference Alarm Handler Status (ref_alm, iref_alm)

Refers to the status of the alarm handler. The operating status of the target alarm handler and the remaining time
before it starts are inspected.