Function

IOFBGetI2CInterfaceCount

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

Declaration

IOReturn IOFBGetI2CInterfaceCount(io_service_t framebuffer, IOItemCount *count);

Parameters

framebuffer

The io_service_t of an IOFramebuffer instance. CoreGraphics will provide this for a CGDisplay with the CGDisplayIOServicePort() call.

count

Interface count is returned.

Return Value

An IOReturn code.

Discussion

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

See Also

Miscellaneous

IOFBCopyI2CInterfaceForBus

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

IOI2CInterfaceClose

Closes an IOI2CConnectRef.

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.