资源简介
用UCOSII开发的基于STM32和SIM900A的GPRS DTU,实测好用

代码片段和文件信息
/*
*********************************************************************************************************
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* INCLUDE FILES
*********************************************************************************************************
*/
//#include
//#include “stm32f10x_it.h“
#include “includes.h“
//#include “stm32f10x.h“
/*
*********************************************************************************************************
* LOCAL DEFINES
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* LOCAL GLOBAL VARIABLES
*********************************************************************************************************
*/
//TASK STK
static OS_STK App_TaskStartStk[APP_TASK_START_STK_SIZE];
static OS_STK Sample_TaskStk[SAMPLE_TASK_STK_SIZE];
static OS_STK Uart2_TaskStk[UART2_TASK_STK_SIZE];
static OS_STK Other_TaskStk[OTHER_TASK_STK_SIZE];
static OS_STK SelfTest_TaskStk[SELFTEST_TASK_STK_SIZE];
//static OS_EVENT* InfoSem;
//static OS_EVENT* Disp_Box;
//static char* dp;
/*
*********************************************************************************************************
* LOCAL FUNCTION PROTOTYPES
*********************************************************************************************************
*/
static void App_TaskCreate(void);
static void App_DispScr_SignOn(void);
static void App_TaskStart(void* p_arg);
static void Sample_Task(void *pdata);
static void Uart2_Task(void *pdata);
static void Other_Task(void *pdata);
static void SelfTest_Task(void *pdata);
#define QMAXSIZE 30
OS_EVENT *Uart1Sem;
OS_EVENT *Uart1Mbox;
OS_EVENT *Uart1RevLengthMbox;
OS_EVENT *Uart2Sem;
OS_EVENT *Uart2Mbox;
OS_EVENT *Uart2RevLengthMbox;
OS_EVENT *Time3Sem;
OS_EVENT *OtherFLAG;
OS_EVENT *Rev0QUEFLAG;
OS_EVENT *SelfTestSem;
void *Rev0Q[QMAXSIZE];
unsigned char IDNumber=0x31;
volatile unsigned char situationflag=0;
volatile unsigned char backupTempRev_LengthL_2=0;
unsigned char ATCMD[DATASIZE];
unsigned int AD_value;
uint16_t ADC_ConvertedValue;
uint16_t ADC2_ConvertedValue;
#define Remote_LED_ON() GPIO_SetBits(GPIOD GPIO_Pin_0 ); //
#define Remote_LED_OFF() GPIO_ResetBits(GPIOD GPIO_Pin_0 ); //
#define Local_LED_ON() GPIO_SetBits(GPIOD GPIO_Pin_1 ); //
#define Local_LED_OFF() GPIO_ResetBits(GPIOD GPIO_
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-12-22 10:22 GPRS DTU\
目录 0 2014-12-22 10:27 GPRS DTU\APP\
文件 33647 2014-12-22 10:26 GPRS DTU\APP\app.c
文件 1152 2012-04-07 21:51 GPRS DTU\APP\APP.lnk
文件 3992 2012-04-03 14:18 GPRS DTU\APP\app_cfg.h
文件 6517 2009-08-02 15:07 GPRS DTU\APP\BinType.h
文件 66861 2014-12-22 10:27 GPRS DTU\APP\communication.c
文件 330 2012-04-03 13:33 GPRS DTU\APP\communication.h
文件 16249 2009-04-06 10:30 GPRS DTU\APP\core_cm3.c
文件 42077 2009-04-06 10:30 GPRS DTU\APP\core_cm3.h
文件 104353 2014-12-22 10:27 GPRS DTU\APP\DTU-STM32.uvopt
文件 50957 2014-12-22 10:22 GPRS DTU\APP\DTU-STM32.uvproj
文件 70782 2014-12-22 10:27 GPRS DTU\APP\DTU-STM32_G302.dep
文件 104353 2014-12-22 10:26 GPRS DTU\APP\DTU-STM32_uvopt.bak
文件 14210 2013-08-02 20:26 GPRS DTU\APP\i2c_ee.c
文件 3721 2011-10-27 16:15 GPRS DTU\APP\i2c_ee.h
文件 5635 2012-08-23 21:40 GPRS DTU\APP\includes.h
文件 497 2013-10-06 10:07 GPRS DTU\APP\Jli
文件 346157 2013-10-06 10:32 GPRS DTU\APP\Jli
文件 375 2011-08-28 16:39 GPRS DTU\APP\Jli
文件 10437 2009-11-03 13:03 GPRS DTU\APP\os_cfg.h
文件 2243 2009-09-04 17:05 GPRS DTU\APP\platform_config.h
文件 1257 2009-06-29 16:13 GPRS DTU\APP\RAM.ini
文件 4148 2013-08-02 20:26 GPRS DTU\APP\Simulation I2C.c
文件 531293 2009-11-17 11:12 GPRS DTU\APP\stm32f10x.h
文件 3027 2009-11-19 19:46 GPRS DTU\APP\stm32f10x_conf.h
文件 7361 2011-07-04 15:10 GPRS DTU\APP\stm32f10x_it.c
文件 1888 2011-06-30 10:54 GPRS DTU\APP\stm32f10x_it.h
文件 8609 2009-01-23 16:51 GPRS DTU\APP\STM32_Reg.h
文件 24194 2009-09-04 16:24 GPRS DTU\APP\system_stm32f10x.c
文件 2158 2009-04-06 10:30 GPRS DTU\APP\system_stm32f10x.h
............此处省略321个文件信息
- 上一篇:STM32F4链表实现
- 下一篇:用SolidWorks绘制电子元件的3D模型
相关资源
- 基于stm32f103ve的程序——跑马灯实验
- 基于STM32RCT6的步进电机驱动程序
- stm32f407上的两个can发送和接收例程
- STM32 led 时钟
- STM32 2.4G通信例程
- 直流无刷电机方波驱动 stm32 例程代码
- STM32中文资料
- STM32蓝牙和串口程序
- STM32f103超声波模块例程
- stm32f103c8t6 4 oled.rar
- stm32f030 IAP Demo(原创)
- STM32基于rt_thread操作系统的SDHC卡文件
- NRF24L01实现51与STM32双向通讯
- STM32F103 串口程序(完整版)
- stm32 ds18b20 温度传感器 测试通过
- stm32官方例程
- STM32F103定时器中断程序
- [免费]基于stm32f103ze 的OLED驱动代码
- STM32F103RBT6驱动UC1698控制芯片的160160黑
- STM32F103 DS18B20 V3.5.0固件库驱动程序工
- STM32定时器使用入门。看了这个程序会
- SIM908 SDIO FSMC STM32 FIFO
- STM32F103 CC2500完整驱动(模拟SPI)
- AD7606采集程序
- stm32 用SPI 方式读写 SDHC
- stm32通过DMA方式采集ADC数据
- 意法半导体STM全系列微控制器STM32ST
- ucosII源代码 2.9版本全 Micrium-uCOS-II-V
- 51单片机中使用ucos ii的优缺点转
- 基于STM32芯片的SX1278 驱动 LORA.rar
评论
共有 条评论