Nintendo 1504166 Programming Manual - Page 153
AGB Data Write] Command15h Received, them in Register JOY_RECV.
View all Nintendo 1504166 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 153 highlights
AGB Programming Manual Communication Functions § [AGB Data Write] Command(15h) Received Receives the 4 bytes of data sent following this command, and stores them in Register JOY_RECV. Once the receive is completed a 1 byte communication status is returned, and the receive complete flag for Register JOYCNT is set. Also, if the interrupt request enable flag for the same register is set, a JOY Bus interrupt request is generated. Direction Receive Receive Send Order 1 2 3 4 5 6 d7 d6 d5 d4 d3 d2 d1 d0 0 0 0 1 0 1 0 1 Lower 8 bits of receive data Register JOY_RECV_L Upper 8 bits of receive data Register JOY_RECV_L Lower 8 bits of receive data Register JOY_RECV_H Upper 8 bits of receive data Register JOY_RECV_H Lower 8 bits of Register JOYSTAT Remarks Command 21(15h) Receive Data Communication Status § [AGB Data Read] Command(14h) Received 4 bytes of data stored in Register JOY_TRANS and the 1 byte communication status are sent, and the send complete flag for Register JOYCNT is set. Also, if the interrupt request enable flag for the same register is set, a JOY Bus interrupt request is generated. Direction Receive Send Order 1 2 3 4 5 6 d7 d6 d5 d4 d3 d2 d1 d0 0 0 0 1 0 1 0 0 Lower 8 bits of send data Register JOY_TRANS_L Upper 8 bits of send data Register JOY_TRANS_L Lower 8 bits of send data Register JOY_TRANS_H Upper 8 bits of send data Register JOY_TRANS_H Lower 8 bits of Register JOYSTAT Remarks Command 20(14h) Send Data Communication Status ©1999 - 2001 Nintendo of America Inc. 153 D.C.N. AGB-06-0001-002B4