Modular Pinball Machine Controller

Data Structures

Here are the data structures with brief descriptions:
COILTracks the state of each coil
LAMPTracks information for each lamp
PK_CMD_FUNCStructure used internally to store either a two-byte PinCAN message or a function to be executed. Used within the Scheduling and Queueing functions
PK_MSG_ID_TStructure to simplify access to the PinCAN message ID
PK_QCMDStructure used to store a two-byte command in the queues
SWTracks the state of each switch