getSpeed

Gets the current clock speed of the data transmission.

I2C.swift:198
func getSpeed() -> Speed

Returns

The current speed: .standard (100 Kbps), .fast (400 Kbps) or .fastPlus (1 Mbps).