Nintendo 1504166 - Game Boy Advance SP Edition Console Programming Manual page 153

Programming manual
Table of Contents

Advertisement

AGB Programming Manual
§
[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
Order
Receive
1
2
3
Receive
4
5
Send
6
§
[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
Order
Receive
1
2
3
Send
4
5
6
©1999 - 2001 Nintendo of America Inc.
d7
d6
d5
d4
0
0
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
d7
d6
d5
d4
0
0
0
1
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
153
d3
d2
d1
d0
0
1
0
1
d3
d2
d1
d0
0
1
0
0
Communication Functions
Remarks
Command 21(15h)
Receive Data
Communication Status
Remarks
Command 20(14h)
Send Data
Communication Status
D.C.N. AGB-06-0001-002B4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Agb series

Table of Contents