SPC  Version 0.9.5
 All Files Functions Groups Pages
SuperPro C API

Functions which comprise the SuperPro C application programming interface. More...

Functions

void Wait (long ms)
 Wait some milliseconds.
 
void Yield (void)
 Yield to another task.
 
void StopAllTasks (void)
 Stop all tasks.
 
void Stop (bool bvalue)
 Stop the running program.
 
void ExitTo (task newTask)
 Exit to another task.
 
void StartTask (task t)
 Start a task.
 
int SizeOf (variant &value)
 Calculate the size of a variable.
 
int read (void)
 Read a value from a file.
 
int write (const int value)
 Write value to file.
 
int sqrt (int x)
 Compute square root.
 
int abs (int num)
 Absolute value.
 
char sign (int num)
 Sign value.
 
int close (void)
 Close file.
 
byte open (const char *mode)
 Open file.
 
char putchar (const char ch)
 Write character to debug device.
 
int puts (const char *str)
 Write string to debug device.
 
void printf (const char *format,...)
 Print formatted data to debug device.
 
void abort (void)
 Abort current process.
 
long CurrentTick (void)
 Read the current system tick.
 
int pop (void)
 Pop a value off the stack.
 
int push (int value)
 Push a value onto the stack.
 
void RotateLeft (int &value)
 Rotate left.
 
void RotateRight (int &value)
 Rotate right.
 
void Run (const int slot)
 Run another program.
 
int stat (void)
 Check log file status.
 
void StopProcesses (void)
 Stop all processes.
 

Detailed Description

Functions which comprise the SuperPro C application programming interface.