From: Richard E. <ric...@br...> - 2004-01-21 16:50:33
|
Hello there! > - I didn't see informations about the Serial Interface. Have you got some > (maybe it could help me to make a better GCPad driver) ? I'm not an expert on the subject, but as far as I know the only documentation on the serial interface is found in US patent 6,609,977. If you look at the patent you will find the following line: "Serial interface provides a serial interface to hand controllers or other serial devices using automatic controller polling and bulk data mode including a light gun interface." If you need more info about the registers, then take a look at the patent. The entire 0xcc006400 register range is covered there. Take a close look on the SI Communication Control Status Register (Offset + 0x34). You will find all interrupt related stuff there. It is possible to get an interrupt when a "pad-poll" has completed, but you still need to start the transfer somewhere (Writing a '1' to the Control Status Register bit 0.) Remember also to set bit 27 of the register to enable the TC (Transfer Complete) interrupt. Good luck! Richard Eng |