inline bool NDSX_ARM7_WifiSync(u32 msg) { if(msg==0x87654321) { Wifi_Sync(); return true; } return false; }
void fifo_irq_handler() { uint32 message = REG_IPC_FIFO_RX; switch (message) { case IPC_MSG_WIFI_SYNC: Wifi_Sync(); } }
// interrupt handler to allow incoming notifications from arm9 void arm7_fifo() { // check incoming fifo messages u32 msg = REG_IPC_FIFO_RX; if(msg==0x87654321) Wifi_Sync(); }
// interrupt handler to allow incoming notifications from arm9 void arm7_fifo() { // check incoming fifo messages u32 msg = REG_IPC_FIFO_RX; #ifdef USE_WIFI if(msg==0x87654321) Wifi_Sync(); #endif }
// interrupt handler to receive fifo messages from arm7 void arm9_fifo() { // check incoming fifo messages u32 value = REG_IPC_FIFO_RX; if(value == 0x87654321) { Wifi_Sync(); } }