用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#ifndef REMOTE_H
|
|
|
|
|
#define REMOTE_H
|
|
|
|
|
|
|
|
|
|
#include "stm32f10x.h"
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
//------------<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ṹ<EFBFBD><EFBFBD>----------------
|
|
|
|
|
typedef struct
|
|
|
|
|
{
|
|
|
|
|
struct
|
|
|
|
|
{
|
|
|
|
|
uint16_t ch0;
|
|
|
|
|
uint16_t ch1;
|
|
|
|
|
uint16_t ch2;
|
|
|
|
|
uint16_t ch3;
|
|
|
|
|
uint8_t s1;
|
|
|
|
|
uint8_t s2;
|
|
|
|
|
}rc;
|
|
|
|
|
struct
|
|
|
|
|
{
|
|
|
|
|
int16_t x;
|
|
|
|
|
int16_t y;
|
|
|
|
|
int16_t z;
|
|
|
|
|
uint8_t press_l;
|
|
|
|
|
uint8_t press_r;
|
|
|
|
|
}mouse;
|
|
|
|
|
struct
|
|
|
|
|
{
|
|
|
|
|
uint16_t v;
|
|
|
|
|
}key;
|
|
|
|
|
|
|
|
|
|
}RC_Ctl_t;
|
|
|
|
|
//-----------<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>--------------
|
|
|
|
|
void Remote_Init(void);
|
|
|
|
|
#endif
|