MachineRTC

RTC interface.

Concrete implementations in MCU drivers should be passed to drivers.

Typical a RTC clock must also must be started.

Types

RTC* = RECORD END;

Procedures

RTC.WakeupS

Set RTC Wakeup timer delay in seconds.

Setting delay to 0 disable the wakeup timer and interrupt.

PROCEDURE (VAR rtc : RTC) WakeupS*(delay : INTEGER);