Showing changes from revision #0 to #1:
Added | Removed | Changed
int HAL_IICBuses(void)
Entry | |
---|---|
- |
Exit | |
---|---|
- | Returns the number of IIC buses. |
Returns the number of IIC buses on the system. Note that most current RISC OS APIs only allow interaction with IIC bus 0, and the current versions of the OS will only ever probe bus 0 for NVRAM and the RTC. Thus, if possible, it is beneficial to implement the HAL such that IIC bus 0 is the ‘most useful’ bus for the system.