Modular Pinball Machine Controller
Data Fields

PK_CMD_FUNC Struct Reference

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

Detailed Description

Structure used internally to store either a two-byte PinCAN message or a function to be executed. Used within the Scheduling and Queueing functions.


Field Documentation

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


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