IO Ports Common to All ModulesIndex

Port ID Name Description Access Size
0x0000 aPortVMTimer Delays process execution w int
0x0001 aPortIICRead Initiates an IIC read w int*
0x0002 aPortProcID ID of calling process r char
0x0010 aPortSerial Allows raw serial communication r/w char
0x0011 aPortDisplayASCII Formatted VM serial output w char
0x0012** aPortSerialNTX Initiates raw serial output of N bytes w char*
0x0013** aPortSerialNRX Initiates raw serial input of N bytes w char*
0x0014** aPortEEPROMRead Initiates read of byte from module's EEPROM w int*
0x0015** aPortVMQuiet Immediate access to quiet mode flag r/w char
0x0040 aPortNA2D Number of A2D inputs r char
0x0041 aPortNDigital Number of digital I/O pins r char
0x0042 aPortNIR02 Number of Sharp GP2D02 inputs r char
0x0043 aPortNServo Number of servo outputs r char
0x0044 aPortNRflxCtr Number of counters for reflexes r char
0x0045 aPortNRflxEna Number of reflex enablers r char
0x0046 aPortNScratch Number of scratch pad bytes r char
0x0047 aPortNGPTimer Number of general purpose timers r char
0x0080 aPortAddress Access to module address r/w char
0x0081 aPortRouter Access to router ID r/w char
0x0082 aPortHBRate Access to heartbeat rate r/w char
0x0083 aPortIICBaud Access to IIC baud rate code r/w char
0x0084 aPortSerBaud Access to serial baud rate code r/w char
0x0085 aPortHBMode Access to heartbeat mode flag r/w char
0x0086 aPortBootFlag Access to power-up reflex flag r/w char
0x0087 aPortLinkFlag Access to link-down reflex flag r/w char
0x0088 aPortVersion Firmware version r int*
0x0089 aPortBuildNum Firmware build number r int*
0x008A aPortBoardType Board type code r char
0x008B aPortSerNum12 First 2 bytes of board serial number r int*
0x008C aPortSerNum34 Last 2 bytes of board serial number r int*
0x008D aPortFileSlots Number of file slots on board r char
0x008E aPortFileBytes Maximum number of bytes per TEA file r int*
0x008F aPortBoot1 VM boot program 1 r/w char
0x0090 aPortBoot2 VM boot program 2 r/w char
0x0091 aPortBoot3 VM boot program 3 r/w char
0x0092 aPortBoot4 VM boot program 4 r/w char
0x0093** aPortRelayFlag Access to serial relay mode flag r/w char
0x0094** aPortQuietFlag Access to quiet mode flag r/w char
0x0095** aPortTimeout Access to serial reception timeout r/w char
0x0100 - 0x0103 aPortSemaphore Semaphore Control r/w char
0x0200 - 0x021F aPortScratch Scratch Pad Access r/w char
0x0300 - 0x037F aPortRawInput Send raw inputs to reflexes w char
0x0380 - 0x0387 aPortRflxEna Access to reflex enablers r/w char*
0x03A0 - 0x03A7 aPortRflxCtr Access to reflex counters r/w int*
* Size strictly inforced.
** These ports are only available in new BrainStem modules or BrainStem GP 1.0 modules with firmware Build 9 or higer.

version: 1.0, build 80903
© Copyright 1994-2008 Acroname, Inc., Boulder, Colorado.  All rights reserved.