h6. [[Hardware Abstraction Layer]] h6(. [[HAL entry points from RISC OS]] h6((. » HAL_IICSetLines h2. HAL_IICSetLines h5. (HAL entry #33) <pre> __value_in_regs IICLines HAL_IICSetLines(int bus, IICLines lines) </pre> |_<. Entry | | |bus |Bus number to modify | |lines |[[IICLines]] structure containing settings to apply | |_<. Exit | | |a1-a2 |[[IICLines]] structure containing the values as read back from the bus | h4. Use This is an internal call for OS use only and should not be used by user software. Sets the SDA and SCL lines on the specified bus. A 0 value represents logic LOW, 1 logic HIGH. The function then reads back and returns the values present on the bus, to permit arbitration. Note the "__value_in_regs" keyword, which signifies that the binary ABI expects SDA and SCL to be returned in registers a1 and a2. h4. See also * [[HAL IIC API]] h6. Information sources: Kernel.Docs.HAL.HAL_API, Kernel.Docs.HAL.MoreEnts in CVS