NXC
Version 1.2.1 r5
Main Page
Related Pages
Modules
Data Structures
Files
Examples
NXC
NXC Programmer's Guide
Introduction
The NXC Language
Todo List
Deprecated List
Modules
A simple 3D graphics library
Miscellaneous NBC/NXC constants
NXT Firmware Modules
Button module
Comm module
Command module
Display module
IOCtrl module
Input module
Loader module
Low Speed module
LowSpeed module constants
LowSpeed module functions
Low level LowSpeed module functions
LowSpeed module system call functions
ConfigureTemperatureSensor
I2CBytes
I2CBytesReady
I2CCheckStatus
I2CDeviceId
I2CDeviceInfo
I2CRead
I2CSendCommand
I2CStatus
I2CVendorId
I2CVersion
I2CWrite
LowspeedBytesReady
LowspeedCheckStatus
LowspeedRead
LowspeedStatus
LowspeedWrite
ReadI2CRegister
ReadSensorEMeter
ReadSensorUSEx
ReadSensorUSEx0
ReadSensorUSExWait
SensorTemperature
SensorUS
SensorUS0
SensorUSWait
WriteI2CRegister
LowSpeed module types
NXT firmware module IDs
NXT firmware module names
Output module
Sound module
Ui module
RIC Macro Wrappers
Standard-C API functions
Third-party NXT devices
Data Structures
Files
Examples
•
All
Data Structures
Files
Functions
Variables
Groups
Pages
byte LSMode
(
const byte
port
)
inline
Get I2C mode.
This method returns the value of the I2C mode for the specified port.
Parameters
port
A constant port number (S1..S4). See
Input port constants
.
Returns
The I2C port mode. See
LSMode constants
.
Examples:
ex_LSMode.nxc
.
Low level LowSpeed module functions
Generated by
1.8.2