Public Attributes
maestroStatus Struct Reference

#include <USBInterface.h>

List of all members.

Public Attributes

int16_t buffer [3]
 Meaningless bytes to protect the program from stack underflows.
uint8_t buffer2
 Meaningless byte to protect the program from call stack overflows.
uint16_t callStack [10]
 The call stack used by the script. The addresses in locations 0 through callStackPointer-1 are on the call stack. The next return will make the program counter go to callStack[callStackPointer-1].
uint8_t callStackPointer
 The number of return locations on the call stack (0-10). A value of 0 means the stack is empty.
uint16_t errors
 The error register. Each bit stands for a different error (see uscError). If the bit is one, then it means that error occurred some time since the last GET_ERRORS serial command or CLEAR_ERRORS USB command.
uint16_t programCounter
 The address (in bytes) of the next bytecode instruction that will be executed.
uint8_t scriptDone
 0 = script is running. 1 = script is done. 2 = script will be done as soon as it executes one more instruction (used to implement step-through debugging features)
int16_t stack [32]
 The data stack used by the script. The values in locations 0 through stackPointer-1 are on the stack.
uint8_t stackPointer
 The number of values on the data stack (0-32). A value of 0 means the stack is empty.

Detailed Description

Definition at line 379 of file USBInterface.h.


Member Data Documentation

Meaningless bytes to protect the program from stack underflows.

This is public to avoid mono warning CS0169.

Definition at line 405 of file USBInterface.h.

Meaningless byte to protect the program from call stack overflows.

This is public to avoid mono warning CS0169.

Definition at line 430 of file USBInterface.h.

The call stack used by the script. The addresses in locations 0 through callStackPointer-1 are on the call stack. The next return will make the program counter go to callStack[callStackPointer-1].

Definition at line 418 of file USBInterface.h.

The number of return locations on the call stack (0-10). A value of 0 means the stack is empty.

Definition at line 389 of file USBInterface.h.

The error register. Each bit stands for a different error (see uscError). If the bit is one, then it means that error occurred some time since the last GET_ERRORS serial command or CLEAR_ERRORS USB command.

Definition at line 396 of file USBInterface.h.

The address (in bytes) of the next bytecode instruction that will be executed.

Definition at line 401 of file USBInterface.h.

0 = script is running. 1 = script is done. 2 = script will be done as soon as it executes one more instruction (used to implement step-through debugging features)

Definition at line 426 of file USBInterface.h.

int16_t maestroStatus::stack[32]

The data stack used by the script. The values in locations 0 through stackPointer-1 are on the stack.

Definition at line 411 of file USBInterface.h.

The number of values on the data stack (0-32). A value of 0 means the stack is empty.

Definition at line 384 of file USBInterface.h.


The documentation for this struct was generated from the following file:


kurt3d
Author(s): Thomas Wiemann, Benjamin Kisliuk, Alexander Mock
autogenerated on Wed Sep 16 2015 10:24:29