Modular Pinball Machine Controller
|
Structure used internally to store either a two-byte PinCAN message or a function to be executed. Used within the Scheduling and Queueing functions. More...
#include <pinkit.h>
Data Fields | |
BYTE | ttype |
union { | |
BYTE cmd [2] | |
void(* func )(void) | |
} | fc |
Structure used internally to store either a two-byte PinCAN message or a function to be executed. Used within the Scheduling and Queueing functions.
BYTE cmd[2] |
PinCAN message Opcode and Data
union { ... } fc |
Operation to perform when entry is dequeued
void(* func)(void) |
Function to call
BYTE ttype |
Defines the type of data stored: 0 = CMD, 1 = Function