A simple 3D graphics library | Documentation for a simple 3D graphics library |
 Graphics library actions | Constants that are used to specify a graphics library action |
 Graphics library begin modes | Constants that are used to specify the polygon surface begin mode |
 Graphics library cull mode | Constants to use when setting the graphics library cull mode |
 Graphics library settings | Constants that are used to configure the graphics library settings |
Miscellaneous NBC/NXC constants | Miscellaneous constants for use in NBC and NXC |
 Data type limits | Constants that define various data type limits |
 Floating point min/max constants | Floating point minimum and maximum positive and negative values |
 Property constants | Use these constants for specifying the property for the GetProperty and SetProperty direct commands |
 Type aliases | Short type aliases indicating signed/unsigned and bit count for each type |
 Variable type constants | Use these constants for testing a variable type |
NXT Firmware Modules | Documentation common to all NXT firmware modules |
 Button module | Constants and functions related to the Button module |
  Button module constants | Constants that are part of the NXT firmware's Button module |
   Button module IOMAP offsets | Constant offsets into the Button module IOMAP structure |
   Button name constants | Constants to specify which button to use with button module functions |
   ButtonState constants | Constants for use with the ButtonState() function |
  Button module functions | Functions for accessing and modifying Button module features |
  Button module types | Types used by various Button module functions |
 Comm module | Constants and functions related to the Comm module |
  Comm module constants | Constants that are part of the NXT firmware's Comm module |
   Bluetooth State constants | Constants related to the bluetooth state |
   Bluetooth hardware status constants | Constants related to the bluetooth hardware status |
   Bluetooth state status constants | Constants related to the bluetooth state status |
   Comm module IOMAP offsets | Constant offsets into the Comm module IOMAP structure |
   Comm module interface function constants | Constants for all the Comm module interface functions executable via SysCommExecuteFunction |
   Comm module status code constants | Constants for Comm module status codes |
   Data mode constants | Constants related to the bluetooth and hi-speed data modes |
   Device status constants | Constants refering to DeviceStatus within DeviceTable |
   Hi-speed port constants | Constants related to the hi-speed port |
    Hi-speed port SysCommHSControl constants | Constants for use with the SysCommHSControl API function |
    Hi-speed port UART mode constants | Constants referring to HsMode UART configuration settings |
     Hi-speed port combined UART constants | Constants that combine data bits, parity, and stop bits into a single value |
     Hi-speed port data bits constants | Constants referring to HsMode (number of data bits) |
     Hi-speed port parity constants | Constants referring to HsMode (parity) |
     Hi-speed port stop bits constants | Constants referring to HsMode (number of stop bits) |
    Hi-speed port address constants | Constants that are used to specify the Hi-speed (RS-485) port device address |
    Hi-speed port baud rate constants | Constants for configuring the hi-speed port baud rate (HsSpeed) |
    Hi-speed port flags constants | Constants related to the hi-speed port flags |
    Hi-speed port state constants | Constants related to the hi-speed port state |
   Joystick message constants | Constants for reading joystick information |
   Mailbox constants | Mailbox number constants should be used to avoid confusing NXT-G users |
   Miscellaneous Comm module constants | Miscellaneous constants related to the Comm module |
   Remote connection constants | Constants for specifying remote connection slots |
  Comm module functions | Functions for accessing and modifying Comm module features |
   Direct Command functions | Functions for sending direct commands to another NXT |
   System Command functions | Functions for sending system commands to another NXT |
  Comm module types | Types used by various Comm module functions |
 Command module | Constants and functions related to the Command module |
  Command module constants | Constants that are part of the NXT firmware's Command module |
   Array operation constants | Constants for use with the NXC ArrayOp function and the NBC arrop statement |
   Command module IOMAP offsets | Constant offsets into the Command module IOMAP structure |
   Communications specific errors | Constants defining communication error conditions |
   Fatal errors | Constants defining various fatal error conditions |
   General errors | Constants defining general error conditions |
   Program status constants | Constants defining various states of the command module virtual machine |
   Remote control (direct commands) errors | Constants defining errors that can occur during remote control (RC) direct command operations |
   System Call function constants | Constants for use in the SysCall() function or NBC syscall statement |
   Time constants | Constants for use with the Wait() function |
   VM state constants | Constants defining possible VM states |
  Command module functions | Functions for accessing and modifying Command module features |
   Array API functions | Functions for use with NXC array types |
   Comparison Constants | Logical comparison operators for use in BranchTest and BranchComp |
  Command module types | Types used by various Command module functions |
 Display module | Constants and functions related to the Display module |
  Display module constants | Constants that are part of the NXT firmware's Display module |
   Display contrast constants | Constants that are for use with the display contrast API functions |
   Display flags | Constants that are for use with the display flags functions |
   Display module IOMAP offsets | Constant offsets into the display module IOMAP structure |
   DisplayExecuteFunction constants | Constants that are for use with the DisplayExecuteFunction system call |
   Drawing option constants | Constants that are for specifying drawing options in several display module API functions |
    Font drawing option constants | These addition drawing option constants are only for use when drawing text and numbers on the LCD using an RIC-based font |
   Line number constants | Line numbers for use with DrawText system function |
   Text line constants | Constants that are for use with getting/setting display data |
  Display module functions | Functions for accessing and modifying display module features |
  Display module types | Types used by various display module functions |
 IOCtrl module | Constants and functions related to the IOCtrl module |
  IOCtrl module constants | Constants that are part of the NXT firmware's IOCtrl module |
   IOCtrl module IOMAP offsets | Constant offsets into the IOCtrl module IOMAP structure |
   PowerOn constants | Use these constants to power down the NXT or boot it into SAMBA (aka firmware download) mode |
  IOCtrl module functions | Functions for accessing and modifying IOCtrl module features |
  IOCtrl module types | Types used by various IOCtrl module functions |
 Input module | Constants and functions related to the Input module |
  Input module constants | Constants that are part of the NXT firmware's Input module |
   Color calibration constants | Constants for use with the color calibration functions |
   Color calibration state constants | Constants for use with the color calibration state function |
   Color sensor array indices | Constants for use with color sensor value arrays to index RGB and blank return values |
   Color values | Constants for use with the ColorValue returned by the color sensor in full color mode |
   Constants to use with the Input module's Pin function | Constants for use with the Input module's Pin function |
   Input field constants | Constants for use with SetInput() and GetInput() |
   Input module IOMAP offsets | Constant offsets into the Input module IOMAP structure |
   Input port constants | Input port constants are used when calling NXC sensor control API functions |
   Input port digital pin constants | Constants for use when directly controlling or reading a port's digital pin state |
   NBC Input port constants | Input port constants are used when calling sensor control API functions |
   Sensor types and modes | Constants that are used for defining sensor types and modes |
    Combined sensor type and mode constants | Use the combined sensor type and mode constants to configure both the sensor mode and type in a single function call |
    NBC sensor mode constants | Use sensor mode constants to configure an input port for the desired sensor mode |
    NBC sensor type constants | Use sensor type constants to configure an input port for a specific type of sensor |
    Sensor mode constants | Use sensor mode constants to configure an input port for the desired sensor mode |
    Sensor type constants | Use sensor type constants to configure an input port for a specific type of sensor |
  Input module functions | Functions for accessing and modifying input module features |
   Basic analog sensor value names | Read analog sensor values using these names |
  Input module types | Types used by various input module functions |
 Loader module | Constants and functions related to the Loader module |
  Loader module constants | Constants that are part of the NXT firmware's Loader module |
   Loader module IOMAP offsets | Constant offsets into the Loader module IOMAP structure |
   Loader module error codes | Error codes returned by functions in the Loader module (file access) |
   Loader module function constants | Constants defining the functions provided by the Loader module |
  Loader module functions | Functions for accessing and modifying Loader module features |
  Loader module types | Types used by various Loader module functions |
 Low Speed module | Constants and functions related to the Low Speed module |
  LowSpeed module constants | Constants that are part of the NXT firmware's LowSpeed module |
   E-Meter sensor constants | Constants for use with the e-meter sensor |
   I2C option constants | Constants for the SetI2COptions function |
   LEGO I2C address constants | Constants for LEGO I2C device addresses |
   LEGO temperature sensor constants | Constants for use with the LEGO temperature sensor |
   LSChannelState constants | Constants for the low speed module LSChannelState function |
   LSErrorType constants | Constants for the low speed module LSErrorType function |
   LSMode constants | Constants for the low speed module LSMode function |
   LSNoRestartOnRead constants | Constants for the low speed module LSNoRestartOnRead and SetLSNoRestartOnRead functions |
   LSState constants | Constants for the low speed module LSState function |
   Low speed module IOMAP offsets | Constant offsets into the low speed module IOMAP structure |
   Standard I2C constants | Constants for use with standard I2C devices |
   Ultrasonic sensor constants | Constants for use with the ultrasonic sensor |
  LowSpeed module functions | Functions for accessing and modifying low speed module features |
   Low level LowSpeed module functions | Low level functions for accessing low speed module features |
   LowSpeed module system call functions | System call functions for accessing low speed module features |
  LowSpeed module types | Types used by various low speed module functions |
 NXT firmware module IDs | Constant numeric IDs for all the NXT firmware modules |
 NXT firmware module names | Constant string names for all the NXT firmware modules |
 Output module | Constants and functions related to the Output module |
  Output module constants | Constants that are part of the NXT firmware's Output module |
   Output field constants | Constants for use with SetOutput() and GetOutput() |
   Output module IOMAP offsets | Constant offsets into the Output module IOMAP structure |
   Output port constants | Output port constants are used when calling motor control API functions |
   Output port mode constants | Use these constants to configure the desired mode for the specified motor(s): coast, motoron, brake, or regulated |
   Output port option constants | Use these constants to configure the desired options for the specified motor(s): hold at limit and ramp down to limit |
   Output port regulation mode constants | Use these constants to configure the desired regulation mode for the specified motor(s): none, speed regulation, multi-motor synchronization, or position regulation (requires the enhanced NBC/NXC firmware version 1.31+) |
   Output port run state constants | Use these constants to configure the desired run state for the specified motor(s): idle, rampup, running, rampdown, or hold |
   Output port update flag constants | Use these constants to specify which motor values need to be updated |
   Output regulation option constants | Use these constants to configure the desired options for position regulation |
   PID constants | PID constants are for adjusting the Proportional, Integral, and Derivative motor controller parameters |
   Tachometer counter reset flags | Use these constants to specify which of the three tachometer counters should be reset |
  Output module functions | Functions for accessing and modifying output module features |
  Output module types | Types used by various output module functions |
 Sound module | Constants and functions related to the Sound module |
  Sound module constants | Constants that are part of the NXT firmware's Sound module |
   Sound module IOMAP offsets | Constant offsets into the Sound module IOMAP structure |
   Sound module miscellaneous constants | Constants defining miscellaneous sound module aspects |
   SoundFlags constants | Constants for use with the SoundFlags() function |
   SoundMode constants | Constants for use with the SoundMode() function |
   SoundState constants | Constants for use with the SoundState() function |
   Tone constants | Constants for use in the SoundPlayTone() API function |
  Sound module functions | Functions for accessing and modifying sound module features |
  Sound module types | Types used by various sound module functions |
 Ui module | Constants and functions related to the Ui module |
  Ui module constants | Constants that are part of the NXT firmware's Ui module |
   BluetoothState constants | Constants for use with the BluetoothState() function |
   CommandFlags constants | Constants for use with the CommandFlags() function |
   UIButton constants | Constants for use with the UIButton() function |
   UIState constants | Constants for use with the UIState() function |
   Ui module IOMAP offsets | Constant offsets into the Ui module IOMAP structure |
   VM run state constants | Constants for use with the VMRunState() function |
  Ui module functions | Functions for accessing and modifying Ui module features |
  Ui module types | Types used by various Ui module functions |
