4 eddy environment function, 4 eddy environment function -2 – Solvline Eddy DK Ver 2.20 User Manual

Page 45

Advertising
background image

Chapter 6. Library

6-2

Function

Returns time measured after Eddy has been booted in msec.

Format Unsigned

long

SB_GetTick (Void);

Parameter None

Returns 0

~

4,294,967,295

Notice

Returned value is system tick counter in msec unit.

After it reaches the maximum value 0xffffffff of unsigned long type, it
starts from zero again – which is about period of 50 days.

SB_msleep

Function

Delays in msec unit.

Format

void SB_msleep (int msec);

Parameter

msec

Configure delay time in msec unit.

Returns none

Notice

Precisely delays in msec unit.

SB_AliveTime

Function

Returns time measured after Eddy has been booted in day, hour, minute,
and second.

Format

void SB_AliveTime (int *day, int *hour, int *min, int *sec);

Parameter *day

*hour

*min

*sec

Days Eddy has been operationg (0 ~ )

Hour (0 ~ 23)

Minute (0 ~ 59)

Second (0 ~ 59)

Returns None

Notice

6.4 Eddy Environment Function

Environment functions related with Eddy File System which gives information such as Eddy’s version, environment

configuration, version, etc.

SB_GetModel

Advertising