unsigned int HAL_IICType(int bus)
| Entry | |
|---|---|
| bus | Bus number to query |
| Exit | |
|---|---|
| Bit 0 | Bus supplies the low-level API |
| Bit 1 | Bus supplies the high-level API |
| Bit 2 | High-level API supports multi-master operation |
| Bit 3 | High-level API supports slave operation |
| Bit 4 | High-level API supports background operation |
| Bit 16 | Bus supports Fast (400kbps) operation |
| Bit 17 | Bus supports High-speed (3.4Mbps) operation |
| Bits 20-31 | Version number of IIC supported by high-level API, * 100. |
Returns a flag word describing the specified IIC bus.
This is an internal call for OS use only and should not be used by user software.