Function

IOI2CInterfaceClose

Closes an IOI2CConnectRef.

Declaration

IOReturn IOI2CInterfaceClose(IOI2CConnectRef connect, IOOptionBits options);

Parameters

connect

The opaque IOI2CConnectRef returned by IOI2CInterfaceOpen().

options

Pass kNilOptions.

Return Value

An IOReturn code.

Discussion

Frees the resources associated with an IOI2CConnectRef.

See Also

Miscellaneous

IOFBCopyI2CInterfaceForBus

Returns an instance of an I2C bus interface, associated with an IOFramebuffer instance / bus index pair.

IOFBGetI2CInterfaceCount

Returns a count of I2C interfaces available associated with an IOFramebuffer instance.

IOI2CInterfaceOpen

Opens an instance of an I2C bus interface, allowing I2C requests to be made.

IOI2CSendRequest

Carries out the I2C transaction specified by an IOI2CRequest structure.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software