|
Welcome to the EyeBot
Version 7 - RPi1
A Controller For Various Hardware IO
|
Header file for system functions. More...
Go to the source code of this file.
Functions | |
| void | strcpy_n (char *__dest, const char *__src, size_t __n) |
| char * | OSExecute (char *command) |
| Executes a system command and obtains the string returned after the command. More... | |
| char * | OSVersion (void) |
| Returns string containing running RoBIOS version. More... | |
| int | OSMachineSpeed (void) |
| Inform the user how fast the processor runs. More... | |
| int | OSMachineType (void) |
| Inform the user in which environment the program runs. More... | |
| char * | OSMachineName (void) |
| Inform the user with which name the Eyebot is titled. More... | |
| unsigned char | OSMachineID (void) |
| Inform the user with which ID the Eyebot is titled. More... | |
| int | OSError (char *msg, int number, bool deadend) |
| Print message and number to display then stop processor (deadend) or wait for key. More... | |
| int | OSInfoCPU (INFO_CPU *infoCPU) |
| Collects infos about the CPU – name, speed, architecture and bogusMips. More... | |
| int | OSInfoMem (INFO_MEM *infoMem) |
| Collects infos about the memory. More... | |
| int | OSInfoProc (INFO_PROC *infoProc) |
| Collects infos about processes. More... | |
| int | OSInfoMisc (INFO_MISC *infoMisc) |
| Collects system’s miscellaneous infos – uptime, vbatt. More... | |
Header file for system functions.
| int OSError | ( | char * | msg, |
| int | number, | ||
| bool | deadend | ||
| ) |
Print message and number to display then stop processor (deadend) or wait for key.
| msg | a pointer to message |
| number | the error number |
| deadend | switch to choose deadend or keywait |
Valid values are:
| char* OSExecute | ( | char * | command | ) |
Executes a system command and obtains the string returned after the command.
| command | the command to run |
| int OSInfoCPU | ( | INFO_CPU * | infoCPU | ) |
Collects infos about the CPU – name, speed, architecture and bogusMips.
| infoCPU | a pointer to a structure containing the cpu infos |
| int OSInfoMem | ( | INFO_MEM * | infoMem | ) |
Collects infos about the memory.
| infoMem | : pointer to a structure which contains the memory infos |
| int OSInfoMisc | ( | INFO_MISC * | infoMisc | ) |
Collects system’s miscellaneous infos – uptime, vbatt.
| infoMisc | : pointer to a structure which contains the misc infos |
| int OSInfoProc | ( | INFO_PROC * | infoProc | ) |
Collects infos about processes.
| INFO_PROC | infoProc : pointer to a structure which contains the process infos |
| unsigned char OSMachineID | ( | void | ) |
Inform the user with which ID the Eyebot is titled.
| char* OSMachineName | ( | void | ) |
Inform the user with which name the Eyebot is titled.
| int OSMachineSpeed | ( | void | ) |
Inform the user how fast the processor runs.
| int OSMachineType | ( | void | ) |
Inform the user in which environment the program runs.
Valid values are: VEHICLE, PLATFORM, WALKER
| char* OSVersion | ( | void | ) |
Returns string containing running RoBIOS version.
Example: "3.1b"
1.8.10