Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: NVIC_set_all_priorities
Dependents: CC3000_Simple_Socket Wi-Go_IOT_Demo
Diff: cc3000_common.cpp
- Revision:
- 12:0366fd270fc8
- Parent:
- 11:3884d0600caa
diff -r 3884d0600caa -r 0366fd270fc8 cc3000_common.cpp
--- a/cc3000_common.cpp Fri Sep 20 07:26:44 2013 +0000
+++ b/cc3000_common.cpp Thu Oct 17 17:18:17 2013 +0000
@@ -64,6 +64,7 @@
WLAN_SPI_PORT_INIT;
WLAN_SPI_SET_FREQ;
WLAN_SPI_SET_IRQ_HANDLER;
+// WLAN_DISABLE_IRQ;
// WLAN On API Implementation
wlan_init( CC3000_UsynchCallback,
sendWLFWPatch,
@@ -102,13 +103,14 @@
return (WLAN_READ_IRQ);
}
-
void WlanInterruptEnable()
{
WLAN_ENABLE_IRQ;
+ if(!WLAN_READ_IRQ)
+ WLAN_IRQHandler();
+ //NVIC_EnableIRQ(_irq_port);
}
-
void WlanInterruptDisable()
{
WLAN_DISABLE_IRQ;
@@ -178,3 +180,5 @@
}
+
+
SimpleLink Wi-Fi CC3000