__value_in_regs IICLines HAL_IICReadLines(int bus)
Entry | |
---|---|
bus | Bus number to query |
Exit | |
---|---|
a1-a2 | IICLines structure containing the current values read from the bus |
Reads the state of the IIC lines on the specified bus, without changing
their state.
Note the “__value_in_regs” keyword, which signifies that the binary ABI
expects SDA and SCL to be returned in registers a1 and a2.