代码搜索结果
找到约 10,000 项符合
CAN Bus 的代码
can.h
//////can.h//////////////////
#include "C8051F040.h"
#include "canreg.h"
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned long ulong;
union intchar{
uint tempval;
st
can.h
//////can.h//////////////////
#include "C8051F040.h"
#include "canreg.h"
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned long ulong;
union intchar{
uint tempval;
st
can.h
//////can.h//////////////////
#include "C8051F040.h"
#include "canreg.h"
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned long ulong;
union intchar{
uint tempval;
st
can.h
//////can.h//////////////////
#include "C8051F040.h"
#include "canreg.h"
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned long ulong;
union intchar{
uint tempval;
st
can.h
//////can.h//////////////////
#include "C8051F040.h"
#include "canreg.h"
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned long ulong;
union intchar{
uint tempval;
st
can.h
//////can.h//////////////////
#include "C8051F040.h"
#include "canreg.h"
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned long ulong;
union intchar{
uint tempval;
st
can.asm
;******************以下为汇编程序*********************************************************************
;系统can地址为550,用于can系统测试,应用T0定时器每隔1s向can总线发送一组数据:数据长度为8个字节,
;首字节为05H,第二个字节为累加变量,每秒钟数值增加1,
;**********
can.c
#ifdef TargetA
#define ID0 0x100
#define ID1 0x101
#else
#define ID0 0x101
#define ID1 0x100
#endif
#include "MAIN.H"
// Structure for a single TwinCAN object
// A total of 31