CC3000 test App
Dependencies: CC3000HostDriver mbed
Diff: CC3000Core.h
- Revision:
- 0:305844973572
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CC3000Core.h Fri Aug 02 15:14:41 2013 +0000 @@ -0,0 +1,55 @@ + +#ifndef CC3000CORE_H +#define CC3000CORE_H + +#include "mbed.h" + +//***************************************************************************** +// +// If building with a C++ compiler, make all of the definitions in this header +// have a C binding. +// +//***************************************************************************** +#ifdef __cplusplus +extern "C" { +#endif + + +#define DISABLE (0) + +#define ENABLE (1) + + +extern int8_t asyncNotificationWaiting; +extern long lastAsyncEvent; +extern int8_t dhcpIPAddress[]; + + +extern void CC3000_Init(void); + +extern void CC3000_AsynchCallback(long lEventType, char * data, unsigned char length); + +extern volatile unsigned char ucStopSmartConfig; + +extern long ReadWlanInterruptPin(void); + + +extern void WriteWlanPin( unsigned char val ); + +extern void WlanInterruptEnable(void); + + +extern void WlanInterruptDisable(void); + + + +//***************************************************************************** +// +// Mark the end of the C bindings section for C++ compilers. +// +//***************************************************************************** +#ifdef __cplusplus +} +#endif // __cplusplus + +#endif \ No newline at end of file