代码搜索结果
找到约 10,000 项符合
CAN Bus 的代码
can.mak
/************* Code Composer V1 Project Data ********************
The following section contains data generated by Code Composer
to store project information like build options, source filenames
can.c
/*-------------------------------------------------------------------------------------------
File Name: CAN.c
Function: 采集整流柜、变流柜1、变流柜2传过来的数,并把它们中的部分数据通过串口发给数显表显示
Date:8/20/2003
-----------------
can.c
#include "can.h"
unsigned char xdata uchDataRecBuf[8][250]; //收到的数据
unsigned char idata uchDataRecBufIndex=0; //缓冲区中包数
unsigned char idata uchReadDataRecBufIndex=0; //读取
can.h
//***************************************************************
//CAN软件函数声明
//***************************************************************
void SendPackage(unsigned char pID, unsigned char des
can.lst
C51 COMPILER V7.10 CAN 09/18/2008 14:09:31 PAGE 1
C51 COMPILER V7.10, COMPILATION OF MODULE CAN
OBJECT MODULE PLACED IN can
can.c
//该程序实现发送缓冲器0向接收缓冲器0发送数据的自测试模式,其中接收采用中断方式
//发送采用查询方式
#include "p18f458.h"
int CAN_FLAG; //定义标志寄存器
//**************初始化子程序***************
void initcan()
{
TRISB=(TRISB|0X08)&0XFB; //设置CA