CC3000 test App

Dependencies:   CC3000HostDriver mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers CC3000Core.h Source File

CC3000Core.h

00001 
00002 #ifndef CC3000CORE_H
00003 #define CC3000CORE_H
00004 
00005 #include "mbed.h"
00006 
00007 //*****************************************************************************
00008 //
00009 // If building with a C++ compiler, make all of the definitions in this header
00010 // have a C binding.
00011 //
00012 //*****************************************************************************
00013 #ifdef  __cplusplus
00014 extern "C" {
00015 #endif
00016 
00017 
00018 #define DISABLE (0)
00019 
00020 #define ENABLE  (1)
00021 
00022 
00023 extern int8_t asyncNotificationWaiting;
00024 extern long lastAsyncEvent;
00025 extern int8_t dhcpIPAddress[];
00026 
00027 
00028 extern void CC3000_Init(void);
00029 
00030 extern void CC3000_AsynchCallback(long lEventType, char * data, unsigned char length);
00031 
00032 extern volatile unsigned char ucStopSmartConfig;
00033 
00034 extern long ReadWlanInterruptPin(void);
00035     
00036     
00037 extern void WriteWlanPin( unsigned char val );
00038     
00039 extern void WlanInterruptEnable(void);
00040 
00041 
00042 extern void WlanInterruptDisable(void);
00043 
00044 
00045 
00046 //*****************************************************************************
00047 //
00048 // Mark the end of the C bindings section for C++ compilers.
00049 //
00050 //*****************************************************************************
00051 #ifdef  __cplusplus
00052 }
00053 #endif // __cplusplus
00054 
00055 #endif