Eddy environment function, 4 eddy environment function – Solvline Eddy DKV2.1.0.3 User Manual

Page 82

Advertising
background image

Chapter 6. Library

Introduction

82

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

Delays in exact 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_GetVersion

Function

Reads version of O/S, file system, and bootloader ported to Eddy in string
type.

Advertising