資源簡介
CC3200實現TCP SERVER CLIENT UDP SERVER CLIENT透傳,按鍵,定時等等功能實現

代碼片段和文件信息
//*****************************************************************************
//?button_if.c
//
//?CC3200?Launchpad?button?interface?APIs
//
//?Copyright?(C)?2014?Texas?Instruments?Incorporated?-?http://www.ti.com/?
//?
//?
//??Redistribution?and?use?in?source?and?binary?forms?with?or?without?
//??modification?are?permitted?provided?that?the?following?conditions?
//??are?met:
//
//????Redistributions?of?source?code?must?retain?the?above?copyright?
//????notice?this?list?of?conditions?and?the?following?disclaimer.
//
//????Redistributions?in?binary?form?must?reproduce?the?above?copyright
//????notice?this?list?of?conditions?and?the?following?disclaimer?in?the?
//????documentation?and/or?other?materials?provided?with?the???
//????distribution.
//
//????Neither?the?name?of?Texas?Instruments?Incorporated?nor?the?names?of
//????its?contributors?may?be?used?to?endorse?or?promote?products?derived
//????from?this?software?without?specific?prior?written?permission.
//
//??THIS?SOFTWARE?IS?PROVIDED?BY?THE?COPYRIGHT?HOLDERS?AND?CONTRIBUTORS?
//??“AS?IS“?AND?ANY?EXPRESS?OR?IMPLIED?WARRANTIES?INCLUDING?BUT?NOT?
//??LIMITED?TO?THE?IMPLIED?WARRANTIES?OF?MERCHANTABILITY?AND?FITNESS?FOR
//??A?PARTICULAR?PURPOSE?ARE?DISCLAIMED.?IN?NO?EVENT?SHALL?THE?COPYRIGHT?
//??OWNER?OR?CONTRIBUTORS?BE?LIABLE?FOR?ANY?DIRECT?INDIRECT?INCIDENTAL?
//??SPECIAL?EXEMPLARY?OR?CONSEQUENTIAL?DAMAGES?(INCLUDING?BUT?NOT?
//??LIMITED?TO?PROCUREMENT?OF?SUBSTITUTE?GOODS?OR?SERVICES;?LOSS?OF?USE
//??DATA?OR?PROFITS;?OR?BUSINESS?INTERRUPTION)?HOWEVER?CAUSED?AND?ON?ANY
//??THEORY?OF?LIABILITY?WHETHER?IN?CONTRACT?STRICT?LIABILITY?OR?TORT?
//??(INCLUDING?NEGLIGENCE?OR?OTHERWISE)?ARISING?IN?ANY?WAY?OUT?OF?THE?USE?
//??OF?THIS?SOFTWARE?EVEN?IF?ADVISED?OF?THE?POSSIBILITY?OF?SUCH?DAMAGE.
//
//*****************************************************************************
#include?
#include?“hw_types.h“
#include?“hw_ints.h“
#include?“rom.h“
#include?“rom_map.h“
#include?“gpio.h“
#include?“interrupt.h“
#include?“pin.h“
#include?“hw_memmap.h“
#ifdef?SL_PLATFORM_MULTI_THREADED??/*?If?OS-based?application?*/
#include?“osi.h“
#endif
#include?“button_if.h“
P_INT_HANDLER?g_S2InterruptHdl;
P_INT_HANDLER?g_S3InterruptHdl;
//*****************************************************************************
//
//!?GPIO?Interrupt?Handler?for?S3?button
//!
//!?\param?None
//!
//!?\return?None
//
//*****************************************************************************
void?GPIOs3IntHandler()
{
????unsigned?long?ulPinState?=??GPIOIntStatus(GPIOA1_base1);
????if(ulPinState?&?GPIO_PIN_5)
????{
????????Button_IF_DisableInterrupt(SW3);
????????g_S3InterruptHdl();
????}
}
//*****************************************************************************
//
//!?GPIO?Interrupt?Handler?for?S2?button
//!
//!?\param?None
//!
//!?\return?None
//
//****************************************************************
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????3414??2014-10-29?11:14??user\Data_circlebuff.c
?????文件???????1266??2014-10-29?10:55??user\Data_circlebuff.h
?????文件??????14717??2014-11-04?16:11??user\Data_Packet.c
?????文件???????2405??2014-10-29?12:01??user\Data_Packet.h
?????文件???????1252??2014-10-31?11:55??user\GlobalVar.c
?????文件???????4245??2014-11-04?15:31??user\GlobalVar.h
?????文件???????7136??2014-11-03?17:32??user\main.c
?????文件????????309??2014-10-27?15:33??user\pinmux.c
?????文件????????330??2014-10-28?11:35??user\pinmux.h
?????文件???????8778??2014-10-27?17:33??user\Simpleli
?????文件????????108??2014-10-23?15:07??user\Simpleli
?????文件??????13442??2014-10-31?11:00??user\wifi_mode.c
?????文件????????380??2014-10-31?16:35??user\wifi_mode.h
?????文件??????13890??2014-11-04?16:24??user\wifi_process.c
?????文件????????621??2014-10-31?14:07??user\wifi_process.h
?????文件???????7341??2014-10-23?14:10??userdriver\78M6610.c
?????文件???????4572??2014-10-22?09:09??userdriver\78M6610.h
?????文件????????354??2014-10-22?14:16??userdriver\bsp_key.c
?????文件????????110??2014-10-22?14:16??userdriver\bsp_key.h
?????文件???????1699??2014-10-23?13:35??userdriver\bsp_led.c
?????文件????????110??2014-10-22?14:16??userdriver\bsp_led.h
?????文件????????393??2014-10-23?10:25??userdriver\bsp_rtc.c
?????文件????????110??2014-10-23?10:25??userdriver\bsp_rtc.h
?????文件???????2892??2014-10-31?16:27??userdriver\bsp_timer.c
?????文件????????284??2014-10-27?14:14??userdriver\bsp_timer.h
?????文件???????6085??2014-10-29?14:16??userdriver\bsp_uart.c
?????文件????????693??2014-10-28?18:18??userdriver\bsp_uart.h
?????文件????????928??2014-10-22?14:16??userdriver\iic_eeprom.c
?????文件????????119??2014-10-22?13:59??userdriver\iic_eeprom.h
?????文件????????165??2014-06-10?21:04??userdriver\readme.txt
............此處省略257個文件信息
- 上一篇:ucos+sim908+GPRS+GPS
- 下一篇:離散時間信號處理中文版帶習題答案
評論
共有 條評論