Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the I2CDevice..::..Configuration class.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)
Syntax
'Declaration
Public Sub New ( _
address As UShort, _
clockRateKhz As Integer _
)
public Configuration(
ushort address,
int clockRateKhz
)
public:
Configuration(
unsigned short address,
int clockRateKhz
)
new :
address:uint16 *
clockRateKhz:int -> Configuration
public function I2CDevice..::..Configuration(
address : ushort,
clockRateKhz : int
)
Parameters
- address
Type: System. . :: . .UInt16
The address of the I2C device.
- clockRateKhz
Type: System. . :: . .Int32
The clock rate used when communicating with the I2C device, in kHz. Note that the device uses an approximate value that it supports.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.