示例#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();
    }
}