OpenEL 3.0.0

Classes | Macros | Typedefs
openEL_NXT.h File Reference

OpenEL NXT Header File 3.0.0. More...

Go to the source code of this file.

## Classes
struct | elMotorLegoNxt
struct | elSensorLegoNxt
struct | elBatteryLegoNxt
struct | elSpeakerLegoNxt
struct | elBluetoothLegoNxt

## Macros
#define | EL_NXT_PORT_A 0
#define | EL_NXT_PORT_B 1
#define | EL_NXT_PORT_C 2
#define | EL_NXT_PORT_S1 3
#define | EL_NXT_PORT_S2 4
#define | EL_NXT_PORT_S3 5
#define | EL_NXT_PORT_S4 6
#define | EL_NXT_PORT_BATTERY 7
#define | EL_NXT_PORT_SPEAKER 8
#define | EL_NXT_PORT_BLUETOOTH 9
#define | EL_NXT_PORT_NO_USE 65535
#define | EL_NXT_PHYSICAL_PORT_A (EL_NXT_PHYSICAL_ID_MOTOR | 0x00)
#define | EL_NXT_PHYSICAL_PORT_B (EL_NXT_PHYSICAL_ID_MOTOR | 0x01)
#define | EL_NXT_PHYSICAL_PORT_C (EL_NXT_PHYSICAL_ID_MOTOR | 0x02)
#define | EL_NXT_PHYSICAL_PORT_S1 (EL_NXT_PHYSICAL_ID_SENSOR | 0x00)
#define | EL_NXT_PHYSICAL_PORT_S2 (EL_NXT_PHYSICAL_ID_SENSOR | 0x01)
#define | EL_NXT_PHYSICAL_PORT_S3 (EL_NXT_PHYSICAL_ID_SENSOR | 0x02)
#define | EL_NXT_PHYSICAL_PORT_S4 (EL_NXT_PHYSICAL_ID_SENSOR | 0x03)
#define | EL_NXT_PHYSICAL_PORT_BATTERY (EL_NXT_PHYSICAL_ID_BATTERY | 0x00)
#define | EL_NXT_PHYSICAL_PORT_SPEAKER (EL_NXT_PHYSICAL_ID_SPEAKER | 0x00)
#define | EL_NXT_PHYSICAL_PORT_BLUETOOTH (EL_NXT_PHYSICAL_ID_BLUETOOTH | 0x00)
#define | EL_BT_NO_INIT 4
#define | EL_BT_INITIALIZED 5
#define | EL_BT_CONNECTED 6
#define | EL_BT_STREAM 7

## Typedefs
typedef struct elMotorLegoNxt | EL_MOTOR_LEGO_NXT_T
typedef struct elSensorLegoNxt | EL_SENSOR_LEGO_NXT_T
typedef struct elBatteryLegoNxt | EL_BATTERY_LEGO_NXT_T
typedef struct elSpeakerLegoNxt | EL_SPEAKER_LEGO_NXT_T
typedef struct elBluetoothLegoNxt | EL_BLUETOOTH_LEGO_NXT_T

## Detailed Description

OpenEL NXT Header File 3.0.0.

Definition in file openEL_NXT.h.

## Macro Definition Documentation

## ◆ EL_BT_CONNECTED

#define EL_BT_CONNECTED 6

Definition at line 55 of file openEL_NXT.h.

## ◆ EL_BT_INITIALIZED

#define EL_BT_INITIALIZED 5

Definition at line 54 of file openEL_NXT.h.

## ◆ EL_BT_NO_INIT

#define EL_BT_NO_INIT 4

Definition at line 53 of file openEL_NXT.h.

## ◆ EL_BT_STREAM

#define EL_BT_STREAM 7

Definition at line 56 of file openEL_NXT.h.

## ◆ EL_NXT_PHYSICAL_PORT_A

#define EL_NXT_PHYSICAL_PORT_A (EL_NXT_PHYSICAL_ID_MOTOR | 0x00)

Definition at line 42 of file openEL_NXT.h.

## ◆ EL_NXT_PHYSICAL_PORT_B

#define EL_NXT_PHYSICAL_PORT_B (EL_NXT_PHYSICAL_ID_MOTOR | 0x01)

Definition at line 43 of file openEL_NXT.h.

## ◆ EL_NXT_PHYSICAL_PORT_BATTERY

#define EL_NXT_PHYSICAL_PORT_BATTERY (EL_NXT_PHYSICAL_ID_BATTERY | 0x00)

Definition at line 49 of file openEL_NXT.h.

