NXC  Version 1.2.1 r5
 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
portA constant port number (S1..S4). See Input port constants.
Returns
The I2C port mode. See LSMode constants.
Examples:
ex_LSMode.nxc.