|
libtonc
|
Communication mode select and general purpose I/O (REG_RCNT). More...
Modules | |
| Key Flags | |
| Bits for REG_KEYINPUT and REG_KEYCNT. | |
| Key Control Flags | |
| Bits for REG_KEYCNT. | |
| Interrupt Flags | |
| Bits for REG_IE, REG_IF and REG_IFBIOS. | |
| Waitstate Control Flags | |
| Bits for REG_WAITCNT. | |
| Screen-entry Flags | |
| Object Attribute 0 Flags | |
| Object Attribute 1 Flags | |
| Object Attribute 2 Flags | |
Communication mode select. | |
| #define | R_MODE_NORMAL 0x0000 |
| Normal mode. | |
| #define | R_MODE_MULTI 0x0000 |
| Multiplayer mode. | |
| #define | R_MODE_UART 0x0000 |
| UART mode. | |
| #define | R_MODE_GPIO 0x8000 |
| General purpose mode. | |
| #define | R_MODE_JOYBUS 0xC000 |
| JOY mode. | |
| #define | R_MODE_MASK 0xC000 |
| Normal mode. | |
| #define | R_MODE_SHIFT 14 |
| Normal mode. | |
| #define | R_MODE(n) ((n)<<R_MODE_SHIFT) |
| Normal mode. | |
Communication mode select and general purpose I/O (REG_RCNT).