30.12.2013 Views

T-Kernel Specification (1.B0.02)

T-Kernel Specification (1.B0.02)

T-Kernel Specification (1.B0.02)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.7. TIME MANAGEMENT FUNCTIONS 183<br />

If the alarm handler is active (TALM STA), lfttim returns the relative time until the alarm handler is<br />

scheduled to start. This value is within the range almtim ≥ lfttim ≥ 0 designated with tk sta alm.<br />

Since lfttim is decremented with each timer interrupt, lfttim = 0 means the alarm handler will start<br />

at the next timer interrupt. If the alarm handler is inactive (TALM STP), lfttim is indeterminate.<br />

If the alarm handler designated with tk ref alm in almid does not exist, error code E NOEXS is returned.<br />

Copyright c○ 2002, 2003 by T-Engine Forum<br />

T-<strong>Kernel</strong> <strong>1.B0.02</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!