## ◆ EL_NXT_PHYSICAL_PORT_BLUETOOTH

#define EL_NXT_PHYSICAL_PORT_BLUETOOTH (EL_NXT_PHYSICAL_ID_BLUETOOTH | 0x00)

Definition at line 51 of file openEL_NXT.h.

## ◆ EL_NXT_PHYSICAL_PORT_C

#define EL_NXT_PHYSICAL_PORT_C (EL_NXT_PHYSICAL_ID_MOTOR | 0x02)

Definition at line 44 of file openEL_NXT.h.

## ◆ EL_NXT_PHYSICAL_PORT_S1

#define EL_NXT_PHYSICAL_PORT_S1 (EL_NXT_PHYSICAL_ID_SENSOR | 0x00)

Definition at line 45 of file openEL_NXT.h.

## ◆ EL_NXT_PHYSICAL_PORT_S2

#define EL_NXT_PHYSICAL_PORT_S2 (EL_NXT_PHYSICAL_ID_SENSOR | 0x01)

Definition at line 46 of file openEL_NXT.h.

## ◆ EL_NXT_PHYSICAL_PORT_S3

#define EL_NXT_PHYSICAL_PORT_S3 (EL_NXT_PHYSICAL_ID_SENSOR | 0x02)

Definition at line 47 of file openEL_NXT.h.

## ◆ EL_NXT_PHYSICAL_PORT_S4

#define EL_NXT_PHYSICAL_PORT_S4 (EL_NXT_PHYSICAL_ID_SENSOR | 0x03)

Definition at line 48 of file openEL_NXT.h.

## ◆ EL_NXT_PHYSICAL_PORT_SPEAKER

#define EL_NXT_PHYSICAL_PORT_SPEAKER (EL_NXT_PHYSICAL_ID_SPEAKER | 0x00)

Definition at line 50 of file openEL_NXT.h.

## ◆ EL_NXT_PORT_A

#define EL_NXT_PORT_A 0

Definition at line 29 of file openEL_NXT.h.

## ◆ EL_NXT_PORT_B

#define EL_NXT_PORT_B 1

Definition at line 30 of file openEL_NXT.h.

## ◆ EL_NXT_PORT_BATTERY

#define EL_NXT_PORT_BATTERY 7

Definition at line 36 of file openEL_NXT.h.

## ◆ EL_NXT_PORT_BLUETOOTH

#define EL_NXT_PORT_BLUETOOTH 9

Definition at line 38 of file openEL_NXT.h.

## ◆ EL_NXT_PORT_C

#define EL_NXT_PORT_C 2

Definition at line 31 of file openEL_NXT.h.

## ◆ EL_NXT_PORT_NO_USE

#define EL_NXT_PORT_NO_USE 65535

Definition at line 39 of file openEL_NXT.h.

## ◆ EL_NXT_PORT_S1

#define EL_NXT_PORT_S1 3

Definition at line 32 of file openEL_NXT.h.

## ◆ EL_NXT_PORT_S2

#define EL_NXT_PORT_S2 4

Definition at line 33 of file openEL_NXT.h.

## ◆ EL_NXT_PORT_S3

#define EL_NXT_PORT_S3 5

Definition at line 34 of file openEL_NXT.h.

## ◆ EL_NXT_PORT_S4

#define EL_NXT_PORT_S4 6

Definition at line 35 of file openEL_NXT.h.

## ◆ EL_NXT_PORT_SPEAKER

#define EL_NXT_PORT_SPEAKER 8

Definition at line 37 of file openEL_NXT.h.

## Typedef Documentation

## ◆ EL_BATTERY_LEGO_NXT_T

typedef struct elBatteryLegoNxt EL_BATTERY_LEGO_NXT_T

Definition at line 92 of file openEL_NXT.h.

## ◆ EL_BLUETOOTH_LEGO_NXT_T

typedef struct elBluetoothLegoNxt EL_BLUETOOTH_LEGO_NXT_T

Definition at line 112 of file openEL_NXT.h.

## ◆ EL_MOTOR_LEGO_NXT_T

typedef struct elMotorLegoNxt EL_MOTOR_LEGO_NXT_T

Definition at line 71 of file openEL_NXT.h.

## ◆ EL_SENSOR_LEGO_NXT_T

typedef struct elSensorLegoNxt EL_SENSOR_LEGO_NXT_T

Definition at line 86 of file openEL_NXT.h.

## ◆ EL_SPEAKER_LEGO_NXT_T

typedef struct elSpeakerLegoNxt EL_SPEAKER_LEGO_NXT_T

Definition at line 98 of file openEL_NXT.h.