Eddy DK Programmer Guide
99
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.
Format
void SB_GetVersion (int type, char *version);
Parameter
type
Specifies the version function reads.
‘B’: Eddy’s bootloader version
‘K’: Eddy’s O/S version
‘F’: Eddy’s file system version
Version
Pointer where version information string will be stored.
Returns
None
Notice
Version information will be read like “1.0a.”
BootLoader and O/S will be provided by SystemBase; therefore these
cannot be changed. In case file system is programmed by the user, the
version can be set by the user.
When the parameter type other than ‘B’ ,’K’, ‘F’ are called, the
function will return “0.00” as version information.
SB_ReadConfig
Function
Reads Eddy’s operating environment configuration file.