[Qemu-devel] Fwd: Max7310: confused about the method of reading output port register

2013-08-31 Thread Yang Ning
Dear Zaborowski: Firstly,I'm writing to express my thanks to you for the source code of Max7310 which have helped me so much. But I'm still confused about the method of reading output port register. code: case 0x01: /* Output port */ return s->level & ~s->direction; break;

[Qemu-devel] Fw: Max7310: confused about the method of reading output port register

2013-08-25 Thread Yang Ning
Dear All: Firstly,I'm writing to express my thanks to Zaborowski for the source code of Max7310 which have helped me so much. But I'm still confused about the method of reading output port register. code: case 0x01: /* Output port */ return s->level & ~s->direction; break