NXC
Version 1.2.1 r5
|
Functions for accessing and modifying Command module features. More...
Modules | |
Array API functions | |
Functions for use with NXC array types. | |
Comparison Constants | |
Logical comparison operators for use in BranchTest and BranchComp. | |
Functions | |
unsigned long | CurrentTick () |
Read the current system tick. | |
unsigned long | FirstTick () |
Get the first tick. | |
long | ResetSleepTimer () |
Reset the sleep timer. | |
void | SysCall (byte funcID, variant &args) |
Call any system function. | |
void | SysGetStartTick (GetStartTickType &args) |
Get start tick. | |
void | SysKeepAlive (KeepAliveType &args) |
Keep alive. | |
void | SysIOMapRead (IOMapReadType &args) |
Read from IOMap by name. | |
void | SysIOMapWrite (IOMapWriteType &args) |
Write to IOMap by name. | |
void | SysIOMapReadByID (IOMapReadByIDType &args) |
Read from IOMap by identifier. | |
void | SysIOMapWriteByID (IOMapWriteByIDType &args) |
Write to IOMap by identifier. | |
void | SysDatalogWrite (DatalogWriteType &args) |
Write to the datalog. | |
void | SysDatalogGetTimes (DatalogGetTimesType &args) |
Get datalog times. | |
void | SysReadSemData (ReadSemDataType &args) |
Read semaphore data. | |
void | SysWriteSemData (WriteSemDataType &args) |
Write semaphore data. | |
void | SysUpdateCalibCacheInfo (UpdateCalibCacheInfoType &args) |
Update calibration cache information. | |
void | SysComputeCalibValue (ComputeCalibValueType &args) |
Compute calibration values. | |
char | GetMemoryInfo (bool Compact, unsigned int &PoolSize, unsigned int &DataspaceSize) |
Read memory information. | |
void | SysMemoryManager (MemoryManagerType &args) |
Read memory information. | |
char | GetLastResponseInfo (bool Clear, byte &Length, byte &Command, byte &Buffer[]) |
Read last response information. | |
void | SysReadLastResponse (ReadLastResponseType &args) |
Read last response information. | |
void | Wait (unsigned long ms) |
Wait some milliseconds. | |
void | Yield () |
Yield to another task. | |
void | StopAllTasks () |
Stop all tasks. | |
void | Stop (bool bvalue) |
Stop the running program. | |
void | ExitTo (task newTask) |
Exit to another task. | |
void | Precedes (task task1, task task2,..., task taskN) |
Declare tasks that this task precedes. | |
void | Follows (task task1, task task2,..., task taskN) |
Declare tasks that this task follows. | |
void | Acquire (mutex m) |
Acquire a mutex. | |
void | Release (mutex m) |
Acquire a mutex. | |
void | StartTask (task t) |
Start a task. | |
void | StopTask (task t) |
Stop a task. | |
void | BranchTest (const byte cmp, constant void lbl, variant value) |
Branch if test is true. | |
void | BranchComp (const byte cmp, constant void lbl, variant v1, variant v2) |
Branch if compare is true. | |
void | SetIOMapBytes (string moduleName, unsigned int offset, unsigned int count, byte data[]) |
Set IOMap bytes by name. | |
void | SetIOMapValue (string moduleName, unsigned int offset, variant value) |
Set IOMap value by name. | |
void | GetIOMapBytes (string moduleName, unsigned int offset, unsigned int count, byte &data[]) |
Get IOMap bytes by name. | |
void | GetIOMapValue (string moduleName, unsigned int offset, variant &value) |
Get IOMap value by name. | |
void | GetLowSpeedModuleBytes (unsigned int offset, unsigned int count, byte &data[]) |
Get Lowspeed module IOMap bytes. | |
void | GetDisplayModuleBytes (unsigned int offset, unsigned int count, byte &data[]) |
Get Display module IOMap bytes. | |
void | GetCommModuleBytes (unsigned int offset, unsigned int count, byte &data[]) |
Get Comm module IOMap bytes. | |
void | GetCommandModuleBytes (unsigned int offset, unsigned int count, byte &data[]) |
Get Command module IOMap bytes. | |
void | SetCommandModuleBytes (unsigned int offset, unsigned int count, byte data[]) |
Set Command module IOMap bytes. | |
void | SetLowSpeedModuleBytes (unsigned int offset, unsigned int count, byte data[]) |
Set Lowspeed module IOMap bytes. | |
void | SetDisplayModuleBytes (unsigned int offset, unsigned int count, byte data[]) |
Set Display module IOMap bytes. | |
void | SetCommModuleBytes (unsigned int offset, unsigned int count, byte data[]) |
Set Comm module IOMap bytes. | |
void | SetSoundModuleBytes (unsigned int offset, unsigned int count, byte data[]) |
Set Sound module IOMap bytes. | |
void | SetIOMapBytesByID (unsigned long moduleId, unsigned int offset, unsigned int count, byte data[]) |
Set IOMap bytes by ID. | |
void | SetIOMapValueByID (unsigned long moduleId, unsigned int offset, variant value) |
Set IOMap value by ID. | |
void | GetIOMapBytesByID (unsigned long moduleId, unsigned int offset, unsigned int count, byte &data[]) |
Get IOMap bytes by ID. | |
void | GetIOMapValueByID (unsigned long moduleId, unsigned int offset, variant &value) |
Get IOMap value by ID. | |
void | SetCommandModuleValue (unsigned int offset, variant value) |
Set Command module IOMap value. | |
void | SetIOCtrlModuleValue (unsigned int offset, variant value) |
Set IOCtrl module IOMap value. | |
void | SetLoaderModuleValue (unsigned int offset, variant value) |
Set Loader module IOMap value. | |
void | SetUIModuleValue (unsigned int offset, variant value) |
Set Ui module IOMap value. | |
void | SetSoundModuleValue (unsigned int offset, variant value) |
Set Sound module IOMap value. | |
void | SetButtonModuleValue (unsigned int offset, variant value) |
Set Button module IOMap value. | |
void | SetInputModuleValue (unsigned int offset, variant value) |
Set Input module IOMap value. | |
void | SetOutputModuleValue (unsigned int offset, variant value) |
Set Output module IOMap value. | |
void | SetLowSpeedModuleValue (unsigned int offset, variant value) |
Set Lowspeed module IOMap value. | |
void | SetDisplayModuleValue (unsigned int offset, variant value) |
Set Display module IOMap value. | |
void | SetCommModuleValue (unsigned int offset, variant value) |
Set Comm module IOMap value. | |
void | GetCommandModuleValue (unsigned int offset, variant &value) |
Get Command module IOMap value. | |
void | GetLoaderModuleValue (unsigned int offset, variant &value) |
Get Loader module IOMap value. | |
void | GetSoundModuleValue (unsigned int offset, variant &value) |
Get Sound module IOMap value. | |
void | GetButtonModuleValue (unsigned int offset, variant &value) |
Get Button module IOMap value. | |
void | GetUIModuleValue (unsigned int offset, variant &value) |
Get Ui module IOMap value. | |
void | GetInputModuleValue (unsigned int offset, variant &value) |
Get Input module IOMap value. | |
void | GetOutputModuleValue (unsigned int offset, variant &value) |
Get Output module IOMap value. | |
void | GetLowSpeedModuleValue (unsigned int offset, variant &value) |
Get LowSpeed module IOMap value. | |
void | GetDisplayModuleValue (unsigned int offset, variant &value) |
Get Display module IOMap value. | |
void | GetCommModuleValue (unsigned int offset, variant &value) |
Get Comm module IOMap value. | |
Functions for accessing and modifying Command module features.