12345678910111213141516171819202122232425 |
- #ifndef __TASK_H
- #define __TASK_H
- #include "includes.h"
- #include "stm32f2xx.h"
- #include "radio.h"
- #include "gateway_message.h"
- //Ö÷ÒªµÄÊý¾Ý´¦ÀíÏß³Ì
- #define DATA_TASK_PRIO 8
- #define DATA_STK_SIZE 2*1024
- extern void data_task(void *pdata);
- typedef struct _value{
- uint8_t deviceId[25];
- uint8_t PowerValue;
- uint8_t TempValue;
- uint8_t ModeValue;
- uint8_t FanValue;
- uint8_t RoomTempValue;
- }value;
- void WRITE_MODBUS_DATA(char* buf);
- extern tRadioDriver *Radio;
- #endif
|