can.h
来自「嵌入式LINUX的智能家居系统源码」· C头文件 代码 · 共 41 行
H
41 行
/************************************************************************************* *can.h *the class for can data read and write and dispach *version 0.1 *author:YslayerY *begin_date:2008-7-18 *finish_date:2008-7-20 *modify_times:3 *last modify date: *************************************************************************************/#include <stdio.h>#include <unistd.h>#include <fcntl.h>#include <sys/ioctl.h>#include<qtimer.h>#include"can_conf.h"#include"can_reader.h"#define MAX_CAN_DATA_LEN 7#define MODULE KER_Mclass Can : public QObject{ Q_OBJECTpublic: Can(); int init(); signals: void sig_cmd(int);public slots: void write_cmd(int,char to);public: can_reader reader;};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?