Utilities

Alarm module

The MAL layer provides access to operating system functions.

MODULE alarm;

UNSAFE COMMAND alarm.ctime():str;
COMMENT "";

UNSAFE COMMAND alarm.epoch():int;
COMMENT "";

UNSAFE PATTERN alarm.sleep(X_0:any_1):any_1;
COMMENT "";

UNSAFE PATTERN alarm.sleep(X_0:any_1):void;
COMMENT "";

UNSAFE PATTERN alarm.sleep(X_0:bat[:any_1]):bat[:any_1];
COMMENT "";

UNSAFE COMMAND alarm.time():int;
COMMENT "";

UNSAFE COMMAND alarm.usec():lng;
COMMENT "";

Identifier module

MODULE identifier;

COMMAND identifier.identifier(X_0:str):identifier;
COMMENT "";

COMMAND identifier.prelude():void;
COMMENT "";