예제 #1
0
파일: main7.c 프로젝트: sypherce/dslua
inline bool NDSX_ARM7_WifiSync(u32 msg)
{
	if(msg==0x87654321)
	{
		Wifi_Sync();
		return true;
	}
	return false;
}
예제 #2
0
void fifo_irq_handler()
{
    uint32 message = REG_IPC_FIFO_RX;
    switch (message) {

    case IPC_MSG_WIFI_SYNC:
	Wifi_Sync();

    }
}
예제 #3
0
// 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();
}
예제 #4
0
// 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
}
예제 #5
0
파일: main_nds.c 프로젝트: erdincay/svsip
// 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();
    }
}