mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2024-12-22 07:18:52 -05:00
0627841025
Configurable poll interval
24 lines
576 B
C
24 lines
576 B
C
#ifndef _gcn64_requests_h__
|
|
#define _gcn64_requests_h__
|
|
|
|
/* Commands */
|
|
#define RQ_GCN64_SET_CONFIG_PARAM 0x01
|
|
#define RQ_GCN64_GET_CONFIG_PARAM 0x02
|
|
#define RQ_GCN64_SUSPEND_POLLING 0x03
|
|
#define RQ_GCN64_RAW_SI_COMMAND 0x80
|
|
#define RQ_GCN64_JUMP_TO_BOOTLOADER 0xFF
|
|
|
|
/* Configuration parameters and constants */
|
|
#define CFG_PARAM_MODE 0x00
|
|
#define CFG_MODE_STANDARD 0x00
|
|
|
|
#define CFG_PARAM_SERIAL 0x01
|
|
|
|
#define CFG_PARAM_POLL_INTERVAL0 0x10
|
|
#define CFG_PARAM_POLL_INTERVAL1 0x11
|
|
#define CFG_PARAM_POLL_INTERVAL2 0x12
|
|
#define CFG_PARAM_POLL_INTERVAL3 0x13
|
|
|
|
|
|
#endif
|