RIC Macro Wrappers | Macro wrappers for use in defining RIC byte arrays |
Standard-C API functions | Documentation for various Standard-C library routines |
 cmath API | Standard C cmath API functions |
 cstdio API | Standard C cstdio API functions |
  fseek origin constants | Constants for use in calls to fseek |
 cstdlib API | Standard C cstdlib API functions and types |
  cstdlib API types | Standard C cstdlib API types |
 cstring API | Standard C cstring API functions |
 ctype API | Standard C ctype API functions |
Third-party NXT devices | Documentation for NXT devices made by companies other than LEGO such as HiTechnic, mindsensors.com, and CodaTex |
 Codatex API Functions | Functions for accessing and modifying Codatex devices |
  Codatex device constants | Constants that are for use with Codatex devices |
   Codatex RFID sensor constants | Constants that are for use with the Codatex RFID sensor device |
    Codatex RFID sensor modes | Constants that are for configuring the Codatex RFID sensor mode |
 Dexter Industries API Functions | Functions for accessing and modifying Dexter Industries devices |
  Dexter Industries device constants | Constants that are for use with Dexter Industries devices |
   Dexter Industries GPS sensor constants | Constants that are for use with the Dexter Industries GPS sensor |
   Dexter Industries IMU sensor constants | Constants that are for use with the Dexter Industries IMU sensor |
    Dexter Industries IMU Accelerometer control register 1 constants | Constants that are for use with the Dexter Industries IMU Accelerometer sensor's control register 1 |
    Dexter Industries IMU Accelerometer control register 2 constants | Constants that are for use with the Dexter Industries IMU Accelerometer sensor's control register 2 |
    Dexter Industries IMU Accelerometer interrupt latch reset register constants | Constants that are for use with the Dexter Industries IMU Accelerometer sensor's interrupt latch reset register |
    Dexter Industries IMU Accelerometer mode control register constants | Constants that are for use with the Dexter Industries IMU Accelerometer sensor's mode control register |
    Dexter Industries IMU Accelerometer register constants | Constants that define the Dexter Industries IMU Accelerometer registers |
    Dexter Industries IMU Accelerometer status register constants | Constants that are for use with the Dexter Industries IMU Accelerometer sensor's status register |
    Dexter Industries IMU Gyro FIFO control register onstants | Constants that are for use with the Dexter Industries IMU Gyro sensor's FIFO control register |
    Dexter Industries IMU Gyro control register 1 constants | Constants that are for use with the Dexter Industries IMU Gyro sensor's control register 1 |
    Dexter Industries IMU Gyro control register 2 constants | Constants that are for use with the Dexter Industries IMU Gyro sensor's control register 2 |
    Dexter Industries IMU Gyro control register 3 constants | Constants that are for use with the Dexter Industries IMU Gyro sensor's control register 3 |
    Dexter Industries IMU Gyro control register 4 constants | Constants that are for use with the Dexter Industries IMU Gyro sensor's control register 4 |
    Dexter Industries IMU Gyro control register 5 constants | Constants that are for use with the Dexter Industries IMU Gyro sensor's control register 5 |
    Dexter Industries IMU Gyro register constants | Constants that define the Dexter Industries IMU Gyro registers |
    Dexter Industries IMU Gyro status register constants | Constants that are for use with the Dexter Industries IMU Gyro sensor's status register |
 HiTechnic API Functions | Functions for accessing and modifying HiTechnic devices |
  HiTechnic device constants | Constants that are for use with HiTechnic devices |
   HiTechnic Angle sensor constants | Constants that are for use with the HiTechnic Angle sensor device |
   HiTechnic Barometric sensor constants | Constants that are for use with the HiTechnic Barometric sensor device |
   HiTechnic Color2 constants | Constants that are for use with the HiTechnic Color2 device |
   HiTechnic IRReceiver constants | Constants that are for use with the HiTechnic IRReceiver device |
   HiTechnic IRSeeker2 constants | Constants that are for use with the HiTechnic IRSeeker2 device |
   HiTechnic PIR sensor constants | Constants that are for use with the HiTechnic PIR sensor device |
   HiTechnic Prototype board constants | Constants that are for use with the HiTechnic Prototype board |
    HiTechnic Prototype board analog input constants | Constants that are for use with reading the HiTechnic Prototype board analog input values |
   HiTechnic SuperPro constants | Constants that are for use with the HiTechnic SuperPro board |
    HiTechnic SuperPro analog input index constants | Constants that are for use with reading the HiTechnic SuperPro analog input values |
    HiTechnic SuperPro analog output index constants | Constants that are for use with configuraing the HiTechnic SuperPro analog outputs |
    SuperPro LED control constants | Constants for controlling the 2 onboard LEDs |
    SuperPro Strobe control constants | Constants for manipulating the six digital strobe outputs |
    SuperPro analog output mode constants | Constants for controlling the 2 analog output modes |
    SuperPro digital pin constants | Constants for controlling the 8 digital pins |
 HiTechnic/mindsensors Power Function/IR Train constants | Constants that are for use with the HiTechnic IRLink or mindsensors nRLink in Power Function or IR Train mode |
  IR Train channel constants | Constants that are for specifying IR Train channels |
  PF/IR Train function constants | Constants that are for sending PF/IR Train functions |
  Power Function CST options constants | Constants that are for specifying Power Function CST options |
  Power Function PWM option constants | Constants that are for specifying Power Function PWM options |
  Power Function channel constants | Constants that are for specifying Power Function channels |
  Power Function command constants | Constants that are for sending Power Function commands |
  Power Function mode constants | Constants that are for choosing Power Function modes |
  Power Function output constants | Constants that are for choosing a Power Function output |
  Power Function pin constants | Constants that are for choosing a Power Function pin |
  Power Function single pin function constants | Constants that are for sending Power Function single pin functions |
 Microinfinity API Functions | Functions for accessing and modifying Microinfinity devices |
  Microinfinity device constants | Constants that are for use with Microinfinity devices |
   Microinfinity CruizCore XG1300L sensor constants | Constants that are for use with the CruizCore XG1300L sensor |
    Microinfinity CruizCore XG1300L | Sensor scale factor constants Constants for setting the scale factor of the CruizCore XG1300L sensor |
  Microinfinity functions | Functions for interfacing with Microinfinity devices |
  Microinfinity types | Types used by various Microinfinity device functions |
 MindSensors API Functions | Functions for accessing and modifying MindSensors devices |
  MindSensors device constants | Constants that are for use with MindSensors devices |
   MindSensors ACCL-Nx constants | Constants that are for use with the MindSensors ACCL-Nx device |
    MindSensors ACCL-Nx sensitivity level constants | Constants that are for setting the MindSensors ACCL-Nx sensitivity level |
   MindSensors DIST-Nx constants | Constants that are for use with the MindSensors DIST-Nx device |
   MindSensors NXTHID constants | Constants that are for use with the MindSensors NXTHID device |
    MindSensors NXTHID commands | NXTHID device command constants |
    MindSensors NXTHID modifier keys | NXTHID device modifier key constants |
    MindSensors NXTHID registers | NXTHID device register constants |
   MindSensors NXTLineLeader constants | Constants that are for use with the MindSensors NXTLineLeader device |
    MindSensors NXTLineLeader commands | NXTLineLeader device command constants |
    MindSensors NXTLineLeader registers | NXTLineLeader device register constants |
   MindSensors NXTNumericPad constants | Constants that are for use with the MindSensors NXTNumericPad device |
    MindSensors NXTNumericPad registers | NXTNumericPad device register constants |
   MindSensors NXTPowerMeter constants | Constants that are for use with the MindSensors NXTPowerMeter device |
    MindSensors NXTPowerMeter commands | NXTPowerMeter device command constants |
    MindSensors NXTPowerMeter registers | NXTPowerMeter device register constants |
   MindSensors NXTServo constants | Constants that are for use with the MindSensors NXTServo device |
    MindSensors NXTServo commands | NXTServo device command constants |
    MindSensors NXTServo position constants | NXTServo device position constants |
    MindSensors NXTServo quick position constants | NXTServo device quick position constants |
    MindSensors NXTServo registers | NXTServo device register constants |
    MindSensors NXTServo servo numbers | NXTServo device servo number constants |
   MindSensors NXTSumoEyes constants | Constants that are for use with the MindSensors NXTSumoEyes device |
   MindSensors NXTTouchPanel constants | Constants that are for use with the MindSensors NXTTouchPanel device |
    MindSensors NXTTouchPanel commands | NXTTouchPanel device command constants |
    MindSensors NXTTouchPanel registers | NXTTouchPanel device register constants |
   MindSensors PFMate constants | Constants that are for use with the MindSensors PFMate device |
    PFMate channel constants | Constants that are for specifying PFMate channels |
    PFMate motor constants | Constants that are for specifying PFMate motors |
   MindSensors PSP-Nx constants | Constants that are for use with the MindSensors PSP-Nx device |
    MindSensors PSP-Nx button set 1 constants | Constants that are for interpretting MindSensors PSP-Nx button set 1 values |
    MindSensors PSP-Nx button set 2 constants | Constants that are for interpretting MindSensors PSP-Nx button set 2 values |
   MindSensors nRLink constants | Constants that are for use with the MindSensors nRLink device |
 RCX constants | Constants that are for use with devices that communicate with the RCX or Scout programmable bricks via IR such as the HiTechnic IRLink or the MindSensors nRLink |
  RCX IR remote constants | Constants for use when simulating RCX IR remote messages |
  RCX and Scout opcode constants | Constants for use when specifying RCX and Scout opcodes |
  RCX and Scout sound constants | Constants for use when playing standard RCX and Scout sounds |
  RCX and Scout source constants | Constants for use when specifying RCX and Scout sources |
  RCX output constants | Constants for use when choosing RCX outputs |
  RCX output direction constants | Constants for use when configuring RCX output direction |
  RCX output mode constants | Constants for use when configuring RCX output mode |
  RCX output power constants | Constants for use when configuring RCX output power |
  Scout constants | Constants for use when controlling the Scout brick |
   Scout light constants | Constants for use when controlling the Scout light settings |
   Scout light rule constants | Constants for use when setting the scout light rule |
   Scout mode constants | Constants for use when setting the scout mode |
   Scout motion rule constants | Constants for use when setting the scout motion rule |
   Scout sound constants | Constants for use when playing standard Scout sounds |
   Scout sound set constants | Constants for use when choosing standard Scout sound sets |
   Scout special effect constants | Constants for use when setting the scout special effect |
   Scout touch rule constants | Constants for use when setting the scout touch rule |
   Scout transmit rule constants | Constants for use when setting the scout transmit rule |