Alarm handler function, Figure 3.41 typical operation of the alarm handler, 12 alarm handler function – Renesas 70 User Manual

Page 60

Advertising
background image

Chapter 3 Introduction to MR308

- 50 -

3.5.12

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 3.41 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 3.41 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.

Advertising