|
HiveMind
|
Namespace to help manage the bittybuzz system. More...
Functions | |
| void | functionCall (uint16_t stringId) |
| Call a bittybuzz function that takes not arguments (init, step, etc),. More... | |
| void | errorReceiver (bbzvm_error errcode) |
| Callback to handle errors on bittybuzz vm. More... | |
| void | logVmDump (LogLevel logLevel) |
| Logs the vm dump which contains information about the vm state, heap, stack, etc. More... | |
| const char * | getStateString (bbzvm_state state) |
| const char * | getErrorString (bbzvm_error error) |
| const char * | getInstructionString (bbzvm_instr instruction) |
Variables | |
| IUserInterface * | g_ui = NULL |
| UserInterface used by the bbvm for printing user logs. More... | |
| ILogger * | g_logger = NULL |
| Logger used for error reception or user functions. More... | |
| const IBittyBuzzStringResolver * | g_stringResolver = NULL |
| String resolver used for user functions. More... | |
| IBittyBuzzClosureRegister * | g_closureRegister = NULL |
| Function register used by the BBVM to register new functions. More... | |
| IBittyBuzzMessageService * | g_messageService = NULL |
| Message service used by the BBVM to send requests to host and remote. More... | |
| IBSP * | g_bsp = NULL |
| BSP used by the bbvm for random numbers. More... | |
| IUserUI * | g_userUI |
| User interface (LED, Hex display, etc) available to the user via buzz. More... | |
Namespace to help manage the bittybuzz system.
| void BittyBuzzSystem::errorReceiver | ( | bbzvm_error | errcode | ) |
Callback to handle errors on bittybuzz vm.
| [in] | errcode | the error code of the received error |


| void BittyBuzzSystem::functionCall | ( | uint16_t | stringId | ) |
Call a bittybuzz function that takes not arguments (init, step, etc),.
| [in] | stringId | the string ID of the function |

| const char * BittyBuzzSystem::getErrorString | ( | bbzvm_error | error | ) |

| const char * BittyBuzzSystem::getInstructionString | ( | bbzvm_instr | instruction | ) |

| const char * BittyBuzzSystem::getStateString | ( | bbzvm_state | state | ) |

| void BittyBuzzSystem::logVmDump | ( | LogLevel | logLevel | ) |
Logs the vm dump which contains information about the vm state, heap, stack, etc.
| [in] | logLevel | the log level |


| IBittyBuzzClosureRegister * BittyBuzzSystem::g_closureRegister = NULL |
Function register used by the BBVM to register new functions.
| IBittyBuzzMessageService * BittyBuzzSystem::g_messageService = NULL |
Message service used by the BBVM to send requests to host and remote.
| const IBittyBuzzStringResolver * BittyBuzzSystem::g_stringResolver = NULL |
String resolver used for user functions.
| IUserInterface * BittyBuzzSystem::g_ui = NULL |
UserInterface used by the bbvm for printing user logs.
| IUserUI * BittyBuzzSystem::g_userUI |
User interface (LED, Hex display, etc) available to the user via buzz.
1.8.17